]> git.saurik.com Git - wxWidgets.git/blob - configure
enabling menu close event, fixes #15069
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
204 as_have_required=yes
205 else
206 as_have_required=no
207 fi
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215 IFS=$as_save_IFS
216 test -z "$as_dir" && as_dir=.
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241 if test "x$CONFIG_SHELL" != x; then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322 case $as_dir in #(
323 -*) as_dir=./$as_dir;;
324 esac
325 test -d "$as_dir" || eval $as_mkdir_p || {
326 as_dirs=
327 while :; do
328 case $as_dir in #(
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 *) as_qdir=$as_dir;;
331 esac
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)[^/].*/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\).*/{
352 s//\1/
353 q
354 }
355 s/.*/./; q'`
356 test -d "$as_dir" && break
357 done
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
379 {
380 eval $1+=\$2
381 }'
382 else
383 as_fn_append ()
384 {
385 eval $1=\$$1\$2
386 }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 eval 'as_fn_arith ()
396 {
397 as_val=$(( $* ))
398 }'
399 else
400 as_fn_arith ()
401 {
402 as_val=`expr "$@" || test $? -eq 1`
403 }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414 as_status=$1; test $as_status -eq 0 && as_status=1
415 if test "$4"; then
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 fi
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 as_expr=expr
426 else
427 as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 as_basename=basename
432 else
433 as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_dirname=dirname
438 else
439 as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\/\)$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\).*/{
456 s//\1/
457 q
458 }
459 s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
475 p
476 /[$]LINENO/=
477 ' <$as_myself |
478 sed '
479 s/[$]LINENO.*/&-/
480 t lineno
481 b
482 :lineno
483 N
484 :loop
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 t loop
487 s/-\n.*//
488 ' >$as_me.lineno &&
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
499 . "./$as_me.lineno"
500 # Exit status is that of the last command.
501 exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 xy) ECHO_C='\c';;
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
511 ECHO_T=' ';;
512 esac;;
513 *)
514 ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
520 else
521 rm -f conf$$.dir
522 mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s=ln
535 else
536 as_ln_s='cp -pR'
537 fi
538 else
539 as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
546 else
547 test -d ./-p && rmdir ./-p
548 as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 # include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 # include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESPROGRAMOBJ
638 RESFLAGS
639 RESCOMP
640 WX_VERSION_TAG
641 DMALLOC_LIBS
642 OPENGL_LIBS
643 LDFLAGS_GL
644 SAMPLES_SUBDIRS
645 DISTDIR
646 GUIDIST
647 WXCONFIG_RESFLAGS
648 WXCONFIG_LDFLAGS_GUI
649 WXCONFIG_LDFLAGS
650 WXCONFIG_RPATH
651 WXCONFIG_LIBS
652 WXCONFIG_CXXFLAGS
653 WXCONFIG_CFLAGS
654 WXCONFIG_CPPFLAGS
655 WX_CHARTYPE
656 WX_SUBVERSION
657 WX_VERSION
658 WX_RELEASE
659 WIDGET_SET
660 cross_compiling
661 TOOLCHAIN_FULLNAME
662 TOOLCHAIN_NAME
663 TOOLKIT_DIR
664 TOOLKIT
665 WIN32INSTALL
666 AFMINSTALL
667 USE_GUI
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
670 SHARED
671 DEREZ
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
684 COND_WXUNIV_1
685 COND_WXUNIV_0
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
688 COND_USE_XRC_1
689 COND_USE_THREADS_1
690 COND_USE_THREADS_0
691 COND_USE_STC_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
694 COND_USE_SOVERSION_0
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
698 COND_USE_RTTI_1
699 COND_USE_RTTI_0
700 COND_USE_PLUGINS_0
701 COND_USE_PCH_1
702 COND_USE_OPENGL_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
712 COND_USE_GUI_1
713 COND_USE_GUI_0
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
716 COND_USE_CAIRO_1
717 COND_UNICODE_1
718 COND_TOOLKIT_X11_USE_GUI_1
719 COND_TOOLKIT_X11
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
723 COND_TOOLKIT_WINCE
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
726 COND_TOOLKIT_PM
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
737 COND_TOOLKIT_MSW
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
740 COND_TOOLKIT_MOTIF
741 COND_TOOLKIT_MAC
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
755 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
756 COND_TOOLKIT_GTK
757 COND_TOOLKIT_DFB_USE_GUI_1
758 COND_TOOLKIT_DFB
759 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
760 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_TOOLKIT_COCOA
762 COND_TOOLKIT_
763 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_1
765 COND_SHARED_0_wxUSE_ZLIB_builtin
766 COND_SHARED_0_wxUSE_REGEX_builtin
767 COND_SHARED_0_wxUSE_EXPAT_builtin
768 COND_SHARED_0_USE_STC_1
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
770 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
772 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
773 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
774 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
775 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
776 COND_SHARED_0
777 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
778 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
779 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
780 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
781 COND_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_WIN32_1
783 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
784 COND_PLATFORM_WIN32_0
785 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
786 COND_PLATFORM_UNIX_1_USE_GUI_1
787 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
788 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
789 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
790 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
791 COND_PLATFORM_UNIX_1
792 COND_PLATFORM_UNIX_0
793 COND_PLATFORM_OS2_1
794 COND_PLATFORM_MSDOS_1
795 COND_PLATFORM_MSDOS_0
796 COND_PLATFORM_MAC_1
797 COND_PLATFORM_MAC_0
798 COND_PLATFORM_MACOS_1
799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
801 COND_PLATFORM_MACOSX_1_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
803 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
805 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
806 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
807 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
808 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
809 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
810 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
811 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
812 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
813 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
814 COND_PLATFORM_MACOSX_1
815 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
816 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
818 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
819 COND_MONOLITHIC_1_SHARED_1
820 COND_MONOLITHIC_1_SHARED_0
821 COND_MONOLITHIC_1
822 COND_MONOLITHIC_0_USE_XRC_1
823 COND_MONOLITHIC_0_USE_WEBVIEW_1
824 COND_MONOLITHIC_0_USE_STC_1
825 COND_MONOLITHIC_0_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_USE_RIBBON_1
827 COND_MONOLITHIC_0_USE_QA_1
828 COND_MONOLITHIC_0_USE_PROPGRID_1
829 COND_MONOLITHIC_0_USE_MEDIA_1
830 COND_MONOLITHIC_0_USE_HTML_1
831 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_USE_GUI_1
833 COND_MONOLITHIC_0_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_1
846 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
853 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
855 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_0
858 COND_MONOLITHIC_0
859 COND_ICC_PCH_1
860 COND_GCC_PCH_1
861 COND_DEPS_TRACKING_1
862 COND_DEPS_TRACKING_0
863 COND_DEBUG_INFO_1
864 COND_DEBUG_INFO_0
865 COND_DEBUG_FLAG_1
866 COND_DEBUG_FLAG_0
867 COND_BUILD_release_UNICODE_1
868 COND_BUILD_release_UNICODE_0
869 COND_BUILD_release_DEBUG_INFO_default
870 COND_BUILD_release
871 COND_BUILD_debug_UNICODE_1
872 COND_BUILD_debug_UNICODE_0
873 COND_BUILD_debug_DEBUG_INFO_default
874 COND_BUILD_debug_DEBUG_FLAG_default
875 COND_BUILD_debug
876 COND_BUILD_RELEASE_UNICODE_1
877 COND_BUILD_RELEASE_UNICODE_0
878 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
879 COND_BUILD_RELEASE
880 COND_BUILD_DEBUG_UNICODE_1
881 COND_BUILD_DEBUG_UNICODE_0
882 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
883 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
884 COND_BUILD_DEBUG
885 BK_MAKE_PCH
886 ICC_PCH_USE_SWITCH
887 ICC_PCH_CREATE_SWITCH
888 ICC_PCH
889 GCC_PCH
890 OBJCXXFLAGS
891 SETFILE
892 REZ
893 WINDRES
894 BK_DEPS
895 DEPS_TRACKING
896 SONAME_FLAG
897 USE_SOTWOSYMLINKS
898 USE_MACVERSION
899 USE_SOVERCYGWIN
900 USE_SOVERSOLARIS
901 USE_SOVERLINUX
902 USE_SOVERSION
903 WINDOWS_IMPLIB
904 PIC_FLAG
905 SHARED_LD_MODULE_CXX
906 SHARED_LD_MODULE_CC
907 SHARED_LD_CXX
908 SHARED_LD_CC
909 AIX_CXX_LD
910 dlldir
911 DLLPREFIX_MODULE
912 DLLPREFIX
913 LIBEXT
914 LIBPREFIX
915 DLLIMP_SUFFIX
916 SO_SUFFIX_MODULE
917 SO_SUFFIX
918 PLATFORM_BEOS
919 PLATFORM_OS2
920 PLATFORM_MACOSX
921 PLATFORM_MACOS
922 PLATFORM_MAC
923 PLATFORM_MSDOS
924 PLATFORM_WIN32
925 PLATFORM_UNIX
926 IF_GNU_MAKE
927 LDFLAGS_GUI
928 INSTALL_DIR
929 NM
930 STRIP
931 AROPTIONS
932 MAKE_SET
933 SET_MAKE
934 LN_S
935 INSTALL_DATA
936 INSTALL_SCRIPT
937 INSTALL_PROGRAM
938 RANLIB
939 CPPUNIT_LIBS
940 CPPUNIT_CFLAGS
941 HOST_SUFFIX
942 HEADER_PAD_OPTION
943 SAMPLES_RPATH_FLAG
944 DYLIB_RPATH_POSTLINK
945 DYLIB_RPATH_INSTALL
946 TOOLKIT_VERSION
947 TOOLKIT_LOWERCASE
948 DEBUG_FLAG
949 DEBUG_INFO
950 UNICODE
951 WITH_PLUGIN_SDL
952 EXTRALIBS_STC
953 EXTRALIBS_SDL
954 EXTRALIBS_OPENGL
955 EXTRALIBS_GUI
956 EXTRALIBS_MEDIA
957 EXTRALIBS_HTML
958 EXTRALIBS_XML
959 EXTRALIBS
960 CXXWARNINGS
961 USE_PLUGINS
962 MONOLITHIC
963 WXUNIV
964 WX_LIB_FLAVOUR
965 WX_FLAVOUR
966 OFFICIAL_BUILD
967 VENDOR
968 wxUSE_LIBTIFF
969 wxUSE_LIBPNG
970 wxUSE_LIBJPEG
971 wxUSE_EXPAT
972 wxUSE_REGEX
973 wxUSE_ZLIB
974 STD_GUI_LIBS
975 STD_BASE_LIBS
976 BUILT_WX_LIBS
977 ALL_WX_LIBS
978 GST_LIBS
979 GST_CFLAGS
980 CAIRO_LIBS
981 CAIRO_CFLAGS
982 WEBKIT_LIBS
983 WEBKIT_CFLAGS
984 COND_PYTHON
985 PYTHON
986 HILDON2_LIBS
987 HILDON2_CFLAGS
988 HILDON_LIBS
989 HILDON_CFLAGS
990 LIBNOTIFY_LIBS
991 LIBNOTIFY_CFLAGS
992 GNOMEVFS_LIBS
993 GNOMEVFS_CFLAGS
994 LIBGNOMEPRINTUI_LIBS
995 LIBGNOMEPRINTUI_CFLAGS
996 GTKPRINT_LIBS
997 GTKPRINT_CFLAGS
998 SDL_LIBS
999 SDL_CFLAGS
1000 SDL_CONFIG
1001 GXX_VERSION
1002 LIBICONV
1003 CXXFLAGS_VISIBILITY
1004 CFLAGS_VISIBILITY
1005 MesaGL_LIBS
1006 MesaGL_CFLAGS
1007 GLU_LIBS
1008 GLU_CFLAGS
1009 GL_LIBS
1010 GL_CFLAGS
1011 SM_LIBS
1012 SM_CFLAGS
1013 Xxf86vm_LIBS
1014 Xxf86vm_CFLAGS
1015 Xinerama_LIBS
1016 Xinerama_CFLAGS
1017 PANGOXFT_LIBS
1018 PANGOXFT_CFLAGS
1019 PANGOFT2_LIBS
1020 PANGOFT2_CFLAGS
1021 PANGOX_LIBS
1022 PANGOX_CFLAGS
1023 X_EXTRA_LIBS
1024 X_LIBS
1025 X_PRE_LIBS
1026 X_CFLAGS
1027 XMKMF
1028 DIRECTFB_LIBS
1029 DIRECTFB_CFLAGS
1030 GTK_CONFIG
1031 GTK_LIBS
1032 GTK_CFLAGS
1033 PKG_CONFIG
1034 subdirs
1035 CXXCPP
1036 AR
1037 ac_ct_CXX
1038 CXXFLAGS
1039 CXX
1040 EGREP
1041 GREP
1042 CPP
1043 OBJEXT
1044 EXEEXT
1045 ac_ct_CC
1046 CPPFLAGS
1047 LDFLAGS
1048 CFLAGS
1049 CC
1050 wx_top_builddir
1051 host_os
1052 host_vendor
1053 host_cpu
1054 host
1055 build_os
1056 build_vendor
1057 build_cpu
1058 build
1059 target_alias
1060 host_alias
1061 build_alias
1062 LIBS
1063 ECHO_T
1064 ECHO_N
1065 ECHO_C
1066 DEFS
1067 mandir
1068 localedir
1069 libdir
1070 psdir
1071 pdfdir
1072 dvidir
1073 htmldir
1074 infodir
1075 docdir
1076 oldincludedir
1077 includedir
1078 localstatedir
1079 sharedstatedir
1080 sysconfdir
1081 datadir
1082 datarootdir
1083 libexecdir
1084 sbindir
1085 bindir
1086 program_transform_name
1087 prefix
1088 exec_prefix
1089 PACKAGE_URL
1090 PACKAGE_BUGREPORT
1091 PACKAGE_STRING
1092 PACKAGE_VERSION
1093 PACKAGE_TARNAME
1094 PACKAGE_NAME
1095 PATH_SEPARATOR
1096 SHELL'
1097 ac_subst_files=''
1098 ac_user_opts='
1099 enable_option_checking
1100 enable_gui
1101 enable_monolithic
1102 enable_plugins
1103 with_subdirs
1104 with_flavour
1105 enable_official_build
1106 enable_vendor
1107 enable_all_features
1108 enable_universal
1109 with_themes
1110 with_gtk
1111 with_motif
1112 with_osx_carbon
1113 with_osx_cocoa
1114 with_osx_iphone
1115 with_osx
1116 with_carbon
1117 with_cocoa
1118 with_iphone
1119 with_mac
1120 with_old_cocoa
1121 with_wine
1122 with_msw
1123 with_pm
1124 with_directfb
1125 with_microwin
1126 with_x11
1127 enable_nanox
1128 enable_gpe
1129 with_libpng
1130 with_libjpeg
1131 with_libtiff
1132 with_libxpm
1133 with_libiconv
1134 with_libmspack
1135 with_gtkprint
1136 with_gnomeprint
1137 with_gnomevfs
1138 with_libnotify
1139 with_hildon
1140 with_opengl
1141 with_dmalloc
1142 with_sdl
1143 with_regex
1144 with_zlib
1145 with_expat
1146 with_macosx_sdk
1147 with_macosx_version_min
1148 enable_debug
1149 enable_debug_flag
1150 enable_debug_info
1151 enable_debug_gdb
1152 enable_debug_cntxt
1153 enable_mem_tracing
1154 enable_shared
1155 enable_stl
1156 enable_std_containers
1157 enable_std_iostreams
1158 enable_std_string
1159 enable_std_string_conv_in_wxstring
1160 enable_unicode
1161 enable_mslu
1162 enable_utf8
1163 enable_utf8only
1164 enable_extended_rtti
1165 enable_omf
1166 enable_optimise
1167 enable_profile
1168 enable_no_rtti
1169 enable_no_exceptions
1170 enable_permissive
1171 enable_no_deps
1172 enable_vararg_macros
1173 enable_universal_binary
1174 enable_macosx_arch
1175 enable_compat26
1176 enable_compat28
1177 enable_rpath
1178 enable_objc_uniquifying
1179 enable_visibility
1180 enable_tls
1181 enable_intl
1182 enable_xlocale
1183 enable_config
1184 enable_protocols
1185 enable_ftp
1186 enable_http
1187 enable_fileproto
1188 enable_sockets
1189 enable_ipv6
1190 enable_ole
1191 enable_dataobj
1192 enable_ipc
1193 enable_baseevtloop
1194 enable_epollloop
1195 enable_selectloop
1196 enable_any
1197 enable_apple_ieee
1198 enable_arcstream
1199 enable_base64
1200 enable_backtrace
1201 enable_catch_segvs
1202 enable_cmdline
1203 enable_datetime
1204 enable_debugreport
1205 enable_dialupman
1206 enable_dynlib
1207 enable_dynamicloader
1208 enable_exceptions
1209 enable_ffile
1210 enable_file
1211 enable_filehistory
1212 enable_filesystem
1213 enable_fontenum
1214 enable_fontmap
1215 enable_fs_archive
1216 enable_fs_inet
1217 enable_fs_zip
1218 enable_fswatcher
1219 enable_geometry
1220 enable_log
1221 enable_longlong
1222 enable_mimetype
1223 enable_printfposparam
1224 enable_snglinst
1225 enable_sound
1226 enable_stdpaths
1227 enable_stopwatch
1228 enable_streams
1229 enable_sysoptions
1230 enable_tarstream
1231 enable_textbuf
1232 enable_textfile
1233 enable_timer
1234 enable_variant
1235 enable_zipstream
1236 enable_url
1237 enable_protocol
1238 enable_protocol_http
1239 enable_protocol_ftp
1240 enable_protocol_file
1241 enable_threads
1242 enable_iniconf
1243 enable_regkey
1244 enable_docview
1245 enable_help
1246 enable_mshtmlhelp
1247 enable_html
1248 enable_htmlhelp
1249 enable_xrc
1250 enable_aui
1251 enable_propgrid
1252 enable_ribbon
1253 enable_stc
1254 enable_constraints
1255 enable_loggui
1256 enable_logwin
1257 enable_logdialog
1258 enable_mdi
1259 enable_mdidoc
1260 enable_mediactrl
1261 enable_gstreamer8
1262 enable_richtext
1263 enable_postscript
1264 enable_printarch
1265 enable_svg
1266 enable_webkit
1267 enable_webview
1268 enable_graphics_ctx
1269 enable_clipboard
1270 enable_dnd
1271 enable_controls
1272 enable_markup
1273 enable_accel
1274 enable_animatectrl
1275 enable_bannerwindow
1276 enable_artstd
1277 enable_arttango
1278 enable_bmpbutton
1279 enable_bmpcombobox
1280 enable_button
1281 enable_calendar
1282 enable_caret
1283 enable_checkbox
1284 enable_checklst
1285 enable_choice
1286 enable_choicebook
1287 enable_collpane
1288 enable_colourpicker
1289 enable_combobox
1290 enable_comboctrl
1291 enable_commandlinkbutton
1292 enable_dataviewctrl
1293 enable_datepick
1294 enable_detect_sm
1295 enable_dirpicker
1296 enable_display
1297 enable_editablebox
1298 enable_filectrl
1299 enable_filepicker
1300 enable_fontpicker
1301 enable_gauge
1302 enable_grid
1303 enable_headerctrl
1304 enable_hyperlink
1305 enable_imaglist
1306 enable_infobar
1307 enable_listbook
1308 enable_listbox
1309 enable_listctrl
1310 enable_notebook
1311 enable_notifmsg
1312 enable_odcombobox
1313 enable_popupwin
1314 enable_radiobox
1315 enable_radiobtn
1316 enable_richmsgdlg
1317 enable_richtooltip
1318 enable_rearrangectrl
1319 enable_sash
1320 enable_scrollbar
1321 enable_searchctrl
1322 enable_slider
1323 enable_spinbtn
1324 enable_spinctrl
1325 enable_splitter
1326 enable_statbmp
1327 enable_statbox
1328 enable_statline
1329 enable_stattext
1330 enable_statusbar
1331 enable_taskbaricon
1332 enable_tbarnative
1333 enable_textctrl
1334 enable_tipwindow
1335 enable_togglebtn
1336 enable_toolbar
1337 enable_toolbook
1338 enable_treebook
1339 enable_treectrl
1340 enable_treelist
1341 enable_commondlg
1342 enable_aboutdlg
1343 enable_choicedlg
1344 enable_coldlg
1345 enable_filedlg
1346 enable_finddlg
1347 enable_fontdlg
1348 enable_dirdlg
1349 enable_msgdlg
1350 enable_numberdlg
1351 enable_splash
1352 enable_textdlg
1353 enable_tipdlg
1354 enable_progressdlg
1355 enable_wizarddlg
1356 enable_menus
1357 enable_miniframe
1358 enable_tooltips
1359 enable_splines
1360 enable_mousewheel
1361 enable_validators
1362 enable_busyinfo
1363 enable_hotkey
1364 enable_joystick
1365 enable_metafile
1366 enable_dragimage
1367 enable_accessibility
1368 enable_uiactionsim
1369 enable_dctransform
1370 enable_webviewwebkit
1371 enable_palette
1372 enable_image
1373 enable_gif
1374 enable_pcx
1375 enable_tga
1376 enable_iff
1377 enable_pnm
1378 enable_xpm
1379 enable_ico_cur
1380 enable_dccache
1381 enable_ps_in_msw
1382 enable_ownerdrawn
1383 enable_uxtheme
1384 enable_wxdib
1385 enable_webviewie
1386 enable_autoidman
1387 enable_largefile
1388 enable_gtktest
1389 with_gtk_prefix
1390 with_gtk_exec_prefix
1391 with_x
1392 with_libiconv_prefix
1393 with_sdl_prefix
1394 with_sdl_exec_prefix
1395 enable_sdltest
1396 enable_dependency_tracking
1397 enable_precomp_headers
1398 with_cppunit_prefix
1399 with_cppunit_exec_prefix
1400 '
1401 ac_precious_vars='build_alias
1402 host_alias
1403 target_alias
1404 CC
1405 CFLAGS
1406 LDFLAGS
1407 LIBS
1408 CPPFLAGS
1409 CPP
1410 CXX
1411 CXXFLAGS
1412 CCC
1413 CXXCPP
1414 PKG_CONFIG
1415 DIRECTFB_CFLAGS
1416 DIRECTFB_LIBS
1417 XMKMF
1418 PANGOX_CFLAGS
1419 PANGOX_LIBS
1420 PANGOFT2_CFLAGS
1421 PANGOFT2_LIBS
1422 PANGOXFT_CFLAGS
1423 PANGOXFT_LIBS
1424 Xinerama_CFLAGS
1425 Xinerama_LIBS
1426 Xxf86vm_CFLAGS
1427 Xxf86vm_LIBS
1428 SM_CFLAGS
1429 SM_LIBS
1430 GL_CFLAGS
1431 GL_LIBS
1432 GLU_CFLAGS
1433 GLU_LIBS
1434 MesaGL_CFLAGS
1435 MesaGL_LIBS
1436 GTKPRINT_CFLAGS
1437 GTKPRINT_LIBS
1438 LIBGNOMEPRINTUI_CFLAGS
1439 LIBGNOMEPRINTUI_LIBS
1440 GNOMEVFS_CFLAGS
1441 GNOMEVFS_LIBS
1442 LIBNOTIFY_CFLAGS
1443 LIBNOTIFY_LIBS
1444 HILDON_CFLAGS
1445 HILDON_LIBS
1446 HILDON2_CFLAGS
1447 HILDON2_LIBS
1448 WEBKIT_CFLAGS
1449 WEBKIT_LIBS
1450 CAIRO_CFLAGS
1451 CAIRO_LIBS
1452 GST_CFLAGS
1453 GST_LIBS'
1454 ac_subdirs_all='src/tiff
1455 src/expat'
1456
1457 # Initialize some variables set by options.
1458 ac_init_help=
1459 ac_init_version=false
1460 ac_unrecognized_opts=
1461 ac_unrecognized_sep=
1462 # The variables have the same names as the options, with
1463 # dashes changed to underlines.
1464 cache_file=/dev/null
1465 exec_prefix=NONE
1466 no_create=
1467 no_recursion=
1468 prefix=NONE
1469 program_prefix=NONE
1470 program_suffix=NONE
1471 program_transform_name=s,x,x,
1472 silent=
1473 site=
1474 srcdir=
1475 verbose=
1476 x_includes=NONE
1477 x_libraries=NONE
1478
1479 # Installation directory options.
1480 # These are left unexpanded so users can "make install exec_prefix=/foo"
1481 # and all the variables that are supposed to be based on exec_prefix
1482 # by default will actually change.
1483 # Use braces instead of parens because sh, perl, etc. also accept them.
1484 # (The list follows the same order as the GNU Coding Standards.)
1485 bindir='${exec_prefix}/bin'
1486 sbindir='${exec_prefix}/sbin'
1487 libexecdir='${exec_prefix}/libexec'
1488 datarootdir='${prefix}/share'
1489 datadir='${datarootdir}'
1490 sysconfdir='${prefix}/etc'
1491 sharedstatedir='${prefix}/com'
1492 localstatedir='${prefix}/var'
1493 includedir='${prefix}/include'
1494 oldincludedir='/usr/include'
1495 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1496 infodir='${datarootdir}/info'
1497 htmldir='${docdir}'
1498 dvidir='${docdir}'
1499 pdfdir='${docdir}'
1500 psdir='${docdir}'
1501 libdir='${exec_prefix}/lib'
1502 localedir='${datarootdir}/locale'
1503 mandir='${datarootdir}/man'
1504
1505 ac_prev=
1506 ac_dashdash=
1507 for ac_option
1508 do
1509 # If the previous option needs an argument, assign it.
1510 if test -n "$ac_prev"; then
1511 eval $ac_prev=\$ac_option
1512 ac_prev=
1513 continue
1514 fi
1515
1516 case $ac_option in
1517 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1518 *=) ac_optarg= ;;
1519 *) ac_optarg=yes ;;
1520 esac
1521
1522 # Accept the important Cygnus configure options, so we can diagnose typos.
1523
1524 case $ac_dashdash$ac_option in
1525 --)
1526 ac_dashdash=yes ;;
1527
1528 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1529 ac_prev=bindir ;;
1530 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1531 bindir=$ac_optarg ;;
1532
1533 -build | --build | --buil | --bui | --bu)
1534 ac_prev=build_alias ;;
1535 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1536 build_alias=$ac_optarg ;;
1537
1538 -cache-file | --cache-file | --cache-fil | --cache-fi \
1539 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1540 ac_prev=cache_file ;;
1541 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1542 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1543 cache_file=$ac_optarg ;;
1544
1545 --config-cache | -C)
1546 cache_file=config.cache ;;
1547
1548 -datadir | --datadir | --datadi | --datad)
1549 ac_prev=datadir ;;
1550 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1551 datadir=$ac_optarg ;;
1552
1553 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1554 | --dataroo | --dataro | --datar)
1555 ac_prev=datarootdir ;;
1556 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1557 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1558 datarootdir=$ac_optarg ;;
1559
1560 -disable-* | --disable-*)
1561 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1562 # Reject names that are not valid shell variable names.
1563 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1564 as_fn_error $? "invalid feature name: $ac_useropt"
1565 ac_useropt_orig=$ac_useropt
1566 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1567 case $ac_user_opts in
1568 *"
1569 "enable_$ac_useropt"
1570 "*) ;;
1571 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1572 ac_unrecognized_sep=', ';;
1573 esac
1574 eval enable_$ac_useropt=no ;;
1575
1576 -docdir | --docdir | --docdi | --doc | --do)
1577 ac_prev=docdir ;;
1578 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1579 docdir=$ac_optarg ;;
1580
1581 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1582 ac_prev=dvidir ;;
1583 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1584 dvidir=$ac_optarg ;;
1585
1586 -enable-* | --enable-*)
1587 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1588 # Reject names that are not valid shell variable names.
1589 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1590 as_fn_error $? "invalid feature name: $ac_useropt"
1591 ac_useropt_orig=$ac_useropt
1592 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1593 case $ac_user_opts in
1594 *"
1595 "enable_$ac_useropt"
1596 "*) ;;
1597 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1598 ac_unrecognized_sep=', ';;
1599 esac
1600 eval enable_$ac_useropt=\$ac_optarg ;;
1601
1602 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1603 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1604 | --exec | --exe | --ex)
1605 ac_prev=exec_prefix ;;
1606 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1607 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1608 | --exec=* | --exe=* | --ex=*)
1609 exec_prefix=$ac_optarg ;;
1610
1611 -gas | --gas | --ga | --g)
1612 # Obsolete; use --with-gas.
1613 with_gas=yes ;;
1614
1615 -help | --help | --hel | --he | -h)
1616 ac_init_help=long ;;
1617 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1618 ac_init_help=recursive ;;
1619 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1620 ac_init_help=short ;;
1621
1622 -host | --host | --hos | --ho)
1623 ac_prev=host_alias ;;
1624 -host=* | --host=* | --hos=* | --ho=*)
1625 host_alias=$ac_optarg ;;
1626
1627 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1628 ac_prev=htmldir ;;
1629 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1630 | --ht=*)
1631 htmldir=$ac_optarg ;;
1632
1633 -includedir | --includedir | --includedi | --included | --include \
1634 | --includ | --inclu | --incl | --inc)
1635 ac_prev=includedir ;;
1636 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1637 | --includ=* | --inclu=* | --incl=* | --inc=*)
1638 includedir=$ac_optarg ;;
1639
1640 -infodir | --infodir | --infodi | --infod | --info | --inf)
1641 ac_prev=infodir ;;
1642 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1643 infodir=$ac_optarg ;;
1644
1645 -libdir | --libdir | --libdi | --libd)
1646 ac_prev=libdir ;;
1647 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1648 libdir=$ac_optarg ;;
1649
1650 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1651 | --libexe | --libex | --libe)
1652 ac_prev=libexecdir ;;
1653 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1654 | --libexe=* | --libex=* | --libe=*)
1655 libexecdir=$ac_optarg ;;
1656
1657 -localedir | --localedir | --localedi | --localed | --locale)
1658 ac_prev=localedir ;;
1659 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1660 localedir=$ac_optarg ;;
1661
1662 -localstatedir | --localstatedir | --localstatedi | --localstated \
1663 | --localstate | --localstat | --localsta | --localst | --locals)
1664 ac_prev=localstatedir ;;
1665 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1666 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1667 localstatedir=$ac_optarg ;;
1668
1669 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1670 ac_prev=mandir ;;
1671 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1672 mandir=$ac_optarg ;;
1673
1674 -nfp | --nfp | --nf)
1675 # Obsolete; use --without-fp.
1676 with_fp=no ;;
1677
1678 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1679 | --no-cr | --no-c | -n)
1680 no_create=yes ;;
1681
1682 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1683 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1684 no_recursion=yes ;;
1685
1686 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1687 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1688 | --oldin | --oldi | --old | --ol | --o)
1689 ac_prev=oldincludedir ;;
1690 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1691 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1692 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1693 oldincludedir=$ac_optarg ;;
1694
1695 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1696 ac_prev=prefix ;;
1697 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1698 prefix=$ac_optarg ;;
1699
1700 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1701 | --program-pre | --program-pr | --program-p)
1702 ac_prev=program_prefix ;;
1703 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1704 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1705 program_prefix=$ac_optarg ;;
1706
1707 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1708 | --program-suf | --program-su | --program-s)
1709 ac_prev=program_suffix ;;
1710 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1711 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1712 program_suffix=$ac_optarg ;;
1713
1714 -program-transform-name | --program-transform-name \
1715 | --program-transform-nam | --program-transform-na \
1716 | --program-transform-n | --program-transform- \
1717 | --program-transform | --program-transfor \
1718 | --program-transfo | --program-transf \
1719 | --program-trans | --program-tran \
1720 | --progr-tra | --program-tr | --program-t)
1721 ac_prev=program_transform_name ;;
1722 -program-transform-name=* | --program-transform-name=* \
1723 | --program-transform-nam=* | --program-transform-na=* \
1724 | --program-transform-n=* | --program-transform-=* \
1725 | --program-transform=* | --program-transfor=* \
1726 | --program-transfo=* | --program-transf=* \
1727 | --program-trans=* | --program-tran=* \
1728 | --progr-tra=* | --program-tr=* | --program-t=*)
1729 program_transform_name=$ac_optarg ;;
1730
1731 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1732 ac_prev=pdfdir ;;
1733 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1734 pdfdir=$ac_optarg ;;
1735
1736 -psdir | --psdir | --psdi | --psd | --ps)
1737 ac_prev=psdir ;;
1738 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1739 psdir=$ac_optarg ;;
1740
1741 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1742 | -silent | --silent | --silen | --sile | --sil)
1743 silent=yes ;;
1744
1745 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1746 ac_prev=sbindir ;;
1747 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1748 | --sbi=* | --sb=*)
1749 sbindir=$ac_optarg ;;
1750
1751 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1752 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1753 | --sharedst | --shareds | --shared | --share | --shar \
1754 | --sha | --sh)
1755 ac_prev=sharedstatedir ;;
1756 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1757 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1758 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1759 | --sha=* | --sh=*)
1760 sharedstatedir=$ac_optarg ;;
1761
1762 -site | --site | --sit)
1763 ac_prev=site ;;
1764 -site=* | --site=* | --sit=*)
1765 site=$ac_optarg ;;
1766
1767 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1768 ac_prev=srcdir ;;
1769 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1770 srcdir=$ac_optarg ;;
1771
1772 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1773 | --syscon | --sysco | --sysc | --sys | --sy)
1774 ac_prev=sysconfdir ;;
1775 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1776 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1777 sysconfdir=$ac_optarg ;;
1778
1779 -target | --target | --targe | --targ | --tar | --ta | --t)
1780 ac_prev=target_alias ;;
1781 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1782 target_alias=$ac_optarg ;;
1783
1784 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1785 verbose=yes ;;
1786
1787 -version | --version | --versio | --versi | --vers | -V)
1788 ac_init_version=: ;;
1789
1790 -with-* | --with-*)
1791 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1792 # Reject names that are not valid shell variable names.
1793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1794 as_fn_error $? "invalid package name: $ac_useropt"
1795 ac_useropt_orig=$ac_useropt
1796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797 case $ac_user_opts in
1798 *"
1799 "with_$ac_useropt"
1800 "*) ;;
1801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1802 ac_unrecognized_sep=', ';;
1803 esac
1804 eval with_$ac_useropt=\$ac_optarg ;;
1805
1806 -without-* | --without-*)
1807 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1808 # Reject names that are not valid shell variable names.
1809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1810 as_fn_error $? "invalid package name: $ac_useropt"
1811 ac_useropt_orig=$ac_useropt
1812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1813 case $ac_user_opts in
1814 *"
1815 "with_$ac_useropt"
1816 "*) ;;
1817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1818 ac_unrecognized_sep=', ';;
1819 esac
1820 eval with_$ac_useropt=no ;;
1821
1822 --x)
1823 # Obsolete; use --with-x.
1824 with_x=yes ;;
1825
1826 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1827 | --x-incl | --x-inc | --x-in | --x-i)
1828 ac_prev=x_includes ;;
1829 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1830 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1831 x_includes=$ac_optarg ;;
1832
1833 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1834 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1835 ac_prev=x_libraries ;;
1836 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1837 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1838 x_libraries=$ac_optarg ;;
1839
1840 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1841 Try \`$0 --help' for more information"
1842 ;;
1843
1844 *=*)
1845 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1846 # Reject names that are not valid shell variable names.
1847 case $ac_envvar in #(
1848 '' | [0-9]* | *[!_$as_cr_alnum]* )
1849 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1850 esac
1851 eval $ac_envvar=\$ac_optarg
1852 export $ac_envvar ;;
1853
1854 *)
1855 # FIXME: should be removed in autoconf 3.0.
1856 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1857 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1858 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1859 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1860 ;;
1861
1862 esac
1863 done
1864
1865 if test -n "$ac_prev"; then
1866 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1867 as_fn_error $? "missing argument to $ac_option"
1868 fi
1869
1870 if test -n "$ac_unrecognized_opts"; then
1871 case $enable_option_checking in
1872 no) ;;
1873 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1874 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1875 esac
1876 fi
1877
1878 # Check all directory arguments for consistency.
1879 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1880 datadir sysconfdir sharedstatedir localstatedir includedir \
1881 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1882 libdir localedir mandir
1883 do
1884 eval ac_val=\$$ac_var
1885 # Remove trailing slashes.
1886 case $ac_val in
1887 */ )
1888 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1889 eval $ac_var=\$ac_val;;
1890 esac
1891 # Be sure to have absolute directory names.
1892 case $ac_val in
1893 [\\/$]* | ?:[\\/]* ) continue;;
1894 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1895 esac
1896 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1897 done
1898
1899 # There might be people who depend on the old broken behavior: `$host'
1900 # used to hold the argument of --host etc.
1901 # FIXME: To remove some day.
1902 build=$build_alias
1903 host=$host_alias
1904 target=$target_alias
1905
1906 # FIXME: To remove some day.
1907 if test "x$host_alias" != x; then
1908 if test "x$build_alias" = x; then
1909 cross_compiling=maybe
1910 elif test "x$build_alias" != "x$host_alias"; then
1911 cross_compiling=yes
1912 fi
1913 fi
1914
1915 ac_tool_prefix=
1916 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1917
1918 test "$silent" = yes && exec 6>/dev/null
1919
1920
1921 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1922 ac_ls_di=`ls -di .` &&
1923 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1924 as_fn_error $? "working directory cannot be determined"
1925 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1926 as_fn_error $? "pwd does not report name of working directory"
1927
1928
1929 # Find the source files, if location was not specified.
1930 if test -z "$srcdir"; then
1931 ac_srcdir_defaulted=yes
1932 # Try the directory containing this script, then the parent directory.
1933 ac_confdir=`$as_dirname -- "$as_myself" ||
1934 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1935 X"$as_myself" : 'X\(//\)[^/]' \| \
1936 X"$as_myself" : 'X\(//\)$' \| \
1937 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1938 $as_echo X"$as_myself" |
1939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1940 s//\1/
1941 q
1942 }
1943 /^X\(\/\/\)[^/].*/{
1944 s//\1/
1945 q
1946 }
1947 /^X\(\/\/\)$/{
1948 s//\1/
1949 q
1950 }
1951 /^X\(\/\).*/{
1952 s//\1/
1953 q
1954 }
1955 s/.*/./; q'`
1956 srcdir=$ac_confdir
1957 if test ! -r "$srcdir/$ac_unique_file"; then
1958 srcdir=..
1959 fi
1960 else
1961 ac_srcdir_defaulted=no
1962 fi
1963 if test ! -r "$srcdir/$ac_unique_file"; then
1964 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1965 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1966 fi
1967 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1968 ac_abs_confdir=`(
1969 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1970 pwd)`
1971 # When building in place, set srcdir=.
1972 if test "$ac_abs_confdir" = "$ac_pwd"; then
1973 srcdir=.
1974 fi
1975 # Remove unnecessary trailing slashes from srcdir.
1976 # Double slashes in file names in object file debugging info
1977 # mess up M-x gdb in Emacs.
1978 case $srcdir in
1979 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1980 esac
1981 for ac_var in $ac_precious_vars; do
1982 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1983 eval ac_env_${ac_var}_value=\$${ac_var}
1984 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1985 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1986 done
1987
1988 #
1989 # Report the --help message.
1990 #
1991 if test "$ac_init_help" = "long"; then
1992 # Omit some internal or obsolete options to make the list less imposing.
1993 # This message is too long to be a string in the A/UX 3.1 sh.
1994 cat <<_ACEOF
1995 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1996
1997 Usage: $0 [OPTION]... [VAR=VALUE]...
1998
1999 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2000 VAR=VALUE. See below for descriptions of some of the useful variables.
2001
2002 Defaults for the options are specified in brackets.
2003
2004 Configuration:
2005 -h, --help display this help and exit
2006 --help=short display options specific to this package
2007 --help=recursive display the short help of all the included packages
2008 -V, --version display version information and exit
2009 -q, --quiet, --silent do not print \`checking ...' messages
2010 --cache-file=FILE cache test results in FILE [disabled]
2011 -C, --config-cache alias for \`--cache-file=config.cache'
2012 -n, --no-create do not create output files
2013 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2014
2015 Installation directories:
2016 --prefix=PREFIX install architecture-independent files in PREFIX
2017 [$ac_default_prefix]
2018 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2019 [PREFIX]
2020
2021 By default, \`make install' will install all the files in
2022 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2023 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2024 for instance \`--prefix=\$HOME'.
2025
2026 For better control, use the options below.
2027
2028 Fine tuning of the installation directories:
2029 --bindir=DIR user executables [EPREFIX/bin]
2030 --sbindir=DIR system admin executables [EPREFIX/sbin]
2031 --libexecdir=DIR program executables [EPREFIX/libexec]
2032 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2033 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2034 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2035 --libdir=DIR object code libraries [EPREFIX/lib]
2036 --includedir=DIR C header files [PREFIX/include]
2037 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2038 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2039 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2040 --infodir=DIR info documentation [DATAROOTDIR/info]
2041 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2042 --mandir=DIR man documentation [DATAROOTDIR/man]
2043 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2044 --htmldir=DIR html documentation [DOCDIR]
2045 --dvidir=DIR dvi documentation [DOCDIR]
2046 --pdfdir=DIR pdf documentation [DOCDIR]
2047 --psdir=DIR ps documentation [DOCDIR]
2048 _ACEOF
2049
2050 cat <<\_ACEOF
2051
2052 X features:
2053 --x-includes=DIR X include files are in DIR
2054 --x-libraries=DIR X library files are in DIR
2055
2056 System types:
2057 --build=BUILD configure for building on BUILD [guessed]
2058 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2059 _ACEOF
2060 fi
2061
2062 if test -n "$ac_init_help"; then
2063 case $ac_init_help in
2064 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2065 esac
2066 cat <<\_ACEOF
2067
2068 Optional Features:
2069 --disable-option-checking ignore unrecognized --enable/--with options
2070 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2071 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2072 --disable-gui don't build GUI parts of the library
2073 --enable-monolithic build wxWidgets as single library
2074 --enable-plugins build parts of wxWidgets as loadable components
2075 --enable-official_build official build of wxWidgets (win32 DLL only)
2076 --enable-vendor=VENDOR vendor name (win32 DLL only)
2077 --disable-all-features disable all optional features to build minimal library
2078 --enable-universal use wxWidgets GUI controls instead of native ones
2079 --enable-nanox use NanoX
2080 --enable-gpe use GNOME PDA Environment features if possible
2081 --enable-debug build library for debugging
2082 --disable-debug_flag disable all debugging support
2083 --enable-debug_info generate debug information
2084 --enable-debug_gdb create code with extra GDB debugging information
2085 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2086 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2087 --disable-shared create static library instead of shared
2088 --enable-stl use standard C++ classes for everything
2089 --enable-std_containers use standard C++ container classes
2090 --enable-std_iostreams use standard C++ stream classes
2091 --enable-std_string use standard C++ string classes
2092 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2093 --disable-unicode compile without Unicode support
2094 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2095 --enable-utf8 use UTF-8 representation for strings (Unix only)
2096 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2097 --enable-extended_rtti use extended RTTI (XTI)
2098 --enable-omf use OMF object format
2099 --disable-optimise compile without optimisations
2100 --enable-profile create code with profiling information
2101 --enable-no_rtti create code without RTTI information
2102 --enable-no_exceptions create code without C++ exceptions handling
2103 --enable-permissive compile code disregarding strict ANSI
2104 --enable-no_deps create code without dependency information
2105 --disable-vararg_macros don't use vararg macros, even if they are supported
2106 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2107 --enable-macosx_arch=ARCH build for just the specified architecture
2108 --enable-compat26 enable wxWidgets 2.6 compatibility
2109 --disable-compat28 disable wxWidgets 2.8 compatibility
2110 --disable-rpath disable use of rpath for uninstalled builds
2111 --enable-objc_uniquifying enable Objective-C class name uniquifying
2112 --disable-visibility disable use of ELF symbols visibility even if supported
2113 --disable-tls disable use of compiler TLS support
2114 --enable-intl use internationalization system
2115 --enable-xlocale use x-locale support (requires wxLocale)
2116 --enable-config use wxConfig (and derived) classes
2117 --enable-protocols use wxProtocol and derived classes
2118 --enable-ftp use wxFTP (requires wxProtocol
2119 --enable-http use wxHTTP (requires wxProtocol
2120 --enable-fileproto use wxFileProto class (requires wxProtocol
2121 --enable-sockets use socket/network classes
2122 --enable-ipv6 enable IPv6 support in wxSocket
2123 --enable-ole use OLE classes (Win32 only)
2124 --enable-dataobj use data object classes
2125 --enable-ipc use interprocess communication (wxSocket etc.)
2126 --enable-baseevtloop use event loop in console programs too
2127 --enable-epollloop use wxEpollDispatcher class (Linux only)
2128 --enable-selectloop use wxSelectDispatcher class
2129 --enable-any use wxAny class
2130 --enable-apple_ieee use the Apple IEEE codec
2131 --enable-arcstream use wxArchive streams
2132 --enable-base64 use base64 encoding/decoding functions
2133 --enable-backtrace use wxStackWalker class for getting backtraces
2134 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2135 --enable-cmdline use wxCmdLineParser class
2136 --enable-datetime use wxDateTime class
2137 --enable-debugreport use wxDebugReport class
2138 --enable-dialupman use dialup network classes
2139 --enable-dynlib use wxLibrary class for DLL loading
2140 --enable-dynamicloader use (new) wxDynamicLibrary class
2141 --enable-exceptions build exception-safe library
2142 --enable-ffile use wxFFile class
2143 --enable-file use wxFile class
2144 --enable-filehistory use wxFileHistory class
2145 --enable-filesystem use virtual file systems classes
2146 --enable-fontenum use wxFontEnumerator class
2147 --enable-fontmap use font encodings conversion classes
2148 --enable-fs_archive use virtual archive filesystems
2149 --enable-fs_inet use virtual HTTP/FTP filesystems
2150 --enable-fs_zip now replaced by fs_archive
2151 --enable-fswatcher use wxFileSystemWatcher class
2152 --enable-geometry use geometry class
2153 --enable-log use logging system
2154 --enable-longlong use wxLongLong class
2155 --enable-mimetype use wxMimeTypesManager
2156 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2157 --enable-snglinst use wxSingleInstanceChecker class
2158 --enable-sound use wxSound class
2159 --enable-stdpaths use wxStandardPaths class
2160 --enable-stopwatch use wxStopWatch class
2161 --enable-streams use wxStream etc classes
2162 --enable-sysoptions use wxSystemOptions
2163 --enable-tarstream use wxTar streams
2164 --enable-textbuf use wxTextBuffer class
2165 --enable-textfile use wxTextFile class
2166 --enable-timer use wxTimer class
2167 --enable-variant use wxVariant class
2168 --enable-zipstream use wxZip streams
2169 --enable-url use wxURL class
2170 --enable-protocol use wxProtocol class
2171 --enable-protocol-http HTTP support in wxProtocol
2172 --enable-protocol-ftp FTP support in wxProtocol
2173 --enable-protocol-file FILE support in wxProtocol
2174 --enable-threads use threads
2175 --enable-iniconf use wxIniConfig (Win32 only)
2176 --enable-regkey use wxRegKey class (Win32 only)
2177 --enable-docview use document view architecture
2178 --enable-help use help subsystem
2179 --enable-mshtmlhelp use MS HTML Help (win32)
2180 --enable-html use wxHTML sub-library
2181 --enable-htmlhelp use wxHTML-based help
2182 --enable-xrc use XRC resources sub-library
2183 --enable-aui use AUI docking library
2184 --enable-propgrid use wxPropertyGrid library
2185 --enable-ribbon use wxRibbon library
2186 --enable-stc use wxStyledTextCtrl library
2187 --enable-constraints use layout-constraints system
2188 --enable-loggui use standard GUI logger
2189 --enable-logwin use wxLogWindow
2190 --enable-logdialog use wxLogDialog
2191 --enable-mdi use multiple document interface architecture
2192 --enable-mdidoc use docview architecture with MDI
2193 --enable-mediactrl use wxMediaCtrl class
2194 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2195 --enable-richtext use wxRichTextCtrl
2196 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2197 --enable-printarch use printing architecture
2198 --enable-svg use wxSVGFileDC device context
2199 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2200 --enable-webview use wxWebView library
2201 --enable-graphics_ctx use graphics context 2D drawing API
2202 --enable-clipboard use wxClipboard class
2203 --enable-dnd use Drag'n'Drop classes
2204 --disable-controls disable compilation of all standard controls
2205 --enable-markup support wxControl::SetLabelMarkup
2206 --enable-accel use accelerators
2207 --enable-animatectrl use wxAnimationCtrl class
2208 --enable-bannerwindow use wxBannerWindow class
2209 --enable-artstd use standard XPM icons in wxArtProvider
2210 --enable-arttango use Tango icons in wxArtProvider
2211 --enable-bmpbutton use wxBitmapButton class
2212 --enable-bmpcombobox use wxBitmapComboBox class
2213 --enable-button use wxButton class
2214 --enable-calendar use wxCalendarCtrl class
2215 --enable-caret use wxCaret class
2216 --enable-checkbox use wxCheckBox class
2217 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2218 --enable-choice use wxChoice class
2219 --enable-choicebook use wxChoicebook class
2220 --enable-collpane use wxCollapsiblePane class
2221 --enable-colourpicker use wxColourPickerCtrl class
2222 --enable-combobox use wxComboBox class
2223 --enable-comboctrl use wxComboCtrl class
2224 --enable-commandlinkbutton use wxCommmandLinkButton class
2225 --enable-dataviewctrl use wxDataViewCtrl class
2226 --enable-datepick use wxDatePickerCtrl class
2227 --enable-detect_sm use code to detect X11 session manager
2228 --enable-dirpicker use wxDirPickerCtrl class
2229 --enable-display use wxDisplay class
2230 --enable-editablebox use wxEditableListBox class
2231 --enable-filectrl use wxFileCtrl class
2232 --enable-filepicker use wxFilePickerCtrl class
2233 --enable-fontpicker use wxFontPickerCtrl class
2234 --enable-gauge use wxGauge class
2235 --enable-grid use wxGrid class
2236 --enable-headerctrl use wxHeaderCtrl class
2237 --enable-hyperlink use wxHyperlinkCtrl class
2238 --enable-imaglist use wxImageList class
2239 --enable-infobar use wxInfoBar class
2240 --enable-listbook use wxListbook class
2241 --enable-listbox use wxListBox class
2242 --enable-listctrl use wxListCtrl class
2243 --enable-notebook use wxNotebook class
2244 --enable-notifmsg use wxNotificationMessage class
2245 --enable-odcombobox use wxOwnerDrawnComboBox class
2246 --enable-popupwin use wxPopUpWindow class
2247 --enable-radiobox use wxRadioBox class
2248 --enable-radiobtn use wxRadioButton class
2249 --enable-richmsgdlg use wxRichMessageDialog class
2250 --enable-richtooltip use wxRichToolTip class
2251 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2252 --enable-sash use wxSashWindow class
2253 --enable-scrollbar use wxScrollBar class and scrollable windows
2254 --enable-searchctrl use wxSearchCtrl class
2255 --enable-slider use wxSlider class
2256 --enable-spinbtn use wxSpinButton class
2257 --enable-spinctrl use wxSpinCtrl class
2258 --enable-splitter use wxSplitterWindow class
2259 --enable-statbmp use wxStaticBitmap class
2260 --enable-statbox use wxStaticBox class
2261 --enable-statline use wxStaticLine class
2262 --enable-stattext use wxStaticText class
2263 --enable-statusbar use wxStatusBar class
2264 --enable-taskbaricon use wxTaskBarIcon class
2265 --enable-tbarnative use native wxToolBar class
2266 --enable-textctrl use wxTextCtrl class
2267 --enable-timepick use wxTimePickerCtrl class
2268 --enable-tipwindow use wxTipWindow class
2269 --enable-togglebtn use wxToggleButton class
2270 --enable-toolbar use wxToolBar class
2271 --enable-toolbook use wxToolbook class
2272 --enable-treebook use wxTreebook class
2273 --enable-treectrl use wxTreeCtrl class
2274 --enable-treelist use wxTreeListCtrl class
2275 --enable-commondlg use all common dialogs
2276 --enable-aboutdlg use wxAboutBox
2277 --enable-choicedlg use wxChoiceDialog
2278 --enable-coldlg use wxColourDialog
2279 --enable-filedlg use wxFileDialog
2280 --enable-finddlg use wxFindReplaceDialog
2281 --enable-fontdlg use wxFontDialog
2282 --enable-dirdlg use wxDirDialog
2283 --enable-msgdlg use wxMessageDialog
2284 --enable-numberdlg use wxNumberEntryDialog
2285 --enable-splash use wxSplashScreen
2286 --enable-textdlg use wxTextDialog
2287 --enable-tipdlg use startup tips
2288 --enable-progressdlg use wxProgressDialog
2289 --enable-wizarddlg use wxWizard
2290 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2291 --enable-miniframe use wxMiniFrame class
2292 --enable-tooltips use wxToolTip class
2293 --enable-splines use spline drawing code
2294 --enable-mousewheel use mousewheel
2295 --enable-validators use wxValidator and derived classes
2296 --enable-busyinfo use wxBusyInfo
2297 --enable-hotkey use wxWindow::RegisterHotKey()
2298 --enable-joystick use wxJoystick
2299 --enable-metafiles use wxMetaFile
2300 --enable-dragimage use wxDragImage
2301 --enable-accessibility enable accessibility support
2302 --enable-uiactionsim use wxUIActionSimulator (experimental)
2303 --enable-dctransform use wxDC::SetTransformMatrix and related
2304 --enable-webviewwebkit use wxWebView WebKit backend
2305 --enable-palette use wxPalette class
2306 --enable-image use wxImage class
2307 --enable-gif use gif images (GIF file format)
2308 --enable-pcx use pcx images (PCX file format)
2309 --enable-tga use tga images (TGA file format)
2310 --enable-iff use iff images (IFF file format)
2311 --enable-pnm use pnm images (PNM file format)
2312 --enable-xpm use xpm images (XPM file format)
2313 --enable-ico_cur use Windows ICO and CUR formats
2314 --enable-dccache cache temporary wxDC objects (Win32 only)
2315 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2316 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2317 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2318 --enable-wxdib use wxDIB class (Win32 only)
2319 --enable-webviewie use wxWebView IE backend (Win32 only)
2320 --enable-autoidman use automatic ids management
2321 --disable-largefile omit support for large files
2322 --disable-gtktest do not try to compile and run a test GTK+ program
2323 --disable-gtktest Do not try to compile and run a test GTK program
2324 --disable-sdltest Do not try to compile and run a test SDL program
2325 --enable-omf use OMF object format (OS/2)
2326 --disable-dependency-tracking
2327 don't use dependency tracking even if the compiler
2328 can
2329 --disable-precomp-headers
2330 don't use precompiled headers even if compiler can
2331
2332 Optional Packages:
2333 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2334 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2335 --without-subdirs don't generate makefiles for samples/demos/...
2336 --with-flavour=NAME specify a name to identify this build
2337 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2338 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2339 --with-motif use Motif/Lesstif
2340 --with-osx_carbon use Mac OS X (Carbon)
2341 --with-osx_cocoa use Mac OS X (Cocoa)
2342 --with-osx_iphone use iPhone OS X port
2343 --with-osx use Mac OS X (default port, currently Carbon)
2344 --with-carbon same as --with-osx_carbon
2345 --with-cocoa same as --with-osx_cocoa
2346 --with-iphone same as --with-osx_iphone
2347 --with-mac same as --with-osx
2348 --with-old_cocoa use old, deprecated, Cocoa port
2349 --with-wine use Wine
2350 --with-msw use MS-Windows
2351 --with-pm use OS/2 Presentation Manager
2352 --with-directfb use DirectFB
2353 --with-microwin use MicroWindows
2354 --with-x11 use X11
2355 --with-libpng use libpng (PNG image format)
2356 --with-libjpeg use libjpeg (JPEG file format)
2357 --with-libtiff use libtiff (TIFF file format)
2358 --with-libxpm use libxpm (XPM file format)
2359 --with-libiconv use libiconv (character conversion)
2360 --with-libmspack use libmspack (CHM help files loading)
2361 --without-gtkprint don't use GTK printing support
2362 --without-gnomeprint don't use GNOME printing libraries
2363 --with-gnomevfs use GNOME VFS for associating MIME types
2364 --with-libnotify use libnotify for notifications
2365 --with-hildon use Hildon framework for Nokia 770/800/810
2366 --with-opengl use OpenGL (or Mesa)
2367 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2368 --with-sdl use SDL for audio on Unix
2369 --with-regex enable support for wxRegEx class
2370 --with-zlib use zlib for LZW compression
2371 --with-expat enable XML support using expat parser
2372 --with-macosx-sdk=PATH use an OS X SDK at PATH
2373 --with-macosx-version-min=VER build binaries which require at least this OS X version
2374 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2376 --with-x use the X Window System
2377 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2378 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2379 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2380 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2381 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2382
2383 Some influential environment variables:
2384 CC C compiler command
2385 CFLAGS C compiler flags
2386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2387 nonstandard directory <lib dir>
2388 LIBS libraries to pass to the linker, e.g. -l<library>
2389 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2390 you have headers in a nonstandard directory <include dir>
2391 CPP C preprocessor
2392 CXX C++ compiler command
2393 CXXFLAGS C++ compiler flags
2394 CXXCPP C++ preprocessor
2395 PKG_CONFIG path to pkg-config utility
2396 DIRECTFB_CFLAGS
2397 C compiler flags for DIRECTFB, overriding pkg-config
2398 DIRECTFB_LIBS
2399 linker flags for DIRECTFB, overriding pkg-config
2400 XMKMF Path to xmkmf, Makefile generator for X Window System
2401 PANGOX_CFLAGS
2402 C compiler flags for PANGOX, overriding pkg-config
2403 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2404 PANGOFT2_CFLAGS
2405 C compiler flags for PANGOFT2, overriding pkg-config
2406 PANGOFT2_LIBS
2407 linker flags for PANGOFT2, overriding pkg-config
2408 PANGOXFT_CFLAGS
2409 C compiler flags for PANGOXFT, overriding pkg-config
2410 PANGOXFT_LIBS
2411 linker flags for PANGOXFT, overriding pkg-config
2412 Xinerama_CFLAGS
2413 C compiler flags for Xinerama, overriding pkg-config
2414 Xinerama_LIBS
2415 linker flags for Xinerama, overriding pkg-config
2416 Xxf86vm_CFLAGS
2417 C compiler flags for Xxf86vm, overriding pkg-config
2418 Xxf86vm_LIBS
2419 linker flags for Xxf86vm, overriding pkg-config
2420 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2421 SM_LIBS linker flags for SM, overriding pkg-config
2422 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2423 GL_LIBS linker flags for GL, overriding pkg-config
2424 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2425 GLU_LIBS linker flags for GLU, overriding pkg-config
2426 MesaGL_CFLAGS
2427 C compiler flags for MesaGL, overriding pkg-config
2428 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2429 GTKPRINT_CFLAGS
2430 C compiler flags for GTKPRINT, overriding pkg-config
2431 GTKPRINT_LIBS
2432 linker flags for GTKPRINT, overriding pkg-config
2433 LIBGNOMEPRINTUI_CFLAGS
2434 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2435 LIBGNOMEPRINTUI_LIBS
2436 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2437 GNOMEVFS_CFLAGS
2438 C compiler flags for GNOMEVFS, overriding pkg-config
2439 GNOMEVFS_LIBS
2440 linker flags for GNOMEVFS, overriding pkg-config
2441 LIBNOTIFY_CFLAGS
2442 C compiler flags for LIBNOTIFY, overriding pkg-config
2443 LIBNOTIFY_LIBS
2444 linker flags for LIBNOTIFY, overriding pkg-config
2445 HILDON_CFLAGS
2446 C compiler flags for HILDON, overriding pkg-config
2447 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2448 HILDON2_CFLAGS
2449 C compiler flags for HILDON2, overriding pkg-config
2450 HILDON2_LIBS
2451 linker flags for HILDON2, overriding pkg-config
2452 WEBKIT_CFLAGS
2453 C compiler flags for WEBKIT, overriding pkg-config
2454 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2455 CAIRO_CFLAGS
2456 C compiler flags for CAIRO, overriding pkg-config
2457 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2458 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2459 GST_LIBS linker flags for GST, overriding pkg-config
2460
2461 Use these variables to override the choices made by `configure' or to help
2462 it to find libraries and programs with nonstandard names/locations.
2463
2464 Report bugs to <wx-dev@lists.wxwidgets.org>.
2465 _ACEOF
2466 ac_status=$?
2467 fi
2468
2469 if test "$ac_init_help" = "recursive"; then
2470 # If there are subdirs, report their specific --help.
2471 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2472 test -d "$ac_dir" ||
2473 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2474 continue
2475 ac_builddir=.
2476
2477 case "$ac_dir" in
2478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2479 *)
2480 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2481 # A ".." for each directory in $ac_dir_suffix.
2482 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2483 case $ac_top_builddir_sub in
2484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2486 esac ;;
2487 esac
2488 ac_abs_top_builddir=$ac_pwd
2489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2490 # for backward compatibility:
2491 ac_top_builddir=$ac_top_build_prefix
2492
2493 case $srcdir in
2494 .) # We are building in place.
2495 ac_srcdir=.
2496 ac_top_srcdir=$ac_top_builddir_sub
2497 ac_abs_top_srcdir=$ac_pwd ;;
2498 [\\/]* | ?:[\\/]* ) # Absolute name.
2499 ac_srcdir=$srcdir$ac_dir_suffix;
2500 ac_top_srcdir=$srcdir
2501 ac_abs_top_srcdir=$srcdir ;;
2502 *) # Relative name.
2503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2504 ac_top_srcdir=$ac_top_build_prefix$srcdir
2505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2506 esac
2507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2508
2509 cd "$ac_dir" || { ac_status=$?; continue; }
2510 # Check for guested configure.
2511 if test -f "$ac_srcdir/configure.gnu"; then
2512 echo &&
2513 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2514 elif test -f "$ac_srcdir/configure"; then
2515 echo &&
2516 $SHELL "$ac_srcdir/configure" --help=recursive
2517 else
2518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2519 fi || ac_status=$?
2520 cd "$ac_pwd" || { ac_status=$?; break; }
2521 done
2522 fi
2523
2524 test -n "$ac_init_help" && exit $ac_status
2525 if $ac_init_version; then
2526 cat <<\_ACEOF
2527 wxWidgets configure 2.9.5
2528 generated by GNU Autoconf 2.69
2529
2530 Copyright (C) 2012 Free Software Foundation, Inc.
2531 This configure script is free software; the Free Software Foundation
2532 gives unlimited permission to copy, distribute and modify it.
2533 _ACEOF
2534 exit
2535 fi
2536
2537 ## ------------------------ ##
2538 ## Autoconf initialization. ##
2539 ## ------------------------ ##
2540
2541 # ac_fn_c_try_compile LINENO
2542 # --------------------------
2543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2544 ac_fn_c_try_compile ()
2545 {
2546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 rm -f conftest.$ac_objext
2548 if { { ac_try="$ac_compile"
2549 case "(($ac_try" in
2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2551 *) ac_try_echo=$ac_try;;
2552 esac
2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2554 $as_echo "$ac_try_echo"; } >&5
2555 (eval "$ac_compile") 2>conftest.err
2556 ac_status=$?
2557 if test -s conftest.err; then
2558 grep -v '^ *+' conftest.err >conftest.er1
2559 cat conftest.er1 >&5
2560 mv -f conftest.er1 conftest.err
2561 fi
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; } && {
2564 test -z "$ac_c_werror_flag" ||
2565 test ! -s conftest.err
2566 } && test -s conftest.$ac_objext; then :
2567 ac_retval=0
2568 else
2569 $as_echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2571
2572 ac_retval=1
2573 fi
2574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2575 as_fn_set_status $ac_retval
2576
2577 } # ac_fn_c_try_compile
2578
2579 # ac_fn_c_try_cpp LINENO
2580 # ----------------------
2581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2582 ac_fn_c_try_cpp ()
2583 {
2584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585 if { { ac_try="$ac_cpp conftest.$ac_ext"
2586 case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2593 ac_status=$?
2594 if test -s conftest.err; then
2595 grep -v '^ *+' conftest.err >conftest.er1
2596 cat conftest.er1 >&5
2597 mv -f conftest.er1 conftest.err
2598 fi
2599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600 test $ac_status = 0; } > conftest.i && {
2601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2602 test ! -s conftest.err
2603 }; then :
2604 ac_retval=0
2605 else
2606 $as_echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2608
2609 ac_retval=1
2610 fi
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 as_fn_set_status $ac_retval
2613
2614 } # ac_fn_c_try_cpp
2615
2616 # ac_fn_cxx_try_compile LINENO
2617 # ----------------------------
2618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2619 ac_fn_cxx_try_compile ()
2620 {
2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 rm -f conftest.$ac_objext
2623 if { { ac_try="$ac_compile"
2624 case "(($ac_try" in
2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2627 esac
2628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_compile") 2>conftest.err
2631 ac_status=$?
2632 if test -s conftest.err; then
2633 grep -v '^ *+' conftest.err >conftest.er1
2634 cat conftest.er1 >&5
2635 mv -f conftest.er1 conftest.err
2636 fi
2637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2638 test $ac_status = 0; } && {
2639 test -z "$ac_cxx_werror_flag" ||
2640 test ! -s conftest.err
2641 } && test -s conftest.$ac_objext; then :
2642 ac_retval=0
2643 else
2644 $as_echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2646
2647 ac_retval=1
2648 fi
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 as_fn_set_status $ac_retval
2651
2652 } # ac_fn_cxx_try_compile
2653
2654 # ac_fn_c_try_link LINENO
2655 # -----------------------
2656 # Try to link conftest.$ac_ext, and return whether this succeeded.
2657 ac_fn_c_try_link ()
2658 {
2659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660 rm -f conftest.$ac_objext conftest$ac_exeext
2661 if { { ac_try="$ac_link"
2662 case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2667 $as_echo "$ac_try_echo"; } >&5
2668 (eval "$ac_link") 2>conftest.err
2669 ac_status=$?
2670 if test -s conftest.err; then
2671 grep -v '^ *+' conftest.err >conftest.er1
2672 cat conftest.er1 >&5
2673 mv -f conftest.er1 conftest.err
2674 fi
2675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 test $ac_status = 0; } && {
2677 test -z "$ac_c_werror_flag" ||
2678 test ! -s conftest.err
2679 } && test -s conftest$ac_exeext && {
2680 test "$cross_compiling" = yes ||
2681 test -x conftest$ac_exeext
2682 }; then :
2683 ac_retval=0
2684 else
2685 $as_echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2687
2688 ac_retval=1
2689 fi
2690 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2691 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2692 # interfere with the next link command; also delete a directory that is
2693 # left behind by Apple's compiler. We do this before executing the actions.
2694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2696 as_fn_set_status $ac_retval
2697
2698 } # ac_fn_c_try_link
2699
2700 # ac_fn_cxx_try_link LINENO
2701 # -------------------------
2702 # Try to link conftest.$ac_ext, and return whether this succeeded.
2703 ac_fn_cxx_try_link ()
2704 {
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 rm -f conftest.$ac_objext conftest$ac_exeext
2707 if { { ac_try="$ac_link"
2708 case "(($ac_try" in
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2711 esac
2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2713 $as_echo "$ac_try_echo"; } >&5
2714 (eval "$ac_link") 2>conftest.err
2715 ac_status=$?
2716 if test -s conftest.err; then
2717 grep -v '^ *+' conftest.err >conftest.er1
2718 cat conftest.er1 >&5
2719 mv -f conftest.er1 conftest.err
2720 fi
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; } && {
2723 test -z "$ac_cxx_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest$ac_exeext && {
2726 test "$cross_compiling" = yes ||
2727 test -x conftest$ac_exeext
2728 }; then :
2729 ac_retval=0
2730 else
2731 $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2733
2734 ac_retval=1
2735 fi
2736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2738 # interfere with the next link command; also delete a directory that is
2739 # left behind by Apple's compiler. We do this before executing the actions.
2740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742 as_fn_set_status $ac_retval
2743
2744 } # ac_fn_cxx_try_link
2745
2746 # ac_fn_c_try_run LINENO
2747 # ----------------------
2748 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2749 # that executables *can* be run.
2750 ac_fn_c_try_run ()
2751 {
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 if { { ac_try="$ac_link"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_link") 2>&5
2761 ac_status=$?
2762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2764 { { case "(($ac_try" in
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2767 esac
2768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 $as_echo "$ac_try_echo"; } >&5
2770 (eval "$ac_try") 2>&5
2771 ac_status=$?
2772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773 test $ac_status = 0; }; }; then :
2774 ac_retval=0
2775 else
2776 $as_echo "$as_me: program exited with status $ac_status" >&5
2777 $as_echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2779
2780 ac_retval=$ac_status
2781 fi
2782 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 as_fn_set_status $ac_retval
2785
2786 } # ac_fn_c_try_run
2787
2788 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2789 # -------------------------------------------------------
2790 # Tests whether HEADER exists and can be compiled using the include files in
2791 # INCLUDES, setting the cache variable VAR accordingly.
2792 ac_fn_c_check_header_compile ()
2793 {
2794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2796 $as_echo_n "checking for $2... " >&6; }
2797 if eval \${$3+:} false; then :
2798 $as_echo_n "(cached) " >&6
2799 else
2800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801 /* end confdefs.h. */
2802 $4
2803 #include <$2>
2804 _ACEOF
2805 if ac_fn_c_try_compile "$LINENO"; then :
2806 eval "$3=yes"
2807 else
2808 eval "$3=no"
2809 fi
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 fi
2812 eval ac_res=\$$3
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2816
2817 } # ac_fn_c_check_header_compile
2818
2819 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2820 # ---------------------------------------------------------
2821 # Tests whether HEADER exists and can be compiled using the include files in
2822 # INCLUDES, setting the cache variable VAR accordingly.
2823 ac_fn_cxx_check_header_compile ()
2824 {
2825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2827 $as_echo_n "checking for $2... " >&6; }
2828 if eval \${$3+:} false; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2833 $4
2834 #include <$2>
2835 _ACEOF
2836 if ac_fn_cxx_try_compile "$LINENO"; then :
2837 eval "$3=yes"
2838 else
2839 eval "$3=no"
2840 fi
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 fi
2843 eval ac_res=\$$3
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847
2848 } # ac_fn_cxx_check_header_compile
2849
2850 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2851 # --------------------------------------------
2852 # Tries to find the compile-time value of EXPR in a program that includes
2853 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2854 # computed
2855 ac_fn_c_compute_int ()
2856 {
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 if test "$cross_compiling" = yes; then
2859 # Depending upon the size, compute the lo and hi bounds.
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2862 $4
2863 int
2864 main ()
2865 {
2866 static int test_array [1 - 2 * !(($2) >= 0)];
2867 test_array [0] = 0;
2868 return test_array [0];
2869
2870 ;
2871 return 0;
2872 }
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875 ac_lo=0 ac_mid=0
2876 while :; do
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2879 $4
2880 int
2881 main ()
2882 {
2883 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2884 test_array [0] = 0;
2885 return test_array [0];
2886
2887 ;
2888 return 0;
2889 }
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 ac_hi=$ac_mid; break
2893 else
2894 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2895 if test $ac_lo -le $ac_mid; then
2896 ac_lo= ac_hi=
2897 break
2898 fi
2899 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2900 fi
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 done
2903 else
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2906 $4
2907 int
2908 main ()
2909 {
2910 static int test_array [1 - 2 * !(($2) < 0)];
2911 test_array [0] = 0;
2912 return test_array [0];
2913
2914 ;
2915 return 0;
2916 }
2917 _ACEOF
2918 if ac_fn_c_try_compile "$LINENO"; then :
2919 ac_hi=-1 ac_mid=-1
2920 while :; do
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2923 $4
2924 int
2925 main ()
2926 {
2927 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2928 test_array [0] = 0;
2929 return test_array [0];
2930
2931 ;
2932 return 0;
2933 }
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 ac_lo=$ac_mid; break
2937 else
2938 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2939 if test $ac_mid -le $ac_hi; then
2940 ac_lo= ac_hi=
2941 break
2942 fi
2943 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2944 fi
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 done
2947 else
2948 ac_lo= ac_hi=
2949 fi
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 fi
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 # Binary search between lo and hi bounds.
2954 while test "x$ac_lo" != "x$ac_hi"; do
2955 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2958 $4
2959 int
2960 main ()
2961 {
2962 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2963 test_array [0] = 0;
2964 return test_array [0];
2965
2966 ;
2967 return 0;
2968 }
2969 _ACEOF
2970 if ac_fn_c_try_compile "$LINENO"; then :
2971 ac_hi=$ac_mid
2972 else
2973 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2974 fi
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 case $ac_lo in #((
2978 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2979 '') ac_retval=1 ;;
2980 esac
2981 else
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 $4
2985 static long int longval () { return $2; }
2986 static unsigned long int ulongval () { return $2; }
2987 #include <stdio.h>
2988 #include <stdlib.h>
2989 int
2990 main ()
2991 {
2992
2993 FILE *f = fopen ("conftest.val", "w");
2994 if (! f)
2995 return 1;
2996 if (($2) < 0)
2997 {
2998 long int i = longval ();
2999 if (i != ($2))
3000 return 1;
3001 fprintf (f, "%ld", i);
3002 }
3003 else
3004 {
3005 unsigned long int i = ulongval ();
3006 if (i != ($2))
3007 return 1;
3008 fprintf (f, "%lu", i);
3009 }
3010 /* Do not output a trailing newline, as this causes \r\n confusion
3011 on some platforms. */
3012 return ferror (f) || fclose (f) != 0;
3013
3014 ;
3015 return 0;
3016 }
3017 _ACEOF
3018 if ac_fn_c_try_run "$LINENO"; then :
3019 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3020 else
3021 ac_retval=1
3022 fi
3023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3024 conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 rm -f conftest.val
3026
3027 fi
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 as_fn_set_status $ac_retval
3030
3031 } # ac_fn_c_compute_int
3032
3033 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3034 # ---------------------------------------------
3035 # Tests whether TYPE exists after having included INCLUDES, setting cache
3036 # variable VAR accordingly.
3037 ac_fn_cxx_check_type ()
3038 {
3039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 $as_echo_n "checking for $2... " >&6; }
3042 if eval \${$3+:} false; then :
3043 $as_echo_n "(cached) " >&6
3044 else
3045 eval "$3=no"
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3048 $4
3049 int
3050 main ()
3051 {
3052 if (sizeof ($2))
3053 return 0;
3054 ;
3055 return 0;
3056 }
3057 _ACEOF
3058 if ac_fn_cxx_try_compile "$LINENO"; then :
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3061 $4
3062 int
3063 main ()
3064 {
3065 if (sizeof (($2)))
3066 return 0;
3067 ;
3068 return 0;
3069 }
3070 _ACEOF
3071 if ac_fn_cxx_try_compile "$LINENO"; then :
3072
3073 else
3074 eval "$3=yes"
3075 fi
3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3077 fi
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 fi
3080 eval ac_res=\$$3
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 $as_echo "$ac_res" >&6; }
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084
3085 } # ac_fn_cxx_check_type
3086
3087 # ac_fn_cxx_try_cpp LINENO
3088 # ------------------------
3089 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3090 ac_fn_cxx_try_cpp ()
3091 {
3092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3093 if { { ac_try="$ac_cpp conftest.$ac_ext"
3094 case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3097 esac
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3101 ac_status=$?
3102 if test -s conftest.err; then
3103 grep -v '^ *+' conftest.err >conftest.er1
3104 cat conftest.er1 >&5
3105 mv -f conftest.er1 conftest.err
3106 fi
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108 test $ac_status = 0; } > conftest.i && {
3109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3110 test ! -s conftest.err
3111 }; then :
3112 ac_retval=0
3113 else
3114 $as_echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3116
3117 ac_retval=1
3118 fi
3119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3120 as_fn_set_status $ac_retval
3121
3122 } # ac_fn_cxx_try_cpp
3123
3124 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3125 # ---------------------------------------------------------
3126 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3127 # the include files in INCLUDES and setting the cache variable VAR
3128 # accordingly.
3129 ac_fn_cxx_check_header_mongrel ()
3130 {
3131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3132 if eval \${$3+:} false; then :
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3134 $as_echo_n "checking for $2... " >&6; }
3135 if eval \${$3+:} false; then :
3136 $as_echo_n "(cached) " >&6
3137 fi
3138 eval ac_res=\$$3
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3140 $as_echo "$ac_res" >&6; }
3141 else
3142 # Is the header compilable?
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3144 $as_echo_n "checking $2 usability... " >&6; }
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3147 $4
3148 #include <$2>
3149 _ACEOF
3150 if ac_fn_cxx_try_compile "$LINENO"; then :
3151 ac_header_compiler=yes
3152 else
3153 ac_header_compiler=no
3154 fi
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3157 $as_echo "$ac_header_compiler" >&6; }
3158
3159 # Is the header present?
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3161 $as_echo_n "checking $2 presence... " >&6; }
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3164 #include <$2>
3165 _ACEOF
3166 if ac_fn_cxx_try_cpp "$LINENO"; then :
3167 ac_header_preproc=yes
3168 else
3169 ac_header_preproc=no
3170 fi
3171 rm -f conftest.err conftest.i conftest.$ac_ext
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3173 $as_echo "$ac_header_preproc" >&6; }
3174
3175 # So? What about this header?
3176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3177 yes:no: )
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3179 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3181 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3182 ;;
3183 no:yes:* )
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3185 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3187 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3189 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3191 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3193 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3194 ( $as_echo "## ----------------------------------------- ##
3195 ## Report this to wx-dev@lists.wxwidgets.org ##
3196 ## ----------------------------------------- ##"
3197 ) | sed "s/^/$as_me: WARNING: /" >&2
3198 ;;
3199 esac
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3201 $as_echo_n "checking for $2... " >&6; }
3202 if eval \${$3+:} false; then :
3203 $as_echo_n "(cached) " >&6
3204 else
3205 eval "$3=\$ac_header_compiler"
3206 fi
3207 eval ac_res=\$$3
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3209 $as_echo "$ac_res" >&6; }
3210 fi
3211 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3212
3213 } # ac_fn_cxx_check_header_mongrel
3214
3215 # ac_fn_c_check_func LINENO FUNC VAR
3216 # ----------------------------------
3217 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3218 ac_fn_c_check_func ()
3219 {
3220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3222 $as_echo_n "checking for $2... " >&6; }
3223 if eval \${$3+:} false; then :
3224 $as_echo_n "(cached) " >&6
3225 else
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3228 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3230 #define $2 innocuous_$2
3231
3232 /* System header to define __stub macros and hopefully few prototypes,
3233 which can conflict with char $2 (); below.
3234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3235 <limits.h> exists even on freestanding compilers. */
3236
3237 #ifdef __STDC__
3238 # include <limits.h>
3239 #else
3240 # include <assert.h>
3241 #endif
3242
3243 #undef $2
3244
3245 /* Override any GCC internal prototype to avoid an error.
3246 Use char because int might match the return type of a GCC
3247 builtin and then its argument prototype would still apply. */
3248 #ifdef __cplusplus
3249 extern "C"
3250 #endif
3251 char $2 ();
3252 /* The GNU C library defines this for functions which it implements
3253 to always fail with ENOSYS. Some functions are actually named
3254 something starting with __ and the normal name is an alias. */
3255 #if defined __stub_$2 || defined __stub___$2
3256 choke me
3257 #endif
3258
3259 int
3260 main ()
3261 {
3262 return $2 ();
3263 ;
3264 return 0;
3265 }
3266 _ACEOF
3267 if ac_fn_c_try_link "$LINENO"; then :
3268 eval "$3=yes"
3269 else
3270 eval "$3=no"
3271 fi
3272 rm -f core conftest.err conftest.$ac_objext \
3273 conftest$ac_exeext conftest.$ac_ext
3274 fi
3275 eval ac_res=\$$3
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3277 $as_echo "$ac_res" >&6; }
3278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3279
3280 } # ac_fn_c_check_func
3281
3282 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3283 # -------------------------------------------
3284 # Tests whether TYPE exists after having included INCLUDES, setting cache
3285 # variable VAR accordingly.
3286 ac_fn_c_check_type ()
3287 {
3288 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3290 $as_echo_n "checking for $2... " >&6; }
3291 if eval \${$3+:} false; then :
3292 $as_echo_n "(cached) " >&6
3293 else
3294 eval "$3=no"
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3297 $4
3298 int
3299 main ()
3300 {
3301 if (sizeof ($2))
3302 return 0;
3303 ;
3304 return 0;
3305 }
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3310 $4
3311 int
3312 main ()
3313 {
3314 if (sizeof (($2)))
3315 return 0;
3316 ;
3317 return 0;
3318 }
3319 _ACEOF
3320 if ac_fn_c_try_compile "$LINENO"; then :
3321
3322 else
3323 eval "$3=yes"
3324 fi
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 fi
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328 fi
3329 eval ac_res=\$$3
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3331 $as_echo "$ac_res" >&6; }
3332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3333
3334 } # ac_fn_c_check_type
3335
3336 # ac_fn_cxx_try_run LINENO
3337 # ------------------------
3338 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3339 # that executables *can* be run.
3340 ac_fn_cxx_try_run ()
3341 {
3342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3343 if { { ac_try="$ac_link"
3344 case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_link") 2>&5
3351 ac_status=$?
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3354 { { case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3357 esac
3358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359 $as_echo "$ac_try_echo"; } >&5
3360 (eval "$ac_try") 2>&5
3361 ac_status=$?
3362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363 test $ac_status = 0; }; }; then :
3364 ac_retval=0
3365 else
3366 $as_echo "$as_me: program exited with status $ac_status" >&5
3367 $as_echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3369
3370 ac_retval=$ac_status
3371 fi
3372 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3374 as_fn_set_status $ac_retval
3375
3376 } # ac_fn_cxx_try_run
3377 cat >config.log <<_ACEOF
3378 This file contains any messages produced by compilers while
3379 running configure, to aid debugging if configure makes a mistake.
3380
3381 It was created by wxWidgets $as_me 2.9.5, which was
3382 generated by GNU Autoconf 2.69. Invocation command line was
3383
3384 $ $0 $@
3385
3386 _ACEOF
3387 exec 5>>config.log
3388 {
3389 cat <<_ASUNAME
3390 ## --------- ##
3391 ## Platform. ##
3392 ## --------- ##
3393
3394 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3395 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3396 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3397 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3398 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3399
3400 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3401 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3402
3403 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3404 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3405 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3406 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3407 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3408 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3409 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3410
3411 _ASUNAME
3412
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 $as_echo "PATH: $as_dir"
3419 done
3420 IFS=$as_save_IFS
3421
3422 } >&5
3423
3424 cat >&5 <<_ACEOF
3425
3426
3427 ## ----------- ##
3428 ## Core tests. ##
3429 ## ----------- ##
3430
3431 _ACEOF
3432
3433
3434 # Keep a trace of the command line.
3435 # Strip out --no-create and --no-recursion so they do not pile up.
3436 # Strip out --silent because we don't want to record it for future runs.
3437 # Also quote any args containing shell meta-characters.
3438 # Make two passes to allow for proper duplicate-argument suppression.
3439 ac_configure_args=
3440 ac_configure_args0=
3441 ac_configure_args1=
3442 ac_must_keep_next=false
3443 for ac_pass in 1 2
3444 do
3445 for ac_arg
3446 do
3447 case $ac_arg in
3448 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3450 | -silent | --silent | --silen | --sile | --sil)
3451 continue ;;
3452 *\'*)
3453 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3454 esac
3455 case $ac_pass in
3456 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3457 2)
3458 as_fn_append ac_configure_args1 " '$ac_arg'"
3459 if test $ac_must_keep_next = true; then
3460 ac_must_keep_next=false # Got value, back to normal.
3461 else
3462 case $ac_arg in
3463 *=* | --config-cache | -C | -disable-* | --disable-* \
3464 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3465 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3466 | -with-* | --with-* | -without-* | --without-* | --x)
3467 case "$ac_configure_args0 " in
3468 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3469 esac
3470 ;;
3471 -* ) ac_must_keep_next=true ;;
3472 esac
3473 fi
3474 as_fn_append ac_configure_args " '$ac_arg'"
3475 ;;
3476 esac
3477 done
3478 done
3479 { ac_configure_args0=; unset ac_configure_args0;}
3480 { ac_configure_args1=; unset ac_configure_args1;}
3481
3482 # When interrupted or exit'd, cleanup temporary files, and complete
3483 # config.log. We remove comments because anyway the quotes in there
3484 # would cause problems or look ugly.
3485 # WARNING: Use '\'' to represent an apostrophe within the trap.
3486 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3487 trap 'exit_status=$?
3488 # Save into config.log some information that might help in debugging.
3489 {
3490 echo
3491
3492 $as_echo "## ---------------- ##
3493 ## Cache variables. ##
3494 ## ---------------- ##"
3495 echo
3496 # The following way of writing the cache mishandles newlines in values,
3497 (
3498 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3499 eval ac_val=\$$ac_var
3500 case $ac_val in #(
3501 *${as_nl}*)
3502 case $ac_var in #(
3503 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3505 esac
3506 case $ac_var in #(
3507 _ | IFS | as_nl) ;; #(
3508 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3509 *) { eval $ac_var=; unset $ac_var;} ;;
3510 esac ;;
3511 esac
3512 done
3513 (set) 2>&1 |
3514 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3515 *${as_nl}ac_space=\ *)
3516 sed -n \
3517 "s/'\''/'\''\\\\'\'''\''/g;
3518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3519 ;; #(
3520 *)
3521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3522 ;;
3523 esac |
3524 sort
3525 )
3526 echo
3527
3528 $as_echo "## ----------------- ##
3529 ## Output variables. ##
3530 ## ----------------- ##"
3531 echo
3532 for ac_var in $ac_subst_vars
3533 do
3534 eval ac_val=\$$ac_var
3535 case $ac_val in
3536 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3537 esac
3538 $as_echo "$ac_var='\''$ac_val'\''"
3539 done | sort
3540 echo
3541
3542 if test -n "$ac_subst_files"; then
3543 $as_echo "## ------------------- ##
3544 ## File substitutions. ##
3545 ## ------------------- ##"
3546 echo
3547 for ac_var in $ac_subst_files
3548 do
3549 eval ac_val=\$$ac_var
3550 case $ac_val in
3551 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3552 esac
3553 $as_echo "$ac_var='\''$ac_val'\''"
3554 done | sort
3555 echo
3556 fi
3557
3558 if test -s confdefs.h; then
3559 $as_echo "## ----------- ##
3560 ## confdefs.h. ##
3561 ## ----------- ##"
3562 echo
3563 cat confdefs.h
3564 echo
3565 fi
3566 test "$ac_signal" != 0 &&
3567 $as_echo "$as_me: caught signal $ac_signal"
3568 $as_echo "$as_me: exit $exit_status"
3569 } >&5
3570 rm -f core *.core core.conftest.* &&
3571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3572 exit $exit_status
3573 ' 0
3574 for ac_signal in 1 2 13 15; do
3575 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3576 done
3577 ac_signal=0
3578
3579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3580 rm -f -r conftest* confdefs.h
3581
3582 $as_echo "/* confdefs.h */" > confdefs.h
3583
3584 # Predefined preprocessor variables.
3585
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_NAME "$PACKAGE_NAME"
3588 _ACEOF
3589
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3592 _ACEOF
3593
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3596 _ACEOF
3597
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_STRING "$PACKAGE_STRING"
3600 _ACEOF
3601
3602 cat >>confdefs.h <<_ACEOF
3603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3604 _ACEOF
3605
3606 cat >>confdefs.h <<_ACEOF
3607 #define PACKAGE_URL "$PACKAGE_URL"
3608 _ACEOF
3609
3610
3611 # Let the site file select an alternate cache file if it wants to.
3612 # Prefer an explicitly selected file to automatically selected ones.
3613 ac_site_file1=NONE
3614 ac_site_file2=NONE
3615 if test -n "$CONFIG_SITE"; then
3616 # We do not want a PATH search for config.site.
3617 case $CONFIG_SITE in #((
3618 -*) ac_site_file1=./$CONFIG_SITE;;
3619 */*) ac_site_file1=$CONFIG_SITE;;
3620 *) ac_site_file1=./$CONFIG_SITE;;
3621 esac
3622 elif test "x$prefix" != xNONE; then
3623 ac_site_file1=$prefix/share/config.site
3624 ac_site_file2=$prefix/etc/config.site
3625 else
3626 ac_site_file1=$ac_default_prefix/share/config.site
3627 ac_site_file2=$ac_default_prefix/etc/config.site
3628 fi
3629 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3630 do
3631 test "x$ac_site_file" = xNONE && continue
3632 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3635 sed 's/^/| /' "$ac_site_file" >&5
3636 . "$ac_site_file" \
3637 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639 as_fn_error $? "failed to load site script $ac_site_file
3640 See \`config.log' for more details" "$LINENO" 5; }
3641 fi
3642 done
3643
3644 if test -r "$cache_file"; then
3645 # Some versions of bash will fail to source /dev/null (special files
3646 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3647 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3649 $as_echo "$as_me: loading cache $cache_file" >&6;}
3650 case $cache_file in
3651 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3652 *) . "./$cache_file";;
3653 esac
3654 fi
3655 else
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3657 $as_echo "$as_me: creating cache $cache_file" >&6;}
3658 >$cache_file
3659 fi
3660
3661 # Check that the precious variables saved in the cache have kept the same
3662 # value.
3663 ac_cache_corrupted=false
3664 for ac_var in $ac_precious_vars; do
3665 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3666 eval ac_new_set=\$ac_env_${ac_var}_set
3667 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3668 eval ac_new_val=\$ac_env_${ac_var}_value
3669 case $ac_old_set,$ac_new_set in
3670 set,)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3672 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3673 ac_cache_corrupted=: ;;
3674 ,set)
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3676 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3677 ac_cache_corrupted=: ;;
3678 ,);;
3679 *)
3680 if test "x$ac_old_val" != "x$ac_new_val"; then
3681 # differences in whitespace do not lead to failure.
3682 ac_old_val_w=`echo x $ac_old_val`
3683 ac_new_val_w=`echo x $ac_new_val`
3684 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3686 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3687 ac_cache_corrupted=:
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3690 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3691 eval $ac_var=\$ac_old_val
3692 fi
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3694 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3696 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3697 fi;;
3698 esac
3699 # Pass precious variables to config.status.
3700 if test "$ac_new_set" = set; then
3701 case $ac_new_val in
3702 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3703 *) ac_arg=$ac_var=$ac_new_val ;;
3704 esac
3705 case " $ac_configure_args " in
3706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3707 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3708 esac
3709 fi
3710 done
3711 if $ac_cache_corrupted; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3716 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3717 fi
3718 ## -------------------- ##
3719 ## Main body of script. ##
3720 ## -------------------- ##
3721
3722 ac_ext=c
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727
3728
3729
3730
3731
3732 ac_aux_dir=
3733 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3734 if test -f "$ac_dir/install-sh"; then
3735 ac_aux_dir=$ac_dir
3736 ac_install_sh="$ac_aux_dir/install-sh -c"
3737 break
3738 elif test -f "$ac_dir/install.sh"; then
3739 ac_aux_dir=$ac_dir
3740 ac_install_sh="$ac_aux_dir/install.sh -c"
3741 break
3742 elif test -f "$ac_dir/shtool"; then
3743 ac_aux_dir=$ac_dir
3744 ac_install_sh="$ac_aux_dir/shtool install -c"
3745 break
3746 fi
3747 done
3748 if test -z "$ac_aux_dir"; then
3749 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3750 fi
3751
3752 # These three variables are undocumented and unsupported,
3753 # and are intended to be withdrawn in a future Autoconf release.
3754 # They can cause serious problems if a builder's source tree is in a directory
3755 # whose full name contains unusual characters.
3756 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3757 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3758 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3759
3760
3761 # Make sure we can run config.sub.
3762 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3763 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3764
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3766 $as_echo_n "checking build system type... " >&6; }
3767 if ${ac_cv_build+:} false; then :
3768 $as_echo_n "(cached) " >&6
3769 else
3770 ac_build_alias=$build_alias
3771 test "x$ac_build_alias" = x &&
3772 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3773 test "x$ac_build_alias" = x &&
3774 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3775 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3776 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3777
3778 fi
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3780 $as_echo "$ac_cv_build" >&6; }
3781 case $ac_cv_build in
3782 *-*-*) ;;
3783 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3784 esac
3785 build=$ac_cv_build
3786 ac_save_IFS=$IFS; IFS='-'
3787 set x $ac_cv_build
3788 shift
3789 build_cpu=$1
3790 build_vendor=$2
3791 shift; shift
3792 # Remember, the first character of IFS is used to create $*,
3793 # except with old shells:
3794 build_os=$*
3795 IFS=$ac_save_IFS
3796 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3797
3798
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3800 $as_echo_n "checking host system type... " >&6; }
3801 if ${ac_cv_host+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if test "x$host_alias" = x; then
3805 ac_cv_host=$ac_cv_build
3806 else
3807 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3808 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3809 fi
3810
3811 fi
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3813 $as_echo "$ac_cv_host" >&6; }
3814 case $ac_cv_host in
3815 *-*-*) ;;
3816 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3817 esac
3818 host=$ac_cv_host
3819 ac_save_IFS=$IFS; IFS='-'
3820 set x $ac_cv_host
3821 shift
3822 host_cpu=$1
3823 host_vendor=$2
3824 shift; shift
3825 # Remember, the first character of IFS is used to create $*,
3826 # except with old shells:
3827 host_os=$*
3828 IFS=$ac_save_IFS
3829 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3830
3831
3832
3833 if test "$cross_compiling" != "no"; then
3834 HOST_PREFIX="${host_alias}-"
3835 HOST_SUFFIX="-$host_alias"
3836 else
3837 HOST_PREFIX=
3838 HOST_SUFFIX=
3839 fi
3840
3841
3842 wx_major_version_number=2
3843 wx_minor_version_number=9
3844 wx_release_number=5
3845 wx_subrelease_number=0
3846
3847 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3848 WX_VERSION=$WX_RELEASE.$wx_release_number
3849 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3850
3851 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3852
3853
3854 wx_top_builddir="`pwd`"
3855
3856
3857
3858
3859 USE_UNIX=1
3860 USE_OS2=0
3861 USE_WIN32=0
3862 USE_DOS=0
3863 USE_BEOS=0
3864 USE_MAC=0
3865
3866 USE_AIX=
3867 USE_BSD= USE_DARWIN= USE_FREEBSD=
3868 USE_GNU= USE_HPUX=
3869 USE_LINUX=
3870 USE_NETBSD=
3871 USE_OPENBSD=
3872 USE_OSF= USE_SGI=
3873 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3874 USE_ULTRIX=
3875 USE_UNIXWARE=
3876
3877 USE_ALPHA=
3878
3879 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3880
3881 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3882
3883 DEFAULT_wxUSE_OLD_COCOA=0
3884 DEFAULT_wxUSE_GTK=0
3885 DEFAULT_wxUSE_OSX_CARBON=0
3886 DEFAULT_wxUSE_OSX_COCOA=0
3887 DEFAULT_wxUSE_OSX_IPHONE=0
3888 DEFAULT_wxUSE_MICROWIN=0
3889 DEFAULT_wxUSE_MOTIF=0
3890 DEFAULT_wxUSE_MSW=0
3891 DEFAULT_wxUSE_PM=0
3892 DEFAULT_wxUSE_X11=0
3893 DEFAULT_wxUSE_DFB=0
3894
3895 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3896 DEFAULT_DEFAULT_wxUSE_GTK=0
3897 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3898 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3899 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3900 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3901 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3902 DEFAULT_DEFAULT_wxUSE_MSW=0
3903 DEFAULT_DEFAULT_wxUSE_PM=0
3904 DEFAULT_DEFAULT_wxUSE_X11=0
3905 DEFAULT_DEFAULT_wxUSE_DFB=0
3906
3907 PROGRAM_EXT=
3908 SAMPLES_RPATH_FLAG=
3909 DYLIB_RPATH_INSTALL=
3910 DYLIB_RPATH_POSTLINK=
3911
3912 DEFAULT_STD_FLAG=yes
3913
3914 case "${host}" in
3915 *-hp-hpux* )
3916 USE_HPUX=1
3917 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3918 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3919 $as_echo "#define __HPUX__ 1" >>confdefs.h
3920
3921
3922 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3923 ;;
3924 *-*-linux* )
3925 USE_LINUX=1
3926 $as_echo "#define __LINUX__ 1" >>confdefs.h
3927
3928 TMP=`uname -m`
3929 if test "x$TMP" = "xalpha"; then
3930 USE_ALPHA=1
3931 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3932
3933 fi
3934 DEFAULT_DEFAULT_wxUSE_GTK=1
3935 ;;
3936 *-*-gnu* | *-*-k*bsd*-gnu )
3937 USE_GNU=1
3938 TMP=`uname -m`
3939 if test "x$TMP" = "xalpha"; then
3940 USE_ALPHA=1
3941 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3942
3943 fi
3944 DEFAULT_DEFAULT_wxUSE_GTK=1
3945 ;;
3946 *-*-irix5* | *-*-irix6* )
3947 USE_SGI=1
3948 USE_SVR4=1
3949 $as_echo "#define __SGI__ 1" >>confdefs.h
3950
3951 $as_echo "#define __SVR4__ 1" >>confdefs.h
3952
3953 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3954 ;;
3955 *-*-qnx*)
3956 USE_QNX=1
3957 $as_echo "#define __QNX__ 1" >>confdefs.h
3958
3959 DEFAULT_DEFAULT_wxUSE_X11=1
3960 ;;
3961 *-*-solaris2* )
3962 USE_SUN=1
3963 USE_SOLARIS=1
3964 USE_SVR4=1
3965 $as_echo "#define __SUN__ 1" >>confdefs.h
3966
3967 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3968
3969 $as_echo "#define __SVR4__ 1" >>confdefs.h
3970
3971 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3972 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3973 ;;
3974 *-*-sunos4* )
3975 USE_SUN=1
3976 USE_SUNOS=1
3977 USE_BSD=1
3978 $as_echo "#define __SUN__ 1" >>confdefs.h
3979
3980 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3981
3982 $as_echo "#define __BSD__ 1" >>confdefs.h
3983
3984 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3985 ;;
3986 *-*-freebsd*)
3987 USE_BSD=1
3988 USE_FREEBSD=1
3989 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3990
3991 $as_echo "#define __BSD__ 1" >>confdefs.h
3992
3993 DEFAULT_DEFAULT_wxUSE_GTK=1
3994 ;;
3995 *-*-openbsd*|*-*-mirbsd*)
3996 USE_BSD=1
3997 USE_OPENBSD=1
3998 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3999
4000 $as_echo "#define __BSD__ 1" >>confdefs.h
4001
4002 DEFAULT_DEFAULT_wxUSE_GTK=1
4003 ;;
4004 *-*-netbsd*)
4005 USE_BSD=1
4006 USE_NETBSD=1
4007 $as_echo "#define __NETBSD__ 1" >>confdefs.h
4008
4009 $as_echo "#define __BSD__ 1" >>confdefs.h
4010
4011 DEFAULT_DEFAULT_wxUSE_GTK=1
4012 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4013
4014 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4015 ;;
4016 *-*-osf* )
4017 USE_ALPHA=1
4018 USE_OSF=1
4019 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4020
4021 $as_echo "#define __OSF__ 1" >>confdefs.h
4022
4023 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4024 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4025 ;;
4026 *-*-dgux5* )
4027 USE_ALPHA=1
4028 USE_SVR4=1
4029 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4030
4031 $as_echo "#define __SVR4__ 1" >>confdefs.h
4032
4033 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4034 ;;
4035 *-*-sysv5* )
4036 USE_SYSV=1
4037 USE_SVR4=1
4038 $as_echo "#define __SYSV__ 1" >>confdefs.h
4039
4040 $as_echo "#define __SVR4__ 1" >>confdefs.h
4041
4042 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4043 ;;
4044 *-*-aix* )
4045 USE_AIX=1
4046 USE_SYSV=1
4047 USE_SVR4=1
4048 $as_echo "#define __AIX__ 1" >>confdefs.h
4049
4050 $as_echo "#define __SYSV__ 1" >>confdefs.h
4051
4052 $as_echo "#define __SVR4__ 1" >>confdefs.h
4053
4054 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4055 ;;
4056
4057 *-*-*UnixWare*)
4058 USE_SYSV=1
4059 USE_SVR4=1
4060 USE_UNIXWARE=1
4061 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4062
4063 ;;
4064
4065 *-*-cygwin* | *-*-mingw32* )
4066 PROGRAM_EXT=".exe"
4067 DEFAULT_DEFAULT_wxUSE_MSW=1
4068 ;;
4069
4070 *-pc-msdosdjgpp )
4071 USE_UNIX=0
4072 USE_DOS=1
4073 $as_echo "#define __DOS__ 1" >>confdefs.h
4074
4075 PROGRAM_EXT=".exe"
4076 ;;
4077
4078 *-pc-os2_emx | *-pc-os2-emx )
4079 $as_echo "#define __EMX__ 1" >>confdefs.h
4080
4081 USE_OS2=1
4082 $as_echo "#define __OS2__ 1" >>confdefs.h
4083
4084 PROGRAM_EXT=".exe"
4085 DEFAULT_DEFAULT_wxUSE_PM=1
4086 CXX=gcc
4087 LDFLAGS="$LDFLAGS -Zcrtdll"
4088 ac_executable_extensions=".exe"
4089 export ac_executable_extensions
4090 ac_save_IFS="$IFS"
4091 IFS='\\'
4092 ac_TEMP_PATH=
4093 for ac_dir in $PATH; do
4094 IFS=$ac_save_IFS
4095 if test -z "$ac_TEMP_PATH"; then
4096 ac_TEMP_PATH="$ac_dir"
4097 else
4098 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4099 fi
4100 done
4101 export PATH="$ac_TEMP_PATH"
4102 unset ac_TEMP_PATH
4103 DEFAULT_STD_FLAG=no
4104 ;;
4105
4106 arm-apple-darwin*)
4107 USE_BSD=1
4108 USE_DARWIN=1
4109 $as_echo "#define __BSD__ 1" >>confdefs.h
4110
4111 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4112
4113 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4114 ;;
4115
4116 *-*-darwin* )
4117 USE_BSD=1
4118 USE_DARWIN=1
4119 $as_echo "#define __BSD__ 1" >>confdefs.h
4120
4121 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4122
4123 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4124
4125 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4126 ;;
4127
4128 *-*-beos* )
4129 USE_BEOS=1
4130 $as_echo "#define __BEOS__ 1" >>confdefs.h
4131
4132 ;;
4133
4134 *)
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4136 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4138 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4139
4140 DEFAULT_DEFAULT_wxUSE_X11=1
4141 DEFAULT_wxUSE_SHARED=no
4142 esac
4143
4144
4145
4146 DEFAULT_wxUSE_ALL_FEATURES=yes
4147
4148 DEFAULT_wxUSE_STD_CONTAINERS=no
4149 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4150 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4151
4152 DEFAULT_wxUSE_DMALLOC=no
4153 DEFAULT_wxUSE_LIBGNOMEVFS=no
4154 DEFAULT_wxUSE_LIBHILDON=no
4155 DEFAULT_wxUSE_LIBHILDON2=no
4156 DEFAULT_wxUSE_LIBMSPACK=no
4157 DEFAULT_wxUSE_LIBSDL=no
4158
4159 DEFAULT_wxUSE_ACCESSIBILITY=no
4160 DEFAULT_wxUSE_IPV6=no
4161 DEFAULT_wxUSE_GSTREAMER8=no
4162 DEFAULT_wxUSE_UNICODE_UTF8=no
4163 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4164
4165 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4166 DEFAULT_wxUSE_OPENGL=auto
4167 DEFAULT_wxUSE_MEDIACTRL=auto
4168 DEFAULT_wxUSE_COMPILER_TLS=auto
4169 DEFAULT_wxUSE_HOTKEY=auto
4170 DEFAULT_wxUSE_METAFILE=auto
4171
4172 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4173 DEFAULT_wxUSE_MAC_ARCH=no
4174
4175 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4176
4177 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4178
4179
4180
4181
4182
4183 enablestring=disable
4184 defaultval=
4185 if test -z "$defaultval"; then
4186 if test x"$enablestring" = xdisable; then
4187 defaultval=yes
4188 else
4189 defaultval=no
4190 fi
4191 fi
4192
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4194 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4195 # Check whether --enable-gui was given.
4196 if test "${enable_gui+set}" = set; then :
4197 enableval=$enable_gui;
4198 if test "$enableval" = yes; then
4199 wx_cv_use_gui='wxUSE_GUI=yes'
4200 else
4201 wx_cv_use_gui='wxUSE_GUI=no'
4202 fi
4203
4204 else
4205
4206 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4207
4208 fi
4209
4210
4211 eval "$wx_cv_use_gui"
4212
4213 if test x"$enablestring" = xdisable; then
4214 if test $wxUSE_GUI = no; then
4215 result=yes
4216 else
4217 result=no
4218 fi
4219 else
4220 result=$wxUSE_GUI
4221 fi
4222
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4224 $as_echo "$result" >&6; }
4225
4226
4227 enablestring=
4228 defaultval=
4229 if test -z "$defaultval"; then
4230 if test x"$enablestring" = xdisable; then
4231 defaultval=yes
4232 else
4233 defaultval=no
4234 fi
4235 fi
4236
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4238 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4239 # Check whether --enable-monolithic was given.
4240 if test "${enable_monolithic+set}" = set; then :
4241 enableval=$enable_monolithic;
4242 if test "$enableval" = yes; then
4243 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4244 else
4245 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4246 fi
4247
4248 else
4249
4250 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4251
4252 fi
4253
4254
4255 eval "$wx_cv_use_monolithic"
4256
4257 if test x"$enablestring" = xdisable; then
4258 if test $wxUSE_MONOLITHIC = no; then
4259 result=yes
4260 else
4261 result=no
4262 fi
4263 else
4264 result=$wxUSE_MONOLITHIC
4265 fi
4266
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4268 $as_echo "$result" >&6; }
4269
4270
4271 enablestring=
4272 defaultval=
4273 if test -z "$defaultval"; then
4274 if test x"$enablestring" = xdisable; then
4275 defaultval=yes
4276 else
4277 defaultval=no
4278 fi
4279 fi
4280
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4282 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4283 # Check whether --enable-plugins was given.
4284 if test "${enable_plugins+set}" = set; then :
4285 enableval=$enable_plugins;
4286 if test "$enableval" = yes; then
4287 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4288 else
4289 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4290 fi
4291
4292 else
4293
4294 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4295
4296 fi
4297
4298
4299 eval "$wx_cv_use_plugins"
4300
4301 if test x"$enablestring" = xdisable; then
4302 if test $wxUSE_PLUGINS = no; then
4303 result=yes
4304 else
4305 result=no
4306 fi
4307 else
4308 result=$wxUSE_PLUGINS
4309 fi
4310
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4312 $as_echo "$result" >&6; }
4313
4314
4315 withstring=without
4316 defaultval=$wxUSE_ALL_FEATURES
4317 if test -z "$defaultval"; then
4318 if test x"$withstring" = xwithout; then
4319 defaultval=yes
4320 else
4321 defaultval=no
4322 fi
4323 fi
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4325 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4326
4327 # Check whether --with-subdirs was given.
4328 if test "${with_subdirs+set}" = set; then :
4329 withval=$with_subdirs;
4330 if test "$withval" = yes; then
4331 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4332 else
4333 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4334 fi
4335
4336 else
4337
4338 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4339
4340 fi
4341
4342
4343 eval "$wx_cv_use_subdirs"
4344
4345 if test x"$withstring" = xwithout; then
4346 if test $wxWITH_SUBDIRS = yes; then
4347 result=no
4348 else
4349 result=yes
4350 fi
4351 else
4352 result=$wxWITH_SUBDIRS
4353 fi
4354
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4356 $as_echo "$result" >&6; }
4357
4358
4359 # Check whether --with-flavour was given.
4360 if test "${with_flavour+set}" = set; then :
4361 withval=$with_flavour; WX_FLAVOUR="$withval"
4362 fi
4363
4364
4365 enablestring=
4366 defaultval=
4367 if test -z "$defaultval"; then
4368 if test x"$enablestring" = xdisable; then
4369 defaultval=yes
4370 else
4371 defaultval=no
4372 fi
4373 fi
4374
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4376 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4377 # Check whether --enable-official_build was given.
4378 if test "${enable_official_build+set}" = set; then :
4379 enableval=$enable_official_build;
4380 if test "$enableval" = yes; then
4381 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4382 else
4383 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4384 fi
4385
4386 else
4387
4388 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4389
4390 fi
4391
4392
4393 eval "$wx_cv_use_official_build"
4394
4395 if test x"$enablestring" = xdisable; then
4396 if test $wxUSE_OFFICIAL_BUILD = no; then
4397 result=yes
4398 else
4399 result=no
4400 fi
4401 else
4402 result=$wxUSE_OFFICIAL_BUILD
4403 fi
4404
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4406 $as_echo "$result" >&6; }
4407
4408 # Check whether --enable-vendor was given.
4409 if test "${enable_vendor+set}" = set; then :
4410 enableval=$enable_vendor; VENDOR="$enableval"
4411 fi
4412
4413 if test "x$VENDOR" = "x"; then
4414 VENDOR="custom"
4415 fi
4416
4417
4418 enablestring=disable
4419 defaultval=
4420 if test -z "$defaultval"; then
4421 if test x"$enablestring" = xdisable; then
4422 defaultval=yes
4423 else
4424 defaultval=no
4425 fi
4426 fi
4427
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4429 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4430 # Check whether --enable-all-features was given.
4431 if test "${enable_all_features+set}" = set; then :
4432 enableval=$enable_all_features;
4433 if test "$enableval" = yes; then
4434 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4435 else
4436 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4437 fi
4438
4439 else
4440
4441 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4442
4443 fi
4444
4445
4446 eval "$wx_cv_use_all_features"
4447
4448 if test x"$enablestring" = xdisable; then
4449 if test $wxUSE_ALL_FEATURES = no; then
4450 result=yes
4451 else
4452 result=no
4453 fi
4454 else
4455 result=$wxUSE_ALL_FEATURES
4456 fi
4457
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4459 $as_echo "$result" >&6; }
4460
4461
4462 if test "$wxUSE_ALL_FEATURES" = "no"; then
4463 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4464 DEFAULT_wxUSE_MEDIACTRL=no
4465 fi
4466
4467
4468 if test "$wxUSE_GUI" = "yes"; then
4469
4470
4471 enablestring=
4472 defaultval=
4473 if test -z "$defaultval"; then
4474 if test x"$enablestring" = xdisable; then
4475 defaultval=yes
4476 else
4477 defaultval=no
4478 fi
4479 fi
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4482 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4483 # Check whether --enable-universal was given.
4484 if test "${enable_universal+set}" = set; then :
4485 enableval=$enable_universal;
4486 if test "$enableval" = yes; then
4487 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4488 else
4489 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4490 fi
4491
4492 else
4493
4494 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4495
4496 fi
4497
4498
4499 eval "$wx_cv_use_universal"
4500
4501 if test x"$enablestring" = xdisable; then
4502 if test $wxUSE_UNIVERSAL = no; then
4503 result=yes
4504 else
4505 result=no
4506 fi
4507 else
4508 result=$wxUSE_UNIVERSAL
4509 fi
4510
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4512 $as_echo "$result" >&6; }
4513
4514 if test "$wxUSE_UNIVERSAL" = "yes"; then
4515
4516 # Check whether --with-themes was given.
4517 if test "${with_themes+set}" = set; then :
4518 withval=$with_themes; wxUNIV_THEMES="$withval"
4519 fi
4520
4521 fi
4522
4523
4524 # Check whether --with-gtk was given.
4525 if test "${with_gtk+set}" = set; then :
4526 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4527 fi
4528
4529
4530 # Check whether --with-motif was given.
4531 if test "${with_motif+set}" = set; then :
4532 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4533 fi
4534
4535
4536 # Check whether --with-osx_carbon was given.
4537 if test "${with_osx_carbon+set}" = set; then :
4538 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4539 fi
4540
4541
4542 # Check whether --with-osx_cocoa was given.
4543 if test "${with_osx_cocoa+set}" = set; then :
4544 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4545 fi
4546
4547
4548 # Check whether --with-osx_iphone was given.
4549 if test "${with_osx_iphone+set}" = set; then :
4550 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4551 fi
4552
4553
4554 # Check whether --with-osx was given.
4555 if test "${with_osx+set}" = set; then :
4556 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4557 fi
4558
4559
4560 # Check whether --with-carbon was given.
4561 if test "${with_carbon+set}" = set; then :
4562 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4563 fi
4564
4565
4566 # Check whether --with-cocoa was given.
4567 if test "${with_cocoa+set}" = set; then :
4568 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4569 fi
4570
4571
4572 # Check whether --with-iphone was given.
4573 if test "${with_iphone+set}" = set; then :
4574 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4575 fi
4576
4577
4578 # Check whether --with-mac was given.
4579 if test "${with_mac+set}" = set; then :
4580 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4581 fi
4582
4583
4584 # Check whether --with-old_cocoa was given.
4585 if test "${with_old_cocoa+set}" = set; then :
4586 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4587 fi
4588
4589
4590 # Check whether --with-wine was given.
4591 if test "${with_wine+set}" = set; then :
4592 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4593 fi
4594
4595
4596 # Check whether --with-msw was given.
4597 if test "${with_msw+set}" = set; then :
4598 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4599 fi
4600
4601
4602 # Check whether --with-pm was given.
4603 if test "${with_pm+set}" = set; then :
4604 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4605 fi
4606
4607
4608 # Check whether --with-directfb was given.
4609 if test "${with_directfb+set}" = set; then :
4610 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4611 fi
4612
4613
4614 # Check whether --with-microwin was given.
4615 if test "${with_microwin+set}" = set; then :
4616 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4617 fi
4618
4619
4620 # Check whether --with-x11 was given.
4621 if test "${with_x11+set}" = set; then :
4622 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4623 fi
4624
4625
4626 enablestring=
4627 defaultval=
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4630 defaultval=yes
4631 else
4632 defaultval=no
4633 fi
4634 fi
4635
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4637 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4638 # Check whether --enable-nanox was given.
4639 if test "${enable_nanox+set}" = set; then :
4640 enableval=$enable_nanox;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_nanox='wxUSE_NANOX=yes'
4643 else
4644 wx_cv_use_nanox='wxUSE_NANOX=no'
4645 fi
4646
4647 else
4648
4649 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4650
4651 fi
4652
4653
4654 eval "$wx_cv_use_nanox"
4655
4656 if test x"$enablestring" = xdisable; then
4657 if test $wxUSE_NANOX = no; then
4658 result=yes
4659 else
4660 result=no
4661 fi
4662 else
4663 result=$wxUSE_NANOX
4664 fi
4665
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4667 $as_echo "$result" >&6; }
4668
4669
4670 enablestring=
4671 defaultval=
4672 if test -z "$defaultval"; then
4673 if test x"$enablestring" = xdisable; then
4674 defaultval=yes
4675 else
4676 defaultval=no
4677 fi
4678 fi
4679
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4681 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4682 # Check whether --enable-gpe was given.
4683 if test "${enable_gpe+set}" = set; then :
4684 enableval=$enable_gpe;
4685 if test "$enableval" = yes; then
4686 wx_cv_use_gpe='wxUSE_GPE=yes'
4687 else
4688 wx_cv_use_gpe='wxUSE_GPE=no'
4689 fi
4690
4691 else
4692
4693 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4694
4695 fi
4696
4697
4698 eval "$wx_cv_use_gpe"
4699
4700 if test x"$enablestring" = xdisable; then
4701 if test $wxUSE_GPE = no; then
4702 result=yes
4703 else
4704 result=no
4705 fi
4706 else
4707 result=$wxUSE_GPE
4708 fi
4709
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4711 $as_echo "$result" >&6; }
4712
4713
4714
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4716 $as_echo_n "checking for toolkit... " >&6; }
4717
4718
4719
4720 # In Wine, we need to default to MSW, not GTK or MOTIF
4721 if test "$wxUSE_WINE" = "yes"; then
4722 DEFAULT_DEFAULT_wxUSE_GTK=0
4723 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4724 DEFAULT_DEFAULT_wxUSE_MSW=1
4725 wxUSE_SHARED=no
4726 CC=${CC:-winegcc}
4727 CXX=${CXX:-wineg++}
4728 fi
4729
4730
4731 if test "$wxUSE_GUI" = "yes"; then
4732
4733 if test "$USE_BEOS" = 1; then
4734 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4735 fi
4736
4737 if test "$TOOLKIT_GIVEN" = 1; then
4738 for toolkit in $ALL_TOOLKITS; do
4739 var=wxUSE_$toolkit
4740 eval "value=\$${var}"
4741 if test "x$value" = "xno"; then
4742 eval "$var=0"
4743 elif test "x$value" != "x"; then
4744 eval "$var=1"
4745 fi
4746
4747 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4748 eval "wx${toolkit}_VERSION=$value"
4749 fi
4750 done
4751 else
4752 for toolkit in $ALL_TOOLKITS; do
4753 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4754 eval "wxUSE_$toolkit=\$${var}"
4755 done
4756 fi
4757
4758 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4759 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4760 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4761
4762 case "${host}" in
4763 *-pc-os2_emx | *-pc-os2-emx )
4764 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4765 esac
4766
4767 case "$NUM_TOOLKITS" in
4768 1)
4769 ;;
4770 0)
4771 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4772 ;;
4773 *)
4774 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4775 esac
4776
4777 for toolkit in $ALL_TOOLKITS; do
4778 var=wxUSE_$toolkit
4779 eval "value=\$${var}"
4780 if test "$value" = 1; then
4781 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4783 $as_echo "$toolkit_echo" >&6; }
4784 fi
4785 done
4786 else
4787 if test "x$host_alias" != "x"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4789 $as_echo "base ($host_alias hosted) only" >&6; }
4790 else
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4792 $as_echo "base only" >&6; }
4793 fi
4794 fi
4795
4796 wxUSE_MAC=0
4797 if test "$wxUSE_OSX_CARBON" = 1 \
4798 -o "$wxUSE_OSX_COCOA" = 1 \
4799 -o "$wxUSE_OSX_IPHONE" = 1; then
4800 wxUSE_MAC=1
4801 fi
4802
4803
4804
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4806 $as_echo_n "checking for --with-libpng... " >&6; }
4807
4808 # Check whether --with-libpng was given.
4809 if test "${with_libpng+set}" = set; then :
4810 withval=$with_libpng;
4811 if test "$withval" = yes; then
4812 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4813 elif test "$withval" = no; then
4814 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4815 elif test "$withval" = sys; then
4816 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4817 elif test "$withval" = builtin; then
4818 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4819 else
4820 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4821 fi
4822
4823 else
4824
4825 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4826
4827 fi
4828
4829
4830 eval "$wx_cv_use_libpng"
4831
4832 if test "$wxUSE_LIBPNG" = yes; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4834 $as_echo "yes" >&6; }
4835 elif test "$wxUSE_LIBPNG" = no; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4838 elif test "$wxUSE_LIBPNG" = sys; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4840 $as_echo "system version" >&6; }
4841 elif test "$wxUSE_LIBPNG" = builtin; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4843 $as_echo "builtin version" >&6; }
4844 else
4845 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4846 fi
4847
4848
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4850 $as_echo_n "checking for --with-libjpeg... " >&6; }
4851
4852 # Check whether --with-libjpeg was given.
4853 if test "${with_libjpeg+set}" = set; then :
4854 withval=$with_libjpeg;
4855 if test "$withval" = yes; then
4856 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4857 elif test "$withval" = no; then
4858 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4859 elif test "$withval" = sys; then
4860 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4861 elif test "$withval" = builtin; then
4862 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4863 else
4864 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4865 fi
4866
4867 else
4868
4869 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4870
4871 fi
4872
4873
4874 eval "$wx_cv_use_libjpeg"
4875
4876 if test "$wxUSE_LIBJPEG" = yes; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4878 $as_echo "yes" >&6; }
4879 elif test "$wxUSE_LIBJPEG" = no; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4882 elif test "$wxUSE_LIBJPEG" = sys; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4884 $as_echo "system version" >&6; }
4885 elif test "$wxUSE_LIBJPEG" = builtin; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4887 $as_echo "builtin version" >&6; }
4888 else
4889 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4890 fi
4891
4892
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4894 $as_echo_n "checking for --with-libtiff... " >&6; }
4895
4896 # Check whether --with-libtiff was given.
4897 if test "${with_libtiff+set}" = set; then :
4898 withval=$with_libtiff;
4899 if test "$withval" = yes; then
4900 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4901 elif test "$withval" = no; then
4902 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4903 elif test "$withval" = sys; then
4904 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4905 elif test "$withval" = builtin; then
4906 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4907 else
4908 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4909 fi
4910
4911 else
4912
4913 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4914
4915 fi
4916
4917
4918 eval "$wx_cv_use_libtiff"
4919
4920 if test "$wxUSE_LIBTIFF" = yes; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4922 $as_echo "yes" >&6; }
4923 elif test "$wxUSE_LIBTIFF" = no; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4926 elif test "$wxUSE_LIBTIFF" = sys; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4928 $as_echo "system version" >&6; }
4929 elif test "$wxUSE_LIBTIFF" = builtin; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4931 $as_echo "builtin version" >&6; }
4932 else
4933 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4934 fi
4935
4936
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4938 $as_echo_n "checking for --with-libxpm... " >&6; }
4939
4940 # Check whether --with-libxpm was given.
4941 if test "${with_libxpm+set}" = set; then :
4942 withval=$with_libxpm;
4943 if test "$withval" = yes; then
4944 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4945 elif test "$withval" = no; then
4946 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4947 elif test "$withval" = sys; then
4948 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4949 elif test "$withval" = builtin; then
4950 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4951 else
4952 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4953 fi
4954
4955 else
4956
4957 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_libxpm"
4963
4964 if test "$wxUSE_LIBXPM" = yes; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4966 $as_echo "yes" >&6; }
4967 elif test "$wxUSE_LIBXPM" = no; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 elif test "$wxUSE_LIBXPM" = sys; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4972 $as_echo "system version" >&6; }
4973 elif test "$wxUSE_LIBXPM" = builtin; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4975 $as_echo "builtin version" >&6; }
4976 else
4977 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4978 fi
4979
4980
4981 withstring=
4982 defaultval=$wxUSE_ALL_FEATURES
4983 if test -z "$defaultval"; then
4984 if test x"$withstring" = xwithout; then
4985 defaultval=yes
4986 else
4987 defaultval=no
4988 fi
4989 fi
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4991 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4992
4993 # Check whether --with-libiconv was given.
4994 if test "${with_libiconv+set}" = set; then :
4995 withval=$with_libiconv;
4996 if test "$withval" = yes; then
4997 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4998 else
4999 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5000 fi
5001
5002 else
5003
5004 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5005
5006 fi
5007
5008
5009 eval "$wx_cv_use_libiconv"
5010
5011 if test x"$withstring" = xwithout; then
5012 if test $wxUSE_LIBICONV = yes; then
5013 result=no
5014 else
5015 result=yes
5016 fi
5017 else
5018 result=$wxUSE_LIBICONV
5019 fi
5020
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5022 $as_echo "$result" >&6; }
5023
5024
5025 withstring=
5026 defaultval=$wxUSE_ALL_FEATURES
5027 if test -z "$defaultval"; then
5028 if test x"$withstring" = xwithout; then
5029 defaultval=yes
5030 else
5031 defaultval=no
5032 fi
5033 fi
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5035 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5036
5037 # Check whether --with-libmspack was given.
5038 if test "${with_libmspack+set}" = set; then :
5039 withval=$with_libmspack;
5040 if test "$withval" = yes; then
5041 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5042 else
5043 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5044 fi
5045
5046 else
5047
5048 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5049
5050 fi
5051
5052
5053 eval "$wx_cv_use_libmspack"
5054
5055 if test x"$withstring" = xwithout; then
5056 if test $wxUSE_LIBMSPACK = yes; then
5057 result=no
5058 else
5059 result=yes
5060 fi
5061 else
5062 result=$wxUSE_LIBMSPACK
5063 fi
5064
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5066 $as_echo "$result" >&6; }
5067
5068
5069 withstring=without
5070 defaultval=$wxUSE_ALL_FEATURES
5071 if test -z "$defaultval"; then
5072 if test x"$withstring" = xwithout; then
5073 defaultval=yes
5074 else
5075 defaultval=no
5076 fi
5077 fi
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5079 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5080
5081 # Check whether --with-gtkprint was given.
5082 if test "${with_gtkprint+set}" = set; then :
5083 withval=$with_gtkprint;
5084 if test "$withval" = yes; then
5085 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5086 else
5087 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5088 fi
5089
5090 else
5091
5092 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5093
5094 fi
5095
5096
5097 eval "$wx_cv_use_gtkprint"
5098
5099 if test x"$withstring" = xwithout; then
5100 if test $wxUSE_GTKPRINT = yes; then
5101 result=no
5102 else
5103 result=yes
5104 fi
5105 else
5106 result=$wxUSE_GTKPRINT
5107 fi
5108
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5110 $as_echo "$result" >&6; }
5111
5112
5113 withstring=without
5114 defaultval=$wxUSE_ALL_FEATURES
5115 if test -z "$defaultval"; then
5116 if test x"$withstring" = xwithout; then
5117 defaultval=yes
5118 else
5119 defaultval=no
5120 fi
5121 fi
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5123 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5124
5125 # Check whether --with-gnomeprint was given.
5126 if test "${with_gnomeprint+set}" = set; then :
5127 withval=$with_gnomeprint;
5128 if test "$withval" = yes; then
5129 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5130 else
5131 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5132 fi
5133
5134 else
5135
5136 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5137
5138 fi
5139
5140
5141 eval "$wx_cv_use_gnomeprint"
5142
5143 if test x"$withstring" = xwithout; then
5144 if test $wxUSE_LIBGNOMEPRINT = yes; then
5145 result=no
5146 else
5147 result=yes
5148 fi
5149 else
5150 result=$wxUSE_LIBGNOMEPRINT
5151 fi
5152
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5154 $as_echo "$result" >&6; }
5155
5156
5157 withstring=
5158 defaultval=$wxUSE_ALL_FEATURES
5159 if test -z "$defaultval"; then
5160 if test x"$withstring" = xwithout; then
5161 defaultval=yes
5162 else
5163 defaultval=no
5164 fi
5165 fi
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5167 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5168
5169 # Check whether --with-gnomevfs was given.
5170 if test "${with_gnomevfs+set}" = set; then :
5171 withval=$with_gnomevfs;
5172 if test "$withval" = yes; then
5173 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5174 else
5175 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5176 fi
5177
5178 else
5179
5180 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5181
5182 fi
5183
5184
5185 eval "$wx_cv_use_gnomevfs"
5186
5187 if test x"$withstring" = xwithout; then
5188 if test $wxUSE_LIBGNOMEVFS = yes; then
5189 result=no
5190 else
5191 result=yes
5192 fi
5193 else
5194 result=$wxUSE_LIBGNOMEVFS
5195 fi
5196
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5198 $as_echo "$result" >&6; }
5199
5200
5201 withstring=
5202 defaultval=$wxUSE_ALL_FEATURES
5203 if test -z "$defaultval"; then
5204 if test x"$withstring" = xwithout; then
5205 defaultval=yes
5206 else
5207 defaultval=no
5208 fi
5209 fi
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5211 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5212
5213 # Check whether --with-libnotify was given.
5214 if test "${with_libnotify+set}" = set; then :
5215 withval=$with_libnotify;
5216 if test "$withval" = yes; then
5217 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5218 else
5219 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5220 fi
5221
5222 else
5223
5224 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5225
5226 fi
5227
5228
5229 eval "$wx_cv_use_libnotify"
5230
5231 if test x"$withstring" = xwithout; then
5232 if test $wxUSE_LIBNOTIFY = yes; then
5233 result=no
5234 else
5235 result=yes
5236 fi
5237 else
5238 result=$wxUSE_LIBNOTIFY
5239 fi
5240
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5242 $as_echo "$result" >&6; }
5243
5244
5245 withstring=
5246 defaultval=$wxUSE_ALL_FEATURES
5247 if test -z "$defaultval"; then
5248 if test x"$withstring" = xwithout; then
5249 defaultval=yes
5250 else
5251 defaultval=no
5252 fi
5253 fi
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5255 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5256
5257 # Check whether --with-hildon was given.
5258 if test "${with_hildon+set}" = set; then :
5259 withval=$with_hildon;
5260 if test "$withval" = yes; then
5261 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5262 else
5263 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5264 fi
5265
5266 else
5267
5268 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5269
5270 fi
5271
5272
5273 eval "$wx_cv_use_hildon"
5274
5275 if test x"$withstring" = xwithout; then
5276 if test $wxUSE_LIBHILDON = yes; then
5277 result=no
5278 else
5279 result=yes
5280 fi
5281 else
5282 result=$wxUSE_LIBHILDON
5283 fi
5284
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5286 $as_echo "$result" >&6; }
5287
5288
5289 withstring=
5290 defaultval=$wxUSE_ALL_FEATURES
5291 if test -z "$defaultval"; then
5292 if test x"$withstring" = xwithout; then
5293 defaultval=yes
5294 else
5295 defaultval=no
5296 fi
5297 fi
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5299 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5300
5301 # Check whether --with-opengl was given.
5302 if test "${with_opengl+set}" = set; then :
5303 withval=$with_opengl;
5304 if test "$withval" = yes; then
5305 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5306 else
5307 wx_cv_use_opengl='wxUSE_OPENGL=no'
5308 fi
5309
5310 else
5311
5312 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$wx_cv_use_opengl"
5318
5319 if test x"$withstring" = xwithout; then
5320 if test $wxUSE_OPENGL = yes; then
5321 result=no
5322 else
5323 result=yes
5324 fi
5325 else
5326 result=$wxUSE_OPENGL
5327 fi
5328
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5330 $as_echo "$result" >&6; }
5331
5332
5333 fi
5334
5335
5336 withstring=
5337 defaultval=$wxUSE_ALL_FEATURES
5338 if test -z "$defaultval"; then
5339 if test x"$withstring" = xwithout; then
5340 defaultval=yes
5341 else
5342 defaultval=no
5343 fi
5344 fi
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5346 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5347
5348 # Check whether --with-dmalloc was given.
5349 if test "${with_dmalloc+set}" = set; then :
5350 withval=$with_dmalloc;
5351 if test "$withval" = yes; then
5352 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5353 else
5354 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5355 fi
5356
5357 else
5358
5359 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5360
5361 fi
5362
5363
5364 eval "$wx_cv_use_dmalloc"
5365
5366 if test x"$withstring" = xwithout; then
5367 if test $wxUSE_DMALLOC = yes; then
5368 result=no
5369 else
5370 result=yes
5371 fi
5372 else
5373 result=$wxUSE_DMALLOC
5374 fi
5375
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5377 $as_echo "$result" >&6; }
5378
5379
5380 withstring=
5381 defaultval=$wxUSE_ALL_FEATURES
5382 if test -z "$defaultval"; then
5383 if test x"$withstring" = xwithout; then
5384 defaultval=yes
5385 else
5386 defaultval=no
5387 fi
5388 fi
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5390 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5391
5392 # Check whether --with-sdl was given.
5393 if test "${with_sdl+set}" = set; then :
5394 withval=$with_sdl;
5395 if test "$withval" = yes; then
5396 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5397 else
5398 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5399 fi
5400
5401 else
5402
5403 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5404
5405 fi
5406
5407
5408 eval "$wx_cv_use_sdl"
5409
5410 if test x"$withstring" = xwithout; then
5411 if test $wxUSE_LIBSDL = yes; then
5412 result=no
5413 else
5414 result=yes
5415 fi
5416 else
5417 result=$wxUSE_LIBSDL
5418 fi
5419
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5421 $as_echo "$result" >&6; }
5422
5423
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5425 $as_echo_n "checking for --with-regex... " >&6; }
5426
5427 # Check whether --with-regex was given.
5428 if test "${with_regex+set}" = set; then :
5429 withval=$with_regex;
5430 if test "$withval" = yes; then
5431 wx_cv_use_regex='wxUSE_REGEX=yes'
5432 elif test "$withval" = no; then
5433 wx_cv_use_regex='wxUSE_REGEX=no'
5434 elif test "$withval" = sys; then
5435 wx_cv_use_regex='wxUSE_REGEX=sys'
5436 elif test "$withval" = builtin; then
5437 wx_cv_use_regex='wxUSE_REGEX=builtin'
5438 else
5439 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5440 fi
5441
5442 else
5443
5444 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5445
5446 fi
5447
5448
5449 eval "$wx_cv_use_regex"
5450
5451 if test "$wxUSE_REGEX" = yes; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5453 $as_echo "yes" >&6; }
5454 elif test "$wxUSE_REGEX" = no; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5457 elif test "$wxUSE_REGEX" = sys; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5459 $as_echo "system version" >&6; }
5460 elif test "$wxUSE_REGEX" = builtin; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5462 $as_echo "builtin version" >&6; }
5463 else
5464 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5465 fi
5466
5467
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5469 $as_echo_n "checking for --with-zlib... " >&6; }
5470
5471 # Check whether --with-zlib was given.
5472 if test "${with_zlib+set}" = set; then :
5473 withval=$with_zlib;
5474 if test "$withval" = yes; then
5475 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5476 elif test "$withval" = no; then
5477 wx_cv_use_zlib='wxUSE_ZLIB=no'
5478 elif test "$withval" = sys; then
5479 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5480 elif test "$withval" = builtin; then
5481 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5482 else
5483 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5484 fi
5485
5486 else
5487
5488 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5489
5490 fi
5491
5492
5493 eval "$wx_cv_use_zlib"
5494
5495 if test "$wxUSE_ZLIB" = yes; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5497 $as_echo "yes" >&6; }
5498 elif test "$wxUSE_ZLIB" = no; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5501 elif test "$wxUSE_ZLIB" = sys; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5503 $as_echo "system version" >&6; }
5504 elif test "$wxUSE_ZLIB" = builtin; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5506 $as_echo "builtin version" >&6; }
5507 else
5508 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5509 fi
5510
5511
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5513 $as_echo_n "checking for --with-expat... " >&6; }
5514
5515 # Check whether --with-expat was given.
5516 if test "${with_expat+set}" = set; then :
5517 withval=$with_expat;
5518 if test "$withval" = yes; then
5519 wx_cv_use_expat='wxUSE_EXPAT=yes'
5520 elif test "$withval" = no; then
5521 wx_cv_use_expat='wxUSE_EXPAT=no'
5522 elif test "$withval" = sys; then
5523 wx_cv_use_expat='wxUSE_EXPAT=sys'
5524 elif test "$withval" = builtin; then
5525 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5526 else
5527 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5528 fi
5529
5530 else
5531
5532 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_expat"
5538
5539 if test "$wxUSE_EXPAT" = yes; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541 $as_echo "yes" >&6; }
5542 elif test "$wxUSE_EXPAT" = no; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5545 elif test "$wxUSE_EXPAT" = sys; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5547 $as_echo "system version" >&6; }
5548 elif test "$wxUSE_EXPAT" = builtin; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5550 $as_echo "builtin version" >&6; }
5551 else
5552 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5553 fi
5554
5555
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5557 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5558
5559 # Check whether --with-macosx-sdk was given.
5560 if test "${with_macosx_sdk+set}" = set; then :
5561 withval=$with_macosx_sdk;
5562 wxUSE_MACOSX_SDK=$withval
5563 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5564
5565 fi
5566
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5568 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5569
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5571 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5572
5573 # Check whether --with-macosx-version-min was given.
5574 if test "${with_macosx_version_min+set}" = set; then :
5575 withval=$with_macosx_version_min;
5576 wxUSE_MACOSX_VERSION_MIN=$withval
5577 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5578
5579 fi
5580
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5582 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5583
5584
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5586 $as_echo_n "checking for --enable-debug... " >&6; }
5587 # Check whether --enable-debug was given.
5588 if test "${enable_debug+set}" = set; then :
5589 enableval=$enable_debug;
5590 if test "$enableval" = yes; then
5591 wxUSE_DEBUG=yes
5592 elif test "$enableval" = no; then
5593 wxUSE_DEBUG=no
5594 elif test "$enableval" = max; then
5595 wxUSE_DEBUG=yes
5596 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5597 else
5598 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5599 fi
5600
5601 else
5602 wxUSE_DEBUG=default
5603
5604 fi
5605
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5607 $as_echo "${enable_debug-default}" >&6; }
5608
5609 case "$wxUSE_DEBUG" in
5610 yes)
5611 DEFAULT_wxUSE_DEBUG_FLAG=yes
5612 DEFAULT_wxUSE_DEBUG_INFO=yes
5613
5614 DEFAULT_wxUSE_OPTIMISE=no
5615 ;;
5616
5617 no)
5618 DEFAULT_wxUSE_DEBUG_FLAG=no
5619 DEFAULT_wxUSE_DEBUG_INFO=no
5620 ;;
5621
5622 default)
5623 DEFAULT_wxUSE_DEBUG_FLAG=yes
5624 DEFAULT_wxUSE_DEBUG_INFO=no
5625 ;;
5626 esac
5627
5628
5629 enablestring=disable
5630 defaultval=
5631 if test -z "$defaultval"; then
5632 if test x"$enablestring" = xdisable; then
5633 defaultval=yes
5634 else
5635 defaultval=no
5636 fi
5637 fi
5638
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5640 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5641 # Check whether --enable-debug_flag was given.
5642 if test "${enable_debug_flag+set}" = set; then :
5643 enableval=$enable_debug_flag;
5644 if test "$enableval" = yes; then
5645 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5646 else
5647 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5648 fi
5649
5650 else
5651
5652 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5653
5654 fi
5655
5656
5657 eval "$wx_cv_use_debug_flag"
5658
5659 if test x"$enablestring" = xdisable; then
5660 if test $wxUSE_DEBUG_FLAG = no; then
5661 result=yes
5662 else
5663 result=no
5664 fi
5665 else
5666 result=$wxUSE_DEBUG_FLAG
5667 fi
5668
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5670 $as_echo "$result" >&6; }
5671
5672
5673 enablestring=
5674 defaultval=
5675 if test -z "$defaultval"; then
5676 if test x"$enablestring" = xdisable; then
5677 defaultval=yes
5678 else
5679 defaultval=no
5680 fi
5681 fi
5682
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5684 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5685 # Check whether --enable-debug_info was given.
5686 if test "${enable_debug_info+set}" = set; then :
5687 enableval=$enable_debug_info;
5688 if test "$enableval" = yes; then
5689 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5690 else
5691 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5692 fi
5693
5694 else
5695
5696 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5697
5698 fi
5699
5700
5701 eval "$wx_cv_use_debug_info"
5702
5703 if test x"$enablestring" = xdisable; then
5704 if test $wxUSE_DEBUG_INFO = no; then
5705 result=yes
5706 else
5707 result=no
5708 fi
5709 else
5710 result=$wxUSE_DEBUG_INFO
5711 fi
5712
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5714 $as_echo "$result" >&6; }
5715
5716
5717
5718
5719 enablestring=
5720 defaultval=
5721 if test -z "$defaultval"; then
5722 if test x"$enablestring" = xdisable; then
5723 defaultval=yes
5724 else
5725 defaultval=no
5726 fi
5727 fi
5728
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5730 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5731 # Check whether --enable-debug_gdb was given.
5732 if test "${enable_debug_gdb+set}" = set; then :
5733 enableval=$enable_debug_gdb;
5734 if test "$enableval" = yes; then
5735 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5736 else
5737 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5738 fi
5739
5740 else
5741
5742 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5743
5744 fi
5745
5746
5747 eval "$wx_cv_use_debug_gdb"
5748
5749 if test x"$enablestring" = xdisable; then
5750 if test $wxUSE_DEBUG_GDB = no; then
5751 result=yes
5752 else
5753 result=no
5754 fi
5755 else
5756 result=$wxUSE_DEBUG_GDB
5757 fi
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5760 $as_echo "$result" >&6; }
5761
5762
5763 enablestring=
5764 defaultval=
5765 if test -z "$defaultval"; then
5766 if test x"$enablestring" = xdisable; then
5767 defaultval=yes
5768 else
5769 defaultval=no
5770 fi
5771 fi
5772
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5774 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5775 # Check whether --enable-debug_cntxt was given.
5776 if test "${enable_debug_cntxt+set}" = set; then :
5777 enableval=$enable_debug_cntxt;
5778 if test "$enableval" = yes; then
5779 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5780 else
5781 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5782 fi
5783
5784 else
5785
5786 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5787
5788 fi
5789
5790
5791 eval "$wx_cv_use_debug_cntxt"
5792
5793 if test x"$enablestring" = xdisable; then
5794 if test $wxUSE_DEBUG_CONTEXT = no; then
5795 result=yes
5796 else
5797 result=no
5798 fi
5799 else
5800 result=$wxUSE_DEBUG_CONTEXT
5801 fi
5802
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5804 $as_echo "$result" >&6; }
5805
5806
5807 enablestring=
5808 defaultval=
5809 if test -z "$defaultval"; then
5810 if test x"$enablestring" = xdisable; then
5811 defaultval=yes
5812 else
5813 defaultval=no
5814 fi
5815 fi
5816
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5818 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5819 # Check whether --enable-mem_tracing was given.
5820 if test "${enable_mem_tracing+set}" = set; then :
5821 enableval=$enable_mem_tracing;
5822 if test "$enableval" = yes; then
5823 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5824 else
5825 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5826 fi
5827
5828 else
5829
5830 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5831
5832 fi
5833
5834
5835 eval "$wx_cv_use_mem_tracing"
5836
5837 if test x"$enablestring" = xdisable; then
5838 if test $wxUSE_MEM_TRACING = no; then
5839 result=yes
5840 else
5841 result=no
5842 fi
5843 else
5844 result=$wxUSE_MEM_TRACING
5845 fi
5846
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5848 $as_echo "$result" >&6; }
5849
5850
5851
5852
5853 enablestring=disable
5854 defaultval=
5855 if test -z "$defaultval"; then
5856 if test x"$enablestring" = xdisable; then
5857 defaultval=yes
5858 else
5859 defaultval=no
5860 fi
5861 fi
5862
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5864 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5865 # Check whether --enable-shared was given.
5866 if test "${enable_shared+set}" = set; then :
5867 enableval=$enable_shared;
5868 if test "$enableval" = yes; then
5869 wx_cv_use_shared='wxUSE_SHARED=yes'
5870 else
5871 wx_cv_use_shared='wxUSE_SHARED=no'
5872 fi
5873
5874 else
5875
5876 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5877
5878 fi
5879
5880
5881 eval "$wx_cv_use_shared"
5882
5883 if test x"$enablestring" = xdisable; then
5884 if test $wxUSE_SHARED = no; then
5885 result=yes
5886 else
5887 result=no
5888 fi
5889 else
5890 result=$wxUSE_SHARED
5891 fi
5892
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5894 $as_echo "$result" >&6; }
5895
5896
5897 enablestring=
5898 defaultval=
5899 if test -z "$defaultval"; then
5900 if test x"$enablestring" = xdisable; then
5901 defaultval=yes
5902 else
5903 defaultval=no
5904 fi
5905 fi
5906
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5908 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5909 # Check whether --enable-stl was given.
5910 if test "${enable_stl+set}" = set; then :
5911 enableval=$enable_stl;
5912 if test "$enableval" = yes; then
5913 wx_cv_use_stl='wxUSE_STL=yes'
5914 else
5915 wx_cv_use_stl='wxUSE_STL=no'
5916 fi
5917
5918 else
5919
5920 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5921
5922 fi
5923
5924
5925 eval "$wx_cv_use_stl"
5926
5927 if test x"$enablestring" = xdisable; then
5928 if test $wxUSE_STL = no; then
5929 result=yes
5930 else
5931 result=no
5932 fi
5933 else
5934 result=$wxUSE_STL
5935 fi
5936
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5938 $as_echo "$result" >&6; }
5939
5940 if test "$wxUSE_STL" = "yes"; then
5941 DEFAULT_wxUSE_STD_CONTAINERS=yes
5942 DEFAULT_wxUSE_STD_IOSTREAM=yes
5943 DEFAULT_wxUSE_STD_STRING=yes
5944 fi
5945
5946 enablestring=
5947 defaultval=
5948 if test -z "$defaultval"; then
5949 if test x"$enablestring" = xdisable; then
5950 defaultval=yes
5951 else
5952 defaultval=no
5953 fi
5954 fi
5955
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5957 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5958 # Check whether --enable-std_containers was given.
5959 if test "${enable_std_containers+set}" = set; then :
5960 enableval=$enable_std_containers;
5961 if test "$enableval" = yes; then
5962 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5963 else
5964 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5965 fi
5966
5967 else
5968
5969 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5970
5971 fi
5972
5973
5974 eval "$wx_cv_use_std_containers"
5975
5976 if test x"$enablestring" = xdisable; then
5977 if test $wxUSE_STD_CONTAINERS = no; then
5978 result=yes
5979 else
5980 result=no
5981 fi
5982 else
5983 result=$wxUSE_STD_CONTAINERS
5984 fi
5985
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5987 $as_echo "$result" >&6; }
5988
5989
5990 enablestring=
5991 defaultval=
5992 if test -z "$defaultval"; then
5993 if test x"$enablestring" = xdisable; then
5994 defaultval=yes
5995 else
5996 defaultval=no
5997 fi
5998 fi
5999
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6001 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6002 # Check whether --enable-std_iostreams was given.
6003 if test "${enable_std_iostreams+set}" = set; then :
6004 enableval=$enable_std_iostreams;
6005 if test "$enableval" = yes; then
6006 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6007 else
6008 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6009 fi
6010
6011 else
6012
6013 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6014
6015 fi
6016
6017
6018 eval "$wx_cv_use_std_iostreams"
6019
6020 if test x"$enablestring" = xdisable; then
6021 if test $wxUSE_STD_IOSTREAM = no; then
6022 result=yes
6023 else
6024 result=no
6025 fi
6026 else
6027 result=$wxUSE_STD_IOSTREAM
6028 fi
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6031 $as_echo "$result" >&6; }
6032
6033
6034 enablestring=
6035 defaultval=
6036 if test -z "$defaultval"; then
6037 if test x"$enablestring" = xdisable; then
6038 defaultval=yes
6039 else
6040 defaultval=no
6041 fi
6042 fi
6043
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6045 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6046 # Check whether --enable-std_string was given.
6047 if test "${enable_std_string+set}" = set; then :
6048 enableval=$enable_std_string;
6049 if test "$enableval" = yes; then
6050 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6051 else
6052 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6053 fi
6054
6055 else
6056
6057 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6058
6059 fi
6060
6061
6062 eval "$wx_cv_use_std_string"
6063
6064 if test x"$enablestring" = xdisable; then
6065 if test $wxUSE_STD_STRING = no; then
6066 result=yes
6067 else
6068 result=no
6069 fi
6070 else
6071 result=$wxUSE_STD_STRING
6072 fi
6073
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6075 $as_echo "$result" >&6; }
6076
6077
6078 enablestring=
6079 defaultval=
6080 if test -z "$defaultval"; then
6081 if test x"$enablestring" = xdisable; then
6082 defaultval=yes
6083 else
6084 defaultval=no
6085 fi
6086 fi
6087
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6089 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6090 # Check whether --enable-std_string_conv_in_wxstring was given.
6091 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6092 enableval=$enable_std_string_conv_in_wxstring;
6093 if test "$enableval" = yes; then
6094 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6095 else
6096 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6097 fi
6098
6099 else
6100
6101 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6102
6103 fi
6104
6105
6106 eval "$wx_cv_use_std_string_conv_in_wxstring"
6107
6108 if test x"$enablestring" = xdisable; then
6109 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6110 result=yes
6111 else
6112 result=no
6113 fi
6114 else
6115 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6116 fi
6117
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6119 $as_echo "$result" >&6; }
6120
6121
6122 enablestring=disable
6123 defaultval=
6124 if test -z "$defaultval"; then
6125 if test x"$enablestring" = xdisable; then
6126 defaultval=yes
6127 else
6128 defaultval=no
6129 fi
6130 fi
6131
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6133 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6134 # Check whether --enable-unicode was given.
6135 if test "${enable_unicode+set}" = set; then :
6136 enableval=$enable_unicode;
6137 if test "$enableval" = yes; then
6138 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6139 else
6140 wx_cv_use_unicode='wxUSE_UNICODE=no'
6141 fi
6142
6143 else
6144
6145 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6146
6147 fi
6148
6149
6150 eval "$wx_cv_use_unicode"
6151
6152 if test x"$enablestring" = xdisable; then
6153 if test $wxUSE_UNICODE = no; then
6154 result=yes
6155 else
6156 result=no
6157 fi
6158 else
6159 result=$wxUSE_UNICODE
6160 fi
6161
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6163 $as_echo "$result" >&6; }
6164
6165
6166 enablestring=
6167 defaultval=
6168 if test -z "$defaultval"; then
6169 if test x"$enablestring" = xdisable; then
6170 defaultval=yes
6171 else
6172 defaultval=no
6173 fi
6174 fi
6175
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6177 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6178 # Check whether --enable-mslu was given.
6179 if test "${enable_mslu+set}" = set; then :
6180 enableval=$enable_mslu;
6181 if test "$enableval" = yes; then
6182 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6183 else
6184 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6185 fi
6186
6187 else
6188
6189 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6190
6191 fi
6192
6193
6194 eval "$wx_cv_use_mslu"
6195
6196 if test x"$enablestring" = xdisable; then
6197 if test $wxUSE_UNICODE_MSLU = no; then
6198 result=yes
6199 else
6200 result=no
6201 fi
6202 else
6203 result=$wxUSE_UNICODE_MSLU
6204 fi
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6207 $as_echo "$result" >&6; }
6208
6209
6210 enablestring=
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6212 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6213 # Check whether --enable-utf8 was given.
6214 if test "${enable_utf8+set}" = set; then :
6215 enableval=$enable_utf8;
6216 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6217
6218 else
6219
6220 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6221
6222 fi
6223
6224
6225 eval "$wx_cv_use_utf8"
6226
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6228 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6242 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6243 # Check whether --enable-utf8only was given.
6244 if test "${enable_utf8only+set}" = set; then :
6245 enableval=$enable_utf8only;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6248 else
6249 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6250 fi
6251
6252 else
6253
6254 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_utf8only"
6260
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6263 result=yes
6264 else
6265 result=no
6266 fi
6267 else
6268 result=$wxUSE_UNICODE_UTF8_LOCALE
6269 fi
6270
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6272 $as_echo "$result" >&6; }
6273
6274
6275 enablestring=
6276 defaultval=
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6286 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6287 # Check whether --enable-extended_rtti was given.
6288 if test "${enable_extended_rtti+set}" = set; then :
6289 enableval=$enable_extended_rtti;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6292 else
6293 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_extended_rtti"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_EXTENDED_RTTI = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_EXTENDED_RTTI
6313 fi
6314
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6316 $as_echo "$result" >&6; }
6317
6318 if test "$USE_OS2" = 1; then
6319 DEFAULT_wxUSE_OMF=no
6320
6321 enablestring=
6322 defaultval=
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6325 defaultval=yes
6326 else
6327 defaultval=no
6328 fi
6329 fi
6330
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6332 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6333 # Check whether --enable-omf was given.
6334 if test "${enable_omf+set}" = set; then :
6335 enableval=$enable_omf;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_omf='wxUSE_OMF=yes'
6338 else
6339 wx_cv_use_omf='wxUSE_OMF=no'
6340 fi
6341
6342 else
6343
6344 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6345
6346 fi
6347
6348
6349 eval "$wx_cv_use_omf"
6350
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_OMF = no; then
6353 result=yes
6354 else
6355 result=no
6356 fi
6357 else
6358 result=$wxUSE_OMF
6359 fi
6360
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6362 $as_echo "$result" >&6; }
6363
6364 fi
6365
6366
6367 enablestring=disable
6368 defaultval=
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6371 defaultval=yes
6372 else
6373 defaultval=no
6374 fi
6375 fi
6376
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6378 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6379 # Check whether --enable-optimise was given.
6380 if test "${enable_optimise+set}" = set; then :
6381 enableval=$enable_optimise;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6384 else
6385 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6386 fi
6387
6388 else
6389
6390 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6391
6392 fi
6393
6394
6395 eval "$wx_cv_use_optimise"
6396
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_OPTIMISE = no; then
6399 result=yes
6400 else
6401 result=no
6402 fi
6403 else
6404 result=$wxUSE_OPTIMISE
6405 fi
6406
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6408 $as_echo "$result" >&6; }
6409
6410
6411
6412 enablestring=
6413 defaultval=
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6416 defaultval=yes
6417 else
6418 defaultval=no
6419 fi
6420 fi
6421
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6423 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6424 # Check whether --enable-profile was given.
6425 if test "${enable_profile+set}" = set; then :
6426 enableval=$enable_profile;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_profile='wxUSE_PROFILE=yes'
6429 else
6430 wx_cv_use_profile='wxUSE_PROFILE=no'
6431 fi
6432
6433 else
6434
6435 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6436
6437 fi
6438
6439
6440 eval "$wx_cv_use_profile"
6441
6442 if test x"$enablestring" = xdisable; then
6443 if test $wxUSE_PROFILE = no; then
6444 result=yes
6445 else
6446 result=no
6447 fi
6448 else
6449 result=$wxUSE_PROFILE
6450 fi
6451
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6453 $as_echo "$result" >&6; }
6454
6455
6456 enablestring=
6457 defaultval=
6458 if test -z "$defaultval"; then
6459 if test x"$enablestring" = xdisable; then
6460 defaultval=yes
6461 else
6462 defaultval=no
6463 fi
6464 fi
6465
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6467 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6468 # Check whether --enable-no_rtti was given.
6469 if test "${enable_no_rtti+set}" = set; then :
6470 enableval=$enable_no_rtti;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6473 else
6474 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6475 fi
6476
6477 else
6478
6479 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6480
6481 fi
6482
6483
6484 eval "$wx_cv_use_no_rtti"
6485
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_NO_RTTI = no; then
6488 result=yes
6489 else
6490 result=no
6491 fi
6492 else
6493 result=$wxUSE_NO_RTTI
6494 fi
6495
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6497 $as_echo "$result" >&6; }
6498
6499
6500 enablestring=
6501 defaultval=
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6504 defaultval=yes
6505 else
6506 defaultval=no
6507 fi
6508 fi
6509
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6511 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6512 # Check whether --enable-no_exceptions was given.
6513 if test "${enable_no_exceptions+set}" = set; then :
6514 enableval=$enable_no_exceptions;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6517 else
6518 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6519 fi
6520
6521 else
6522
6523 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6524
6525 fi
6526
6527
6528 eval "$wx_cv_use_no_exceptions"
6529
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_NO_EXCEPTIONS = no; then
6532 result=yes
6533 else
6534 result=no
6535 fi
6536 else
6537 result=$wxUSE_NO_EXCEPTIONS
6538 fi
6539
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6541 $as_echo "$result" >&6; }
6542
6543
6544 enablestring=
6545 defaultval=
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6548 defaultval=yes
6549 else
6550 defaultval=no
6551 fi
6552 fi
6553
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6555 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6556 # Check whether --enable-permissive was given.
6557 if test "${enable_permissive+set}" = set; then :
6558 enableval=$enable_permissive;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6561 else
6562 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6563 fi
6564
6565 else
6566
6567 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6568
6569 fi
6570
6571
6572 eval "$wx_cv_use_permissive"
6573
6574 if test x"$enablestring" = xdisable; then
6575 if test $wxUSE_PERMISSIVE = no; then
6576 result=yes
6577 else
6578 result=no
6579 fi
6580 else
6581 result=$wxUSE_PERMISSIVE
6582 fi
6583
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6585 $as_echo "$result" >&6; }
6586
6587
6588 enablestring=
6589 defaultval=
6590 if test -z "$defaultval"; then
6591 if test x"$enablestring" = xdisable; then
6592 defaultval=yes
6593 else
6594 defaultval=no
6595 fi
6596 fi
6597
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6599 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6600 # Check whether --enable-no_deps was given.
6601 if test "${enable_no_deps+set}" = set; then :
6602 enableval=$enable_no_deps;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6605 else
6606 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6607 fi
6608
6609 else
6610
6611 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6612
6613 fi
6614
6615
6616 eval "$wx_cv_use_no_deps"
6617
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_NO_DEPS = no; then
6620 result=yes
6621 else
6622 result=no
6623 fi
6624 else
6625 result=$wxUSE_NO_DEPS
6626 fi
6627
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6629 $as_echo "$result" >&6; }
6630
6631
6632 enablestring=disable
6633 defaultval=
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6636 defaultval=yes
6637 else
6638 defaultval=no
6639 fi
6640 fi
6641
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6643 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6644 # Check whether --enable-vararg_macros was given.
6645 if test "${enable_vararg_macros+set}" = set; then :
6646 enableval=$enable_vararg_macros;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6649 else
6650 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6651 fi
6652
6653 else
6654
6655 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6656
6657 fi
6658
6659
6660 eval "$wx_cv_use_vararg_macros"
6661
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_VARARG_MACROS = no; then
6664 result=yes
6665 else
6666 result=no
6667 fi
6668 else
6669 result=$wxUSE_VARARG_MACROS
6670 fi
6671
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6673 $as_echo "$result" >&6; }
6674
6675
6676
6677 enablestring=
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6679 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6680 # Check whether --enable-universal_binary was given.
6681 if test "${enable_universal_binary+set}" = set; then :
6682 enableval=$enable_universal_binary;
6683 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6684
6685 else
6686
6687 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6688
6689 fi
6690
6691
6692 eval "$wx_cv_use_universal_binary"
6693
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6695 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6696
6697
6698 enablestring=
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6700 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6701 # Check whether --enable-macosx_arch was given.
6702 if test "${enable_macosx_arch+set}" = set; then :
6703 enableval=$enable_macosx_arch;
6704 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6705
6706 else
6707
6708 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6709
6710 fi
6711
6712
6713 eval "$wx_cv_use_macosx_arch"
6714
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6716 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6717
6718
6719
6720 enablestring=
6721 defaultval=
6722 if test -z "$defaultval"; then
6723 if test x"$enablestring" = xdisable; then
6724 defaultval=yes
6725 else
6726 defaultval=no
6727 fi
6728 fi
6729
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6731 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6732 # Check whether --enable-compat26 was given.
6733 if test "${enable_compat26+set}" = set; then :
6734 enableval=$enable_compat26;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6737 else
6738 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6739 fi
6740
6741 else
6742
6743 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6744
6745 fi
6746
6747
6748 eval "$wx_cv_use_compat26"
6749
6750 if test x"$enablestring" = xdisable; then
6751 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6752 result=yes
6753 else
6754 result=no
6755 fi
6756 else
6757 result=$WXWIN_COMPATIBILITY_2_6
6758 fi
6759
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6761 $as_echo "$result" >&6; }
6762
6763
6764 enablestring=disable
6765 defaultval=
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6768 defaultval=yes
6769 else
6770 defaultval=no
6771 fi
6772 fi
6773
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6775 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6776 # Check whether --enable-compat28 was given.
6777 if test "${enable_compat28+set}" = set; then :
6778 enableval=$enable_compat28;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6781 else
6782 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6783 fi
6784
6785 else
6786
6787 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6788
6789 fi
6790
6791
6792 eval "$wx_cv_use_compat28"
6793
6794 if test x"$enablestring" = xdisable; then
6795 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6796 result=yes
6797 else
6798 result=no
6799 fi
6800 else
6801 result=$WXWIN_COMPATIBILITY_2_8
6802 fi
6803
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6805 $as_echo "$result" >&6; }
6806
6807
6808
6809 enablestring=disable
6810 defaultval=
6811 if test -z "$defaultval"; then
6812 if test x"$enablestring" = xdisable; then
6813 defaultval=yes
6814 else
6815 defaultval=no
6816 fi
6817 fi
6818
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6820 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6821 # Check whether --enable-rpath was given.
6822 if test "${enable_rpath+set}" = set; then :
6823 enableval=$enable_rpath;
6824 if test "$enableval" = yes; then
6825 wx_cv_use_rpath='wxUSE_RPATH=yes'
6826 else
6827 wx_cv_use_rpath='wxUSE_RPATH=no'
6828 fi
6829
6830 else
6831
6832 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6833
6834 fi
6835
6836
6837 eval "$wx_cv_use_rpath"
6838
6839 if test x"$enablestring" = xdisable; then
6840 if test $wxUSE_RPATH = no; then
6841 result=yes
6842 else
6843 result=no
6844 fi
6845 else
6846 result=$wxUSE_RPATH
6847 fi
6848
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6850 $as_echo "$result" >&6; }
6851
6852
6853
6854 enablestring=
6855 defaultval=
6856 if test -z "$defaultval"; then
6857 if test x"$enablestring" = xdisable; then
6858 defaultval=yes
6859 else
6860 defaultval=no
6861 fi
6862 fi
6863
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6865 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6866 # Check whether --enable-objc_uniquifying was given.
6867 if test "${enable_objc_uniquifying+set}" = set; then :
6868 enableval=$enable_objc_uniquifying;
6869 if test "$enableval" = yes; then
6870 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6871 else
6872 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6873 fi
6874
6875 else
6876
6877 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6878
6879 fi
6880
6881
6882 eval "$wx_cv_use_objc_uniquifying"
6883
6884 if test x"$enablestring" = xdisable; then
6885 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6886 result=yes
6887 else
6888 result=no
6889 fi
6890 else
6891 result=$wxUSE_OBJC_UNIQUIFYING
6892 fi
6893
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6895 $as_echo "$result" >&6; }
6896
6897
6898
6899 enablestring=disable
6900 defaultval=
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6903 defaultval=yes
6904 else
6905 defaultval=no
6906 fi
6907 fi
6908
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6910 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6911 # Check whether --enable-visibility was given.
6912 if test "${enable_visibility+set}" = set; then :
6913 enableval=$enable_visibility;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6916 else
6917 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6918 fi
6919
6920 else
6921
6922 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6923
6924 fi
6925
6926
6927 eval "$wx_cv_use_visibility"
6928
6929 if test x"$enablestring" = xdisable; then
6930 if test $wxUSE_VISIBILITY = no; then
6931 result=yes
6932 else
6933 result=no
6934 fi
6935 else
6936 result=$wxUSE_VISIBILITY
6937 fi
6938
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6940 $as_echo "$result" >&6; }
6941
6942
6943 enablestring=disable
6944 defaultval=
6945 if test -z "$defaultval"; then
6946 if test x"$enablestring" = xdisable; then
6947 defaultval=yes
6948 else
6949 defaultval=no
6950 fi
6951 fi
6952
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6954 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6955 # Check whether --enable-tls was given.
6956 if test "${enable_tls+set}" = set; then :
6957 enableval=$enable_tls;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6960 else
6961 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6962 fi
6963
6964 else
6965
6966 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6967
6968 fi
6969
6970
6971 eval "$wx_cv_use_tls"
6972
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_COMPILER_TLS = no; then
6975 result=yes
6976 else
6977 result=no
6978 fi
6979 else
6980 result=$wxUSE_COMPILER_TLS
6981 fi
6982
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6984 $as_echo "$result" >&6; }
6985
6986
6987
6988
6989 enablestring=
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6993 defaultval=yes
6994 else
6995 defaultval=no
6996 fi
6997 fi
6998
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7000 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7001 # Check whether --enable-intl was given.
7002 if test "${enable_intl+set}" = set; then :
7003 enableval=$enable_intl;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_intl='wxUSE_INTL=yes'
7006 else
7007 wx_cv_use_intl='wxUSE_INTL=no'
7008 fi
7009
7010 else
7011
7012 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7013
7014 fi
7015
7016
7017 eval "$wx_cv_use_intl"
7018
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_INTL = no; then
7021 result=yes
7022 else
7023 result=no
7024 fi
7025 else
7026 result=$wxUSE_INTL
7027 fi
7028
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7030 $as_echo "$result" >&6; }
7031
7032
7033 enablestring=
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7037 defaultval=yes
7038 else
7039 defaultval=no
7040 fi
7041 fi
7042
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7044 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7045 # Check whether --enable-xlocale was given.
7046 if test "${enable_xlocale+set}" = set; then :
7047 enableval=$enable_xlocale;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7050 else
7051 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7052 fi
7053
7054 else
7055
7056 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7057
7058 fi
7059
7060
7061 eval "$wx_cv_use_xlocale"
7062
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_XLOCALE = no; then
7065 result=yes
7066 else
7067 result=no
7068 fi
7069 else
7070 result=$wxUSE_XLOCALE
7071 fi
7072
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7074 $as_echo "$result" >&6; }
7075
7076
7077 enablestring=
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7081 defaultval=yes
7082 else
7083 defaultval=no
7084 fi
7085 fi
7086
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7088 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7089 # Check whether --enable-config was given.
7090 if test "${enable_config+set}" = set; then :
7091 enableval=$enable_config;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_config='wxUSE_CONFIG=yes'
7094 else
7095 wx_cv_use_config='wxUSE_CONFIG=no'
7096 fi
7097
7098 else
7099
7100 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7101
7102 fi
7103
7104
7105 eval "$wx_cv_use_config"
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_CONFIG = no; then
7109 result=yes
7110 else
7111 result=no
7112 fi
7113 else
7114 result=$wxUSE_CONFIG
7115 fi
7116
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7118 $as_echo "$result" >&6; }
7119
7120
7121
7122 enablestring=
7123 defaultval=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x"$enablestring" = xdisable; then
7126 defaultval=yes
7127 else
7128 defaultval=no
7129 fi
7130 fi
7131
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7133 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7134 # Check whether --enable-protocols was given.
7135 if test "${enable_protocols+set}" = set; then :
7136 enableval=$enable_protocols;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7139 else
7140 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7141 fi
7142
7143 else
7144
7145 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7146
7147 fi
7148
7149
7150 eval "$wx_cv_use_protocols"
7151
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_PROTOCOL = no; then
7154 result=yes
7155 else
7156 result=no
7157 fi
7158 else
7159 result=$wxUSE_PROTOCOL
7160 fi
7161
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7163 $as_echo "$result" >&6; }
7164
7165
7166 enablestring=
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7170 defaultval=yes
7171 else
7172 defaultval=no
7173 fi
7174 fi
7175
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7177 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7178 # Check whether --enable-ftp was given.
7179 if test "${enable_ftp+set}" = set; then :
7180 enableval=$enable_ftp;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7183 else
7184 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7185 fi
7186
7187 else
7188
7189 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7190
7191 fi
7192
7193
7194 eval "$wx_cv_use_ftp"
7195
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_PROTOCOL_FTP = no; then
7198 result=yes
7199 else
7200 result=no
7201 fi
7202 else
7203 result=$wxUSE_PROTOCOL_FTP
7204 fi
7205
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7207 $as_echo "$result" >&6; }
7208
7209
7210 enablestring=
7211 defaultval=$wxUSE_ALL_FEATURES
7212 if test -z "$defaultval"; then
7213 if test x"$enablestring" = xdisable; then
7214 defaultval=yes
7215 else
7216 defaultval=no
7217 fi
7218 fi
7219
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7221 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7222 # Check whether --enable-http was given.
7223 if test "${enable_http+set}" = set; then :
7224 enableval=$enable_http;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7227 else
7228 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7229 fi
7230
7231 else
7232
7233 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7234
7235 fi
7236
7237
7238 eval "$wx_cv_use_http"
7239
7240 if test x"$enablestring" = xdisable; then
7241 if test $wxUSE_PROTOCOL_HTTP = no; then
7242 result=yes
7243 else
7244 result=no
7245 fi
7246 else
7247 result=$wxUSE_PROTOCOL_HTTP
7248 fi
7249
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7251 $as_echo "$result" >&6; }
7252
7253
7254 enablestring=
7255 defaultval=$wxUSE_ALL_FEATURES
7256 if test -z "$defaultval"; then
7257 if test x"$enablestring" = xdisable; then
7258 defaultval=yes
7259 else
7260 defaultval=no
7261 fi
7262 fi
7263
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7265 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7266 # Check whether --enable-fileproto was given.
7267 if test "${enable_fileproto+set}" = set; then :
7268 enableval=$enable_fileproto;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7271 else
7272 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7273 fi
7274
7275 else
7276
7277 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7278
7279 fi
7280
7281
7282 eval "$wx_cv_use_fileproto"
7283
7284 if test x"$enablestring" = xdisable; then
7285 if test $wxUSE_PROTOCOL_FILE = no; then
7286 result=yes
7287 else
7288 result=no
7289 fi
7290 else
7291 result=$wxUSE_PROTOCOL_FILE
7292 fi
7293
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7295 $as_echo "$result" >&6; }
7296
7297
7298 enablestring=
7299 defaultval=$wxUSE_ALL_FEATURES
7300 if test -z "$defaultval"; then
7301 if test x"$enablestring" = xdisable; then
7302 defaultval=yes
7303 else
7304 defaultval=no
7305 fi
7306 fi
7307
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7309 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7310 # Check whether --enable-sockets was given.
7311 if test "${enable_sockets+set}" = set; then :
7312 enableval=$enable_sockets;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7315 else
7316 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7317 fi
7318
7319 else
7320
7321 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_sockets"
7327
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_SOCKETS = no; then
7330 result=yes
7331 else
7332 result=no
7333 fi
7334 else
7335 result=$wxUSE_SOCKETS
7336 fi
7337
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7339 $as_echo "$result" >&6; }
7340
7341
7342 enablestring=
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7346 defaultval=yes
7347 else
7348 defaultval=no
7349 fi
7350 fi
7351
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7353 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7354 # Check whether --enable-ipv6 was given.
7355 if test "${enable_ipv6+set}" = set; then :
7356 enableval=$enable_ipv6;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7359 else
7360 wx_cv_use_ipv6='wxUSE_IPV6=no'
7361 fi
7362
7363 else
7364
7365 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7366
7367 fi
7368
7369
7370 eval "$wx_cv_use_ipv6"
7371
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_IPV6 = no; then
7374 result=yes
7375 else
7376 result=no
7377 fi
7378 else
7379 result=$wxUSE_IPV6
7380 fi
7381
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7383 $as_echo "$result" >&6; }
7384
7385
7386 enablestring=
7387 defaultval=$wxUSE_ALL_FEATURES
7388 if test -z "$defaultval"; then
7389 if test x"$enablestring" = xdisable; then
7390 defaultval=yes
7391 else
7392 defaultval=no
7393 fi
7394 fi
7395
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7397 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7398 # Check whether --enable-ole was given.
7399 if test "${enable_ole+set}" = set; then :
7400 enableval=$enable_ole;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_ole='wxUSE_OLE=yes'
7403 else
7404 wx_cv_use_ole='wxUSE_OLE=no'
7405 fi
7406
7407 else
7408
7409 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7410
7411 fi
7412
7413
7414 eval "$wx_cv_use_ole"
7415
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_OLE = no; then
7418 result=yes
7419 else
7420 result=no
7421 fi
7422 else
7423 result=$wxUSE_OLE
7424 fi
7425
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7427 $as_echo "$result" >&6; }
7428
7429
7430 enablestring=
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7434 defaultval=yes
7435 else
7436 defaultval=no
7437 fi
7438 fi
7439
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7441 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7442 # Check whether --enable-dataobj was given.
7443 if test "${enable_dataobj+set}" = set; then :
7444 enableval=$enable_dataobj;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7447 else
7448 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7449 fi
7450
7451 else
7452
7453 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7454
7455 fi
7456
7457
7458 eval "$wx_cv_use_dataobj"
7459
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_DATAOBJ = no; then
7462 result=yes
7463 else
7464 result=no
7465 fi
7466 else
7467 result=$wxUSE_DATAOBJ
7468 fi
7469
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7471 $as_echo "$result" >&6; }
7472
7473
7474
7475 enablestring=
7476 defaultval=$wxUSE_ALL_FEATURES
7477 if test -z "$defaultval"; then
7478 if test x"$enablestring" = xdisable; then
7479 defaultval=yes
7480 else
7481 defaultval=no
7482 fi
7483 fi
7484
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7486 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7487 # Check whether --enable-ipc was given.
7488 if test "${enable_ipc+set}" = set; then :
7489 enableval=$enable_ipc;
7490 if test "$enableval" = yes; then
7491 wx_cv_use_ipc='wxUSE_IPC=yes'
7492 else
7493 wx_cv_use_ipc='wxUSE_IPC=no'
7494 fi
7495
7496 else
7497
7498 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7499
7500 fi
7501
7502
7503 eval "$wx_cv_use_ipc"
7504
7505 if test x"$enablestring" = xdisable; then
7506 if test $wxUSE_IPC = no; then
7507 result=yes
7508 else
7509 result=no
7510 fi
7511 else
7512 result=$wxUSE_IPC
7513 fi
7514
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7516 $as_echo "$result" >&6; }
7517
7518
7519
7520 enablestring=
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7524 defaultval=yes
7525 else
7526 defaultval=no
7527 fi
7528 fi
7529
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7531 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7532 # Check whether --enable-baseevtloop was given.
7533 if test "${enable_baseevtloop+set}" = set; then :
7534 enableval=$enable_baseevtloop;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7537 else
7538 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7539 fi
7540
7541 else
7542
7543 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7544
7545 fi
7546
7547
7548 eval "$wx_cv_use_baseevtloop"
7549
7550 if test x"$enablestring" = xdisable; then
7551 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7552 result=yes
7553 else
7554 result=no
7555 fi
7556 else
7557 result=$wxUSE_CONSOLE_EVENTLOOP
7558 fi
7559
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7561 $as_echo "$result" >&6; }
7562
7563
7564 enablestring=
7565 defaultval=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x"$enablestring" = xdisable; then
7568 defaultval=yes
7569 else
7570 defaultval=no
7571 fi
7572 fi
7573
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7575 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7576 # Check whether --enable-epollloop was given.
7577 if test "${enable_epollloop+set}" = set; then :
7578 enableval=$enable_epollloop;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7581 else
7582 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7583 fi
7584
7585 else
7586
7587 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7588
7589 fi
7590
7591
7592 eval "$wx_cv_use_epollloop"
7593
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_EPOLL_DISPATCHER = no; then
7596 result=yes
7597 else
7598 result=no
7599 fi
7600 else
7601 result=$wxUSE_EPOLL_DISPATCHER
7602 fi
7603
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7605 $as_echo "$result" >&6; }
7606
7607
7608 enablestring=
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7612 defaultval=yes
7613 else
7614 defaultval=no
7615 fi
7616 fi
7617
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7619 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7620 # Check whether --enable-selectloop was given.
7621 if test "${enable_selectloop+set}" = set; then :
7622 enableval=$enable_selectloop;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7625 else
7626 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7627 fi
7628
7629 else
7630
7631 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7632
7633 fi
7634
7635
7636 eval "$wx_cv_use_selectloop"
7637
7638 if test x"$enablestring" = xdisable; then
7639 if test $wxUSE_SELECT_DISPATCHER = no; then
7640 result=yes
7641 else
7642 result=no
7643 fi
7644 else
7645 result=$wxUSE_SELECT_DISPATCHER
7646 fi
7647
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7649 $as_echo "$result" >&6; }
7650
7651
7652
7653 enablestring=
7654 defaultval=$wxUSE_ALL_FEATURES
7655 if test -z "$defaultval"; then
7656 if test x"$enablestring" = xdisable; then
7657 defaultval=yes
7658 else
7659 defaultval=no
7660 fi
7661 fi
7662
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7664 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7665 # Check whether --enable-any was given.
7666 if test "${enable_any+set}" = set; then :
7667 enableval=$enable_any;
7668 if test "$enableval" = yes; then
7669 wx_cv_use_any='wxUSE_ANY=yes'
7670 else
7671 wx_cv_use_any='wxUSE_ANY=no'
7672 fi
7673
7674 else
7675
7676 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7677
7678 fi
7679
7680
7681 eval "$wx_cv_use_any"
7682
7683 if test x"$enablestring" = xdisable; then
7684 if test $wxUSE_ANY = no; then
7685 result=yes
7686 else
7687 result=no
7688 fi
7689 else
7690 result=$wxUSE_ANY
7691 fi
7692
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7694 $as_echo "$result" >&6; }
7695
7696
7697 enablestring=
7698 defaultval=$wxUSE_ALL_FEATURES
7699 if test -z "$defaultval"; then
7700 if test x"$enablestring" = xdisable; then
7701 defaultval=yes
7702 else
7703 defaultval=no
7704 fi
7705 fi
7706
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7708 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7709 # Check whether --enable-apple_ieee was given.
7710 if test "${enable_apple_ieee+set}" = set; then :
7711 enableval=$enable_apple_ieee;
7712 if test "$enableval" = yes; then
7713 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7714 else
7715 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7716 fi
7717
7718 else
7719
7720 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7721
7722 fi
7723
7724
7725 eval "$wx_cv_use_apple_ieee"
7726
7727 if test x"$enablestring" = xdisable; then
7728 if test $wxUSE_APPLE_IEEE = no; then
7729 result=yes
7730 else
7731 result=no
7732 fi
7733 else
7734 result=$wxUSE_APPLE_IEEE
7735 fi
7736
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7738 $as_echo "$result" >&6; }
7739
7740
7741 enablestring=
7742 defaultval=$wxUSE_ALL_FEATURES
7743 if test -z "$defaultval"; then
7744 if test x"$enablestring" = xdisable; then
7745 defaultval=yes
7746 else
7747 defaultval=no
7748 fi
7749 fi
7750
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7752 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7753 # Check whether --enable-arcstream was given.
7754 if test "${enable_arcstream+set}" = set; then :
7755 enableval=$enable_arcstream;
7756 if test "$enableval" = yes; then
7757 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7758 else
7759 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7760 fi
7761
7762 else
7763
7764 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7765
7766 fi
7767
7768
7769 eval "$wx_cv_use_arcstream"
7770
7771 if test x"$enablestring" = xdisable; then
7772 if test $wxUSE_ARCHIVE_STREAMS = no; then
7773 result=yes
7774 else
7775 result=no
7776 fi
7777 else
7778 result=$wxUSE_ARCHIVE_STREAMS
7779 fi
7780
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7782 $as_echo "$result" >&6; }
7783
7784
7785 enablestring=
7786 defaultval=$wxUSE_ALL_FEATURES
7787 if test -z "$defaultval"; then
7788 if test x"$enablestring" = xdisable; then
7789 defaultval=yes
7790 else
7791 defaultval=no
7792 fi
7793 fi
7794
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7796 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7797 # Check whether --enable-base64 was given.
7798 if test "${enable_base64+set}" = set; then :
7799 enableval=$enable_base64;
7800 if test "$enableval" = yes; then
7801 wx_cv_use_base64='wxUSE_BASE64=yes'
7802 else
7803 wx_cv_use_base64='wxUSE_BASE64=no'
7804 fi
7805
7806 else
7807
7808 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7809
7810 fi
7811
7812
7813 eval "$wx_cv_use_base64"
7814
7815 if test x"$enablestring" = xdisable; then
7816 if test $wxUSE_BASE64 = no; then
7817 result=yes
7818 else
7819 result=no
7820 fi
7821 else
7822 result=$wxUSE_BASE64
7823 fi
7824
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7826 $as_echo "$result" >&6; }
7827
7828
7829 enablestring=
7830 defaultval=$wxUSE_ALL_FEATURES
7831 if test -z "$defaultval"; then
7832 if test x"$enablestring" = xdisable; then
7833 defaultval=yes
7834 else
7835 defaultval=no
7836 fi
7837 fi
7838
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7840 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7841 # Check whether --enable-backtrace was given.
7842 if test "${enable_backtrace+set}" = set; then :
7843 enableval=$enable_backtrace;
7844 if test "$enableval" = yes; then
7845 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7846 else
7847 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7848 fi
7849
7850 else
7851
7852 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7853
7854 fi
7855
7856
7857 eval "$wx_cv_use_backtrace"
7858
7859 if test x"$enablestring" = xdisable; then
7860 if test $wxUSE_STACKWALKER = no; then
7861 result=yes
7862 else
7863 result=no
7864 fi
7865 else
7866 result=$wxUSE_STACKWALKER
7867 fi
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7870 $as_echo "$result" >&6; }
7871
7872
7873 enablestring=
7874 defaultval=$wxUSE_ALL_FEATURES
7875 if test -z "$defaultval"; then
7876 if test x"$enablestring" = xdisable; then
7877 defaultval=yes
7878 else
7879 defaultval=no
7880 fi
7881 fi
7882
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7884 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7885 # Check whether --enable-catch_segvs was given.
7886 if test "${enable_catch_segvs+set}" = set; then :
7887 enableval=$enable_catch_segvs;
7888 if test "$enableval" = yes; then
7889 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7890 else
7891 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7892 fi
7893
7894 else
7895
7896 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7897
7898 fi
7899
7900
7901 eval "$wx_cv_use_catch_segvs"
7902
7903 if test x"$enablestring" = xdisable; then
7904 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7905 result=yes
7906 else
7907 result=no
7908 fi
7909 else
7910 result=$wxUSE_ON_FATAL_EXCEPTION
7911 fi
7912
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7914 $as_echo "$result" >&6; }
7915
7916
7917 enablestring=
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7921 defaultval=yes
7922 else
7923 defaultval=no
7924 fi
7925 fi
7926
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7928 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7929 # Check whether --enable-cmdline was given.
7930 if test "${enable_cmdline+set}" = set; then :
7931 enableval=$enable_cmdline;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7934 else
7935 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7936 fi
7937
7938 else
7939
7940 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7941
7942 fi
7943
7944
7945 eval "$wx_cv_use_cmdline"
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_CMDLINE_PARSER = no; then
7949 result=yes
7950 else
7951 result=no
7952 fi
7953 else
7954 result=$wxUSE_CMDLINE_PARSER
7955 fi
7956
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7958 $as_echo "$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7972 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7973 # Check whether --enable-datetime was given.
7974 if test "${enable_datetime+set}" = set; then :
7975 enableval=$enable_datetime;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7978 else
7979 wx_cv_use_datetime='wxUSE_DATETIME=no'
7980 fi
7981
7982 else
7983
7984 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7985
7986 fi
7987
7988
7989 eval "$wx_cv_use_datetime"
7990
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_DATETIME = no; then
7993 result=yes
7994 else
7995 result=no
7996 fi
7997 else
7998 result=$wxUSE_DATETIME
7999 fi
8000
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8002 $as_echo "$result" >&6; }
8003
8004
8005 enablestring=
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8009 defaultval=yes
8010 else
8011 defaultval=no
8012 fi
8013 fi
8014
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8016 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8017 # Check whether --enable-debugreport was given.
8018 if test "${enable_debugreport+set}" = set; then :
8019 enableval=$enable_debugreport;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8022 else
8023 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8024 fi
8025
8026 else
8027
8028 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8029
8030 fi
8031
8032
8033 eval "$wx_cv_use_debugreport"
8034
8035 if test x"$enablestring" = xdisable; then
8036 if test $wxUSE_DEBUGREPORT = no; then
8037 result=yes
8038 else
8039 result=no
8040 fi
8041 else
8042 result=$wxUSE_DEBUGREPORT
8043 fi
8044
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8046 $as_echo "$result" >&6; }
8047
8048
8049 enablestring=
8050 defaultval=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x"$enablestring" = xdisable; then
8053 defaultval=yes
8054 else
8055 defaultval=no
8056 fi
8057 fi
8058
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8060 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8061 # Check whether --enable-dialupman was given.
8062 if test "${enable_dialupman+set}" = set; then :
8063 enableval=$enable_dialupman;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8066 else
8067 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8068 fi
8069
8070 else
8071
8072 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8073
8074 fi
8075
8076
8077 eval "$wx_cv_use_dialupman"
8078
8079 if test x"$enablestring" = xdisable; then
8080 if test $wxUSE_DIALUP_MANAGER = no; then
8081 result=yes
8082 else
8083 result=no
8084 fi
8085 else
8086 result=$wxUSE_DIALUP_MANAGER
8087 fi
8088
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8090 $as_echo "$result" >&6; }
8091
8092
8093 enablestring=
8094 defaultval=$wxUSE_ALL_FEATURES
8095 if test -z "$defaultval"; then
8096 if test x"$enablestring" = xdisable; then
8097 defaultval=yes
8098 else
8099 defaultval=no
8100 fi
8101 fi
8102
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8104 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8105 # Check whether --enable-dynlib was given.
8106 if test "${enable_dynlib+set}" = set; then :
8107 enableval=$enable_dynlib;
8108 if test "$enableval" = yes; then
8109 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8110 else
8111 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8112 fi
8113
8114 else
8115
8116 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8117
8118 fi
8119
8120
8121 eval "$wx_cv_use_dynlib"
8122
8123 if test x"$enablestring" = xdisable; then
8124 if test $wxUSE_DYNLIB_CLASS = no; then
8125 result=yes
8126 else
8127 result=no
8128 fi
8129 else
8130 result=$wxUSE_DYNLIB_CLASS
8131 fi
8132
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8134 $as_echo "$result" >&6; }
8135
8136
8137 enablestring=
8138 defaultval=$wxUSE_ALL_FEATURES
8139 if test -z "$defaultval"; then
8140 if test x"$enablestring" = xdisable; then
8141 defaultval=yes
8142 else
8143 defaultval=no
8144 fi
8145 fi
8146
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8148 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8149 # Check whether --enable-dynamicloader was given.
8150 if test "${enable_dynamicloader+set}" = set; then :
8151 enableval=$enable_dynamicloader;
8152 if test "$enableval" = yes; then
8153 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8154 else
8155 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8156 fi
8157
8158 else
8159
8160 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8161
8162 fi
8163
8164
8165 eval "$wx_cv_use_dynamicloader"
8166
8167 if test x"$enablestring" = xdisable; then
8168 if test $wxUSE_DYNAMIC_LOADER = no; then
8169 result=yes
8170 else
8171 result=no
8172 fi
8173 else
8174 result=$wxUSE_DYNAMIC_LOADER
8175 fi
8176
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8178 $as_echo "$result" >&6; }
8179
8180
8181 enablestring=
8182 defaultval=$wxUSE_ALL_FEATURES
8183 if test -z "$defaultval"; then
8184 if test x"$enablestring" = xdisable; then
8185 defaultval=yes
8186 else
8187 defaultval=no
8188 fi
8189 fi
8190
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8192 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8193 # Check whether --enable-exceptions was given.
8194 if test "${enable_exceptions+set}" = set; then :
8195 enableval=$enable_exceptions;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8198 else
8199 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8200 fi
8201
8202 else
8203
8204 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8205
8206 fi
8207
8208
8209 eval "$wx_cv_use_exceptions"
8210
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_EXCEPTIONS = no; then
8213 result=yes
8214 else
8215 result=no
8216 fi
8217 else
8218 result=$wxUSE_EXCEPTIONS
8219 fi
8220
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8222 $as_echo "$result" >&6; }
8223
8224
8225 enablestring=
8226 defaultval=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x"$enablestring" = xdisable; then
8229 defaultval=yes
8230 else
8231 defaultval=no
8232 fi
8233 fi
8234
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8236 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8237 # Check whether --enable-ffile was given.
8238 if test "${enable_ffile+set}" = set; then :
8239 enableval=$enable_ffile;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_ffile='wxUSE_FFILE=yes'
8242 else
8243 wx_cv_use_ffile='wxUSE_FFILE=no'
8244 fi
8245
8246 else
8247
8248 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8249
8250 fi
8251
8252
8253 eval "$wx_cv_use_ffile"
8254
8255 if test x"$enablestring" = xdisable; then
8256 if test $wxUSE_FFILE = no; then
8257 result=yes
8258 else
8259 result=no
8260 fi
8261 else
8262 result=$wxUSE_FFILE
8263 fi
8264
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8266 $as_echo "$result" >&6; }
8267
8268
8269 enablestring=
8270 defaultval=$wxUSE_ALL_FEATURES
8271 if test -z "$defaultval"; then
8272 if test x"$enablestring" = xdisable; then
8273 defaultval=yes
8274 else
8275 defaultval=no
8276 fi
8277 fi
8278
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8280 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8281 # Check whether --enable-file was given.
8282 if test "${enable_file+set}" = set; then :
8283 enableval=$enable_file;
8284 if test "$enableval" = yes; then
8285 wx_cv_use_file='wxUSE_FILE=yes'
8286 else
8287 wx_cv_use_file='wxUSE_FILE=no'
8288 fi
8289
8290 else
8291
8292 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8293
8294 fi
8295
8296
8297 eval "$wx_cv_use_file"
8298
8299 if test x"$enablestring" = xdisable; then
8300 if test $wxUSE_FILE = no; then
8301 result=yes
8302 else
8303 result=no
8304 fi
8305 else
8306 result=$wxUSE_FILE
8307 fi
8308
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8310 $as_echo "$result" >&6; }
8311
8312
8313 enablestring=
8314 defaultval=$wxUSE_ALL_FEATURES
8315 if test -z "$defaultval"; then
8316 if test x"$enablestring" = xdisable; then
8317 defaultval=yes
8318 else
8319 defaultval=no
8320 fi
8321 fi
8322
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8324 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8325 # Check whether --enable-filehistory was given.
8326 if test "${enable_filehistory+set}" = set; then :
8327 enableval=$enable_filehistory;
8328 if test "$enableval" = yes; then
8329 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8330 else
8331 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8332 fi
8333
8334 else
8335
8336 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8337
8338 fi
8339
8340
8341 eval "$wx_cv_use_filehistory"
8342
8343 if test x"$enablestring" = xdisable; then
8344 if test $wxUSE_FILE_HISTORY = no; then
8345 result=yes
8346 else
8347 result=no
8348 fi
8349 else
8350 result=$wxUSE_FILE_HISTORY
8351 fi
8352
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8354 $as_echo "$result" >&6; }
8355
8356
8357 enablestring=
8358 defaultval=$wxUSE_ALL_FEATURES
8359 if test -z "$defaultval"; then
8360 if test x"$enablestring" = xdisable; then
8361 defaultval=yes
8362 else
8363 defaultval=no
8364 fi
8365 fi
8366
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8368 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8369 # Check whether --enable-filesystem was given.
8370 if test "${enable_filesystem+set}" = set; then :
8371 enableval=$enable_filesystem;
8372 if test "$enableval" = yes; then
8373 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8374 else
8375 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8376 fi
8377
8378 else
8379
8380 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8381
8382 fi
8383
8384
8385 eval "$wx_cv_use_filesystem"
8386
8387 if test x"$enablestring" = xdisable; then
8388 if test $wxUSE_FILESYSTEM = no; then
8389 result=yes
8390 else
8391 result=no
8392 fi
8393 else
8394 result=$wxUSE_FILESYSTEM
8395 fi
8396
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8398 $as_echo "$result" >&6; }
8399
8400
8401 enablestring=
8402 defaultval=$wxUSE_ALL_FEATURES
8403 if test -z "$defaultval"; then
8404 if test x"$enablestring" = xdisable; then
8405 defaultval=yes
8406 else
8407 defaultval=no
8408 fi
8409 fi
8410
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8412 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8413 # Check whether --enable-fontenum was given.
8414 if test "${enable_fontenum+set}" = set; then :
8415 enableval=$enable_fontenum;
8416 if test "$enableval" = yes; then
8417 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8418 else
8419 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8420 fi
8421
8422 else
8423
8424 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8425
8426 fi
8427
8428
8429 eval "$wx_cv_use_fontenum"
8430
8431 if test x"$enablestring" = xdisable; then
8432 if test $wxUSE_FONTENUM = no; then
8433 result=yes
8434 else
8435 result=no
8436 fi
8437 else
8438 result=$wxUSE_FONTENUM
8439 fi
8440
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8442 $as_echo "$result" >&6; }
8443
8444
8445 enablestring=
8446 defaultval=$wxUSE_ALL_FEATURES
8447 if test -z "$defaultval"; then
8448 if test x"$enablestring" = xdisable; then
8449 defaultval=yes
8450 else
8451 defaultval=no
8452 fi
8453 fi
8454
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8456 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8457 # Check whether --enable-fontmap was given.
8458 if test "${enable_fontmap+set}" = set; then :
8459 enableval=$enable_fontmap;
8460 if test "$enableval" = yes; then
8461 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8462 else
8463 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8464 fi
8465
8466 else
8467
8468 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8469
8470 fi
8471
8472
8473 eval "$wx_cv_use_fontmap"
8474
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_FONTMAP = no; then
8477 result=yes
8478 else
8479 result=no
8480 fi
8481 else
8482 result=$wxUSE_FONTMAP
8483 fi
8484
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8486 $as_echo "$result" >&6; }
8487
8488
8489 enablestring=
8490 defaultval=$wxUSE_ALL_FEATURES
8491 if test -z "$defaultval"; then
8492 if test x"$enablestring" = xdisable; then
8493 defaultval=yes
8494 else
8495 defaultval=no
8496 fi
8497 fi
8498
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8500 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8501 # Check whether --enable-fs_archive was given.
8502 if test "${enable_fs_archive+set}" = set; then :
8503 enableval=$enable_fs_archive;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8506 else
8507 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8508 fi
8509
8510 else
8511
8512 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8513
8514 fi
8515
8516
8517 eval "$wx_cv_use_fs_archive"
8518
8519 if test x"$enablestring" = xdisable; then
8520 if test $wxUSE_FS_ARCHIVE = no; then
8521 result=yes
8522 else
8523 result=no
8524 fi
8525 else
8526 result=$wxUSE_FS_ARCHIVE
8527 fi
8528
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8530 $as_echo "$result" >&6; }
8531
8532
8533 enablestring=
8534 defaultval=$wxUSE_ALL_FEATURES
8535 if test -z "$defaultval"; then
8536 if test x"$enablestring" = xdisable; then
8537 defaultval=yes
8538 else
8539 defaultval=no
8540 fi
8541 fi
8542
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8544 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8545 # Check whether --enable-fs_inet was given.
8546 if test "${enable_fs_inet+set}" = set; then :
8547 enableval=$enable_fs_inet;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8550 else
8551 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8552 fi
8553
8554 else
8555
8556 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8557
8558 fi
8559
8560
8561 eval "$wx_cv_use_fs_inet"
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_FS_INET = no; then
8565 result=yes
8566 else
8567 result=no
8568 fi
8569 else
8570 result=$wxUSE_FS_INET
8571 fi
8572
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8574 $as_echo "$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8588 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8589 # Check whether --enable-fs_zip was given.
8590 if test "${enable_fs_zip+set}" = set; then :
8591 enableval=$enable_fs_zip;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8594 else
8595 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8596 fi
8597
8598 else
8599
8600 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8601
8602 fi
8603
8604
8605 eval "$wx_cv_use_fs_zip"
8606
8607 if test x"$enablestring" = xdisable; then
8608 if test $wxUSE_FS_ZIP = no; then
8609 result=yes
8610 else
8611 result=no
8612 fi
8613 else
8614 result=$wxUSE_FS_ZIP
8615 fi
8616
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8618 $as_echo "$result" >&6; }
8619
8620
8621 enablestring=
8622 defaultval=$wxUSE_ALL_FEATURES
8623 if test -z "$defaultval"; then
8624 if test x"$enablestring" = xdisable; then
8625 defaultval=yes
8626 else
8627 defaultval=no
8628 fi
8629 fi
8630
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8632 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8633 # Check whether --enable-fswatcher was given.
8634 if test "${enable_fswatcher+set}" = set; then :
8635 enableval=$enable_fswatcher;
8636 if test "$enableval" = yes; then
8637 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8638 else
8639 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8640 fi
8641
8642 else
8643
8644 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8645
8646 fi
8647
8648
8649 eval "$wx_cv_use_fswatcher"
8650
8651 if test x"$enablestring" = xdisable; then
8652 if test $wxUSE_FSWATCHER = no; then
8653 result=yes
8654 else
8655 result=no
8656 fi
8657 else
8658 result=$wxUSE_FSWATCHER
8659 fi
8660
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8662 $as_echo "$result" >&6; }
8663
8664
8665 enablestring=
8666 defaultval=$wxUSE_ALL_FEATURES
8667 if test -z "$defaultval"; then
8668 if test x"$enablestring" = xdisable; then
8669 defaultval=yes
8670 else
8671 defaultval=no
8672 fi
8673 fi
8674
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8676 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8677 # Check whether --enable-geometry was given.
8678 if test "${enable_geometry+set}" = set; then :
8679 enableval=$enable_geometry;
8680 if test "$enableval" = yes; then
8681 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8682 else
8683 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8684 fi
8685
8686 else
8687
8688 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8689
8690 fi
8691
8692
8693 eval "$wx_cv_use_geometry"
8694
8695 if test x"$enablestring" = xdisable; then
8696 if test $wxUSE_GEOMETRY = no; then
8697 result=yes
8698 else
8699 result=no
8700 fi
8701 else
8702 result=$wxUSE_GEOMETRY
8703 fi
8704
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8706 $as_echo "$result" >&6; }
8707
8708
8709 enablestring=
8710 defaultval=$wxUSE_ALL_FEATURES
8711 if test -z "$defaultval"; then
8712 if test x"$enablestring" = xdisable; then
8713 defaultval=yes
8714 else
8715 defaultval=no
8716 fi
8717 fi
8718
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8720 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8721 # Check whether --enable-log was given.
8722 if test "${enable_log+set}" = set; then :
8723 enableval=$enable_log;
8724 if test "$enableval" = yes; then
8725 wx_cv_use_log='wxUSE_LOG=yes'
8726 else
8727 wx_cv_use_log='wxUSE_LOG=no'
8728 fi
8729
8730 else
8731
8732 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8733
8734 fi
8735
8736
8737 eval "$wx_cv_use_log"
8738
8739 if test x"$enablestring" = xdisable; then
8740 if test $wxUSE_LOG = no; then
8741 result=yes
8742 else
8743 result=no
8744 fi
8745 else
8746 result=$wxUSE_LOG
8747 fi
8748
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8750 $as_echo "$result" >&6; }
8751
8752
8753 enablestring=
8754 defaultval=$wxUSE_ALL_FEATURES
8755 if test -z "$defaultval"; then
8756 if test x"$enablestring" = xdisable; then
8757 defaultval=yes
8758 else
8759 defaultval=no
8760 fi
8761 fi
8762
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8764 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8765 # Check whether --enable-longlong was given.
8766 if test "${enable_longlong+set}" = set; then :
8767 enableval=$enable_longlong;
8768 if test "$enableval" = yes; then
8769 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8770 else
8771 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8772 fi
8773
8774 else
8775
8776 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8777
8778 fi
8779
8780
8781 eval "$wx_cv_use_longlong"
8782
8783 if test x"$enablestring" = xdisable; then
8784 if test $wxUSE_LONGLONG = no; then
8785 result=yes
8786 else
8787 result=no
8788 fi
8789 else
8790 result=$wxUSE_LONGLONG
8791 fi
8792
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8794 $as_echo "$result" >&6; }
8795
8796
8797 enablestring=
8798 defaultval=$wxUSE_ALL_FEATURES
8799 if test -z "$defaultval"; then
8800 if test x"$enablestring" = xdisable; then
8801 defaultval=yes
8802 else
8803 defaultval=no
8804 fi
8805 fi
8806
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8808 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8809 # Check whether --enable-mimetype was given.
8810 if test "${enable_mimetype+set}" = set; then :
8811 enableval=$enable_mimetype;
8812 if test "$enableval" = yes; then
8813 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8814 else
8815 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8816 fi
8817
8818 else
8819
8820 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8821
8822 fi
8823
8824
8825 eval "$wx_cv_use_mimetype"
8826
8827 if test x"$enablestring" = xdisable; then
8828 if test $wxUSE_MIMETYPE = no; then
8829 result=yes
8830 else
8831 result=no
8832 fi
8833 else
8834 result=$wxUSE_MIMETYPE
8835 fi
8836
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8838 $as_echo "$result" >&6; }
8839
8840
8841 enablestring=
8842 defaultval=$wxUSE_ALL_FEATURES
8843 if test -z "$defaultval"; then
8844 if test x"$enablestring" = xdisable; then
8845 defaultval=yes
8846 else
8847 defaultval=no
8848 fi
8849 fi
8850
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8852 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8853 # Check whether --enable-printfposparam was given.
8854 if test "${enable_printfposparam+set}" = set; then :
8855 enableval=$enable_printfposparam;
8856 if test "$enableval" = yes; then
8857 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8858 else
8859 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8860 fi
8861
8862 else
8863
8864 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8865
8866 fi
8867
8868
8869 eval "$wx_cv_use_printfposparam"
8870
8871 if test x"$enablestring" = xdisable; then
8872 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8873 result=yes
8874 else
8875 result=no
8876 fi
8877 else
8878 result=$wxUSE_PRINTF_POS_PARAMS
8879 fi
8880
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8882 $as_echo "$result" >&6; }
8883
8884
8885 enablestring=
8886 defaultval=$wxUSE_ALL_FEATURES
8887 if test -z "$defaultval"; then
8888 if test x"$enablestring" = xdisable; then
8889 defaultval=yes
8890 else
8891 defaultval=no
8892 fi
8893 fi
8894
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8896 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8897 # Check whether --enable-snglinst was given.
8898 if test "${enable_snglinst+set}" = set; then :
8899 enableval=$enable_snglinst;
8900 if test "$enableval" = yes; then
8901 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8902 else
8903 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8904 fi
8905
8906 else
8907
8908 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8909
8910 fi
8911
8912
8913 eval "$wx_cv_use_snglinst"
8914
8915 if test x"$enablestring" = xdisable; then
8916 if test $wxUSE_SNGLINST_CHECKER = no; then
8917 result=yes
8918 else
8919 result=no
8920 fi
8921 else
8922 result=$wxUSE_SNGLINST_CHECKER
8923 fi
8924
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8926 $as_echo "$result" >&6; }
8927
8928
8929 enablestring=
8930 defaultval=$wxUSE_ALL_FEATURES
8931 if test -z "$defaultval"; then
8932 if test x"$enablestring" = xdisable; then
8933 defaultval=yes
8934 else
8935 defaultval=no
8936 fi
8937 fi
8938
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8940 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8941 # Check whether --enable-sound was given.
8942 if test "${enable_sound+set}" = set; then :
8943 enableval=$enable_sound;
8944 if test "$enableval" = yes; then
8945 wx_cv_use_sound='wxUSE_SOUND=yes'
8946 else
8947 wx_cv_use_sound='wxUSE_SOUND=no'
8948 fi
8949
8950 else
8951
8952 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8953
8954 fi
8955
8956
8957 eval "$wx_cv_use_sound"
8958
8959 if test x"$enablestring" = xdisable; then
8960 if test $wxUSE_SOUND = no; then
8961 result=yes
8962 else
8963 result=no
8964 fi
8965 else
8966 result=$wxUSE_SOUND
8967 fi
8968
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8970 $as_echo "$result" >&6; }
8971
8972
8973 enablestring=
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8977 defaultval=yes
8978 else
8979 defaultval=no
8980 fi
8981 fi
8982
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8984 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8985 # Check whether --enable-stdpaths was given.
8986 if test "${enable_stdpaths+set}" = set; then :
8987 enableval=$enable_stdpaths;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8990 else
8991 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8992 fi
8993
8994 else
8995
8996 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8997
8998 fi
8999
9000
9001 eval "$wx_cv_use_stdpaths"
9002
9003 if test x"$enablestring" = xdisable; then
9004 if test $wxUSE_STDPATHS = no; then
9005 result=yes
9006 else
9007 result=no
9008 fi
9009 else
9010 result=$wxUSE_STDPATHS
9011 fi
9012
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9014 $as_echo "$result" >&6; }
9015
9016
9017 enablestring=
9018 defaultval=$wxUSE_ALL_FEATURES
9019 if test -z "$defaultval"; then
9020 if test x"$enablestring" = xdisable; then
9021 defaultval=yes
9022 else
9023 defaultval=no
9024 fi
9025 fi
9026
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9028 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9029 # Check whether --enable-stopwatch was given.
9030 if test "${enable_stopwatch+set}" = set; then :
9031 enableval=$enable_stopwatch;
9032 if test "$enableval" = yes; then
9033 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9034 else
9035 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9036 fi
9037
9038 else
9039
9040 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9041
9042 fi
9043
9044
9045 eval "$wx_cv_use_stopwatch"
9046
9047 if test x"$enablestring" = xdisable; then
9048 if test $wxUSE_STOPWATCH = no; then
9049 result=yes
9050 else
9051 result=no
9052 fi
9053 else
9054 result=$wxUSE_STOPWATCH
9055 fi
9056
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9058 $as_echo "$result" >&6; }
9059
9060
9061 enablestring=
9062 defaultval=$wxUSE_ALL_FEATURES
9063 if test -z "$defaultval"; then
9064 if test x"$enablestring" = xdisable; then
9065 defaultval=yes
9066 else
9067 defaultval=no
9068 fi
9069 fi
9070
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9072 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9073 # Check whether --enable-streams was given.
9074 if test "${enable_streams+set}" = set; then :
9075 enableval=$enable_streams;
9076 if test "$enableval" = yes; then
9077 wx_cv_use_streams='wxUSE_STREAMS=yes'
9078 else
9079 wx_cv_use_streams='wxUSE_STREAMS=no'
9080 fi
9081
9082 else
9083
9084 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9085
9086 fi
9087
9088
9089 eval "$wx_cv_use_streams"
9090
9091 if test x"$enablestring" = xdisable; then
9092 if test $wxUSE_STREAMS = no; then
9093 result=yes
9094 else
9095 result=no
9096 fi
9097 else
9098 result=$wxUSE_STREAMS
9099 fi
9100
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9102 $as_echo "$result" >&6; }
9103
9104
9105 enablestring=
9106 defaultval=$wxUSE_ALL_FEATURES
9107 if test -z "$defaultval"; then
9108 if test x"$enablestring" = xdisable; then
9109 defaultval=yes
9110 else
9111 defaultval=no
9112 fi
9113 fi
9114
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9116 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9117 # Check whether --enable-sysoptions was given.
9118 if test "${enable_sysoptions+set}" = set; then :
9119 enableval=$enable_sysoptions;
9120 if test "$enableval" = yes; then
9121 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9122 else
9123 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9124 fi
9125
9126 else
9127
9128 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9129
9130 fi
9131
9132
9133 eval "$wx_cv_use_sysoptions"
9134
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_SYSTEM_OPTIONS = no; then
9137 result=yes
9138 else
9139 result=no
9140 fi
9141 else
9142 result=$wxUSE_SYSTEM_OPTIONS
9143 fi
9144
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9146 $as_echo "$result" >&6; }
9147
9148
9149 enablestring=
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9153 defaultval=yes
9154 else
9155 defaultval=no
9156 fi
9157 fi
9158
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9160 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9161 # Check whether --enable-tarstream was given.
9162 if test "${enable_tarstream+set}" = set; then :
9163 enableval=$enable_tarstream;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9166 else
9167 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9168 fi
9169
9170 else
9171
9172 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9173
9174 fi
9175
9176
9177 eval "$wx_cv_use_tarstream"
9178
9179 if test x"$enablestring" = xdisable; then
9180 if test $wxUSE_TARSTREAM = no; then
9181 result=yes
9182 else
9183 result=no
9184 fi
9185 else
9186 result=$wxUSE_TARSTREAM
9187 fi
9188
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9190 $as_echo "$result" >&6; }
9191
9192
9193 enablestring=
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9197 defaultval=yes
9198 else
9199 defaultval=no
9200 fi
9201 fi
9202
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9204 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9205 # Check whether --enable-textbuf was given.
9206 if test "${enable_textbuf+set}" = set; then :
9207 enableval=$enable_textbuf;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9210 else
9211 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9212 fi
9213
9214 else
9215
9216 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_textbuf"
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_TEXTBUFFER = no; then
9225 result=yes
9226 else
9227 result=no
9228 fi
9229 else
9230 result=$wxUSE_TEXTBUFFER
9231 fi
9232
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9234 $as_echo "$result" >&6; }
9235
9236
9237 enablestring=
9238 defaultval=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x"$enablestring" = xdisable; then
9241 defaultval=yes
9242 else
9243 defaultval=no
9244 fi
9245 fi
9246
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9248 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9249 # Check whether --enable-textfile was given.
9250 if test "${enable_textfile+set}" = set; then :
9251 enableval=$enable_textfile;
9252 if test "$enableval" = yes; then
9253 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9254 else
9255 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9256 fi
9257
9258 else
9259
9260 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9261
9262 fi
9263
9264
9265 eval "$wx_cv_use_textfile"
9266
9267 if test x"$enablestring" = xdisable; then
9268 if test $wxUSE_TEXTFILE = no; then
9269 result=yes
9270 else
9271 result=no
9272 fi
9273 else
9274 result=$wxUSE_TEXTFILE
9275 fi
9276
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9278 $as_echo "$result" >&6; }
9279
9280
9281 enablestring=
9282 defaultval=$wxUSE_ALL_FEATURES
9283 if test -z "$defaultval"; then
9284 if test x"$enablestring" = xdisable; then
9285 defaultval=yes
9286 else
9287 defaultval=no
9288 fi
9289 fi
9290
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9292 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9293 # Check whether --enable-timer was given.
9294 if test "${enable_timer+set}" = set; then :
9295 enableval=$enable_timer;
9296 if test "$enableval" = yes; then
9297 wx_cv_use_timer='wxUSE_TIMER=yes'
9298 else
9299 wx_cv_use_timer='wxUSE_TIMER=no'
9300 fi
9301
9302 else
9303
9304 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9305
9306 fi
9307
9308
9309 eval "$wx_cv_use_timer"
9310
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_TIMER = no; then
9313 result=yes
9314 else
9315 result=no
9316 fi
9317 else
9318 result=$wxUSE_TIMER
9319 fi
9320
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9322 $as_echo "$result" >&6; }
9323
9324
9325 enablestring=
9326 defaultval=$wxUSE_ALL_FEATURES
9327 if test -z "$defaultval"; then
9328 if test x"$enablestring" = xdisable; then
9329 defaultval=yes
9330 else
9331 defaultval=no
9332 fi
9333 fi
9334
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9336 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9337 # Check whether --enable-variant was given.
9338 if test "${enable_variant+set}" = set; then :
9339 enableval=$enable_variant;
9340 if test "$enableval" = yes; then
9341 wx_cv_use_variant='wxUSE_VARIANT=yes'
9342 else
9343 wx_cv_use_variant='wxUSE_VARIANT=no'
9344 fi
9345
9346 else
9347
9348 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9349
9350 fi
9351
9352
9353 eval "$wx_cv_use_variant"
9354
9355 if test x"$enablestring" = xdisable; then
9356 if test $wxUSE_VARIANT = no; then
9357 result=yes
9358 else
9359 result=no
9360 fi
9361 else
9362 result=$wxUSE_VARIANT
9363 fi
9364
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9366 $as_echo "$result" >&6; }
9367
9368
9369 enablestring=
9370 defaultval=$wxUSE_ALL_FEATURES
9371 if test -z "$defaultval"; then
9372 if test x"$enablestring" = xdisable; then
9373 defaultval=yes
9374 else
9375 defaultval=no
9376 fi
9377 fi
9378
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9380 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9381 # Check whether --enable-zipstream was given.
9382 if test "${enable_zipstream+set}" = set; then :
9383 enableval=$enable_zipstream;
9384 if test "$enableval" = yes; then
9385 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9386 else
9387 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9388 fi
9389
9390 else
9391
9392 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9393
9394 fi
9395
9396
9397 eval "$wx_cv_use_zipstream"
9398
9399 if test x"$enablestring" = xdisable; then
9400 if test $wxUSE_ZIPSTREAM = no; then
9401 result=yes
9402 else
9403 result=no
9404 fi
9405 else
9406 result=$wxUSE_ZIPSTREAM
9407 fi
9408
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9410 $as_echo "$result" >&6; }
9411
9412
9413
9414 enablestring=
9415 defaultval=$wxUSE_ALL_FEATURES
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9418 defaultval=yes
9419 else
9420 defaultval=no
9421 fi
9422 fi
9423
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9425 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9426 # Check whether --enable-url was given.
9427 if test "${enable_url+set}" = set; then :
9428 enableval=$enable_url;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_url='wxUSE_URL=yes'
9431 else
9432 wx_cv_use_url='wxUSE_URL=no'
9433 fi
9434
9435 else
9436
9437 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9438
9439 fi
9440
9441
9442 eval "$wx_cv_use_url"
9443
9444 if test x"$enablestring" = xdisable; then
9445 if test $wxUSE_URL = no; then
9446 result=yes
9447 else
9448 result=no
9449 fi
9450 else
9451 result=$wxUSE_URL
9452 fi
9453
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9455 $as_echo "$result" >&6; }
9456
9457
9458 enablestring=
9459 defaultval=$wxUSE_ALL_FEATURES
9460 if test -z "$defaultval"; then
9461 if test x"$enablestring" = xdisable; then
9462 defaultval=yes
9463 else
9464 defaultval=no
9465 fi
9466 fi
9467
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9469 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9470 # Check whether --enable-protocol was given.
9471 if test "${enable_protocol+set}" = set; then :
9472 enableval=$enable_protocol;
9473 if test "$enableval" = yes; then
9474 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9475 else
9476 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9477 fi
9478
9479 else
9480
9481 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9482
9483 fi
9484
9485
9486 eval "$wx_cv_use_protocol"
9487
9488 if test x"$enablestring" = xdisable; then
9489 if test $wxUSE_PROTOCOL = no; then
9490 result=yes
9491 else
9492 result=no
9493 fi
9494 else
9495 result=$wxUSE_PROTOCOL
9496 fi
9497
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9499 $as_echo "$result" >&6; }
9500
9501
9502 enablestring=
9503 defaultval=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9506 defaultval=yes
9507 else
9508 defaultval=no
9509 fi
9510 fi
9511
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9513 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9514 # Check whether --enable-protocol_http was given.
9515 if test "${enable_protocol_http+set}" = set; then :
9516 enableval=$enable_protocol_http;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9519 else
9520 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9521 fi
9522
9523 else
9524
9525 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9526
9527 fi
9528
9529
9530 eval "$wx_cv_use_protocol_http"
9531
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_PROTOCOL_HTTP = no; then
9534 result=yes
9535 else
9536 result=no
9537 fi
9538 else
9539 result=$wxUSE_PROTOCOL_HTTP
9540 fi
9541
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9543 $as_echo "$result" >&6; }
9544
9545
9546 enablestring=
9547 defaultval=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x"$enablestring" = xdisable; then
9550 defaultval=yes
9551 else
9552 defaultval=no
9553 fi
9554 fi
9555
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9557 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9558 # Check whether --enable-protocol_ftp was given.
9559 if test "${enable_protocol_ftp+set}" = set; then :
9560 enableval=$enable_protocol_ftp;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9563 else
9564 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9565 fi
9566
9567 else
9568
9569 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9570
9571 fi
9572
9573
9574 eval "$wx_cv_use_protocol_ftp"
9575
9576 if test x"$enablestring" = xdisable; then
9577 if test $wxUSE_PROTOCOL_FTP = no; then
9578 result=yes
9579 else
9580 result=no
9581 fi
9582 else
9583 result=$wxUSE_PROTOCOL_FTP
9584 fi
9585
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9587 $as_echo "$result" >&6; }
9588
9589
9590 enablestring=
9591 defaultval=$wxUSE_ALL_FEATURES
9592 if test -z "$defaultval"; then
9593 if test x"$enablestring" = xdisable; then
9594 defaultval=yes
9595 else
9596 defaultval=no
9597 fi
9598 fi
9599
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9601 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9602 # Check whether --enable-protocol_file was given.
9603 if test "${enable_protocol_file+set}" = set; then :
9604 enableval=$enable_protocol_file;
9605 if test "$enableval" = yes; then
9606 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9607 else
9608 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9609 fi
9610
9611 else
9612
9613 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9614
9615 fi
9616
9617
9618 eval "$wx_cv_use_protocol_file"
9619
9620 if test x"$enablestring" = xdisable; then
9621 if test $wxUSE_PROTOCOL_FILE = no; then
9622 result=yes
9623 else
9624 result=no
9625 fi
9626 else
9627 result=$wxUSE_PROTOCOL_FILE
9628 fi
9629
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9631 $as_echo "$result" >&6; }
9632
9633
9634
9635 enablestring=
9636 defaultval=$wxUSE_ALL_FEATURES
9637 if test -z "$defaultval"; then
9638 if test x"$enablestring" = xdisable; then
9639 defaultval=yes
9640 else
9641 defaultval=no
9642 fi
9643 fi
9644
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9646 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9647 # Check whether --enable-threads was given.
9648 if test "${enable_threads+set}" = set; then :
9649 enableval=$enable_threads;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_threads='wxUSE_THREADS=yes'
9652 else
9653 wx_cv_use_threads='wxUSE_THREADS=no'
9654 fi
9655
9656 else
9657
9658 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9659
9660 fi
9661
9662
9663 eval "$wx_cv_use_threads"
9664
9665 if test x"$enablestring" = xdisable; then
9666 if test $wxUSE_THREADS = no; then
9667 result=yes
9668 else
9669 result=no
9670 fi
9671 else
9672 result=$wxUSE_THREADS
9673 fi
9674
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9676 $as_echo "$result" >&6; }
9677
9678
9679
9680 enablestring=
9681 defaultval=
9682 if test -z "$defaultval"; then
9683 if test x"$enablestring" = xdisable; then
9684 defaultval=yes
9685 else
9686 defaultval=no
9687 fi
9688 fi
9689
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9691 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9692 # Check whether --enable-iniconf was given.
9693 if test "${enable_iniconf+set}" = set; then :
9694 enableval=$enable_iniconf;
9695 if test "$enableval" = yes; then
9696 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9697 else
9698 wx_cv_use_iniconf='wxUSE_INICONF=no'
9699 fi
9700
9701 else
9702
9703 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9704
9705 fi
9706
9707
9708 eval "$wx_cv_use_iniconf"
9709
9710 if test x"$enablestring" = xdisable; then
9711 if test $wxUSE_INICONF = no; then
9712 result=yes
9713 else
9714 result=no
9715 fi
9716 else
9717 result=$wxUSE_INICONF
9718 fi
9719
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9721 $as_echo "$result" >&6; }
9722
9723
9724 enablestring=
9725 defaultval=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x"$enablestring" = xdisable; then
9728 defaultval=yes
9729 else
9730 defaultval=no
9731 fi
9732 fi
9733
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9735 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9736 # Check whether --enable-regkey was given.
9737 if test "${enable_regkey+set}" = set; then :
9738 enableval=$enable_regkey;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9741 else
9742 wx_cv_use_regkey='wxUSE_REGKEY=no'
9743 fi
9744
9745 else
9746
9747 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9748
9749 fi
9750
9751
9752 eval "$wx_cv_use_regkey"
9753
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_REGKEY = no; then
9756 result=yes
9757 else
9758 result=no
9759 fi
9760 else
9761 result=$wxUSE_REGKEY
9762 fi
9763
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9765 $as_echo "$result" >&6; }
9766
9767
9768 if test "$wxUSE_GUI" = "yes"; then
9769
9770
9771
9772 enablestring=
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9776 defaultval=yes
9777 else
9778 defaultval=no
9779 fi
9780 fi
9781
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9783 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9784 # Check whether --enable-docview was given.
9785 if test "${enable_docview+set}" = set; then :
9786 enableval=$enable_docview;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9789 else
9790 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9791 fi
9792
9793 else
9794
9795 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_docview"
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9804 result=yes
9805 else
9806 result=no
9807 fi
9808 else
9809 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9810 fi
9811
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9813 $as_echo "$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9827 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9828 # Check whether --enable-help was given.
9829 if test "${enable_help+set}" = set; then :
9830 enableval=$enable_help;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_help='wxUSE_HELP=yes'
9833 else
9834 wx_cv_use_help='wxUSE_HELP=no'
9835 fi
9836
9837 else
9838
9839 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9840
9841 fi
9842
9843
9844 eval "$wx_cv_use_help"
9845
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_HELP = no; then
9848 result=yes
9849 else
9850 result=no
9851 fi
9852 else
9853 result=$wxUSE_HELP
9854 fi
9855
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9857 $as_echo "$result" >&6; }
9858
9859
9860 enablestring=
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9864 defaultval=yes
9865 else
9866 defaultval=no
9867 fi
9868 fi
9869
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9871 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9872 # Check whether --enable-mshtmlhelp was given.
9873 if test "${enable_mshtmlhelp+set}" = set; then :
9874 enableval=$enable_mshtmlhelp;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9877 else
9878 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9879 fi
9880
9881 else
9882
9883 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9884
9885 fi
9886
9887
9888 eval "$wx_cv_use_mshtmlhelp"
9889
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_MS_HTML_HELP = no; then
9892 result=yes
9893 else
9894 result=no
9895 fi
9896 else
9897 result=$wxUSE_MS_HTML_HELP
9898 fi
9899
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9901 $as_echo "$result" >&6; }
9902
9903
9904 enablestring=
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9908 defaultval=yes
9909 else
9910 defaultval=no
9911 fi
9912 fi
9913
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9915 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9916 # Check whether --enable-html was given.
9917 if test "${enable_html+set}" = set; then :
9918 enableval=$enable_html;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_html='wxUSE_HTML=yes'
9921 else
9922 wx_cv_use_html='wxUSE_HTML=no'
9923 fi
9924
9925 else
9926
9927 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9928
9929 fi
9930
9931
9932 eval "$wx_cv_use_html"
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_HTML = no; then
9936 result=yes
9937 else
9938 result=no
9939 fi
9940 else
9941 result=$wxUSE_HTML
9942 fi
9943
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9945 $as_echo "$result" >&6; }
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9959 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9960 # Check whether --enable-htmlhelp was given.
9961 if test "${enable_htmlhelp+set}" = set; then :
9962 enableval=$enable_htmlhelp;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9965 else
9966 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9967 fi
9968
9969 else
9970
9971 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_htmlhelp"
9977
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_WXHTML_HELP = no; then
9980 result=yes
9981 else
9982 result=no
9983 fi
9984 else
9985 result=$wxUSE_WXHTML_HELP
9986 fi
9987
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9989 $as_echo "$result" >&6; }
9990
9991
9992 enablestring=
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
9996 defaultval=yes
9997 else
9998 defaultval=no
9999 fi
10000 fi
10001
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10003 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10004 # Check whether --enable-xrc was given.
10005 if test "${enable_xrc+set}" = set; then :
10006 enableval=$enable_xrc;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_xrc='wxUSE_XRC=yes'
10009 else
10010 wx_cv_use_xrc='wxUSE_XRC=no'
10011 fi
10012
10013 else
10014
10015 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10016
10017 fi
10018
10019
10020 eval "$wx_cv_use_xrc"
10021
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_XRC = no; then
10024 result=yes
10025 else
10026 result=no
10027 fi
10028 else
10029 result=$wxUSE_XRC
10030 fi
10031
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10033 $as_echo "$result" >&6; }
10034
10035
10036 enablestring=
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10040 defaultval=yes
10041 else
10042 defaultval=no
10043 fi
10044 fi
10045
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10047 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10048 # Check whether --enable-aui was given.
10049 if test "${enable_aui+set}" = set; then :
10050 enableval=$enable_aui;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_aui='wxUSE_AUI=yes'
10053 else
10054 wx_cv_use_aui='wxUSE_AUI=no'
10055 fi
10056
10057 else
10058
10059 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10060
10061 fi
10062
10063
10064 eval "$wx_cv_use_aui"
10065
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_AUI = no; then
10068 result=yes
10069 else
10070 result=no
10071 fi
10072 else
10073 result=$wxUSE_AUI
10074 fi
10075
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10077 $as_echo "$result" >&6; }
10078
10079
10080 enablestring=
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10084 defaultval=yes
10085 else
10086 defaultval=no
10087 fi
10088 fi
10089
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10091 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10092 # Check whether --enable-propgrid was given.
10093 if test "${enable_propgrid+set}" = set; then :
10094 enableval=$enable_propgrid;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10097 else
10098 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10099 fi
10100
10101 else
10102
10103 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10104
10105 fi
10106
10107
10108 eval "$wx_cv_use_propgrid"
10109
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_PROPGRID = no; then
10112 result=yes
10113 else
10114 result=no
10115 fi
10116 else
10117 result=$wxUSE_PROPGRID
10118 fi
10119
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10121 $as_echo "$result" >&6; }
10122
10123
10124 enablestring=
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10128 defaultval=yes
10129 else
10130 defaultval=no
10131 fi
10132 fi
10133
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10135 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10136 # Check whether --enable-ribbon was given.
10137 if test "${enable_ribbon+set}" = set; then :
10138 enableval=$enable_ribbon;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10141 else
10142 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10143 fi
10144
10145 else
10146
10147 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10148
10149 fi
10150
10151
10152 eval "$wx_cv_use_ribbon"
10153
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_RIBBON = no; then
10156 result=yes
10157 else
10158 result=no
10159 fi
10160 else
10161 result=$wxUSE_RIBBON
10162 fi
10163
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10165 $as_echo "$result" >&6; }
10166
10167
10168 enablestring=
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10172 defaultval=yes
10173 else
10174 defaultval=no
10175 fi
10176 fi
10177
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10179 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10180 # Check whether --enable-stc was given.
10181 if test "${enable_stc+set}" = set; then :
10182 enableval=$enable_stc;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_stc='wxUSE_STC=yes'
10185 else
10186 wx_cv_use_stc='wxUSE_STC=no'
10187 fi
10188
10189 else
10190
10191 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10192
10193 fi
10194
10195
10196 eval "$wx_cv_use_stc"
10197
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_STC = no; then
10200 result=yes
10201 else
10202 result=no
10203 fi
10204 else
10205 result=$wxUSE_STC
10206 fi
10207
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10209 $as_echo "$result" >&6; }
10210
10211
10212 enablestring=
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10216 defaultval=yes
10217 else
10218 defaultval=no
10219 fi
10220 fi
10221
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10223 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10224 # Check whether --enable-constraints was given.
10225 if test "${enable_constraints+set}" = set; then :
10226 enableval=$enable_constraints;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10229 else
10230 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10231 fi
10232
10233 else
10234
10235 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10236
10237 fi
10238
10239
10240 eval "$wx_cv_use_constraints"
10241
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_CONSTRAINTS = no; then
10244 result=yes
10245 else
10246 result=no
10247 fi
10248 else
10249 result=$wxUSE_CONSTRAINTS
10250 fi
10251
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10253 $as_echo "$result" >&6; }
10254
10255
10256 enablestring=
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10260 defaultval=yes
10261 else
10262 defaultval=no
10263 fi
10264 fi
10265
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10267 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10268 # Check whether --enable-loggui was given.
10269 if test "${enable_loggui+set}" = set; then :
10270 enableval=$enable_loggui;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10273 else
10274 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10275 fi
10276
10277 else
10278
10279 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10280
10281 fi
10282
10283
10284 eval "$wx_cv_use_loggui"
10285
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_LOGGUI = no; then
10288 result=yes
10289 else
10290 result=no
10291 fi
10292 else
10293 result=$wxUSE_LOGGUI
10294 fi
10295
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10297 $as_echo "$result" >&6; }
10298
10299
10300 enablestring=
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10304 defaultval=yes
10305 else
10306 defaultval=no
10307 fi
10308 fi
10309
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10311 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10312 # Check whether --enable-logwin was given.
10313 if test "${enable_logwin+set}" = set; then :
10314 enableval=$enable_logwin;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10317 else
10318 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10319 fi
10320
10321 else
10322
10323 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10324
10325 fi
10326
10327
10328 eval "$wx_cv_use_logwin"
10329
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_LOGWINDOW = no; then
10332 result=yes
10333 else
10334 result=no
10335 fi
10336 else
10337 result=$wxUSE_LOGWINDOW
10338 fi
10339
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10341 $as_echo "$result" >&6; }
10342
10343
10344 enablestring=
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10348 defaultval=yes
10349 else
10350 defaultval=no
10351 fi
10352 fi
10353
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10355 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10356 # Check whether --enable-logdialog was given.
10357 if test "${enable_logdialog+set}" = set; then :
10358 enableval=$enable_logdialog;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10361 else
10362 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10363 fi
10364
10365 else
10366
10367 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10368
10369 fi
10370
10371
10372 eval "$wx_cv_use_logdialog"
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_LOGDIALOG = no; then
10376 result=yes
10377 else
10378 result=no
10379 fi
10380 else
10381 result=$wxUSE_LOGDIALOG
10382 fi
10383
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10385 $as_echo "$result" >&6; }
10386
10387
10388 enablestring=
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10392 defaultval=yes
10393 else
10394 defaultval=no
10395 fi
10396 fi
10397
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10399 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10400 # Check whether --enable-mdi was given.
10401 if test "${enable_mdi+set}" = set; then :
10402 enableval=$enable_mdi;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_mdi='wxUSE_MDI=yes'
10405 else
10406 wx_cv_use_mdi='wxUSE_MDI=no'
10407 fi
10408
10409 else
10410
10411 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_mdi"
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_MDI = no; then
10420 result=yes
10421 else
10422 result=no
10423 fi
10424 else
10425 result=$wxUSE_MDI
10426 fi
10427
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10429 $as_echo "$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10443 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10444 # Check whether --enable-mdidoc was given.
10445 if test "${enable_mdidoc+set}" = set; then :
10446 enableval=$enable_mdidoc;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10449 else
10450 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10451 fi
10452
10453 else
10454
10455 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10456
10457 fi
10458
10459
10460 eval "$wx_cv_use_mdidoc"
10461
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_MDI_ARCHITECTURE = no; then
10464 result=yes
10465 else
10466 result=no
10467 fi
10468 else
10469 result=$wxUSE_MDI_ARCHITECTURE
10470 fi
10471
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10473 $as_echo "$result" >&6; }
10474
10475
10476 enablestring=
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10480 defaultval=yes
10481 else
10482 defaultval=no
10483 fi
10484 fi
10485
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10487 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10488 # Check whether --enable-mediactrl was given.
10489 if test "${enable_mediactrl+set}" = set; then :
10490 enableval=$enable_mediactrl;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10493 else
10494 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10495 fi
10496
10497 else
10498
10499 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10500
10501 fi
10502
10503
10504 eval "$wx_cv_use_mediactrl"
10505
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_MEDIACTRL = no; then
10508 result=yes
10509 else
10510 result=no
10511 fi
10512 else
10513 result=$wxUSE_MEDIACTRL
10514 fi
10515
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10517 $as_echo "$result" >&6; }
10518
10519
10520 enablestring=
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10524 defaultval=yes
10525 else
10526 defaultval=no
10527 fi
10528 fi
10529
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10531 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10532 # Check whether --enable-gstreamer8 was given.
10533 if test "${enable_gstreamer8+set}" = set; then :
10534 enableval=$enable_gstreamer8;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10537 else
10538 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10539 fi
10540
10541 else
10542
10543 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10544
10545 fi
10546
10547
10548 eval "$wx_cv_use_gstreamer8"
10549
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_GSTREAMER8 = no; then
10552 result=yes
10553 else
10554 result=no
10555 fi
10556 else
10557 result=$wxUSE_GSTREAMER8
10558 fi
10559
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10561 $as_echo "$result" >&6; }
10562
10563
10564 enablestring=
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10568 defaultval=yes
10569 else
10570 defaultval=no
10571 fi
10572 fi
10573
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10575 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10576 # Check whether --enable-richtext was given.
10577 if test "${enable_richtext+set}" = set; then :
10578 enableval=$enable_richtext;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10581 else
10582 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10583 fi
10584
10585 else
10586
10587 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_richtext"
10593
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_RICHTEXT = no; then
10596 result=yes
10597 else
10598 result=no
10599 fi
10600 else
10601 result=$wxUSE_RICHTEXT
10602 fi
10603
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10605 $as_echo "$result" >&6; }
10606
10607
10608 enablestring=
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10612 defaultval=yes
10613 else
10614 defaultval=no
10615 fi
10616 fi
10617
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10619 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10620 # Check whether --enable-postscript was given.
10621 if test "${enable_postscript+set}" = set; then :
10622 enableval=$enable_postscript;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10625 else
10626 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10627 fi
10628
10629 else
10630
10631 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10632
10633 fi
10634
10635
10636 eval "$wx_cv_use_postscript"
10637
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_POSTSCRIPT = no; then
10640 result=yes
10641 else
10642 result=no
10643 fi
10644 else
10645 result=$wxUSE_POSTSCRIPT
10646 fi
10647
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10649 $as_echo "$result" >&6; }
10650
10651
10652 enablestring=
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10656 defaultval=yes
10657 else
10658 defaultval=no
10659 fi
10660 fi
10661
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10663 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10664 # Check whether --enable-printarch was given.
10665 if test "${enable_printarch+set}" = set; then :
10666 enableval=$enable_printarch;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10669 else
10670 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10671 fi
10672
10673 else
10674
10675 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10676
10677 fi
10678
10679
10680 eval "$wx_cv_use_printarch"
10681
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10684 result=yes
10685 else
10686 result=no
10687 fi
10688 else
10689 result=$wxUSE_PRINTING_ARCHITECTURE
10690 fi
10691
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10693 $as_echo "$result" >&6; }
10694
10695
10696 enablestring=
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10700 defaultval=yes
10701 else
10702 defaultval=no
10703 fi
10704 fi
10705
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10707 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10708 # Check whether --enable-svg was given.
10709 if test "${enable_svg+set}" = set; then :
10710 enableval=$enable_svg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_svg='wxUSE_SVG=yes'
10713 else
10714 wx_cv_use_svg='wxUSE_SVG=no'
10715 fi
10716
10717 else
10718
10719 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10720
10721 fi
10722
10723
10724 eval "$wx_cv_use_svg"
10725
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_SVG = no; then
10728 result=yes
10729 else
10730 result=no
10731 fi
10732 else
10733 result=$wxUSE_SVG
10734 fi
10735
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10737 $as_echo "$result" >&6; }
10738
10739
10740 enablestring=
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10744 defaultval=yes
10745 else
10746 defaultval=no
10747 fi
10748 fi
10749
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10751 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10752 # Check whether --enable-webkit was given.
10753 if test "${enable_webkit+set}" = set; then :
10754 enableval=$enable_webkit;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10757 else
10758 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10759 fi
10760
10761 else
10762
10763 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10764
10765 fi
10766
10767
10768 eval "$wx_cv_use_webkit"
10769
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_WEBKIT = no; then
10772 result=yes
10773 else
10774 result=no
10775 fi
10776 else
10777 result=$wxUSE_WEBKIT
10778 fi
10779
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10781 $as_echo "$result" >&6; }
10782
10783
10784 enablestring=
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10788 defaultval=yes
10789 else
10790 defaultval=no
10791 fi
10792 fi
10793
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10795 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10796 # Check whether --enable-webview was given.
10797 if test "${enable_webview+set}" = set; then :
10798 enableval=$enable_webview;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10801 else
10802 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10803 fi
10804
10805 else
10806
10807 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10808
10809 fi
10810
10811
10812 eval "$wx_cv_use_webview"
10813
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_WEBVIEW = no; then
10816 result=yes
10817 else
10818 result=no
10819 fi
10820 else
10821 result=$wxUSE_WEBVIEW
10822 fi
10823
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10825 $as_echo "$result" >&6; }
10826
10827
10828 if test "$wxUSE_MAC" != 1; then
10829
10830 enablestring=
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10834 defaultval=yes
10835 else
10836 defaultval=no
10837 fi
10838 fi
10839
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10841 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10842 # Check whether --enable-graphics_ctx was given.
10843 if test "${enable_graphics_ctx+set}" = set; then :
10844 enableval=$enable_graphics_ctx;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10847 else
10848 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10849 fi
10850
10851 else
10852
10853 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10854
10855 fi
10856
10857
10858 eval "$wx_cv_use_graphics_ctx"
10859
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10862 result=yes
10863 else
10864 result=no
10865 fi
10866 else
10867 result=$wxUSE_GRAPHICS_CONTEXT
10868 fi
10869
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10871 $as_echo "$result" >&6; }
10872
10873 fi
10874
10875
10876
10877 enablestring=
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10888 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10889 # Check whether --enable-clipboard was given.
10890 if test "${enable_clipboard+set}" = set; then :
10891 enableval=$enable_clipboard;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10894 else
10895 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10896 fi
10897
10898 else
10899
10900 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10901
10902 fi
10903
10904
10905 eval "$wx_cv_use_clipboard"
10906
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_CLIPBOARD = no; then
10909 result=yes
10910 else
10911 result=no
10912 fi
10913 else
10914 result=$wxUSE_CLIPBOARD
10915 fi
10916
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10918 $as_echo "$result" >&6; }
10919
10920
10921 enablestring=
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10925 defaultval=yes
10926 else
10927 defaultval=no
10928 fi
10929 fi
10930
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10932 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10933 # Check whether --enable-dnd was given.
10934 if test "${enable_dnd+set}" = set; then :
10935 enableval=$enable_dnd;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10938 else
10939 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10940 fi
10941
10942 else
10943
10944 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10945
10946 fi
10947
10948
10949 eval "$wx_cv_use_dnd"
10950
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_DRAG_AND_DROP = no; then
10953 result=yes
10954 else
10955 result=no
10956 fi
10957 else
10958 result=$wxUSE_DRAG_AND_DROP
10959 fi
10960
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10962 $as_echo "$result" >&6; }
10963
10964
10965
10966 DEFAULT_wxUSE_CONTROLS=none
10967
10968 enablestring=disable
10969 defaultval=
10970 if test -z "$defaultval"; then
10971 if test x"$enablestring" = xdisable; then
10972 defaultval=yes
10973 else
10974 defaultval=no
10975 fi
10976 fi
10977
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10979 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10980 # Check whether --enable-controls was given.
10981 if test "${enable_controls+set}" = set; then :
10982 enableval=$enable_controls;
10983 if test "$enableval" = yes; then
10984 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10985 else
10986 wx_cv_use_controls='wxUSE_CONTROLS=no'
10987 fi
10988
10989 else
10990
10991 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10992
10993 fi
10994
10995
10996 eval "$wx_cv_use_controls"
10997
10998 if test x"$enablestring" = xdisable; then
10999 if test $wxUSE_CONTROLS = no; then
11000 result=yes
11001 else
11002 result=no
11003 fi
11004 else
11005 result=$wxUSE_CONTROLS
11006 fi
11007
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11009 $as_echo "$result" >&6; }
11010
11011
11012 if test "$wxUSE_CONTROLS" = "no"; then
11013 DEFAULT_wxUSE_ACCEL=no
11014 DEFAULT_wxUSE_ANIMATIONCTRL=no
11015 DEFAULT_wxUSE_BANNERWINDOW=no
11016 DEFAULT_wxUSE_BMPBUTTON=no
11017 DEFAULT_wxUSE_BUTTON=no
11018 DEFAULT_wxUSE_CALCTRL=no
11019 DEFAULT_wxUSE_CARET=no
11020 DEFAULT_wxUSE_CHECKBOX=no
11021 DEFAULT_wxUSE_CHECKLISTBOX=no
11022 DEFAULT_wxUSE_CHOICE=no
11023 DEFAULT_wxUSE_CHOICEBOOK=no
11024 DEFAULT_wxUSE_COLLPANE=no
11025 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11026 DEFAULT_wxUSE_COMBOBOX=no
11027 DEFAULT_wxUSE_COMBOBOX=no
11028 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11029 DEFAULT_wxUSE_DATAVIEWCTRL=no
11030 DEFAULT_wxUSE_DATEPICKCTRL=no
11031 DEFAULT_wxUSE_DETECT_SM=no
11032 DEFAULT_wxUSE_DIRPICKERCTRL=no
11033 DEFAULT_wxUSE_DISPLAY=no
11034 DEFAULT_wxUSE_FILECTRL=no
11035 DEFAULT_wxUSE_FILEPICKERCTRL=no
11036 DEFAULT_wxUSE_FONTPICKERCTRL=no
11037 DEFAULT_wxUSE_GAUGE=no
11038 DEFAULT_wxUSE_GRID=no
11039 DEFAULT_wxUSE_HEADERCTRL=no
11040 DEFAULT_wxUSE_HYPERLINKCTRL=no
11041 DEFAULT_wxUSE_IMAGLIST=no
11042 DEFAULT_wxUSE_LISTBOOK=no
11043 DEFAULT_wxUSE_LISTBOX=no
11044 DEFAULT_wxUSE_LISTCTRL=no
11045 DEFAULT_wxUSE_MARKUP=no
11046 DEFAULT_wxUSE_NOTEBOOK=no
11047 DEFAULT_wxUSE_POPUPWIN=no
11048 DEFAULT_wxUSE_RADIOBOX=no
11049 DEFAULT_wxUSE_RADIOBTN=no
11050 DEFAULT_wxUSE_RICHMSGDLG=no
11051 DEFAULT_wxUSE_RICHTOOLTIP=no
11052 DEFAULT_wxUSE_REARRANGECTRL=no
11053 DEFAULT_wxUSE_SASH=no
11054 DEFAULT_wxUSE_SCROLLBAR=no
11055 DEFAULT_wxUSE_SEARCHCTRL=no
11056 DEFAULT_wxUSE_SLIDER=no
11057 DEFAULT_wxUSE_SPINBTN=no
11058 DEFAULT_wxUSE_SPINCTRL=no
11059 DEFAULT_wxUSE_SPLITTER=no
11060 DEFAULT_wxUSE_STATBMP=no
11061 DEFAULT_wxUSE_STATBOX=no
11062 DEFAULT_wxUSE_STATLINE=no
11063 DEFAULT_wxUSE_STATUSBAR=no
11064 DEFAULT_wxUSE_TIMEPICKCTRL=no
11065 DEFAULT_wxUSE_TIPWINDOW=no
11066 DEFAULT_wxUSE_TOGGLEBTN=no
11067 DEFAULT_wxUSE_TOOLBAR=no
11068 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11069 DEFAULT_wxUSE_TOOLBOOK=no
11070 DEFAULT_wxUSE_TOOLTIPS=no
11071 DEFAULT_wxUSE_TREEBOOK=no
11072 DEFAULT_wxUSE_TREECTRL=no
11073 DEFAULT_wxUSE_TREELISTCTRL=no
11074 fi
11075
11076
11077 enablestring=
11078 defaultval=$wxUSE_ALL_FEATURES
11079 if test -z "$defaultval"; then
11080 if test x"$enablestring" = xdisable; then
11081 defaultval=yes
11082 else
11083 defaultval=no
11084 fi
11085 fi
11086
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11088 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11089 # Check whether --enable-markup was given.
11090 if test "${enable_markup+set}" = set; then :
11091 enableval=$enable_markup;
11092 if test "$enableval" = yes; then
11093 wx_cv_use_markup='wxUSE_MARKUP=yes'
11094 else
11095 wx_cv_use_markup='wxUSE_MARKUP=no'
11096 fi
11097
11098 else
11099
11100 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11101
11102 fi
11103
11104
11105 eval "$wx_cv_use_markup"
11106
11107 if test x"$enablestring" = xdisable; then
11108 if test $wxUSE_MARKUP = no; then
11109 result=yes
11110 else
11111 result=no
11112 fi
11113 else
11114 result=$wxUSE_MARKUP
11115 fi
11116
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11118 $as_echo "$result" >&6; }
11119
11120
11121
11122 enablestring=
11123 defaultval=$wxUSE_ALL_FEATURES
11124 if test -z "$defaultval"; then
11125 if test x"$enablestring" = xdisable; then
11126 defaultval=yes
11127 else
11128 defaultval=no
11129 fi
11130 fi
11131
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11133 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11134 # Check whether --enable-accel was given.
11135 if test "${enable_accel+set}" = set; then :
11136 enableval=$enable_accel;
11137 if test "$enableval" = yes; then
11138 wx_cv_use_accel='wxUSE_ACCEL=yes'
11139 else
11140 wx_cv_use_accel='wxUSE_ACCEL=no'
11141 fi
11142
11143 else
11144
11145 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11146
11147 fi
11148
11149
11150 eval "$wx_cv_use_accel"
11151
11152 if test x"$enablestring" = xdisable; then
11153 if test $wxUSE_ACCEL = no; then
11154 result=yes
11155 else
11156 result=no
11157 fi
11158 else
11159 result=$wxUSE_ACCEL
11160 fi
11161
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11163 $as_echo "$result" >&6; }
11164
11165
11166 enablestring=
11167 defaultval=$wxUSE_ALL_FEATURES
11168 if test -z "$defaultval"; then
11169 if test x"$enablestring" = xdisable; then
11170 defaultval=yes
11171 else
11172 defaultval=no
11173 fi
11174 fi
11175
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11177 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11178 # Check whether --enable-animatectrl was given.
11179 if test "${enable_animatectrl+set}" = set; then :
11180 enableval=$enable_animatectrl;
11181 if test "$enableval" = yes; then
11182 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11183 else
11184 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11185 fi
11186
11187 else
11188
11189 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11190
11191 fi
11192
11193
11194 eval "$wx_cv_use_animatectrl"
11195
11196 if test x"$enablestring" = xdisable; then
11197 if test $wxUSE_ANIMATIONCTRL = no; then
11198 result=yes
11199 else
11200 result=no
11201 fi
11202 else
11203 result=$wxUSE_ANIMATIONCTRL
11204 fi
11205
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11207 $as_echo "$result" >&6; }
11208
11209
11210 enablestring=
11211 defaultval=$wxUSE_ALL_FEATURES
11212 if test -z "$defaultval"; then
11213 if test x"$enablestring" = xdisable; then
11214 defaultval=yes
11215 else
11216 defaultval=no
11217 fi
11218 fi
11219
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11221 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11222 # Check whether --enable-bannerwindow was given.
11223 if test "${enable_bannerwindow+set}" = set; then :
11224 enableval=$enable_bannerwindow;
11225 if test "$enableval" = yes; then
11226 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11227 else
11228 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11229 fi
11230
11231 else
11232
11233 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11234
11235 fi
11236
11237
11238 eval "$wx_cv_use_bannerwindow"
11239
11240 if test x"$enablestring" = xdisable; then
11241 if test $wxUSE_BANNERWINDOW = no; then
11242 result=yes
11243 else
11244 result=no
11245 fi
11246 else
11247 result=$wxUSE_BANNERWINDOW
11248 fi
11249
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11251 $as_echo "$result" >&6; }
11252
11253
11254 enablestring=
11255 defaultval=$wxUSE_ALL_FEATURES
11256 if test -z "$defaultval"; then
11257 if test x"$enablestring" = xdisable; then
11258 defaultval=yes
11259 else
11260 defaultval=no
11261 fi
11262 fi
11263
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11265 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11266 # Check whether --enable-artstd was given.
11267 if test "${enable_artstd+set}" = set; then :
11268 enableval=$enable_artstd;
11269 if test "$enableval" = yes; then
11270 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11271 else
11272 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11273 fi
11274
11275 else
11276
11277 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11278
11279 fi
11280
11281
11282 eval "$wx_cv_use_artstd"
11283
11284 if test x"$enablestring" = xdisable; then
11285 if test $wxUSE_ARTPROVIDER_STD = no; then
11286 result=yes
11287 else
11288 result=no
11289 fi
11290 else
11291 result=$wxUSE_ARTPROVIDER_STD
11292 fi
11293
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11295 $as_echo "$result" >&6; }
11296
11297
11298 enablestring=
11299 defaultval=$wxUSE_ALL_FEATURES
11300 if test -z "$defaultval"; then
11301 if test x"$enablestring" = xdisable; then
11302 defaultval=yes
11303 else
11304 defaultval=no
11305 fi
11306 fi
11307
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11309 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11310 # Check whether --enable-arttango was given.
11311 if test "${enable_arttango+set}" = set; then :
11312 enableval=$enable_arttango;
11313 if test "$enableval" = yes; then
11314 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11315 else
11316 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11317 fi
11318
11319 else
11320
11321 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11322
11323 fi
11324
11325
11326 eval "$wx_cv_use_arttango"
11327
11328 if test x"$enablestring" = xdisable; then
11329 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11330 result=yes
11331 else
11332 result=no
11333 fi
11334 else
11335 result=$wxUSE_ARTPROVIDER_TANGO
11336 fi
11337
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11339 $as_echo "$result" >&6; }
11340
11341
11342 enablestring=
11343 defaultval=$wxUSE_ALL_FEATURES
11344 if test -z "$defaultval"; then
11345 if test x"$enablestring" = xdisable; then
11346 defaultval=yes
11347 else
11348 defaultval=no
11349 fi
11350 fi
11351
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11353 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11354 # Check whether --enable-bmpbutton was given.
11355 if test "${enable_bmpbutton+set}" = set; then :
11356 enableval=$enable_bmpbutton;
11357 if test "$enableval" = yes; then
11358 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11359 else
11360 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11361 fi
11362
11363 else
11364
11365 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11366
11367 fi
11368
11369
11370 eval "$wx_cv_use_bmpbutton"
11371
11372 if test x"$enablestring" = xdisable; then
11373 if test $wxUSE_BMPBUTTON = no; then
11374 result=yes
11375 else
11376 result=no
11377 fi
11378 else
11379 result=$wxUSE_BMPBUTTON
11380 fi
11381
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11383 $as_echo "$result" >&6; }
11384
11385
11386 enablestring=
11387 defaultval=$wxUSE_ALL_FEATURES
11388 if test -z "$defaultval"; then
11389 if test x"$enablestring" = xdisable; then
11390 defaultval=yes
11391 else
11392 defaultval=no
11393 fi
11394 fi
11395
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11397 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11398 # Check whether --enable-bmpcombobox was given.
11399 if test "${enable_bmpcombobox+set}" = set; then :
11400 enableval=$enable_bmpcombobox;
11401 if test "$enableval" = yes; then
11402 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11403 else
11404 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11405 fi
11406
11407 else
11408
11409 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11410
11411 fi
11412
11413
11414 eval "$wx_cv_use_bmpcombobox"
11415
11416 if test x"$enablestring" = xdisable; then
11417 if test $wxUSE_BITMAPCOMBOBOX = no; then
11418 result=yes
11419 else
11420 result=no
11421 fi
11422 else
11423 result=$wxUSE_BITMAPCOMBOBOX
11424 fi
11425
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11427 $as_echo "$result" >&6; }
11428
11429
11430 enablestring=
11431 defaultval=$wxUSE_ALL_FEATURES
11432 if test -z "$defaultval"; then
11433 if test x"$enablestring" = xdisable; then
11434 defaultval=yes
11435 else
11436 defaultval=no
11437 fi
11438 fi
11439
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11441 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11442 # Check whether --enable-button was given.
11443 if test "${enable_button+set}" = set; then :
11444 enableval=$enable_button;
11445 if test "$enableval" = yes; then
11446 wx_cv_use_button='wxUSE_BUTTON=yes'
11447 else
11448 wx_cv_use_button='wxUSE_BUTTON=no'
11449 fi
11450
11451 else
11452
11453 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11454
11455 fi
11456
11457
11458 eval "$wx_cv_use_button"
11459
11460 if test x"$enablestring" = xdisable; then
11461 if test $wxUSE_BUTTON = no; then
11462 result=yes
11463 else
11464 result=no
11465 fi
11466 else
11467 result=$wxUSE_BUTTON
11468 fi
11469
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11471 $as_echo "$result" >&6; }
11472
11473
11474 enablestring=
11475 defaultval=$wxUSE_ALL_FEATURES
11476 if test -z "$defaultval"; then
11477 if test x"$enablestring" = xdisable; then
11478 defaultval=yes
11479 else
11480 defaultval=no
11481 fi
11482 fi
11483
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11485 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11486 # Check whether --enable-calendar was given.
11487 if test "${enable_calendar+set}" = set; then :
11488 enableval=$enable_calendar;
11489 if test "$enableval" = yes; then
11490 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11491 else
11492 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11493 fi
11494
11495 else
11496
11497 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11498
11499 fi
11500
11501
11502 eval "$wx_cv_use_calendar"
11503
11504 if test x"$enablestring" = xdisable; then
11505 if test $wxUSE_CALCTRL = no; then
11506 result=yes
11507 else
11508 result=no
11509 fi
11510 else
11511 result=$wxUSE_CALCTRL
11512 fi
11513
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11515 $as_echo "$result" >&6; }
11516
11517
11518 enablestring=
11519 defaultval=$wxUSE_ALL_FEATURES
11520 if test -z "$defaultval"; then
11521 if test x"$enablestring" = xdisable; then
11522 defaultval=yes
11523 else
11524 defaultval=no
11525 fi
11526 fi
11527
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11529 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11530 # Check whether --enable-caret was given.
11531 if test "${enable_caret+set}" = set; then :
11532 enableval=$enable_caret;
11533 if test "$enableval" = yes; then
11534 wx_cv_use_caret='wxUSE_CARET=yes'
11535 else
11536 wx_cv_use_caret='wxUSE_CARET=no'
11537 fi
11538
11539 else
11540
11541 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11542
11543 fi
11544
11545
11546 eval "$wx_cv_use_caret"
11547
11548 if test x"$enablestring" = xdisable; then
11549 if test $wxUSE_CARET = no; then
11550 result=yes
11551 else
11552 result=no
11553 fi
11554 else
11555 result=$wxUSE_CARET
11556 fi
11557
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11559 $as_echo "$result" >&6; }
11560
11561
11562 enablestring=
11563 defaultval=$wxUSE_ALL_FEATURES
11564 if test -z "$defaultval"; then
11565 if test x"$enablestring" = xdisable; then
11566 defaultval=yes
11567 else
11568 defaultval=no
11569 fi
11570 fi
11571
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11573 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11574 # Check whether --enable-checkbox was given.
11575 if test "${enable_checkbox+set}" = set; then :
11576 enableval=$enable_checkbox;
11577 if test "$enableval" = yes; then
11578 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11579 else
11580 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11581 fi
11582
11583 else
11584
11585 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11586
11587 fi
11588
11589
11590 eval "$wx_cv_use_checkbox"
11591
11592 if test x"$enablestring" = xdisable; then
11593 if test $wxUSE_CHECKBOX = no; then
11594 result=yes
11595 else
11596 result=no
11597 fi
11598 else
11599 result=$wxUSE_CHECKBOX
11600 fi
11601
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11603 $as_echo "$result" >&6; }
11604
11605
11606 enablestring=
11607 defaultval=$wxUSE_ALL_FEATURES
11608 if test -z "$defaultval"; then
11609 if test x"$enablestring" = xdisable; then
11610 defaultval=yes
11611 else
11612 defaultval=no
11613 fi
11614 fi
11615
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11617 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11618 # Check whether --enable-checklst was given.
11619 if test "${enable_checklst+set}" = set; then :
11620 enableval=$enable_checklst;
11621 if test "$enableval" = yes; then
11622 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11623 else
11624 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11625 fi
11626
11627 else
11628
11629 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11630
11631 fi
11632
11633
11634 eval "$wx_cv_use_checklst"
11635
11636 if test x"$enablestring" = xdisable; then
11637 if test $wxUSE_CHECKLST = no; then
11638 result=yes
11639 else
11640 result=no
11641 fi
11642 else
11643 result=$wxUSE_CHECKLST
11644 fi
11645
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11647 $as_echo "$result" >&6; }
11648
11649
11650 enablestring=
11651 defaultval=$wxUSE_ALL_FEATURES
11652 if test -z "$defaultval"; then
11653 if test x"$enablestring" = xdisable; then
11654 defaultval=yes
11655 else
11656 defaultval=no
11657 fi
11658 fi
11659
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11661 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11662 # Check whether --enable-choice was given.
11663 if test "${enable_choice+set}" = set; then :
11664 enableval=$enable_choice;
11665 if test "$enableval" = yes; then
11666 wx_cv_use_choice='wxUSE_CHOICE=yes'
11667 else
11668 wx_cv_use_choice='wxUSE_CHOICE=no'
11669 fi
11670
11671 else
11672
11673 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11674
11675 fi
11676
11677
11678 eval "$wx_cv_use_choice"
11679
11680 if test x"$enablestring" = xdisable; then
11681 if test $wxUSE_CHOICE = no; then
11682 result=yes
11683 else
11684 result=no
11685 fi
11686 else
11687 result=$wxUSE_CHOICE
11688 fi
11689
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11691 $as_echo "$result" >&6; }
11692
11693
11694 enablestring=
11695 defaultval=$wxUSE_ALL_FEATURES
11696 if test -z "$defaultval"; then
11697 if test x"$enablestring" = xdisable; then
11698 defaultval=yes
11699 else
11700 defaultval=no
11701 fi
11702 fi
11703
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11705 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11706 # Check whether --enable-choicebook was given.
11707 if test "${enable_choicebook+set}" = set; then :
11708 enableval=$enable_choicebook;
11709 if test "$enableval" = yes; then
11710 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11711 else
11712 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11713 fi
11714
11715 else
11716
11717 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11718
11719 fi
11720
11721
11722 eval "$wx_cv_use_choicebook"
11723
11724 if test x"$enablestring" = xdisable; then
11725 if test $wxUSE_CHOICEBOOK = no; then
11726 result=yes
11727 else
11728 result=no
11729 fi
11730 else
11731 result=$wxUSE_CHOICEBOOK
11732 fi
11733
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11735 $as_echo "$result" >&6; }
11736
11737
11738 enablestring=
11739 defaultval=$wxUSE_ALL_FEATURES
11740 if test -z "$defaultval"; then
11741 if test x"$enablestring" = xdisable; then
11742 defaultval=yes
11743 else
11744 defaultval=no
11745 fi
11746 fi
11747
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11749 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11750 # Check whether --enable-collpane was given.
11751 if test "${enable_collpane+set}" = set; then :
11752 enableval=$enable_collpane;
11753 if test "$enableval" = yes; then
11754 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11755 else
11756 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11757 fi
11758
11759 else
11760
11761 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11762
11763 fi
11764
11765
11766 eval "$wx_cv_use_collpane"
11767
11768 if test x"$enablestring" = xdisable; then
11769 if test $wxUSE_COLLPANE = no; then
11770 result=yes
11771 else
11772 result=no
11773 fi
11774 else
11775 result=$wxUSE_COLLPANE
11776 fi
11777
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11779 $as_echo "$result" >&6; }
11780
11781
11782 enablestring=
11783 defaultval=$wxUSE_ALL_FEATURES
11784 if test -z "$defaultval"; then
11785 if test x"$enablestring" = xdisable; then
11786 defaultval=yes
11787 else
11788 defaultval=no
11789 fi
11790 fi
11791
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11793 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11794 # Check whether --enable-colourpicker was given.
11795 if test "${enable_colourpicker+set}" = set; then :
11796 enableval=$enable_colourpicker;
11797 if test "$enableval" = yes; then
11798 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11799 else
11800 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11801 fi
11802
11803 else
11804
11805 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11806
11807 fi
11808
11809
11810 eval "$wx_cv_use_colourpicker"
11811
11812 if test x"$enablestring" = xdisable; then
11813 if test $wxUSE_COLOURPICKERCTRL = no; then
11814 result=yes
11815 else
11816 result=no
11817 fi
11818 else
11819 result=$wxUSE_COLOURPICKERCTRL
11820 fi
11821
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11823 $as_echo "$result" >&6; }
11824
11825
11826 enablestring=
11827 defaultval=$wxUSE_ALL_FEATURES
11828 if test -z "$defaultval"; then
11829 if test x"$enablestring" = xdisable; then
11830 defaultval=yes
11831 else
11832 defaultval=no
11833 fi
11834 fi
11835
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11837 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11838 # Check whether --enable-combobox was given.
11839 if test "${enable_combobox+set}" = set; then :
11840 enableval=$enable_combobox;
11841 if test "$enableval" = yes; then
11842 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11843 else
11844 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11845 fi
11846
11847 else
11848
11849 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11850
11851 fi
11852
11853
11854 eval "$wx_cv_use_combobox"
11855
11856 if test x"$enablestring" = xdisable; then
11857 if test $wxUSE_COMBOBOX = no; then
11858 result=yes
11859 else
11860 result=no
11861 fi
11862 else
11863 result=$wxUSE_COMBOBOX
11864 fi
11865
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11867 $as_echo "$result" >&6; }
11868
11869
11870 enablestring=
11871 defaultval=$wxUSE_ALL_FEATURES
11872 if test -z "$defaultval"; then
11873 if test x"$enablestring" = xdisable; then
11874 defaultval=yes
11875 else
11876 defaultval=no
11877 fi
11878 fi
11879
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11881 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11882 # Check whether --enable-comboctrl was given.
11883 if test "${enable_comboctrl+set}" = set; then :
11884 enableval=$enable_comboctrl;
11885 if test "$enableval" = yes; then
11886 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11887 else
11888 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11889 fi
11890
11891 else
11892
11893 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11894
11895 fi
11896
11897
11898 eval "$wx_cv_use_comboctrl"
11899
11900 if test x"$enablestring" = xdisable; then
11901 if test $wxUSE_COMBOCTRL = no; then
11902 result=yes
11903 else
11904 result=no
11905 fi
11906 else
11907 result=$wxUSE_COMBOCTRL
11908 fi
11909
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11911 $as_echo "$result" >&6; }
11912
11913
11914 enablestring=
11915 defaultval=$wxUSE_ALL_FEATURES
11916 if test -z "$defaultval"; then
11917 if test x"$enablestring" = xdisable; then
11918 defaultval=yes
11919 else
11920 defaultval=no
11921 fi
11922 fi
11923
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11925 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11926 # Check whether --enable-commandlinkbutton was given.
11927 if test "${enable_commandlinkbutton+set}" = set; then :
11928 enableval=$enable_commandlinkbutton;
11929 if test "$enableval" = yes; then
11930 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11931 else
11932 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11933 fi
11934
11935 else
11936
11937 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11938
11939 fi
11940
11941
11942 eval "$wx_cv_use_commandlinkbutton"
11943
11944 if test x"$enablestring" = xdisable; then
11945 if test $wxUSE_COMMANDLINKBUTTON = no; then
11946 result=yes
11947 else
11948 result=no
11949 fi
11950 else
11951 result=$wxUSE_COMMANDLINKBUTTON
11952 fi
11953
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11955 $as_echo "$result" >&6; }
11956
11957
11958 enablestring=
11959 defaultval=$wxUSE_ALL_FEATURES
11960 if test -z "$defaultval"; then
11961 if test x"$enablestring" = xdisable; then
11962 defaultval=yes
11963 else
11964 defaultval=no
11965 fi
11966 fi
11967
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11969 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11970 # Check whether --enable-dataviewctrl was given.
11971 if test "${enable_dataviewctrl+set}" = set; then :
11972 enableval=$enable_dataviewctrl;
11973 if test "$enableval" = yes; then
11974 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11975 else
11976 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11977 fi
11978
11979 else
11980
11981 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11982
11983 fi
11984
11985
11986 eval "$wx_cv_use_dataviewctrl"
11987
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_DATAVIEWCTRL = no; then
11990 result=yes
11991 else
11992 result=no
11993 fi
11994 else
11995 result=$wxUSE_DATAVIEWCTRL
11996 fi
11997
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11999 $as_echo "$result" >&6; }
12000
12001
12002 enablestring=
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12006 defaultval=yes
12007 else
12008 defaultval=no
12009 fi
12010 fi
12011
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12013 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12014 # Check whether --enable-datepick was given.
12015 if test "${enable_datepick+set}" = set; then :
12016 enableval=$enable_datepick;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12019 else
12020 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12021 fi
12022
12023 else
12024
12025 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12026
12027 fi
12028
12029
12030 eval "$wx_cv_use_datepick"
12031
12032 if test x"$enablestring" = xdisable; then
12033 if test $wxUSE_DATEPICKCTRL = no; then
12034 result=yes
12035 else
12036 result=no
12037 fi
12038 else
12039 result=$wxUSE_DATEPICKCTRL
12040 fi
12041
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12043 $as_echo "$result" >&6; }
12044
12045
12046 enablestring=
12047 defaultval=$wxUSE_ALL_FEATURES
12048 if test -z "$defaultval"; then
12049 if test x"$enablestring" = xdisable; then
12050 defaultval=yes
12051 else
12052 defaultval=no
12053 fi
12054 fi
12055
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12057 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12058 # Check whether --enable-detect_sm was given.
12059 if test "${enable_detect_sm+set}" = set; then :
12060 enableval=$enable_detect_sm;
12061 if test "$enableval" = yes; then
12062 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12063 else
12064 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12065 fi
12066
12067 else
12068
12069 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12070
12071 fi
12072
12073
12074 eval "$wx_cv_use_detect_sm"
12075
12076 if test x"$enablestring" = xdisable; then
12077 if test $wxUSE_DETECT_SM = no; then
12078 result=yes
12079 else
12080 result=no
12081 fi
12082 else
12083 result=$wxUSE_DETECT_SM
12084 fi
12085
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12087 $as_echo "$result" >&6; }
12088
12089
12090 enablestring=
12091 defaultval=$wxUSE_ALL_FEATURES
12092 if test -z "$defaultval"; then
12093 if test x"$enablestring" = xdisable; then
12094 defaultval=yes
12095 else
12096 defaultval=no
12097 fi
12098 fi
12099
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12101 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12102 # Check whether --enable-dirpicker was given.
12103 if test "${enable_dirpicker+set}" = set; then :
12104 enableval=$enable_dirpicker;
12105 if test "$enableval" = yes; then
12106 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12107 else
12108 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12109 fi
12110
12111 else
12112
12113 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12114
12115 fi
12116
12117
12118 eval "$wx_cv_use_dirpicker"
12119
12120 if test x"$enablestring" = xdisable; then
12121 if test $wxUSE_DIRPICKERCTRL = no; then
12122 result=yes
12123 else
12124 result=no
12125 fi
12126 else
12127 result=$wxUSE_DIRPICKERCTRL
12128 fi
12129
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12131 $as_echo "$result" >&6; }
12132
12133
12134 enablestring=
12135 defaultval=$wxUSE_ALL_FEATURES
12136 if test -z "$defaultval"; then
12137 if test x"$enablestring" = xdisable; then
12138 defaultval=yes
12139 else
12140 defaultval=no
12141 fi
12142 fi
12143
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12145 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12146 # Check whether --enable-display was given.
12147 if test "${enable_display+set}" = set; then :
12148 enableval=$enable_display;
12149 if test "$enableval" = yes; then
12150 wx_cv_use_display='wxUSE_DISPLAY=yes'
12151 else
12152 wx_cv_use_display='wxUSE_DISPLAY=no'
12153 fi
12154
12155 else
12156
12157 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12158
12159 fi
12160
12161
12162 eval "$wx_cv_use_display"
12163
12164 if test x"$enablestring" = xdisable; then
12165 if test $wxUSE_DISPLAY = no; then
12166 result=yes
12167 else
12168 result=no
12169 fi
12170 else
12171 result=$wxUSE_DISPLAY
12172 fi
12173
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12175 $as_echo "$result" >&6; }
12176
12177
12178 enablestring=
12179 defaultval=$wxUSE_ALL_FEATURES
12180 if test -z "$defaultval"; then
12181 if test x"$enablestring" = xdisable; then
12182 defaultval=yes
12183 else
12184 defaultval=no
12185 fi
12186 fi
12187
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12189 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12190 # Check whether --enable-editablebox was given.
12191 if test "${enable_editablebox+set}" = set; then :
12192 enableval=$enable_editablebox;
12193 if test "$enableval" = yes; then
12194 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12195 else
12196 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12197 fi
12198
12199 else
12200
12201 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12202
12203 fi
12204
12205
12206 eval "$wx_cv_use_editablebox"
12207
12208 if test x"$enablestring" = xdisable; then
12209 if test $wxUSE_EDITABLELISTBOX = no; then
12210 result=yes
12211 else
12212 result=no
12213 fi
12214 else
12215 result=$wxUSE_EDITABLELISTBOX
12216 fi
12217
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12219 $as_echo "$result" >&6; }
12220
12221
12222 enablestring=
12223 defaultval=$wxUSE_ALL_FEATURES
12224 if test -z "$defaultval"; then
12225 if test x"$enablestring" = xdisable; then
12226 defaultval=yes
12227 else
12228 defaultval=no
12229 fi
12230 fi
12231
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12233 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12234 # Check whether --enable-filectrl was given.
12235 if test "${enable_filectrl+set}" = set; then :
12236 enableval=$enable_filectrl;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12239 else
12240 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12241 fi
12242
12243 else
12244
12245 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12246
12247 fi
12248
12249
12250 eval "$wx_cv_use_filectrl"
12251
12252 if test x"$enablestring" = xdisable; then
12253 if test $wxUSE_FILECTRL = no; then
12254 result=yes
12255 else
12256 result=no
12257 fi
12258 else
12259 result=$wxUSE_FILECTRL
12260 fi
12261
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12263 $as_echo "$result" >&6; }
12264
12265
12266 enablestring=
12267 defaultval=$wxUSE_ALL_FEATURES
12268 if test -z "$defaultval"; then
12269 if test x"$enablestring" = xdisable; then
12270 defaultval=yes
12271 else
12272 defaultval=no
12273 fi
12274 fi
12275
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12277 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12278 # Check whether --enable-filepicker was given.
12279 if test "${enable_filepicker+set}" = set; then :
12280 enableval=$enable_filepicker;
12281 if test "$enableval" = yes; then
12282 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12283 else
12284 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12285 fi
12286
12287 else
12288
12289 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12290
12291 fi
12292
12293
12294 eval "$wx_cv_use_filepicker"
12295
12296 if test x"$enablestring" = xdisable; then
12297 if test $wxUSE_FILEPICKERCTRL = no; then
12298 result=yes
12299 else
12300 result=no
12301 fi
12302 else
12303 result=$wxUSE_FILEPICKERCTRL
12304 fi
12305
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12307 $as_echo "$result" >&6; }
12308
12309
12310 enablestring=
12311 defaultval=$wxUSE_ALL_FEATURES
12312 if test -z "$defaultval"; then
12313 if test x"$enablestring" = xdisable; then
12314 defaultval=yes
12315 else
12316 defaultval=no
12317 fi
12318 fi
12319
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12321 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12322 # Check whether --enable-fontpicker was given.
12323 if test "${enable_fontpicker+set}" = set; then :
12324 enableval=$enable_fontpicker;
12325 if test "$enableval" = yes; then
12326 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12327 else
12328 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12329 fi
12330
12331 else
12332
12333 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12334
12335 fi
12336
12337
12338 eval "$wx_cv_use_fontpicker"
12339
12340 if test x"$enablestring" = xdisable; then
12341 if test $wxUSE_FONTPICKERCTRL = no; then
12342 result=yes
12343 else
12344 result=no
12345 fi
12346 else
12347 result=$wxUSE_FONTPICKERCTRL
12348 fi
12349
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12351 $as_echo "$result" >&6; }
12352
12353
12354 enablestring=
12355 defaultval=$wxUSE_ALL_FEATURES
12356 if test -z "$defaultval"; then
12357 if test x"$enablestring" = xdisable; then
12358 defaultval=yes
12359 else
12360 defaultval=no
12361 fi
12362 fi
12363
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12365 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12366 # Check whether --enable-gauge was given.
12367 if test "${enable_gauge+set}" = set; then :
12368 enableval=$enable_gauge;
12369 if test "$enableval" = yes; then
12370 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12371 else
12372 wx_cv_use_gauge='wxUSE_GAUGE=no'
12373 fi
12374
12375 else
12376
12377 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12378
12379 fi
12380
12381
12382 eval "$wx_cv_use_gauge"
12383
12384 if test x"$enablestring" = xdisable; then
12385 if test $wxUSE_GAUGE = no; then
12386 result=yes
12387 else
12388 result=no
12389 fi
12390 else
12391 result=$wxUSE_GAUGE
12392 fi
12393
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12395 $as_echo "$result" >&6; }
12396
12397
12398 enablestring=
12399 defaultval=$wxUSE_ALL_FEATURES
12400 if test -z "$defaultval"; then
12401 if test x"$enablestring" = xdisable; then
12402 defaultval=yes
12403 else
12404 defaultval=no
12405 fi
12406 fi
12407
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12409 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12410 # Check whether --enable-grid was given.
12411 if test "${enable_grid+set}" = set; then :
12412 enableval=$enable_grid;
12413 if test "$enableval" = yes; then
12414 wx_cv_use_grid='wxUSE_GRID=yes'
12415 else
12416 wx_cv_use_grid='wxUSE_GRID=no'
12417 fi
12418
12419 else
12420
12421 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12422
12423 fi
12424
12425
12426 eval "$wx_cv_use_grid"
12427
12428 if test x"$enablestring" = xdisable; then
12429 if test $wxUSE_GRID = no; then
12430 result=yes
12431 else
12432 result=no
12433 fi
12434 else
12435 result=$wxUSE_GRID
12436 fi
12437
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12439 $as_echo "$result" >&6; }
12440
12441
12442 enablestring=
12443 defaultval=$wxUSE_ALL_FEATURES
12444 if test -z "$defaultval"; then
12445 if test x"$enablestring" = xdisable; then
12446 defaultval=yes
12447 else
12448 defaultval=no
12449 fi
12450 fi
12451
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12453 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12454 # Check whether --enable-headerctrl was given.
12455 if test "${enable_headerctrl+set}" = set; then :
12456 enableval=$enable_headerctrl;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12459 else
12460 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12461 fi
12462
12463 else
12464
12465 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12466
12467 fi
12468
12469
12470 eval "$wx_cv_use_headerctrl"
12471
12472 if test x"$enablestring" = xdisable; then
12473 if test $wxUSE_HEADERCTRL = no; then
12474 result=yes
12475 else
12476 result=no
12477 fi
12478 else
12479 result=$wxUSE_HEADERCTRL
12480 fi
12481
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12483 $as_echo "$result" >&6; }
12484
12485
12486 enablestring=
12487 defaultval=$wxUSE_ALL_FEATURES
12488 if test -z "$defaultval"; then
12489 if test x"$enablestring" = xdisable; then
12490 defaultval=yes
12491 else
12492 defaultval=no
12493 fi
12494 fi
12495
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12497 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12498 # Check whether --enable-hyperlink was given.
12499 if test "${enable_hyperlink+set}" = set; then :
12500 enableval=$enable_hyperlink;
12501 if test "$enableval" = yes; then
12502 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12503 else
12504 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12505 fi
12506
12507 else
12508
12509 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12510
12511 fi
12512
12513
12514 eval "$wx_cv_use_hyperlink"
12515
12516 if test x"$enablestring" = xdisable; then
12517 if test $wxUSE_HYPERLINKCTRL = no; then
12518 result=yes
12519 else
12520 result=no
12521 fi
12522 else
12523 result=$wxUSE_HYPERLINKCTRL
12524 fi
12525
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12527 $as_echo "$result" >&6; }
12528
12529
12530 enablestring=
12531 defaultval=$wxUSE_ALL_FEATURES
12532 if test -z "$defaultval"; then
12533 if test x"$enablestring" = xdisable; then
12534 defaultval=yes
12535 else
12536 defaultval=no
12537 fi
12538 fi
12539
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12541 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12542 # Check whether --enable-imaglist was given.
12543 if test "${enable_imaglist+set}" = set; then :
12544 enableval=$enable_imaglist;
12545 if test "$enableval" = yes; then
12546 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12547 else
12548 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12549 fi
12550
12551 else
12552
12553 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12554
12555 fi
12556
12557
12558 eval "$wx_cv_use_imaglist"
12559
12560 if test x"$enablestring" = xdisable; then
12561 if test $wxUSE_IMAGLIST = no; then
12562 result=yes
12563 else
12564 result=no
12565 fi
12566 else
12567 result=$wxUSE_IMAGLIST
12568 fi
12569
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12571 $as_echo "$result" >&6; }
12572
12573
12574 enablestring=
12575 defaultval=$wxUSE_ALL_FEATURES
12576 if test -z "$defaultval"; then
12577 if test x"$enablestring" = xdisable; then
12578 defaultval=yes
12579 else
12580 defaultval=no
12581 fi
12582 fi
12583
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12585 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12586 # Check whether --enable-infobar was given.
12587 if test "${enable_infobar+set}" = set; then :
12588 enableval=$enable_infobar;
12589 if test "$enableval" = yes; then
12590 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12591 else
12592 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12593 fi
12594
12595 else
12596
12597 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12598
12599 fi
12600
12601
12602 eval "$wx_cv_use_infobar"
12603
12604 if test x"$enablestring" = xdisable; then
12605 if test $wxUSE_INFOBAR = no; then
12606 result=yes
12607 else
12608 result=no
12609 fi
12610 else
12611 result=$wxUSE_INFOBAR
12612 fi
12613
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12615 $as_echo "$result" >&6; }
12616
12617
12618 enablestring=
12619 defaultval=$wxUSE_ALL_FEATURES
12620 if test -z "$defaultval"; then
12621 if test x"$enablestring" = xdisable; then
12622 defaultval=yes
12623 else
12624 defaultval=no
12625 fi
12626 fi
12627
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12629 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12630 # Check whether --enable-listbook was given.
12631 if test "${enable_listbook+set}" = set; then :
12632 enableval=$enable_listbook;
12633 if test "$enableval" = yes; then
12634 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12635 else
12636 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12637 fi
12638
12639 else
12640
12641 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12642
12643 fi
12644
12645
12646 eval "$wx_cv_use_listbook"
12647
12648 if test x"$enablestring" = xdisable; then
12649 if test $wxUSE_LISTBOOK = no; then
12650 result=yes
12651 else
12652 result=no
12653 fi
12654 else
12655 result=$wxUSE_LISTBOOK
12656 fi
12657
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12659 $as_echo "$result" >&6; }
12660
12661
12662 enablestring=
12663 defaultval=$wxUSE_ALL_FEATURES
12664 if test -z "$defaultval"; then
12665 if test x"$enablestring" = xdisable; then
12666 defaultval=yes
12667 else
12668 defaultval=no
12669 fi
12670 fi
12671
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12673 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12674 # Check whether --enable-listbox was given.
12675 if test "${enable_listbox+set}" = set; then :
12676 enableval=$enable_listbox;
12677 if test "$enableval" = yes; then
12678 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12679 else
12680 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12681 fi
12682
12683 else
12684
12685 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12686
12687 fi
12688
12689
12690 eval "$wx_cv_use_listbox"
12691
12692 if test x"$enablestring" = xdisable; then
12693 if test $wxUSE_LISTBOX = no; then
12694 result=yes
12695 else
12696 result=no
12697 fi
12698 else
12699 result=$wxUSE_LISTBOX
12700 fi
12701
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12703 $as_echo "$result" >&6; }
12704
12705
12706 enablestring=
12707 defaultval=$wxUSE_ALL_FEATURES
12708 if test -z "$defaultval"; then
12709 if test x"$enablestring" = xdisable; then
12710 defaultval=yes
12711 else
12712 defaultval=no
12713 fi
12714 fi
12715
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12717 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12718 # Check whether --enable-listctrl was given.
12719 if test "${enable_listctrl+set}" = set; then :
12720 enableval=$enable_listctrl;
12721 if test "$enableval" = yes; then
12722 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12723 else
12724 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12725 fi
12726
12727 else
12728
12729 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12730
12731 fi
12732
12733
12734 eval "$wx_cv_use_listctrl"
12735
12736 if test x"$enablestring" = xdisable; then
12737 if test $wxUSE_LISTCTRL = no; then
12738 result=yes
12739 else
12740 result=no
12741 fi
12742 else
12743 result=$wxUSE_LISTCTRL
12744 fi
12745
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12747 $as_echo "$result" >&6; }
12748
12749
12750 enablestring=
12751 defaultval=$wxUSE_ALL_FEATURES
12752 if test -z "$defaultval"; then
12753 if test x"$enablestring" = xdisable; then
12754 defaultval=yes
12755 else
12756 defaultval=no
12757 fi
12758 fi
12759
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12761 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12762 # Check whether --enable-notebook was given.
12763 if test "${enable_notebook+set}" = set; then :
12764 enableval=$enable_notebook;
12765 if test "$enableval" = yes; then
12766 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12767 else
12768 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12769 fi
12770
12771 else
12772
12773 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12774
12775 fi
12776
12777
12778 eval "$wx_cv_use_notebook"
12779
12780 if test x"$enablestring" = xdisable; then
12781 if test $wxUSE_NOTEBOOK = no; then
12782 result=yes
12783 else
12784 result=no
12785 fi
12786 else
12787 result=$wxUSE_NOTEBOOK
12788 fi
12789
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12791 $as_echo "$result" >&6; }
12792
12793
12794 enablestring=
12795 defaultval=$wxUSE_ALL_FEATURES
12796 if test -z "$defaultval"; then
12797 if test x"$enablestring" = xdisable; then
12798 defaultval=yes
12799 else
12800 defaultval=no
12801 fi
12802 fi
12803
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12805 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12806 # Check whether --enable-notifmsg was given.
12807 if test "${enable_notifmsg+set}" = set; then :
12808 enableval=$enable_notifmsg;
12809 if test "$enableval" = yes; then
12810 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12811 else
12812 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12813 fi
12814
12815 else
12816
12817 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12818
12819 fi
12820
12821
12822 eval "$wx_cv_use_notifmsg"
12823
12824 if test x"$enablestring" = xdisable; then
12825 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12826 result=yes
12827 else
12828 result=no
12829 fi
12830 else
12831 result=$wxUSE_NOTIFICATION_MESSAGE
12832 fi
12833
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12835 $as_echo "$result" >&6; }
12836
12837
12838 enablestring=
12839 defaultval=$wxUSE_ALL_FEATURES
12840 if test -z "$defaultval"; then
12841 if test x"$enablestring" = xdisable; then
12842 defaultval=yes
12843 else
12844 defaultval=no
12845 fi
12846 fi
12847
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12849 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12850 # Check whether --enable-odcombobox was given.
12851 if test "${enable_odcombobox+set}" = set; then :
12852 enableval=$enable_odcombobox;
12853 if test "$enableval" = yes; then
12854 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12855 else
12856 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12857 fi
12858
12859 else
12860
12861 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12862
12863 fi
12864
12865
12866 eval "$wx_cv_use_odcombobox"
12867
12868 if test x"$enablestring" = xdisable; then
12869 if test $wxUSE_ODCOMBOBOX = no; then
12870 result=yes
12871 else
12872 result=no
12873 fi
12874 else
12875 result=$wxUSE_ODCOMBOBOX
12876 fi
12877
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12879 $as_echo "$result" >&6; }
12880
12881
12882 enablestring=
12883 defaultval=$wxUSE_ALL_FEATURES
12884 if test -z "$defaultval"; then
12885 if test x"$enablestring" = xdisable; then
12886 defaultval=yes
12887 else
12888 defaultval=no
12889 fi
12890 fi
12891
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12893 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12894 # Check whether --enable-popupwin was given.
12895 if test "${enable_popupwin+set}" = set; then :
12896 enableval=$enable_popupwin;
12897 if test "$enableval" = yes; then
12898 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12899 else
12900 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12901 fi
12902
12903 else
12904
12905 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12906
12907 fi
12908
12909
12910 eval "$wx_cv_use_popupwin"
12911
12912 if test x"$enablestring" = xdisable; then
12913 if test $wxUSE_POPUPWIN = no; then
12914 result=yes
12915 else
12916 result=no
12917 fi
12918 else
12919 result=$wxUSE_POPUPWIN
12920 fi
12921
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12923 $as_echo "$result" >&6; }
12924
12925
12926 enablestring=
12927 defaultval=$wxUSE_ALL_FEATURES
12928 if test -z "$defaultval"; then
12929 if test x"$enablestring" = xdisable; then
12930 defaultval=yes
12931 else
12932 defaultval=no
12933 fi
12934 fi
12935
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12937 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12938 # Check whether --enable-radiobox was given.
12939 if test "${enable_radiobox+set}" = set; then :
12940 enableval=$enable_radiobox;
12941 if test "$enableval" = yes; then
12942 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12943 else
12944 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12945 fi
12946
12947 else
12948
12949 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12950
12951 fi
12952
12953
12954 eval "$wx_cv_use_radiobox"
12955
12956 if test x"$enablestring" = xdisable; then
12957 if test $wxUSE_RADIOBOX = no; then
12958 result=yes
12959 else
12960 result=no
12961 fi
12962 else
12963 result=$wxUSE_RADIOBOX
12964 fi
12965
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12967 $as_echo "$result" >&6; }
12968
12969
12970 enablestring=
12971 defaultval=$wxUSE_ALL_FEATURES
12972 if test -z "$defaultval"; then
12973 if test x"$enablestring" = xdisable; then
12974 defaultval=yes
12975 else
12976 defaultval=no
12977 fi
12978 fi
12979
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12981 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12982 # Check whether --enable-radiobtn was given.
12983 if test "${enable_radiobtn+set}" = set; then :
12984 enableval=$enable_radiobtn;
12985 if test "$enableval" = yes; then
12986 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12987 else
12988 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12989 fi
12990
12991 else
12992
12993 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12994
12995 fi
12996
12997
12998 eval "$wx_cv_use_radiobtn"
12999
13000 if test x"$enablestring" = xdisable; then
13001 if test $wxUSE_RADIOBTN = no; then
13002 result=yes
13003 else
13004 result=no
13005 fi
13006 else
13007 result=$wxUSE_RADIOBTN
13008 fi
13009
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13011 $as_echo "$result" >&6; }
13012
13013
13014 enablestring=
13015 defaultval=$wxUSE_ALL_FEATURES
13016 if test -z "$defaultval"; then
13017 if test x"$enablestring" = xdisable; then
13018 defaultval=yes
13019 else
13020 defaultval=no
13021 fi
13022 fi
13023
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13025 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13026 # Check whether --enable-richmsgdlg was given.
13027 if test "${enable_richmsgdlg+set}" = set; then :
13028 enableval=$enable_richmsgdlg;
13029 if test "$enableval" = yes; then
13030 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13031 else
13032 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13033 fi
13034
13035 else
13036
13037 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13038
13039 fi
13040
13041
13042 eval "$wx_cv_use_richmsgdlg"
13043
13044 if test x"$enablestring" = xdisable; then
13045 if test $wxUSE_RICHMSGDLG = no; then
13046 result=yes
13047 else
13048 result=no
13049 fi
13050 else
13051 result=$wxUSE_RICHMSGDLG
13052 fi
13053
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13055 $as_echo "$result" >&6; }
13056
13057
13058 enablestring=
13059 defaultval=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x"$enablestring" = xdisable; then
13062 defaultval=yes
13063 else
13064 defaultval=no
13065 fi
13066 fi
13067
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13069 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13070 # Check whether --enable-richtooltip was given.
13071 if test "${enable_richtooltip+set}" = set; then :
13072 enableval=$enable_richtooltip;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13075 else
13076 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13077 fi
13078
13079 else
13080
13081 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13082
13083 fi
13084
13085
13086 eval "$wx_cv_use_richtooltip"
13087
13088 if test x"$enablestring" = xdisable; then
13089 if test $wxUSE_RICHTOOLTIP = no; then
13090 result=yes
13091 else
13092 result=no
13093 fi
13094 else
13095 result=$wxUSE_RICHTOOLTIP
13096 fi
13097
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13099 $as_echo "$result" >&6; }
13100
13101
13102 enablestring=
13103 defaultval=$wxUSE_ALL_FEATURES
13104 if test -z "$defaultval"; then
13105 if test x"$enablestring" = xdisable; then
13106 defaultval=yes
13107 else
13108 defaultval=no
13109 fi
13110 fi
13111
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13113 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13114 # Check whether --enable-rearrangectrl was given.
13115 if test "${enable_rearrangectrl+set}" = set; then :
13116 enableval=$enable_rearrangectrl;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13119 else
13120 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13121 fi
13122
13123 else
13124
13125 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13126
13127 fi
13128
13129
13130 eval "$wx_cv_use_rearrangectrl"
13131
13132 if test x"$enablestring" = xdisable; then
13133 if test $wxUSE_REARRANGECTRL = no; then
13134 result=yes
13135 else
13136 result=no
13137 fi
13138 else
13139 result=$wxUSE_REARRANGECTRL
13140 fi
13141
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13143 $as_echo "$result" >&6; }
13144
13145
13146 enablestring=
13147 defaultval=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x"$enablestring" = xdisable; then
13150 defaultval=yes
13151 else
13152 defaultval=no
13153 fi
13154 fi
13155
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13157 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13158 # Check whether --enable-sash was given.
13159 if test "${enable_sash+set}" = set; then :
13160 enableval=$enable_sash;
13161 if test "$enableval" = yes; then
13162 wx_cv_use_sash='wxUSE_SASH=yes'
13163 else
13164 wx_cv_use_sash='wxUSE_SASH=no'
13165 fi
13166
13167 else
13168
13169 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13170
13171 fi
13172
13173
13174 eval "$wx_cv_use_sash"
13175
13176 if test x"$enablestring" = xdisable; then
13177 if test $wxUSE_SASH = no; then
13178 result=yes
13179 else
13180 result=no
13181 fi
13182 else
13183 result=$wxUSE_SASH
13184 fi
13185
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13187 $as_echo "$result" >&6; }
13188
13189
13190 enablestring=
13191 defaultval=$wxUSE_ALL_FEATURES
13192 if test -z "$defaultval"; then
13193 if test x"$enablestring" = xdisable; then
13194 defaultval=yes
13195 else
13196 defaultval=no
13197 fi
13198 fi
13199
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13201 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13202 # Check whether --enable-scrollbar was given.
13203 if test "${enable_scrollbar+set}" = set; then :
13204 enableval=$enable_scrollbar;
13205 if test "$enableval" = yes; then
13206 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13207 else
13208 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13209 fi
13210
13211 else
13212
13213 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13214
13215 fi
13216
13217
13218 eval "$wx_cv_use_scrollbar"
13219
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_SCROLLBAR = no; then
13222 result=yes
13223 else
13224 result=no
13225 fi
13226 else
13227 result=$wxUSE_SCROLLBAR
13228 fi
13229
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13231 $as_echo "$result" >&6; }
13232
13233
13234 enablestring=
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13238 defaultval=yes
13239 else
13240 defaultval=no
13241 fi
13242 fi
13243
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13245 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13246 # Check whether --enable-searchctrl was given.
13247 if test "${enable_searchctrl+set}" = set; then :
13248 enableval=$enable_searchctrl;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13251 else
13252 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13253 fi
13254
13255 else
13256
13257 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13258
13259 fi
13260
13261
13262 eval "$wx_cv_use_searchctrl"
13263
13264 if test x"$enablestring" = xdisable; then
13265 if test $wxUSE_SEARCHCTRL = no; then
13266 result=yes
13267 else
13268 result=no
13269 fi
13270 else
13271 result=$wxUSE_SEARCHCTRL
13272 fi
13273
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13275 $as_echo "$result" >&6; }
13276
13277
13278 enablestring=
13279 defaultval=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x"$enablestring" = xdisable; then
13282 defaultval=yes
13283 else
13284 defaultval=no
13285 fi
13286 fi
13287
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13289 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13290 # Check whether --enable-slider was given.
13291 if test "${enable_slider+set}" = set; then :
13292 enableval=$enable_slider;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_slider='wxUSE_SLIDER=yes'
13295 else
13296 wx_cv_use_slider='wxUSE_SLIDER=no'
13297 fi
13298
13299 else
13300
13301 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13302
13303 fi
13304
13305
13306 eval "$wx_cv_use_slider"
13307
13308 if test x"$enablestring" = xdisable; then
13309 if test $wxUSE_SLIDER = no; then
13310 result=yes
13311 else
13312 result=no
13313 fi
13314 else
13315 result=$wxUSE_SLIDER
13316 fi
13317
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13319 $as_echo "$result" >&6; }
13320
13321
13322 enablestring=
13323 defaultval=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x"$enablestring" = xdisable; then
13326 defaultval=yes
13327 else
13328 defaultval=no
13329 fi
13330 fi
13331
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13333 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13334 # Check whether --enable-spinbtn was given.
13335 if test "${enable_spinbtn+set}" = set; then :
13336 enableval=$enable_spinbtn;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13339 else
13340 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13341 fi
13342
13343 else
13344
13345 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13346
13347 fi
13348
13349
13350 eval "$wx_cv_use_spinbtn"
13351
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_SPINBTN = no; then
13354 result=yes
13355 else
13356 result=no
13357 fi
13358 else
13359 result=$wxUSE_SPINBTN
13360 fi
13361
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13363 $as_echo "$result" >&6; }
13364
13365
13366 enablestring=
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13370 defaultval=yes
13371 else
13372 defaultval=no
13373 fi
13374 fi
13375
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13377 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13378 # Check whether --enable-spinctrl was given.
13379 if test "${enable_spinctrl+set}" = set; then :
13380 enableval=$enable_spinctrl;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13383 else
13384 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13385 fi
13386
13387 else
13388
13389 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13390
13391 fi
13392
13393
13394 eval "$wx_cv_use_spinctrl"
13395
13396 if test x"$enablestring" = xdisable; then
13397 if test $wxUSE_SPINCTRL = no; then
13398 result=yes
13399 else
13400 result=no
13401 fi
13402 else
13403 result=$wxUSE_SPINCTRL
13404 fi
13405
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13407 $as_echo "$result" >&6; }
13408
13409
13410 enablestring=
13411 defaultval=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x"$enablestring" = xdisable; then
13414 defaultval=yes
13415 else
13416 defaultval=no
13417 fi
13418 fi
13419
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13421 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13422 # Check whether --enable-splitter was given.
13423 if test "${enable_splitter+set}" = set; then :
13424 enableval=$enable_splitter;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13427 else
13428 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13429 fi
13430
13431 else
13432
13433 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13434
13435 fi
13436
13437
13438 eval "$wx_cv_use_splitter"
13439
13440 if test x"$enablestring" = xdisable; then
13441 if test $wxUSE_SPLITTER = no; then
13442 result=yes
13443 else
13444 result=no
13445 fi
13446 else
13447 result=$wxUSE_SPLITTER
13448 fi
13449
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13451 $as_echo "$result" >&6; }
13452
13453
13454 enablestring=
13455 defaultval=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x"$enablestring" = xdisable; then
13458 defaultval=yes
13459 else
13460 defaultval=no
13461 fi
13462 fi
13463
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13465 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13466 # Check whether --enable-statbmp was given.
13467 if test "${enable_statbmp+set}" = set; then :
13468 enableval=$enable_statbmp;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13471 else
13472 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13473 fi
13474
13475 else
13476
13477 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13478
13479 fi
13480
13481
13482 eval "$wx_cv_use_statbmp"
13483
13484 if test x"$enablestring" = xdisable; then
13485 if test $wxUSE_STATBMP = no; then
13486 result=yes
13487 else
13488 result=no
13489 fi
13490 else
13491 result=$wxUSE_STATBMP
13492 fi
13493
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13495 $as_echo "$result" >&6; }
13496
13497
13498 enablestring=
13499 defaultval=$wxUSE_ALL_FEATURES
13500 if test -z "$defaultval"; then
13501 if test x"$enablestring" = xdisable; then
13502 defaultval=yes
13503 else
13504 defaultval=no
13505 fi
13506 fi
13507
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13509 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13510 # Check whether --enable-statbox was given.
13511 if test "${enable_statbox+set}" = set; then :
13512 enableval=$enable_statbox;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13515 else
13516 wx_cv_use_statbox='wxUSE_STATBOX=no'
13517 fi
13518
13519 else
13520
13521 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13522
13523 fi
13524
13525
13526 eval "$wx_cv_use_statbox"
13527
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_STATBOX = no; then
13530 result=yes
13531 else
13532 result=no
13533 fi
13534 else
13535 result=$wxUSE_STATBOX
13536 fi
13537
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13539 $as_echo "$result" >&6; }
13540
13541
13542 enablestring=
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13546 defaultval=yes
13547 else
13548 defaultval=no
13549 fi
13550 fi
13551
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13553 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13554 # Check whether --enable-statline was given.
13555 if test "${enable_statline+set}" = set; then :
13556 enableval=$enable_statline;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_statline='wxUSE_STATLINE=yes'
13559 else
13560 wx_cv_use_statline='wxUSE_STATLINE=no'
13561 fi
13562
13563 else
13564
13565 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13566
13567 fi
13568
13569
13570 eval "$wx_cv_use_statline"
13571
13572 if test x"$enablestring" = xdisable; then
13573 if test $wxUSE_STATLINE = no; then
13574 result=yes
13575 else
13576 result=no
13577 fi
13578 else
13579 result=$wxUSE_STATLINE
13580 fi
13581
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13583 $as_echo "$result" >&6; }
13584
13585
13586 enablestring=
13587 defaultval=$wxUSE_ALL_FEATURES
13588 if test -z "$defaultval"; then
13589 if test x"$enablestring" = xdisable; then
13590 defaultval=yes
13591 else
13592 defaultval=no
13593 fi
13594 fi
13595
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13597 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13598 # Check whether --enable-stattext was given.
13599 if test "${enable_stattext+set}" = set; then :
13600 enableval=$enable_stattext;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13603 else
13604 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13605 fi
13606
13607 else
13608
13609 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13610
13611 fi
13612
13613
13614 eval "$wx_cv_use_stattext"
13615
13616 if test x"$enablestring" = xdisable; then
13617 if test $wxUSE_STATTEXT = no; then
13618 result=yes
13619 else
13620 result=no
13621 fi
13622 else
13623 result=$wxUSE_STATTEXT
13624 fi
13625
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13627 $as_echo "$result" >&6; }
13628
13629
13630 enablestring=
13631 defaultval=$wxUSE_ALL_FEATURES
13632 if test -z "$defaultval"; then
13633 if test x"$enablestring" = xdisable; then
13634 defaultval=yes
13635 else
13636 defaultval=no
13637 fi
13638 fi
13639
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13641 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13642 # Check whether --enable-statusbar was given.
13643 if test "${enable_statusbar+set}" = set; then :
13644 enableval=$enable_statusbar;
13645 if test "$enableval" = yes; then
13646 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13647 else
13648 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13649 fi
13650
13651 else
13652
13653 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13654
13655 fi
13656
13657
13658 eval "$wx_cv_use_statusbar"
13659
13660 if test x"$enablestring" = xdisable; then
13661 if test $wxUSE_STATUSBAR = no; then
13662 result=yes
13663 else
13664 result=no
13665 fi
13666 else
13667 result=$wxUSE_STATUSBAR
13668 fi
13669
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13671 $as_echo "$result" >&6; }
13672
13673
13674 enablestring=
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13678 defaultval=yes
13679 else
13680 defaultval=no
13681 fi
13682 fi
13683
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13685 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13686 # Check whether --enable-taskbaricon was given.
13687 if test "${enable_taskbaricon+set}" = set; then :
13688 enableval=$enable_taskbaricon;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13691 else
13692 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13693 fi
13694
13695 else
13696
13697 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13698
13699 fi
13700
13701
13702 eval "$wx_cv_use_taskbaricon"
13703
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_TASKBARICON = no; then
13706 result=yes
13707 else
13708 result=no
13709 fi
13710 else
13711 result=$wxUSE_TASKBARICON
13712 fi
13713
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13715 $as_echo "$result" >&6; }
13716
13717
13718 enablestring=
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13722 defaultval=yes
13723 else
13724 defaultval=no
13725 fi
13726 fi
13727
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13729 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13730 # Check whether --enable-tbarnative was given.
13731 if test "${enable_tbarnative+set}" = set; then :
13732 enableval=$enable_tbarnative;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13735 else
13736 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_tbarnative"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_TOOLBAR_NATIVE = no; then
13750 result=yes
13751 else
13752 result=no
13753 fi
13754 else
13755 result=$wxUSE_TOOLBAR_NATIVE
13756 fi
13757
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13759 $as_echo "$result" >&6; }
13760
13761
13762 enablestring=
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13766 defaultval=yes
13767 else
13768 defaultval=no
13769 fi
13770 fi
13771
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13773 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13774 # Check whether --enable-textctrl was given.
13775 if test "${enable_textctrl+set}" = set; then :
13776 enableval=$enable_textctrl;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13779 else
13780 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_textctrl"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_TEXTCTRL = no; then
13794 result=yes
13795 else
13796 result=no
13797 fi
13798 else
13799 result=$wxUSE_TEXTCTRL
13800 fi
13801
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13803 $as_echo "$result" >&6; }
13804
13805
13806 enablestring=
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13810 defaultval=yes
13811 else
13812 defaultval=no
13813 fi
13814 fi
13815
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13817 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13818 # Check whether --enable-datepick was given.
13819 if test "${enable_datepick+set}" = set; then :
13820 enableval=$enable_datepick;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13823 else
13824 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_datepick"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TIMEPICKCTRL = no; then
13838 result=yes
13839 else
13840 result=no
13841 fi
13842 else
13843 result=$wxUSE_TIMEPICKCTRL
13844 fi
13845
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13847 $as_echo "$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13861 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13862 # Check whether --enable-tipwindow was given.
13863 if test "${enable_tipwindow+set}" = set; then :
13864 enableval=$enable_tipwindow;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13867 else
13868 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_tipwindow"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_TIPWINDOW = no; then
13882 result=yes
13883 else
13884 result=no
13885 fi
13886 else
13887 result=$wxUSE_TIPWINDOW
13888 fi
13889
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13891 $as_echo "$result" >&6; }
13892
13893
13894 enablestring=
13895 defaultval=$wxUSE_ALL_FEATURES
13896 if test -z "$defaultval"; then
13897 if test x"$enablestring" = xdisable; then
13898 defaultval=yes
13899 else
13900 defaultval=no
13901 fi
13902 fi
13903
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13905 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13906 # Check whether --enable-togglebtn was given.
13907 if test "${enable_togglebtn+set}" = set; then :
13908 enableval=$enable_togglebtn;
13909 if test "$enableval" = yes; then
13910 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13911 else
13912 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13913 fi
13914
13915 else
13916
13917 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13918
13919 fi
13920
13921
13922 eval "$wx_cv_use_togglebtn"
13923
13924 if test x"$enablestring" = xdisable; then
13925 if test $wxUSE_TOGGLEBTN = no; then
13926 result=yes
13927 else
13928 result=no
13929 fi
13930 else
13931 result=$wxUSE_TOGGLEBTN
13932 fi
13933
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13935 $as_echo "$result" >&6; }
13936
13937
13938 enablestring=
13939 defaultval=$wxUSE_ALL_FEATURES
13940 if test -z "$defaultval"; then
13941 if test x"$enablestring" = xdisable; then
13942 defaultval=yes
13943 else
13944 defaultval=no
13945 fi
13946 fi
13947
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13949 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13950 # Check whether --enable-toolbar was given.
13951 if test "${enable_toolbar+set}" = set; then :
13952 enableval=$enable_toolbar;
13953 if test "$enableval" = yes; then
13954 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13955 else
13956 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13957 fi
13958
13959 else
13960
13961 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13962
13963 fi
13964
13965
13966 eval "$wx_cv_use_toolbar"
13967
13968 if test x"$enablestring" = xdisable; then
13969 if test $wxUSE_TOOLBAR = no; then
13970 result=yes
13971 else
13972 result=no
13973 fi
13974 else
13975 result=$wxUSE_TOOLBAR
13976 fi
13977
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13979 $as_echo "$result" >&6; }
13980
13981
13982 enablestring=
13983 defaultval=$wxUSE_ALL_FEATURES
13984 if test -z "$defaultval"; then
13985 if test x"$enablestring" = xdisable; then
13986 defaultval=yes
13987 else
13988 defaultval=no
13989 fi
13990 fi
13991
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13993 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13994 # Check whether --enable-toolbook was given.
13995 if test "${enable_toolbook+set}" = set; then :
13996 enableval=$enable_toolbook;
13997 if test "$enableval" = yes; then
13998 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13999 else
14000 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14001 fi
14002
14003 else
14004
14005 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14006
14007 fi
14008
14009
14010 eval "$wx_cv_use_toolbook"
14011
14012 if test x"$enablestring" = xdisable; then
14013 if test $wxUSE_TOOLBOOK = no; then
14014 result=yes
14015 else
14016 result=no
14017 fi
14018 else
14019 result=$wxUSE_TOOLBOOK
14020 fi
14021
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14023 $as_echo "$result" >&6; }
14024
14025
14026 enablestring=
14027 defaultval=$wxUSE_ALL_FEATURES
14028 if test -z "$defaultval"; then
14029 if test x"$enablestring" = xdisable; then
14030 defaultval=yes
14031 else
14032 defaultval=no
14033 fi
14034 fi
14035
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14037 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14038 # Check whether --enable-treebook was given.
14039 if test "${enable_treebook+set}" = set; then :
14040 enableval=$enable_treebook;
14041 if test "$enableval" = yes; then
14042 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14043 else
14044 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14045 fi
14046
14047 else
14048
14049 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14050
14051 fi
14052
14053
14054 eval "$wx_cv_use_treebook"
14055
14056 if test x"$enablestring" = xdisable; then
14057 if test $wxUSE_TREEBOOK = no; then
14058 result=yes
14059 else
14060 result=no
14061 fi
14062 else
14063 result=$wxUSE_TREEBOOK
14064 fi
14065
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14067 $as_echo "$result" >&6; }
14068
14069
14070 enablestring=
14071 defaultval=$wxUSE_ALL_FEATURES
14072 if test -z "$defaultval"; then
14073 if test x"$enablestring" = xdisable; then
14074 defaultval=yes
14075 else
14076 defaultval=no
14077 fi
14078 fi
14079
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14081 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14082 # Check whether --enable-treectrl was given.
14083 if test "${enable_treectrl+set}" = set; then :
14084 enableval=$enable_treectrl;
14085 if test "$enableval" = yes; then
14086 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14087 else
14088 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14089 fi
14090
14091 else
14092
14093 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14094
14095 fi
14096
14097
14098 eval "$wx_cv_use_treectrl"
14099
14100 if test x"$enablestring" = xdisable; then
14101 if test $wxUSE_TREECTRL = no; then
14102 result=yes
14103 else
14104 result=no
14105 fi
14106 else
14107 result=$wxUSE_TREECTRL
14108 fi
14109
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14111 $as_echo "$result" >&6; }
14112
14113
14114 enablestring=
14115 defaultval=$wxUSE_ALL_FEATURES
14116 if test -z "$defaultval"; then
14117 if test x"$enablestring" = xdisable; then
14118 defaultval=yes
14119 else
14120 defaultval=no
14121 fi
14122 fi
14123
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14125 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14126 # Check whether --enable-treelist was given.
14127 if test "${enable_treelist+set}" = set; then :
14128 enableval=$enable_treelist;
14129 if test "$enableval" = yes; then
14130 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14131 else
14132 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14133 fi
14134
14135 else
14136
14137 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14138
14139 fi
14140
14141
14142 eval "$wx_cv_use_treelist"
14143
14144 if test x"$enablestring" = xdisable; then
14145 if test $wxUSE_TREELISTCTRL = no; then
14146 result=yes
14147 else
14148 result=no
14149 fi
14150 else
14151 result=$wxUSE_TREELISTCTRL
14152 fi
14153
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14155 $as_echo "$result" >&6; }
14156
14157
14158
14159
14160 enablestring=
14161 defaultval=$wxUSE_ALL_FEATURES
14162 if test -z "$defaultval"; then
14163 if test x"$enablestring" = xdisable; then
14164 defaultval=yes
14165 else
14166 defaultval=no
14167 fi
14168 fi
14169
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14171 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14172 # Check whether --enable-commondlg was given.
14173 if test "${enable_commondlg+set}" = set; then :
14174 enableval=$enable_commondlg;
14175 if test "$enableval" = yes; then
14176 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14177 else
14178 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14179 fi
14180
14181 else
14182
14183 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14184
14185 fi
14186
14187
14188 eval "$wx_cv_use_commondlg"
14189
14190 if test x"$enablestring" = xdisable; then
14191 if test $wxUSE_COMMONDLGS = no; then
14192 result=yes
14193 else
14194 result=no
14195 fi
14196 else
14197 result=$wxUSE_COMMONDLGS
14198 fi
14199
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14201 $as_echo "$result" >&6; }
14202
14203
14204 enablestring=
14205 defaultval=$wxUSE_ALL_FEATURES
14206 if test -z "$defaultval"; then
14207 if test x"$enablestring" = xdisable; then
14208 defaultval=yes
14209 else
14210 defaultval=no
14211 fi
14212 fi
14213
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14215 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14216 # Check whether --enable-aboutdlg was given.
14217 if test "${enable_aboutdlg+set}" = set; then :
14218 enableval=$enable_aboutdlg;
14219 if test "$enableval" = yes; then
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14221 else
14222 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14223 fi
14224
14225 else
14226
14227 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14228
14229 fi
14230
14231
14232 eval "$wx_cv_use_aboutdlg"
14233
14234 if test x"$enablestring" = xdisable; then
14235 if test $wxUSE_ABOUTDLG = no; then
14236 result=yes
14237 else
14238 result=no
14239 fi
14240 else
14241 result=$wxUSE_ABOUTDLG
14242 fi
14243
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14245 $as_echo "$result" >&6; }
14246
14247
14248 enablestring=
14249 defaultval=$wxUSE_ALL_FEATURES
14250 if test -z "$defaultval"; then
14251 if test x"$enablestring" = xdisable; then
14252 defaultval=yes
14253 else
14254 defaultval=no
14255 fi
14256 fi
14257
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14259 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14260 # Check whether --enable-choicedlg was given.
14261 if test "${enable_choicedlg+set}" = set; then :
14262 enableval=$enable_choicedlg;
14263 if test "$enableval" = yes; then
14264 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14265 else
14266 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14267 fi
14268
14269 else
14270
14271 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14272
14273 fi
14274
14275
14276 eval "$wx_cv_use_choicedlg"
14277
14278 if test x"$enablestring" = xdisable; then
14279 if test $wxUSE_CHOICEDLG = no; then
14280 result=yes
14281 else
14282 result=no
14283 fi
14284 else
14285 result=$wxUSE_CHOICEDLG
14286 fi
14287
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14289 $as_echo "$result" >&6; }
14290
14291
14292 enablestring=
14293 defaultval=$wxUSE_ALL_FEATURES
14294 if test -z "$defaultval"; then
14295 if test x"$enablestring" = xdisable; then
14296 defaultval=yes
14297 else
14298 defaultval=no
14299 fi
14300 fi
14301
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14303 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14304 # Check whether --enable-coldlg was given.
14305 if test "${enable_coldlg+set}" = set; then :
14306 enableval=$enable_coldlg;
14307 if test "$enableval" = yes; then
14308 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14309 else
14310 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14311 fi
14312
14313 else
14314
14315 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14316
14317 fi
14318
14319
14320 eval "$wx_cv_use_coldlg"
14321
14322 if test x"$enablestring" = xdisable; then
14323 if test $wxUSE_COLOURDLG = no; then
14324 result=yes
14325 else
14326 result=no
14327 fi
14328 else
14329 result=$wxUSE_COLOURDLG
14330 fi
14331
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14333 $as_echo "$result" >&6; }
14334
14335
14336 enablestring=
14337 defaultval=$wxUSE_ALL_FEATURES
14338 if test -z "$defaultval"; then
14339 if test x"$enablestring" = xdisable; then
14340 defaultval=yes
14341 else
14342 defaultval=no
14343 fi
14344 fi
14345
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14347 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14348 # Check whether --enable-filedlg was given.
14349 if test "${enable_filedlg+set}" = set; then :
14350 enableval=$enable_filedlg;
14351 if test "$enableval" = yes; then
14352 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14353 else
14354 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14355 fi
14356
14357 else
14358
14359 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14360
14361 fi
14362
14363
14364 eval "$wx_cv_use_filedlg"
14365
14366 if test x"$enablestring" = xdisable; then
14367 if test $wxUSE_FILEDLG = no; then
14368 result=yes
14369 else
14370 result=no
14371 fi
14372 else
14373 result=$wxUSE_FILEDLG
14374 fi
14375
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14377 $as_echo "$result" >&6; }
14378
14379
14380 enablestring=
14381 defaultval=$wxUSE_ALL_FEATURES
14382 if test -z "$defaultval"; then
14383 if test x"$enablestring" = xdisable; then
14384 defaultval=yes
14385 else
14386 defaultval=no
14387 fi
14388 fi
14389
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14391 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14392 # Check whether --enable-finddlg was given.
14393 if test "${enable_finddlg+set}" = set; then :
14394 enableval=$enable_finddlg;
14395 if test "$enableval" = yes; then
14396 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14397 else
14398 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14399 fi
14400
14401 else
14402
14403 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14404
14405 fi
14406
14407
14408 eval "$wx_cv_use_finddlg"
14409
14410 if test x"$enablestring" = xdisable; then
14411 if test $wxUSE_FINDREPLDLG = no; then
14412 result=yes
14413 else
14414 result=no
14415 fi
14416 else
14417 result=$wxUSE_FINDREPLDLG
14418 fi
14419
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14421 $as_echo "$result" >&6; }
14422
14423
14424 enablestring=
14425 defaultval=$wxUSE_ALL_FEATURES
14426 if test -z "$defaultval"; then
14427 if test x"$enablestring" = xdisable; then
14428 defaultval=yes
14429 else
14430 defaultval=no
14431 fi
14432 fi
14433
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14435 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14436 # Check whether --enable-fontdlg was given.
14437 if test "${enable_fontdlg+set}" = set; then :
14438 enableval=$enable_fontdlg;
14439 if test "$enableval" = yes; then
14440 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14441 else
14442 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14443 fi
14444
14445 else
14446
14447 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14448
14449 fi
14450
14451
14452 eval "$wx_cv_use_fontdlg"
14453
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_FONTDLG = no; then
14456 result=yes
14457 else
14458 result=no
14459 fi
14460 else
14461 result=$wxUSE_FONTDLG
14462 fi
14463
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14465 $as_echo "$result" >&6; }
14466
14467
14468 enablestring=
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14472 defaultval=yes
14473 else
14474 defaultval=no
14475 fi
14476 fi
14477
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14479 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14480 # Check whether --enable-dirdlg was given.
14481 if test "${enable_dirdlg+set}" = set; then :
14482 enableval=$enable_dirdlg;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14485 else
14486 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14487 fi
14488
14489 else
14490
14491 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14492
14493 fi
14494
14495
14496 eval "$wx_cv_use_dirdlg"
14497
14498 if test x"$enablestring" = xdisable; then
14499 if test $wxUSE_DIRDLG = no; then
14500 result=yes
14501 else
14502 result=no
14503 fi
14504 else
14505 result=$wxUSE_DIRDLG
14506 fi
14507
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14509 $as_echo "$result" >&6; }
14510
14511
14512 enablestring=
14513 defaultval=$wxUSE_ALL_FEATURES
14514 if test -z "$defaultval"; then
14515 if test x"$enablestring" = xdisable; then
14516 defaultval=yes
14517 else
14518 defaultval=no
14519 fi
14520 fi
14521
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14523 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14524 # Check whether --enable-msgdlg was given.
14525 if test "${enable_msgdlg+set}" = set; then :
14526 enableval=$enable_msgdlg;
14527 if test "$enableval" = yes; then
14528 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14529 else
14530 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14531 fi
14532
14533 else
14534
14535 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14536
14537 fi
14538
14539
14540 eval "$wx_cv_use_msgdlg"
14541
14542 if test x"$enablestring" = xdisable; then
14543 if test $wxUSE_MSGDLG = no; then
14544 result=yes
14545 else
14546 result=no
14547 fi
14548 else
14549 result=$wxUSE_MSGDLG
14550 fi
14551
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14553 $as_echo "$result" >&6; }
14554
14555
14556 enablestring=
14557 defaultval=$wxUSE_ALL_FEATURES
14558 if test -z "$defaultval"; then
14559 if test x"$enablestring" = xdisable; then
14560 defaultval=yes
14561 else
14562 defaultval=no
14563 fi
14564 fi
14565
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14567 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14568 # Check whether --enable-numberdlg was given.
14569 if test "${enable_numberdlg+set}" = set; then :
14570 enableval=$enable_numberdlg;
14571 if test "$enableval" = yes; then
14572 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14573 else
14574 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14575 fi
14576
14577 else
14578
14579 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14580
14581 fi
14582
14583
14584 eval "$wx_cv_use_numberdlg"
14585
14586 if test x"$enablestring" = xdisable; then
14587 if test $wxUSE_NUMBERDLG = no; then
14588 result=yes
14589 else
14590 result=no
14591 fi
14592 else
14593 result=$wxUSE_NUMBERDLG
14594 fi
14595
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14597 $as_echo "$result" >&6; }
14598
14599
14600 enablestring=
14601 defaultval=$wxUSE_ALL_FEATURES
14602 if test -z "$defaultval"; then
14603 if test x"$enablestring" = xdisable; then
14604 defaultval=yes
14605 else
14606 defaultval=no
14607 fi
14608 fi
14609
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14611 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14612 # Check whether --enable-splash was given.
14613 if test "${enable_splash+set}" = set; then :
14614 enableval=$enable_splash;
14615 if test "$enableval" = yes; then
14616 wx_cv_use_splash='wxUSE_SPLASH=yes'
14617 else
14618 wx_cv_use_splash='wxUSE_SPLASH=no'
14619 fi
14620
14621 else
14622
14623 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14624
14625 fi
14626
14627
14628 eval "$wx_cv_use_splash"
14629
14630 if test x"$enablestring" = xdisable; then
14631 if test $wxUSE_SPLASH = no; then
14632 result=yes
14633 else
14634 result=no
14635 fi
14636 else
14637 result=$wxUSE_SPLASH
14638 fi
14639
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14641 $as_echo "$result" >&6; }
14642
14643
14644 enablestring=
14645 defaultval=$wxUSE_ALL_FEATURES
14646 if test -z "$defaultval"; then
14647 if test x"$enablestring" = xdisable; then
14648 defaultval=yes
14649 else
14650 defaultval=no
14651 fi
14652 fi
14653
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14655 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14656 # Check whether --enable-textdlg was given.
14657 if test "${enable_textdlg+set}" = set; then :
14658 enableval=$enable_textdlg;
14659 if test "$enableval" = yes; then
14660 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14661 else
14662 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14663 fi
14664
14665 else
14666
14667 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14668
14669 fi
14670
14671
14672 eval "$wx_cv_use_textdlg"
14673
14674 if test x"$enablestring" = xdisable; then
14675 if test $wxUSE_TEXTDLG = no; then
14676 result=yes
14677 else
14678 result=no
14679 fi
14680 else
14681 result=$wxUSE_TEXTDLG
14682 fi
14683
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14685 $as_echo "$result" >&6; }
14686
14687
14688 enablestring=
14689 defaultval=$wxUSE_ALL_FEATURES
14690 if test -z "$defaultval"; then
14691 if test x"$enablestring" = xdisable; then
14692 defaultval=yes
14693 else
14694 defaultval=no
14695 fi
14696 fi
14697
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14699 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14700 # Check whether --enable-tipdlg was given.
14701 if test "${enable_tipdlg+set}" = set; then :
14702 enableval=$enable_tipdlg;
14703 if test "$enableval" = yes; then
14704 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14705 else
14706 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14707 fi
14708
14709 else
14710
14711 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14712
14713 fi
14714
14715
14716 eval "$wx_cv_use_tipdlg"
14717
14718 if test x"$enablestring" = xdisable; then
14719 if test $wxUSE_STARTUP_TIPS = no; then
14720 result=yes
14721 else
14722 result=no
14723 fi
14724 else
14725 result=$wxUSE_STARTUP_TIPS
14726 fi
14727
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14729 $as_echo "$result" >&6; }
14730
14731
14732 enablestring=
14733 defaultval=$wxUSE_ALL_FEATURES
14734 if test -z "$defaultval"; then
14735 if test x"$enablestring" = xdisable; then
14736 defaultval=yes
14737 else
14738 defaultval=no
14739 fi
14740 fi
14741
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14743 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14744 # Check whether --enable-progressdlg was given.
14745 if test "${enable_progressdlg+set}" = set; then :
14746 enableval=$enable_progressdlg;
14747 if test "$enableval" = yes; then
14748 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14749 else
14750 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14751 fi
14752
14753 else
14754
14755 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14756
14757 fi
14758
14759
14760 eval "$wx_cv_use_progressdlg"
14761
14762 if test x"$enablestring" = xdisable; then
14763 if test $wxUSE_PROGRESSDLG = no; then
14764 result=yes
14765 else
14766 result=no
14767 fi
14768 else
14769 result=$wxUSE_PROGRESSDLG
14770 fi
14771
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14773 $as_echo "$result" >&6; }
14774
14775
14776 enablestring=
14777 defaultval=$wxUSE_ALL_FEATURES
14778 if test -z "$defaultval"; then
14779 if test x"$enablestring" = xdisable; then
14780 defaultval=yes
14781 else
14782 defaultval=no
14783 fi
14784 fi
14785
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14787 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14788 # Check whether --enable-wizarddlg was given.
14789 if test "${enable_wizarddlg+set}" = set; then :
14790 enableval=$enable_wizarddlg;
14791 if test "$enableval" = yes; then
14792 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14793 else
14794 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14795 fi
14796
14797 else
14798
14799 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14800
14801 fi
14802
14803
14804 eval "$wx_cv_use_wizarddlg"
14805
14806 if test x"$enablestring" = xdisable; then
14807 if test $wxUSE_WIZARDDLG = no; then
14808 result=yes
14809 else
14810 result=no
14811 fi
14812 else
14813 result=$wxUSE_WIZARDDLG
14814 fi
14815
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14817 $as_echo "$result" >&6; }
14818
14819
14820
14821
14822 enablestring=
14823 defaultval=$wxUSE_ALL_FEATURES
14824 if test -z "$defaultval"; then
14825 if test x"$enablestring" = xdisable; then
14826 defaultval=yes
14827 else
14828 defaultval=no
14829 fi
14830 fi
14831
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14833 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14834 # Check whether --enable-menus was given.
14835 if test "${enable_menus+set}" = set; then :
14836 enableval=$enable_menus;
14837 if test "$enableval" = yes; then
14838 wx_cv_use_menus='wxUSE_MENUS=yes'
14839 else
14840 wx_cv_use_menus='wxUSE_MENUS=no'
14841 fi
14842
14843 else
14844
14845 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14846
14847 fi
14848
14849
14850 eval "$wx_cv_use_menus"
14851
14852 if test x"$enablestring" = xdisable; then
14853 if test $wxUSE_MENUS = no; then
14854 result=yes
14855 else
14856 result=no
14857 fi
14858 else
14859 result=$wxUSE_MENUS
14860 fi
14861
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14863 $as_echo "$result" >&6; }
14864
14865
14866 enablestring=
14867 defaultval=$wxUSE_ALL_FEATURES
14868 if test -z "$defaultval"; then
14869 if test x"$enablestring" = xdisable; then
14870 defaultval=yes
14871 else
14872 defaultval=no
14873 fi
14874 fi
14875
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14877 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14878 # Check whether --enable-miniframe was given.
14879 if test "${enable_miniframe+set}" = set; then :
14880 enableval=$enable_miniframe;
14881 if test "$enableval" = yes; then
14882 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14883 else
14884 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14885 fi
14886
14887 else
14888
14889 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14890
14891 fi
14892
14893
14894 eval "$wx_cv_use_miniframe"
14895
14896 if test x"$enablestring" = xdisable; then
14897 if test $wxUSE_MINIFRAME = no; then
14898 result=yes
14899 else
14900 result=no
14901 fi
14902 else
14903 result=$wxUSE_MINIFRAME
14904 fi
14905
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14907 $as_echo "$result" >&6; }
14908
14909
14910 enablestring=
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14914 defaultval=yes
14915 else
14916 defaultval=no
14917 fi
14918 fi
14919
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14921 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14922 # Check whether --enable-tooltips was given.
14923 if test "${enable_tooltips+set}" = set; then :
14924 enableval=$enable_tooltips;
14925 if test "$enableval" = yes; then
14926 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14927 else
14928 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14929 fi
14930
14931 else
14932
14933 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14934
14935 fi
14936
14937
14938 eval "$wx_cv_use_tooltips"
14939
14940 if test x"$enablestring" = xdisable; then
14941 if test $wxUSE_TOOLTIPS = no; then
14942 result=yes
14943 else
14944 result=no
14945 fi
14946 else
14947 result=$wxUSE_TOOLTIPS
14948 fi
14949
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14951 $as_echo "$result" >&6; }
14952
14953
14954 enablestring=
14955 defaultval=$wxUSE_ALL_FEATURES
14956 if test -z "$defaultval"; then
14957 if test x"$enablestring" = xdisable; then
14958 defaultval=yes
14959 else
14960 defaultval=no
14961 fi
14962 fi
14963
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14965 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14966 # Check whether --enable-splines was given.
14967 if test "${enable_splines+set}" = set; then :
14968 enableval=$enable_splines;
14969 if test "$enableval" = yes; then
14970 wx_cv_use_splines='wxUSE_SPLINES=yes'
14971 else
14972 wx_cv_use_splines='wxUSE_SPLINES=no'
14973 fi
14974
14975 else
14976
14977 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14978
14979 fi
14980
14981
14982 eval "$wx_cv_use_splines"
14983
14984 if test x"$enablestring" = xdisable; then
14985 if test $wxUSE_SPLINES = no; then
14986 result=yes
14987 else
14988 result=no
14989 fi
14990 else
14991 result=$wxUSE_SPLINES
14992 fi
14993
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14995 $as_echo "$result" >&6; }
14996
14997
14998 enablestring=
14999 defaultval=$wxUSE_ALL_FEATURES
15000 if test -z "$defaultval"; then
15001 if test x"$enablestring" = xdisable; then
15002 defaultval=yes
15003 else
15004 defaultval=no
15005 fi
15006 fi
15007
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15009 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15010 # Check whether --enable-mousewheel was given.
15011 if test "${enable_mousewheel+set}" = set; then :
15012 enableval=$enable_mousewheel;
15013 if test "$enableval" = yes; then
15014 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15015 else
15016 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15017 fi
15018
15019 else
15020
15021 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15022
15023 fi
15024
15025
15026 eval "$wx_cv_use_mousewheel"
15027
15028 if test x"$enablestring" = xdisable; then
15029 if test $wxUSE_MOUSEWHEEL = no; then
15030 result=yes
15031 else
15032 result=no
15033 fi
15034 else
15035 result=$wxUSE_MOUSEWHEEL
15036 fi
15037
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15039 $as_echo "$result" >&6; }
15040
15041
15042 enablestring=
15043 defaultval=$wxUSE_ALL_FEATURES
15044 if test -z "$defaultval"; then
15045 if test x"$enablestring" = xdisable; then
15046 defaultval=yes
15047 else
15048 defaultval=no
15049 fi
15050 fi
15051
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15053 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15054 # Check whether --enable-validators was given.
15055 if test "${enable_validators+set}" = set; then :
15056 enableval=$enable_validators;
15057 if test "$enableval" = yes; then
15058 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15059 else
15060 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15061 fi
15062
15063 else
15064
15065 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15066
15067 fi
15068
15069
15070 eval "$wx_cv_use_validators"
15071
15072 if test x"$enablestring" = xdisable; then
15073 if test $wxUSE_VALIDATORS = no; then
15074 result=yes
15075 else
15076 result=no
15077 fi
15078 else
15079 result=$wxUSE_VALIDATORS
15080 fi
15081
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15083 $as_echo "$result" >&6; }
15084
15085
15086 enablestring=
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15090 defaultval=yes
15091 else
15092 defaultval=no
15093 fi
15094 fi
15095
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15097 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15098 # Check whether --enable-busyinfo was given.
15099 if test "${enable_busyinfo+set}" = set; then :
15100 enableval=$enable_busyinfo;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15103 else
15104 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15105 fi
15106
15107 else
15108
15109 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15110
15111 fi
15112
15113
15114 eval "$wx_cv_use_busyinfo"
15115
15116 if test x"$enablestring" = xdisable; then
15117 if test $wxUSE_BUSYINFO = no; then
15118 result=yes
15119 else
15120 result=no
15121 fi
15122 else
15123 result=$wxUSE_BUSYINFO
15124 fi
15125
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15127 $as_echo "$result" >&6; }
15128
15129
15130 enablestring=
15131 defaultval=$wxUSE_ALL_FEATURES
15132 if test -z "$defaultval"; then
15133 if test x"$enablestring" = xdisable; then
15134 defaultval=yes
15135 else
15136 defaultval=no
15137 fi
15138 fi
15139
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15141 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15142 # Check whether --enable-hotkey was given.
15143 if test "${enable_hotkey+set}" = set; then :
15144 enableval=$enable_hotkey;
15145 if test "$enableval" = yes; then
15146 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15147 else
15148 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15149 fi
15150
15151 else
15152
15153 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15154
15155 fi
15156
15157
15158 eval "$wx_cv_use_hotkey"
15159
15160 if test x"$enablestring" = xdisable; then
15161 if test $wxUSE_HOTKEY = no; then
15162 result=yes
15163 else
15164 result=no
15165 fi
15166 else
15167 result=$wxUSE_HOTKEY
15168 fi
15169
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15171 $as_echo "$result" >&6; }
15172
15173
15174 enablestring=
15175 defaultval=$wxUSE_ALL_FEATURES
15176 if test -z "$defaultval"; then
15177 if test x"$enablestring" = xdisable; then
15178 defaultval=yes
15179 else
15180 defaultval=no
15181 fi
15182 fi
15183
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15185 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15186 # Check whether --enable-joystick was given.
15187 if test "${enable_joystick+set}" = set; then :
15188 enableval=$enable_joystick;
15189 if test "$enableval" = yes; then
15190 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15191 else
15192 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15193 fi
15194
15195 else
15196
15197 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15198
15199 fi
15200
15201
15202 eval "$wx_cv_use_joystick"
15203
15204 if test x"$enablestring" = xdisable; then
15205 if test $wxUSE_JOYSTICK = no; then
15206 result=yes
15207 else
15208 result=no
15209 fi
15210 else
15211 result=$wxUSE_JOYSTICK
15212 fi
15213
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15215 $as_echo "$result" >&6; }
15216
15217
15218 enablestring=
15219 defaultval=$wxUSE_ALL_FEATURES
15220 if test -z "$defaultval"; then
15221 if test x"$enablestring" = xdisable; then
15222 defaultval=yes
15223 else
15224 defaultval=no
15225 fi
15226 fi
15227
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15229 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15230 # Check whether --enable-metafile was given.
15231 if test "${enable_metafile+set}" = set; then :
15232 enableval=$enable_metafile;
15233 if test "$enableval" = yes; then
15234 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15235 else
15236 wx_cv_use_metafile='wxUSE_METAFILE=no'
15237 fi
15238
15239 else
15240
15241 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15242
15243 fi
15244
15245
15246 eval "$wx_cv_use_metafile"
15247
15248 if test x"$enablestring" = xdisable; then
15249 if test $wxUSE_METAFILE = no; then
15250 result=yes
15251 else
15252 result=no
15253 fi
15254 else
15255 result=$wxUSE_METAFILE
15256 fi
15257
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15259 $as_echo "$result" >&6; }
15260
15261
15262 enablestring=
15263 defaultval=$wxUSE_ALL_FEATURES
15264 if test -z "$defaultval"; then
15265 if test x"$enablestring" = xdisable; then
15266 defaultval=yes
15267 else
15268 defaultval=no
15269 fi
15270 fi
15271
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15273 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15274 # Check whether --enable-dragimage was given.
15275 if test "${enable_dragimage+set}" = set; then :
15276 enableval=$enable_dragimage;
15277 if test "$enableval" = yes; then
15278 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15279 else
15280 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15281 fi
15282
15283 else
15284
15285 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15286
15287 fi
15288
15289
15290 eval "$wx_cv_use_dragimage"
15291
15292 if test x"$enablestring" = xdisable; then
15293 if test $wxUSE_DRAGIMAGE = no; then
15294 result=yes
15295 else
15296 result=no
15297 fi
15298 else
15299 result=$wxUSE_DRAGIMAGE
15300 fi
15301
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15303 $as_echo "$result" >&6; }
15304
15305
15306 enablestring=
15307 defaultval=$wxUSE_ALL_FEATURES
15308 if test -z "$defaultval"; then
15309 if test x"$enablestring" = xdisable; then
15310 defaultval=yes
15311 else
15312 defaultval=no
15313 fi
15314 fi
15315
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15317 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15318 # Check whether --enable-accessibility was given.
15319 if test "${enable_accessibility+set}" = set; then :
15320 enableval=$enable_accessibility;
15321 if test "$enableval" = yes; then
15322 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15323 else
15324 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15325 fi
15326
15327 else
15328
15329 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15330
15331 fi
15332
15333
15334 eval "$wx_cv_use_accessibility"
15335
15336 if test x"$enablestring" = xdisable; then
15337 if test $wxUSE_ACCESSIBILITY = no; then
15338 result=yes
15339 else
15340 result=no
15341 fi
15342 else
15343 result=$wxUSE_ACCESSIBILITY
15344 fi
15345
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15347 $as_echo "$result" >&6; }
15348
15349
15350 enablestring=
15351 defaultval=$wxUSE_ALL_FEATURES
15352 if test -z "$defaultval"; then
15353 if test x"$enablestring" = xdisable; then
15354 defaultval=yes
15355 else
15356 defaultval=no
15357 fi
15358 fi
15359
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15361 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15362 # Check whether --enable-uiactionsim was given.
15363 if test "${enable_uiactionsim+set}" = set; then :
15364 enableval=$enable_uiactionsim;
15365 if test "$enableval" = yes; then
15366 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15367 else
15368 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15369 fi
15370
15371 else
15372
15373 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15374
15375 fi
15376
15377
15378 eval "$wx_cv_use_uiactionsim"
15379
15380 if test x"$enablestring" = xdisable; then
15381 if test $wxUSE_UIACTIONSIMULATOR = no; then
15382 result=yes
15383 else
15384 result=no
15385 fi
15386 else
15387 result=$wxUSE_UIACTIONSIMULATOR
15388 fi
15389
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15391 $as_echo "$result" >&6; }
15392
15393
15394 enablestring=
15395 defaultval=$wxUSE_ALL_FEATURES
15396 if test -z "$defaultval"; then
15397 if test x"$enablestring" = xdisable; then
15398 defaultval=yes
15399 else
15400 defaultval=no
15401 fi
15402 fi
15403
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15405 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15406 # Check whether --enable-dctransform was given.
15407 if test "${enable_dctransform+set}" = set; then :
15408 enableval=$enable_dctransform;
15409 if test "$enableval" = yes; then
15410 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15411 else
15412 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15413 fi
15414
15415 else
15416
15417 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15418
15419 fi
15420
15421
15422 eval "$wx_cv_use_dctransform"
15423
15424 if test x"$enablestring" = xdisable; then
15425 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15426 result=yes
15427 else
15428 result=no
15429 fi
15430 else
15431 result=$wxUSE_DC_TRANSFORM_MATRIX
15432 fi
15433
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15435 $as_echo "$result" >&6; }
15436
15437
15438 enablestring=
15439 defaultval=$wxUSE_ALL_FEATURES
15440 if test -z "$defaultval"; then
15441 if test x"$enablestring" = xdisable; then
15442 defaultval=yes
15443 else
15444 defaultval=no
15445 fi
15446 fi
15447
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15449 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15450 # Check whether --enable-webviewwebkit was given.
15451 if test "${enable_webviewwebkit+set}" = set; then :
15452 enableval=$enable_webviewwebkit;
15453 if test "$enableval" = yes; then
15454 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15455 else
15456 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15457 fi
15458
15459 else
15460
15461 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15462
15463 fi
15464
15465
15466 eval "$wx_cv_use_webviewwebkit"
15467
15468 if test x"$enablestring" = xdisable; then
15469 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15470 result=yes
15471 else
15472 result=no
15473 fi
15474 else
15475 result=$wxUSE_WEBVIEW_WEBKIT
15476 fi
15477
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15479 $as_echo "$result" >&6; }
15480
15481
15482
15483
15484 enablestring=
15485 defaultval=$wxUSE_ALL_FEATURES
15486 if test -z "$defaultval"; then
15487 if test x"$enablestring" = xdisable; then
15488 defaultval=yes
15489 else
15490 defaultval=no
15491 fi
15492 fi
15493
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15495 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15496 # Check whether --enable-palette was given.
15497 if test "${enable_palette+set}" = set; then :
15498 enableval=$enable_palette;
15499 if test "$enableval" = yes; then
15500 wx_cv_use_palette='wxUSE_PALETTE=yes'
15501 else
15502 wx_cv_use_palette='wxUSE_PALETTE=no'
15503 fi
15504
15505 else
15506
15507 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15508
15509 fi
15510
15511
15512 eval "$wx_cv_use_palette"
15513
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_PALETTE = no; then
15516 result=yes
15517 else
15518 result=no
15519 fi
15520 else
15521 result=$wxUSE_PALETTE
15522 fi
15523
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15525 $as_echo "$result" >&6; }
15526
15527
15528 enablestring=
15529 defaultval=$wxUSE_ALL_FEATURES
15530 if test -z "$defaultval"; then
15531 if test x"$enablestring" = xdisable; then
15532 defaultval=yes
15533 else
15534 defaultval=no
15535 fi
15536 fi
15537
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15539 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15540 # Check whether --enable-image was given.
15541 if test "${enable_image+set}" = set; then :
15542 enableval=$enable_image;
15543 if test "$enableval" = yes; then
15544 wx_cv_use_image='wxUSE_IMAGE=yes'
15545 else
15546 wx_cv_use_image='wxUSE_IMAGE=no'
15547 fi
15548
15549 else
15550
15551 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15552
15553 fi
15554
15555
15556 eval "$wx_cv_use_image"
15557
15558 if test x"$enablestring" = xdisable; then
15559 if test $wxUSE_IMAGE = no; then
15560 result=yes
15561 else
15562 result=no
15563 fi
15564 else
15565 result=$wxUSE_IMAGE
15566 fi
15567
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15569 $as_echo "$result" >&6; }
15570
15571
15572 enablestring=
15573 defaultval=$wxUSE_ALL_FEATURES
15574 if test -z "$defaultval"; then
15575 if test x"$enablestring" = xdisable; then
15576 defaultval=yes
15577 else
15578 defaultval=no
15579 fi
15580 fi
15581
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15583 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15584 # Check whether --enable-gif was given.
15585 if test "${enable_gif+set}" = set; then :
15586 enableval=$enable_gif;
15587 if test "$enableval" = yes; then
15588 wx_cv_use_gif='wxUSE_GIF=yes'
15589 else
15590 wx_cv_use_gif='wxUSE_GIF=no'
15591 fi
15592
15593 else
15594
15595 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15596
15597 fi
15598
15599
15600 eval "$wx_cv_use_gif"
15601
15602 if test x"$enablestring" = xdisable; then
15603 if test $wxUSE_GIF = no; then
15604 result=yes
15605 else
15606 result=no
15607 fi
15608 else
15609 result=$wxUSE_GIF
15610 fi
15611
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15613 $as_echo "$result" >&6; }
15614
15615
15616 enablestring=
15617 defaultval=$wxUSE_ALL_FEATURES
15618 if test -z "$defaultval"; then
15619 if test x"$enablestring" = xdisable; then
15620 defaultval=yes
15621 else
15622 defaultval=no
15623 fi
15624 fi
15625
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15627 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15628 # Check whether --enable-pcx was given.
15629 if test "${enable_pcx+set}" = set; then :
15630 enableval=$enable_pcx;
15631 if test "$enableval" = yes; then
15632 wx_cv_use_pcx='wxUSE_PCX=yes'
15633 else
15634 wx_cv_use_pcx='wxUSE_PCX=no'
15635 fi
15636
15637 else
15638
15639 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15640
15641 fi
15642
15643
15644 eval "$wx_cv_use_pcx"
15645
15646 if test x"$enablestring" = xdisable; then
15647 if test $wxUSE_PCX = no; then
15648 result=yes
15649 else
15650 result=no
15651 fi
15652 else
15653 result=$wxUSE_PCX
15654 fi
15655
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15657 $as_echo "$result" >&6; }
15658
15659
15660 enablestring=
15661 defaultval=$wxUSE_ALL_FEATURES
15662 if test -z "$defaultval"; then
15663 if test x"$enablestring" = xdisable; then
15664 defaultval=yes
15665 else
15666 defaultval=no
15667 fi
15668 fi
15669
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15671 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15672 # Check whether --enable-tga was given.
15673 if test "${enable_tga+set}" = set; then :
15674 enableval=$enable_tga;
15675 if test "$enableval" = yes; then
15676 wx_cv_use_tga='wxUSE_TGA=yes'
15677 else
15678 wx_cv_use_tga='wxUSE_TGA=no'
15679 fi
15680
15681 else
15682
15683 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15684
15685 fi
15686
15687
15688 eval "$wx_cv_use_tga"
15689
15690 if test x"$enablestring" = xdisable; then
15691 if test $wxUSE_TGA = no; then
15692 result=yes
15693 else
15694 result=no
15695 fi
15696 else
15697 result=$wxUSE_TGA
15698 fi
15699
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15701 $as_echo "$result" >&6; }
15702
15703
15704 enablestring=
15705 defaultval=$wxUSE_ALL_FEATURES
15706 if test -z "$defaultval"; then
15707 if test x"$enablestring" = xdisable; then
15708 defaultval=yes
15709 else
15710 defaultval=no
15711 fi
15712 fi
15713
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15715 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15716 # Check whether --enable-iff was given.
15717 if test "${enable_iff+set}" = set; then :
15718 enableval=$enable_iff;
15719 if test "$enableval" = yes; then
15720 wx_cv_use_iff='wxUSE_IFF=yes'
15721 else
15722 wx_cv_use_iff='wxUSE_IFF=no'
15723 fi
15724
15725 else
15726
15727 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15728
15729 fi
15730
15731
15732 eval "$wx_cv_use_iff"
15733
15734 if test x"$enablestring" = xdisable; then
15735 if test $wxUSE_IFF = no; then
15736 result=yes
15737 else
15738 result=no
15739 fi
15740 else
15741 result=$wxUSE_IFF
15742 fi
15743
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15745 $as_echo "$result" >&6; }
15746
15747
15748 enablestring=
15749 defaultval=$wxUSE_ALL_FEATURES
15750 if test -z "$defaultval"; then
15751 if test x"$enablestring" = xdisable; then
15752 defaultval=yes
15753 else
15754 defaultval=no
15755 fi
15756 fi
15757
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15759 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15760 # Check whether --enable-pnm was given.
15761 if test "${enable_pnm+set}" = set; then :
15762 enableval=$enable_pnm;
15763 if test "$enableval" = yes; then
15764 wx_cv_use_pnm='wxUSE_PNM=yes'
15765 else
15766 wx_cv_use_pnm='wxUSE_PNM=no'
15767 fi
15768
15769 else
15770
15771 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15772
15773 fi
15774
15775
15776 eval "$wx_cv_use_pnm"
15777
15778 if test x"$enablestring" = xdisable; then
15779 if test $wxUSE_PNM = no; then
15780 result=yes
15781 else
15782 result=no
15783 fi
15784 else
15785 result=$wxUSE_PNM
15786 fi
15787
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15789 $as_echo "$result" >&6; }
15790
15791
15792 enablestring=
15793 defaultval=$wxUSE_ALL_FEATURES
15794 if test -z "$defaultval"; then
15795 if test x"$enablestring" = xdisable; then
15796 defaultval=yes
15797 else
15798 defaultval=no
15799 fi
15800 fi
15801
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15803 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15804 # Check whether --enable-xpm was given.
15805 if test "${enable_xpm+set}" = set; then :
15806 enableval=$enable_xpm;
15807 if test "$enableval" = yes; then
15808 wx_cv_use_xpm='wxUSE_XPM=yes'
15809 else
15810 wx_cv_use_xpm='wxUSE_XPM=no'
15811 fi
15812
15813 else
15814
15815 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15816
15817 fi
15818
15819
15820 eval "$wx_cv_use_xpm"
15821
15822 if test x"$enablestring" = xdisable; then
15823 if test $wxUSE_XPM = no; then
15824 result=yes
15825 else
15826 result=no
15827 fi
15828 else
15829 result=$wxUSE_XPM
15830 fi
15831
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15833 $as_echo "$result" >&6; }
15834
15835
15836 enablestring=
15837 defaultval=$wxUSE_ALL_FEATURES
15838 if test -z "$defaultval"; then
15839 if test x"$enablestring" = xdisable; then
15840 defaultval=yes
15841 else
15842 defaultval=no
15843 fi
15844 fi
15845
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15847 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15848 # Check whether --enable-ico_cur was given.
15849 if test "${enable_ico_cur+set}" = set; then :
15850 enableval=$enable_ico_cur;
15851 if test "$enableval" = yes; then
15852 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15853 else
15854 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15855 fi
15856
15857 else
15858
15859 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15860
15861 fi
15862
15863
15864 eval "$wx_cv_use_ico_cur"
15865
15866 if test x"$enablestring" = xdisable; then
15867 if test $wxUSE_ICO_CUR = no; then
15868 result=yes
15869 else
15870 result=no
15871 fi
15872 else
15873 result=$wxUSE_ICO_CUR
15874 fi
15875
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15877 $as_echo "$result" >&6; }
15878
15879
15880
15881
15882 enablestring=
15883 defaultval=$wxUSE_ALL_FEATURES
15884 if test -z "$defaultval"; then
15885 if test x"$enablestring" = xdisable; then
15886 defaultval=yes
15887 else
15888 defaultval=no
15889 fi
15890 fi
15891
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15893 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15894 # Check whether --enable-dccache was given.
15895 if test "${enable_dccache+set}" = set; then :
15896 enableval=$enable_dccache;
15897 if test "$enableval" = yes; then
15898 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15899 else
15900 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15901 fi
15902
15903 else
15904
15905 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15906
15907 fi
15908
15909
15910 eval "$wx_cv_use_dccache"
15911
15912 if test x"$enablestring" = xdisable; then
15913 if test $wxUSE_DC_CACHEING = no; then
15914 result=yes
15915 else
15916 result=no
15917 fi
15918 else
15919 result=$wxUSE_DC_CACHEING
15920 fi
15921
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15923 $as_echo "$result" >&6; }
15924
15925
15926 enablestring=
15927 defaultval=$wxUSE_ALL_FEATURES
15928 if test -z "$defaultval"; then
15929 if test x"$enablestring" = xdisable; then
15930 defaultval=yes
15931 else
15932 defaultval=no
15933 fi
15934 fi
15935
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15937 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15938 # Check whether --enable-ps-in-msw was given.
15939 if test "${enable_ps_in_msw+set}" = set; then :
15940 enableval=$enable_ps_in_msw;
15941 if test "$enableval" = yes; then
15942 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15943 else
15944 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15945 fi
15946
15947 else
15948
15949 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15950
15951 fi
15952
15953
15954 eval "$wx_cv_use_ps_in_msw"
15955
15956 if test x"$enablestring" = xdisable; then
15957 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15958 result=yes
15959 else
15960 result=no
15961 fi
15962 else
15963 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15964 fi
15965
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15967 $as_echo "$result" >&6; }
15968
15969
15970 enablestring=
15971 defaultval=$wxUSE_ALL_FEATURES
15972 if test -z "$defaultval"; then
15973 if test x"$enablestring" = xdisable; then
15974 defaultval=yes
15975 else
15976 defaultval=no
15977 fi
15978 fi
15979
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15981 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15982 # Check whether --enable-ownerdrawn was given.
15983 if test "${enable_ownerdrawn+set}" = set; then :
15984 enableval=$enable_ownerdrawn;
15985 if test "$enableval" = yes; then
15986 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15987 else
15988 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15989 fi
15990
15991 else
15992
15993 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15994
15995 fi
15996
15997
15998 eval "$wx_cv_use_ownerdrawn"
15999
16000 if test x"$enablestring" = xdisable; then
16001 if test $wxUSE_OWNER_DRAWN = no; then
16002 result=yes
16003 else
16004 result=no
16005 fi
16006 else
16007 result=$wxUSE_OWNER_DRAWN
16008 fi
16009
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16011 $as_echo "$result" >&6; }
16012
16013
16014 enablestring=
16015 defaultval=$wxUSE_ALL_FEATURES
16016 if test -z "$defaultval"; then
16017 if test x"$enablestring" = xdisable; then
16018 defaultval=yes
16019 else
16020 defaultval=no
16021 fi
16022 fi
16023
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16025 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16026 # Check whether --enable-uxtheme was given.
16027 if test "${enable_uxtheme+set}" = set; then :
16028 enableval=$enable_uxtheme;
16029 if test "$enableval" = yes; then
16030 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16031 else
16032 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16033 fi
16034
16035 else
16036
16037 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16038
16039 fi
16040
16041
16042 eval "$wx_cv_use_uxtheme"
16043
16044 if test x"$enablestring" = xdisable; then
16045 if test $wxUSE_UXTHEME = no; then
16046 result=yes
16047 else
16048 result=no
16049 fi
16050 else
16051 result=$wxUSE_UXTHEME
16052 fi
16053
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16055 $as_echo "$result" >&6; }
16056
16057
16058 enablestring=
16059 defaultval=$wxUSE_ALL_FEATURES
16060 if test -z "$defaultval"; then
16061 if test x"$enablestring" = xdisable; then
16062 defaultval=yes
16063 else
16064 defaultval=no
16065 fi
16066 fi
16067
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16069 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16070 # Check whether --enable-wxdib was given.
16071 if test "${enable_wxdib+set}" = set; then :
16072 enableval=$enable_wxdib;
16073 if test "$enableval" = yes; then
16074 wx_cv_use_wxdib='wxUSE_DIB=yes'
16075 else
16076 wx_cv_use_wxdib='wxUSE_DIB=no'
16077 fi
16078
16079 else
16080
16081 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16082
16083 fi
16084
16085
16086 eval "$wx_cv_use_wxdib"
16087
16088 if test x"$enablestring" = xdisable; then
16089 if test $wxUSE_DIB = no; then
16090 result=yes
16091 else
16092 result=no
16093 fi
16094 else
16095 result=$wxUSE_DIB
16096 fi
16097
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16099 $as_echo "$result" >&6; }
16100
16101
16102 enablestring=
16103 defaultval=$wxUSE_ALL_FEATURES
16104 if test -z "$defaultval"; then
16105 if test x"$enablestring" = xdisable; then
16106 defaultval=yes
16107 else
16108 defaultval=no
16109 fi
16110 fi
16111
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16113 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16114 # Check whether --enable-webviewie was given.
16115 if test "${enable_webviewie+set}" = set; then :
16116 enableval=$enable_webviewie;
16117 if test "$enableval" = yes; then
16118 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16119 else
16120 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16121 fi
16122
16123 else
16124
16125 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16126
16127 fi
16128
16129
16130 eval "$wx_cv_use_webviewie"
16131
16132 if test x"$enablestring" = xdisable; then
16133 if test $wxUSE_WEBVIEW_IE = no; then
16134 result=yes
16135 else
16136 result=no
16137 fi
16138 else
16139 result=$wxUSE_WEBVIEW_IE
16140 fi
16141
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16143 $as_echo "$result" >&6; }
16144
16145
16146 if test "$wxUSE_MSW" != 1; then
16147 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16148 fi
16149
16150
16151 enablestring=
16152 defaultval=$wxUSE_ALL_FEATURES
16153 if test -z "$defaultval"; then
16154 if test x"$enablestring" = xdisable; then
16155 defaultval=yes
16156 else
16157 defaultval=no
16158 fi
16159 fi
16160
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16162 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16163 # Check whether --enable-autoidman was given.
16164 if test "${enable_autoidman+set}" = set; then :
16165 enableval=$enable_autoidman;
16166 if test "$enableval" = yes; then
16167 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16168 else
16169 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16170 fi
16171
16172 else
16173
16174 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16175
16176 fi
16177
16178
16179 eval "$wx_cv_use_autoidman"
16180
16181 if test x"$enablestring" = xdisable; then
16182 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16183 result=yes
16184 else
16185 result=no
16186 fi
16187 else
16188 result=$wxUSE_AUTOID_MANAGEMENT
16189 fi
16190
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16192 $as_echo "$result" >&6; }
16193
16194
16195 fi
16196
16197
16198 cat >confcache <<\_ACEOF
16199 # This file is a shell script that caches the results of configure
16200 # tests run on this system so they can be shared between configure
16201 # scripts and configure runs, see configure's option --config-cache.
16202 # It is not useful on other systems. If it contains results you don't
16203 # want to keep, you may remove or edit it.
16204 #
16205 # config.status only pays attention to the cache file if you give it
16206 # the --recheck option to rerun configure.
16207 #
16208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16210 # following values.
16211
16212 _ACEOF
16213
16214 # The following way of writing the cache mishandles newlines in values,
16215 # but we know of no workaround that is simple, portable, and efficient.
16216 # So, we kill variables containing newlines.
16217 # Ultrix sh set writes to stderr and can't be redirected directly,
16218 # and sets the high bit in the cache file unless we assign to the vars.
16219 (
16220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16221 eval ac_val=\$$ac_var
16222 case $ac_val in #(
16223 *${as_nl}*)
16224 case $ac_var in #(
16225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16227 esac
16228 case $ac_var in #(
16229 _ | IFS | as_nl) ;; #(
16230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16231 *) { eval $ac_var=; unset $ac_var;} ;;
16232 esac ;;
16233 esac
16234 done
16235
16236 (set) 2>&1 |
16237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16238 *${as_nl}ac_space=\ *)
16239 # `set' does not quote correctly, so add quotes: double-quote
16240 # substitution turns \\\\ into \\, and sed turns \\ into \.
16241 sed -n \
16242 "s/'/'\\\\''/g;
16243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16244 ;; #(
16245 *)
16246 # `set' quotes correctly as required by POSIX, so do not add quotes.
16247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16248 ;;
16249 esac |
16250 sort
16251 ) |
16252 sed '
16253 /^ac_cv_env_/b end
16254 t clear
16255 :clear
16256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16257 t end
16258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16259 :end' >>confcache
16260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16261 if test -w "$cache_file"; then
16262 if test "x$cache_file" != "x/dev/null"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16264 $as_echo "$as_me: updating cache $cache_file" >&6;}
16265 if test ! -f "$cache_file" || test -h "$cache_file"; then
16266 cat confcache >"$cache_file"
16267 else
16268 case $cache_file in #(
16269 */* | ?:*)
16270 mv -f confcache "$cache_file"$$ &&
16271 mv -f "$cache_file"$$ "$cache_file" ;; #(
16272 *)
16273 mv -f confcache "$cache_file" ;;
16274 esac
16275 fi
16276 fi
16277 else
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16280 fi
16281 fi
16282 rm -f confcache
16283
16284 CFLAGS=${CFLAGS:=}
16285 ac_ext=c
16286 ac_cpp='$CPP $CPPFLAGS'
16287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16290 if test -n "$ac_tool_prefix"; then
16291 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16292 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16294 $as_echo_n "checking for $ac_word... " >&6; }
16295 if ${ac_cv_prog_CC+:} false; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 if test -n "$CC"; then
16299 ac_cv_prog_CC="$CC" # Let the user override the test.
16300 else
16301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16302 for as_dir in $PATH
16303 do
16304 IFS=$as_save_IFS
16305 test -z "$as_dir" && as_dir=.
16306 for ac_exec_ext in '' $ac_executable_extensions; do
16307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16308 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16310 break 2
16311 fi
16312 done
16313 done
16314 IFS=$as_save_IFS
16315
16316 fi
16317 fi
16318 CC=$ac_cv_prog_CC
16319 if test -n "$CC"; then
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16321 $as_echo "$CC" >&6; }
16322 else
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16324 $as_echo "no" >&6; }
16325 fi
16326
16327
16328 fi
16329 if test -z "$ac_cv_prog_CC"; then
16330 ac_ct_CC=$CC
16331 # Extract the first word of "gcc", so it can be a program name with args.
16332 set dummy gcc; ac_word=$2
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16334 $as_echo_n "checking for $ac_word... " >&6; }
16335 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16336 $as_echo_n "(cached) " >&6
16337 else
16338 if test -n "$ac_ct_CC"; then
16339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16340 else
16341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16342 for as_dir in $PATH
16343 do
16344 IFS=$as_save_IFS
16345 test -z "$as_dir" && as_dir=.
16346 for ac_exec_ext in '' $ac_executable_extensions; do
16347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16348 ac_cv_prog_ac_ct_CC="gcc"
16349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16350 break 2
16351 fi
16352 done
16353 done
16354 IFS=$as_save_IFS
16355
16356 fi
16357 fi
16358 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16359 if test -n "$ac_ct_CC"; then
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16361 $as_echo "$ac_ct_CC" >&6; }
16362 else
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16364 $as_echo "no" >&6; }
16365 fi
16366
16367 if test "x$ac_ct_CC" = x; then
16368 CC=""
16369 else
16370 case $cross_compiling:$ac_tool_warned in
16371 yes:)
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16374 ac_tool_warned=yes ;;
16375 esac
16376 CC=$ac_ct_CC
16377 fi
16378 else
16379 CC="$ac_cv_prog_CC"
16380 fi
16381
16382 if test -z "$CC"; then
16383 if test -n "$ac_tool_prefix"; then
16384 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16385 set dummy ${ac_tool_prefix}cc; ac_word=$2
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16387 $as_echo_n "checking for $ac_word... " >&6; }
16388 if ${ac_cv_prog_CC+:} false; then :
16389 $as_echo_n "(cached) " >&6
16390 else
16391 if test -n "$CC"; then
16392 ac_cv_prog_CC="$CC" # Let the user override the test.
16393 else
16394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16395 for as_dir in $PATH
16396 do
16397 IFS=$as_save_IFS
16398 test -z "$as_dir" && as_dir=.
16399 for ac_exec_ext in '' $ac_executable_extensions; do
16400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16401 ac_cv_prog_CC="${ac_tool_prefix}cc"
16402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16403 break 2
16404 fi
16405 done
16406 done
16407 IFS=$as_save_IFS
16408
16409 fi
16410 fi
16411 CC=$ac_cv_prog_CC
16412 if test -n "$CC"; then
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16414 $as_echo "$CC" >&6; }
16415 else
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16417 $as_echo "no" >&6; }
16418 fi
16419
16420
16421 fi
16422 fi
16423 if test -z "$CC"; then
16424 # Extract the first word of "cc", so it can be a program name with args.
16425 set dummy cc; ac_word=$2
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16427 $as_echo_n "checking for $ac_word... " >&6; }
16428 if ${ac_cv_prog_CC+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 if test -n "$CC"; then
16432 ac_cv_prog_CC="$CC" # Let the user override the test.
16433 else
16434 ac_prog_rejected=no
16435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16436 for as_dir in $PATH
16437 do
16438 IFS=$as_save_IFS
16439 test -z "$as_dir" && as_dir=.
16440 for ac_exec_ext in '' $ac_executable_extensions; do
16441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16442 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16443 ac_prog_rejected=yes
16444 continue
16445 fi
16446 ac_cv_prog_CC="cc"
16447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16448 break 2
16449 fi
16450 done
16451 done
16452 IFS=$as_save_IFS
16453
16454 if test $ac_prog_rejected = yes; then
16455 # We found a bogon in the path, so make sure we never use it.
16456 set dummy $ac_cv_prog_CC
16457 shift
16458 if test $# != 0; then
16459 # We chose a different compiler from the bogus one.
16460 # However, it has the same basename, so the bogon will be chosen
16461 # first if we set CC to just the basename; use the full file name.
16462 shift
16463 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16464 fi
16465 fi
16466 fi
16467 fi
16468 CC=$ac_cv_prog_CC
16469 if test -n "$CC"; then
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16471 $as_echo "$CC" >&6; }
16472 else
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16474 $as_echo "no" >&6; }
16475 fi
16476
16477
16478 fi
16479 if test -z "$CC"; then
16480 if test -n "$ac_tool_prefix"; then
16481 for ac_prog in cl.exe
16482 do
16483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16486 $as_echo_n "checking for $ac_word... " >&6; }
16487 if ${ac_cv_prog_CC+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 if test -n "$CC"; then
16491 ac_cv_prog_CC="$CC" # Let the user override the test.
16492 else
16493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16494 for as_dir in $PATH
16495 do
16496 IFS=$as_save_IFS
16497 test -z "$as_dir" && as_dir=.
16498 for ac_exec_ext in '' $ac_executable_extensions; do
16499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16500 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16502 break 2
16503 fi
16504 done
16505 done
16506 IFS=$as_save_IFS
16507
16508 fi
16509 fi
16510 CC=$ac_cv_prog_CC
16511 if test -n "$CC"; then
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16513 $as_echo "$CC" >&6; }
16514 else
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16516 $as_echo "no" >&6; }
16517 fi
16518
16519
16520 test -n "$CC" && break
16521 done
16522 fi
16523 if test -z "$CC"; then
16524 ac_ct_CC=$CC
16525 for ac_prog in cl.exe
16526 do
16527 # Extract the first word of "$ac_prog", so it can be a program name with args.
16528 set dummy $ac_prog; ac_word=$2
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16530 $as_echo_n "checking for $ac_word... " >&6; }
16531 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16532 $as_echo_n "(cached) " >&6
16533 else
16534 if test -n "$ac_ct_CC"; then
16535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16536 else
16537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16538 for as_dir in $PATH
16539 do
16540 IFS=$as_save_IFS
16541 test -z "$as_dir" && as_dir=.
16542 for ac_exec_ext in '' $ac_executable_extensions; do
16543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16544 ac_cv_prog_ac_ct_CC="$ac_prog"
16545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16546 break 2
16547 fi
16548 done
16549 done
16550 IFS=$as_save_IFS
16551
16552 fi
16553 fi
16554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16555 if test -n "$ac_ct_CC"; then
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16557 $as_echo "$ac_ct_CC" >&6; }
16558 else
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16560 $as_echo "no" >&6; }
16561 fi
16562
16563
16564 test -n "$ac_ct_CC" && break
16565 done
16566
16567 if test "x$ac_ct_CC" = x; then
16568 CC=""
16569 else
16570 case $cross_compiling:$ac_tool_warned in
16571 yes:)
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16574 ac_tool_warned=yes ;;
16575 esac
16576 CC=$ac_ct_CC
16577 fi
16578 fi
16579
16580 fi
16581
16582
16583 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16585 as_fn_error $? "no acceptable C compiler found in \$PATH
16586 See \`config.log' for more details" "$LINENO" 5; }
16587
16588 # Provide some information about the compiler.
16589 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16590 set X $ac_compile
16591 ac_compiler=$2
16592 for ac_option in --version -v -V -qversion; do
16593 { { ac_try="$ac_compiler $ac_option >&5"
16594 case "(($ac_try" in
16595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16596 *) ac_try_echo=$ac_try;;
16597 esac
16598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16599 $as_echo "$ac_try_echo"; } >&5
16600 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16601 ac_status=$?
16602 if test -s conftest.err; then
16603 sed '10a\
16604 ... rest of stderr output deleted ...
16605 10q' conftest.err >conftest.er1
16606 cat conftest.er1 >&5
16607 fi
16608 rm -f conftest.er1 conftest.err
16609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16610 test $ac_status = 0; }
16611 done
16612
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615
16616 int
16617 main ()
16618 {
16619
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 ac_clean_files_save=$ac_clean_files
16625 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16626 # Try to create an executable without -o first, disregard a.out.
16627 # It will help us diagnose broken compilers, and finding out an intuition
16628 # of exeext.
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16630 $as_echo_n "checking whether the C compiler works... " >&6; }
16631 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16632
16633 # The possible output files:
16634 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16635
16636 ac_rmfiles=
16637 for ac_file in $ac_files
16638 do
16639 case $ac_file in
16640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16641 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16642 esac
16643 done
16644 rm -f $ac_rmfiles
16645
16646 if { { ac_try="$ac_link_default"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649 *) ac_try_echo=$ac_try;;
16650 esac
16651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16652 $as_echo "$ac_try_echo"; } >&5
16653 (eval "$ac_link_default") 2>&5
16654 ac_status=$?
16655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16656 test $ac_status = 0; }; then :
16657 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16658 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16659 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16660 # so that the user can short-circuit this test for compilers unknown to
16661 # Autoconf.
16662 for ac_file in $ac_files ''
16663 do
16664 test -f "$ac_file" || continue
16665 case $ac_file in
16666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16667 ;;
16668 [ab].out )
16669 # We found the default executable, but exeext='' is most
16670 # certainly right.
16671 break;;
16672 *.* )
16673 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16674 then :; else
16675 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16676 fi
16677 # We set ac_cv_exeext here because the later test for it is not
16678 # safe: cross compilers may not add the suffix if given an `-o'
16679 # argument, so we may need to know it at that point already.
16680 # Even if this section looks crufty: it has the advantage of
16681 # actually working.
16682 break;;
16683 * )
16684 break;;
16685 esac
16686 done
16687 test "$ac_cv_exeext" = no && ac_cv_exeext=
16688
16689 else
16690 ac_file=''
16691 fi
16692 if test -z "$ac_file"; then :
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16694 $as_echo "no" >&6; }
16695 $as_echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16697
16698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16700 as_fn_error 77 "C compiler cannot create executables
16701 See \`config.log' for more details" "$LINENO" 5; }
16702 else
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16704 $as_echo "yes" >&6; }
16705 fi
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16707 $as_echo_n "checking for C compiler default output file name... " >&6; }
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16709 $as_echo "$ac_file" >&6; }
16710 ac_exeext=$ac_cv_exeext
16711
16712 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16713 ac_clean_files=$ac_clean_files_save
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16715 $as_echo_n "checking for suffix of executables... " >&6; }
16716 if { { ac_try="$ac_link"
16717 case "(($ac_try" in
16718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16719 *) ac_try_echo=$ac_try;;
16720 esac
16721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16722 $as_echo "$ac_try_echo"; } >&5
16723 (eval "$ac_link") 2>&5
16724 ac_status=$?
16725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16726 test $ac_status = 0; }; then :
16727 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16728 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16729 # work properly (i.e., refer to `conftest.exe'), while it won't with
16730 # `rm'.
16731 for ac_file in conftest.exe conftest conftest.*; do
16732 test -f "$ac_file" || continue
16733 case $ac_file in
16734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16735 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16736 break;;
16737 * ) break;;
16738 esac
16739 done
16740 else
16741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16743 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16744 See \`config.log' for more details" "$LINENO" 5; }
16745 fi
16746 rm -f conftest conftest$ac_cv_exeext
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16748 $as_echo "$ac_cv_exeext" >&6; }
16749
16750 rm -f conftest.$ac_ext
16751 EXEEXT=$ac_cv_exeext
16752 ac_exeext=$EXEEXT
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 #include <stdio.h>
16756 int
16757 main ()
16758 {
16759 FILE *f = fopen ("conftest.out", "w");
16760 return ferror (f) || fclose (f) != 0;
16761
16762 ;
16763 return 0;
16764 }
16765 _ACEOF
16766 ac_clean_files="$ac_clean_files conftest.out"
16767 # Check that the compiler produces executables we can run. If not, either
16768 # the compiler is broken, or we cross compile.
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16770 $as_echo_n "checking whether we are cross compiling... " >&6; }
16771 if test "$cross_compiling" != yes; then
16772 { { ac_try="$ac_link"
16773 case "(($ac_try" in
16774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775 *) ac_try_echo=$ac_try;;
16776 esac
16777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16778 $as_echo "$ac_try_echo"; } >&5
16779 (eval "$ac_link") 2>&5
16780 ac_status=$?
16781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16782 test $ac_status = 0; }
16783 if { ac_try='./conftest$ac_cv_exeext'
16784 { { case "(($ac_try" in
16785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16786 *) ac_try_echo=$ac_try;;
16787 esac
16788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16789 $as_echo "$ac_try_echo"; } >&5
16790 (eval "$ac_try") 2>&5
16791 ac_status=$?
16792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16793 test $ac_status = 0; }; }; then
16794 cross_compiling=no
16795 else
16796 if test "$cross_compiling" = maybe; then
16797 cross_compiling=yes
16798 else
16799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16801 as_fn_error $? "cannot run C compiled programs.
16802 If you meant to cross compile, use \`--host'.
16803 See \`config.log' for more details" "$LINENO" 5; }
16804 fi
16805 fi
16806 fi
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16808 $as_echo "$cross_compiling" >&6; }
16809
16810 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16811 ac_clean_files=$ac_clean_files_save
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16813 $as_echo_n "checking for suffix of object files... " >&6; }
16814 if ${ac_cv_objext+:} false; then :
16815 $as_echo_n "(cached) " >&6
16816 else
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16819
16820 int
16821 main ()
16822 {
16823
16824 ;
16825 return 0;
16826 }
16827 _ACEOF
16828 rm -f conftest.o conftest.obj
16829 if { { ac_try="$ac_compile"
16830 case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16833 esac
16834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16835 $as_echo "$ac_try_echo"; } >&5
16836 (eval "$ac_compile") 2>&5
16837 ac_status=$?
16838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16839 test $ac_status = 0; }; then :
16840 for ac_file in conftest.o conftest.obj conftest.*; do
16841 test -f "$ac_file" || continue;
16842 case $ac_file in
16843 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16844 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16845 break;;
16846 esac
16847 done
16848 else
16849 $as_echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16851
16852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16854 as_fn_error $? "cannot compute suffix of object files: cannot compile
16855 See \`config.log' for more details" "$LINENO" 5; }
16856 fi
16857 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16858 fi
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16860 $as_echo "$ac_cv_objext" >&6; }
16861 OBJEXT=$ac_cv_objext
16862 ac_objext=$OBJEXT
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16864 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16865 if ${ac_cv_c_compiler_gnu+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870
16871 int
16872 main ()
16873 {
16874 #ifndef __GNUC__
16875 choke me
16876 #endif
16877
16878 ;
16879 return 0;
16880 }
16881 _ACEOF
16882 if ac_fn_c_try_compile "$LINENO"; then :
16883 ac_compiler_gnu=yes
16884 else
16885 ac_compiler_gnu=no
16886 fi
16887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16888 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16889
16890 fi
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16892 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16893 if test $ac_compiler_gnu = yes; then
16894 GCC=yes
16895 else
16896 GCC=
16897 fi
16898 ac_test_CFLAGS=${CFLAGS+set}
16899 ac_save_CFLAGS=$CFLAGS
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16901 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16902 if ${ac_cv_prog_cc_g+:} false; then :
16903 $as_echo_n "(cached) " >&6
16904 else
16905 ac_save_c_werror_flag=$ac_c_werror_flag
16906 ac_c_werror_flag=yes
16907 ac_cv_prog_cc_g=no
16908 CFLAGS="-g"
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911
16912 int
16913 main ()
16914 {
16915
16916 ;
16917 return 0;
16918 }
16919 _ACEOF
16920 if ac_fn_c_try_compile "$LINENO"; then :
16921 ac_cv_prog_cc_g=yes
16922 else
16923 CFLAGS=""
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926
16927 int
16928 main ()
16929 {
16930
16931 ;
16932 return 0;
16933 }
16934 _ACEOF
16935 if ac_fn_c_try_compile "$LINENO"; then :
16936
16937 else
16938 ac_c_werror_flag=$ac_save_c_werror_flag
16939 CFLAGS="-g"
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942
16943 int
16944 main ()
16945 {
16946
16947 ;
16948 return 0;
16949 }
16950 _ACEOF
16951 if ac_fn_c_try_compile "$LINENO"; then :
16952 ac_cv_prog_cc_g=yes
16953 fi
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955 fi
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 fi
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959 ac_c_werror_flag=$ac_save_c_werror_flag
16960 fi
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16962 $as_echo "$ac_cv_prog_cc_g" >&6; }
16963 if test "$ac_test_CFLAGS" = set; then
16964 CFLAGS=$ac_save_CFLAGS
16965 elif test $ac_cv_prog_cc_g = yes; then
16966 if test "$GCC" = yes; then
16967 CFLAGS="-g -O2"
16968 else
16969 CFLAGS="-g"
16970 fi
16971 else
16972 if test "$GCC" = yes; then
16973 CFLAGS="-O2"
16974 else
16975 CFLAGS=
16976 fi
16977 fi
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16979 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16980 if ${ac_cv_prog_cc_c89+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 ac_cv_prog_cc_c89=no
16984 ac_save_CC=$CC
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #include <stdarg.h>
16988 #include <stdio.h>
16989 struct stat;
16990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16991 struct buf { int x; };
16992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16993 static char *e (p, i)
16994 char **p;
16995 int i;
16996 {
16997 return p[i];
16998 }
16999 static char *f (char * (*g) (char **, int), char **p, ...)
17000 {
17001 char *s;
17002 va_list v;
17003 va_start (v,p);
17004 s = g (p, va_arg (v,int));
17005 va_end (v);
17006 return s;
17007 }
17008
17009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17010 function prototypes and stuff, but not '\xHH' hex character constants.
17011 These don't provoke an error unfortunately, instead are silently treated
17012 as 'x'. The following induces an error, until -std is added to get
17013 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17014 array size at least. It's necessary to write '\x00'==0 to get something
17015 that's true only with -std. */
17016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17017
17018 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17019 inside strings and character constants. */
17020 #define FOO(x) 'x'
17021 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17022
17023 int test (int i, double x);
17024 struct s1 {int (*f) (int a);};
17025 struct s2 {int (*f) (double a);};
17026 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17027 int argc;
17028 char **argv;
17029 int
17030 main ()
17031 {
17032 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17033 ;
17034 return 0;
17035 }
17036 _ACEOF
17037 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17038 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17039 do
17040 CC="$ac_save_CC $ac_arg"
17041 if ac_fn_c_try_compile "$LINENO"; then :
17042 ac_cv_prog_cc_c89=$ac_arg
17043 fi
17044 rm -f core conftest.err conftest.$ac_objext
17045 test "x$ac_cv_prog_cc_c89" != "xno" && break
17046 done
17047 rm -f conftest.$ac_ext
17048 CC=$ac_save_CC
17049
17050 fi
17051 # AC_CACHE_VAL
17052 case "x$ac_cv_prog_cc_c89" in
17053 x)
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17055 $as_echo "none needed" >&6; } ;;
17056 xno)
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17058 $as_echo "unsupported" >&6; } ;;
17059 *)
17060 CC="$CC $ac_cv_prog_cc_c89"
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17062 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17063 esac
17064 if test "x$ac_cv_prog_cc_c89" != xno; then :
17065
17066 fi
17067
17068 ac_ext=c
17069 ac_cpp='$CPP $CPPFLAGS'
17070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17073
17074
17075
17076
17077
17078
17079
17080
17081 ac_ext=c
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17086
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17088 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17089 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17090 $as_echo_n "(cached) " >&6
17091 else
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094
17095 int
17096 main ()
17097 {
17098
17099 #ifndef __INTEL_COMPILER
17100 choke me
17101 #endif
17102
17103 ;
17104 return 0;
17105 }
17106 _ACEOF
17107 if ac_fn_c_try_compile "$LINENO"; then :
17108 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17109 else
17110 bakefile_cv_c_compiler___INTEL_COMPILER=no
17111
17112 fi
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114
17115
17116 fi
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17118 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17119 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17120 :; INTELCC=yes
17121 else
17122 :;
17123 fi
17124 ac_ext=c
17125 ac_cpp='$CPP $CPPFLAGS'
17126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17129
17130
17131
17132
17133 if test "$INTELCC" = "yes"; then
17134
17135
17136 ac_ext=c
17137 ac_cpp='$CPP $CPPFLAGS'
17138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17143 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17144 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149
17150 int
17151 main ()
17152 {
17153
17154 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17155 choke me
17156 #endif
17157
17158 ;
17159 return 0;
17160 }
17161 _ACEOF
17162 if ac_fn_c_try_compile "$LINENO"; then :
17163 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17164 else
17165 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17166
17167 fi
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17173 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17174 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17175 :; INTELCC8=yes
17176 else
17177 :;
17178 fi
17179 ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 Intel C compiler v10 or later" >&5
17196 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17197 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} 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 || __INTEL_COMPILER < 1000
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_lt_1000=yes
17217 else
17218 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=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_lt_1000" >&5
17226 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17227 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17228 :; INTELCC10=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 fi
17241
17242 if test "x$GCC" != "xyes"; then
17243 if test "xCC" = "xC"; then
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17245 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17246 if ${bakefile_cv_c_exto+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251
17252 int
17253 main ()
17254 {
17255
17256 ;
17257 return 0;
17258 }
17259 _ACEOF
17260 rm -f conftest.$ac_objext conftest.$ac_ext.o
17261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17262 (eval $ac_compile) 2>&5
17263 ac_status=$?
17264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17265 test $ac_status = 0; }; then :
17266 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17267 case $ac_file in
17268 conftest.$ac_ext.o)
17269 bakefile_cv_c_exto="-ext o"
17270 ;;
17271 *)
17272 ;;
17273 esac
17274 done
17275 else
17276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17278 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17279 See \`config.log' for more details" "$LINENO" 5; }
17280
17281 fi
17282 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17283
17284 fi
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17286 $as_echo "$bakefile_cv_c_exto" >&6; }
17287 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17288 if test "c" = "c"; then
17289 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17290 fi
17291 if test "c" = "cxx"; then
17292 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17293 fi
17294 fi
17295
17296 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17297 unset ac_cv_prog_cc_g
17298 ac_test_CFLAGS=${CFLAGS+set}
17299 ac_save_CFLAGS=$CFLAGS
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17302 if ${ac_cv_prog_cc_g+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_save_c_werror_flag=$ac_c_werror_flag
17306 ac_c_werror_flag=yes
17307 ac_cv_prog_cc_g=no
17308 CFLAGS="-g"
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311
17312 int
17313 main ()
17314 {
17315
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321 ac_cv_prog_cc_g=yes
17322 else
17323 CFLAGS=""
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17326
17327 int
17328 main ()
17329 {
17330
17331 ;
17332 return 0;
17333 }
17334 _ACEOF
17335 if ac_fn_c_try_compile "$LINENO"; then :
17336
17337 else
17338 ac_c_werror_flag=$ac_save_c_werror_flag
17339 CFLAGS="-g"
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342
17343 int
17344 main ()
17345 {
17346
17347 ;
17348 return 0;
17349 }
17350 _ACEOF
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352 ac_cv_prog_cc_g=yes
17353 fi
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 fi
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 fi
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 ac_c_werror_flag=$ac_save_c_werror_flag
17360 fi
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17362 $as_echo "$ac_cv_prog_cc_g" >&6; }
17363 if test "$ac_test_CFLAGS" = set; then
17364 CFLAGS=$ac_save_CFLAGS
17365 elif test $ac_cv_prog_cc_g = yes; then
17366 if test "$GCC" = yes; then
17367 CFLAGS="-g -O2"
17368 else
17369 CFLAGS="-g"
17370 fi
17371 else
17372 if test "$GCC" = yes; then
17373 CFLAGS="-O2"
17374 else
17375 CFLAGS=
17376 fi
17377 fi
17378 fi
17379 fi
17380
17381 case `uname -s` in
17382 AIX*)
17383
17384
17385 ac_ext=c
17386 ac_cpp='$CPP $CPPFLAGS'
17387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17392 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17393 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398
17399 int
17400 main ()
17401 {
17402
17403 #ifndef __xlC__
17404 choke me
17405 #endif
17406
17407 ;
17408 return 0;
17409 }
17410 _ACEOF
17411 if ac_fn_c_try_compile "$LINENO"; then :
17412 bakefile_cv_c_compiler___xlC__=yes
17413 else
17414 bakefile_cv_c_compiler___xlC__=no
17415
17416 fi
17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418
17419
17420 fi
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17422 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17423 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17424 :; XLCC=yes
17425 else
17426 :;
17427 fi
17428 ac_ext=c
17429 ac_cpp='$CPP $CPPFLAGS'
17430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17433
17434
17435
17436 ;;
17437
17438 Darwin)
17439
17440
17441 ac_ext=c
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17448 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17449 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454
17455 int
17456 main ()
17457 {
17458
17459 #ifndef __MWERKS__
17460 choke me
17461 #endif
17462
17463 ;
17464 return 0;
17465 }
17466 _ACEOF
17467 if ac_fn_c_try_compile "$LINENO"; then :
17468 bakefile_cv_c_compiler___MWERKS__=yes
17469 else
17470 bakefile_cv_c_compiler___MWERKS__=no
17471
17472 fi
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474
17475
17476 fi
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17478 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17479 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17480 :; MWCC=yes
17481 else
17482 :;
17483 fi
17484 ac_ext=c
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17489
17490
17491
17492 if test "$MWCC" != "yes"; then
17493
17494
17495 ac_ext=c
17496 ac_cpp='$CPP $CPPFLAGS'
17497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17500
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17502 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17503 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508
17509 int
17510 main ()
17511 {
17512
17513 #ifndef __xlC__
17514 choke me
17515 #endif
17516
17517 ;
17518 return 0;
17519 }
17520 _ACEOF
17521 if ac_fn_c_try_compile "$LINENO"; then :
17522 bakefile_cv_c_compiler___xlC__=yes
17523 else
17524 bakefile_cv_c_compiler___xlC__=no
17525
17526 fi
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528
17529
17530 fi
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17532 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17533 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17534 :; XLCC=yes
17535 else
17536 :;
17537 fi
17538 ac_ext=c
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17543
17544
17545
17546 fi
17547 ;;
17548
17549 IRIX*)
17550
17551
17552 ac_ext=c
17553 ac_cpp='$CPP $CPPFLAGS'
17554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17557
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17559 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17560 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565
17566 int
17567 main ()
17568 {
17569
17570 #ifndef _SGI_COMPILER_VERSION
17571 choke me
17572 #endif
17573
17574 ;
17575 return 0;
17576 }
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17580 else
17581 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17582
17583 fi
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585
17586
17587 fi
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17589 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17590 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17591 :; SGICC=yes
17592 else
17593 :;
17594 fi
17595 ac_ext=c
17596 ac_cpp='$CPP $CPPFLAGS'
17597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17600
17601
17602
17603 ;;
17604
17605 Linux*)
17606 if test "$INTELCC" != "yes"; then
17607
17608
17609 ac_ext=c
17610 ac_cpp='$CPP $CPPFLAGS'
17611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17614
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17616 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17617 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17618 $as_echo_n "(cached) " >&6
17619 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622
17623 int
17624 main ()
17625 {
17626
17627 #ifndef __SUNPRO_C
17628 choke me
17629 #endif
17630
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 bakefile_cv_c_compiler___SUNPRO_C=yes
17637 else
17638 bakefile_cv_c_compiler___SUNPRO_C=no
17639
17640 fi
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642
17643
17644 fi
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17646 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17647 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17648 :; SUNCC=yes
17649 else
17650 :;
17651 fi
17652 ac_ext=c
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17657
17658
17659
17660 fi
17661 ;;
17662
17663 HP-UX*)
17664
17665
17666 ac_ext=c
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17671
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17673 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17674 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679
17680 int
17681 main ()
17682 {
17683
17684 #ifndef __HP_cc
17685 choke me
17686 #endif
17687
17688 ;
17689 return 0;
17690 }
17691 _ACEOF
17692 if ac_fn_c_try_compile "$LINENO"; then :
17693 bakefile_cv_c_compiler___HP_cc=yes
17694 else
17695 bakefile_cv_c_compiler___HP_cc=no
17696
17697 fi
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699
17700
17701 fi
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17703 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17704 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17705 :; HPCC=yes
17706 else
17707 :;
17708 fi
17709 ac_ext=c
17710 ac_cpp='$CPP $CPPFLAGS'
17711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714
17715
17716
17717 ;;
17718
17719 OSF1)
17720
17721
17722 ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17729 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17730 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735
17736 int
17737 main ()
17738 {
17739
17740 #ifndef __DECC
17741 choke me
17742 #endif
17743
17744 ;
17745 return 0;
17746 }
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 bakefile_cv_c_compiler___DECC=yes
17750 else
17751 bakefile_cv_c_compiler___DECC=no
17752
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756
17757 fi
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17759 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17760 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17761 :; COMPAQCC=yes
17762 else
17763 :;
17764 fi
17765 ac_ext=c
17766 ac_cpp='$CPP $CPPFLAGS'
17767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17770
17771
17772
17773 ;;
17774
17775 SunOS)
17776
17777
17778 ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17785 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17786 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17791
17792 int
17793 main ()
17794 {
17795
17796 #ifndef __SUNPRO_C
17797 choke me
17798 #endif
17799
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 bakefile_cv_c_compiler___SUNPRO_C=yes
17806 else
17807 bakefile_cv_c_compiler___SUNPRO_C=no
17808
17809 fi
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811
17812
17813 fi
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17815 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17816 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17817 :; SUNCC=yes
17818 else
17819 :;
17820 fi
17821 ac_ext=c
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17826
17827
17828
17829 ;;
17830 esac
17831 fi
17832
17833
17834
17835 ac_ext=c
17836 ac_cpp='$CPP $CPPFLAGS'
17837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17841 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17842 # On Suns, sometimes $CPP names a directory.
17843 if test -n "$CPP" && test -d "$CPP"; then
17844 CPP=
17845 fi
17846 if test -z "$CPP"; then
17847 if ${ac_cv_prog_CPP+:} false; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850 # Double quotes because CPP needs to be expanded
17851 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17852 do
17853 ac_preproc_ok=false
17854 for ac_c_preproc_warn_flag in '' yes
17855 do
17856 # Use a header file that comes with gcc, so configuring glibc
17857 # with a fresh cross-compiler works.
17858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17859 # <limits.h> exists even on freestanding compilers.
17860 # On the NeXT, cc -E runs the code through the compiler's parser,
17861 # not just through cpp. "Syntax error" is here to catch this case.
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17864 #ifdef __STDC__
17865 # include <limits.h>
17866 #else
17867 # include <assert.h>
17868 #endif
17869 Syntax error
17870 _ACEOF
17871 if ac_fn_c_try_cpp "$LINENO"; then :
17872
17873 else
17874 # Broken: fails on valid input.
17875 continue
17876 fi
17877 rm -f conftest.err conftest.i conftest.$ac_ext
17878
17879 # OK, works on sane cases. Now check whether nonexistent headers
17880 # can be detected and how.
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17883 #include <ac_nonexistent.h>
17884 _ACEOF
17885 if ac_fn_c_try_cpp "$LINENO"; then :
17886 # Broken: success on invalid input.
17887 continue
17888 else
17889 # Passes both tests.
17890 ac_preproc_ok=:
17891 break
17892 fi
17893 rm -f conftest.err conftest.i conftest.$ac_ext
17894
17895 done
17896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17897 rm -f conftest.i conftest.err conftest.$ac_ext
17898 if $ac_preproc_ok; then :
17899 break
17900 fi
17901
17902 done
17903 ac_cv_prog_CPP=$CPP
17904
17905 fi
17906 CPP=$ac_cv_prog_CPP
17907 else
17908 ac_cv_prog_CPP=$CPP
17909 fi
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17911 $as_echo "$CPP" >&6; }
17912 ac_preproc_ok=false
17913 for ac_c_preproc_warn_flag in '' yes
17914 do
17915 # Use a header file that comes with gcc, so configuring glibc
17916 # with a fresh cross-compiler works.
17917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17918 # <limits.h> exists even on freestanding compilers.
17919 # On the NeXT, cc -E runs the code through the compiler's parser,
17920 # not just through cpp. "Syntax error" is here to catch this case.
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17923 #ifdef __STDC__
17924 # include <limits.h>
17925 #else
17926 # include <assert.h>
17927 #endif
17928 Syntax error
17929 _ACEOF
17930 if ac_fn_c_try_cpp "$LINENO"; then :
17931
17932 else
17933 # Broken: fails on valid input.
17934 continue
17935 fi
17936 rm -f conftest.err conftest.i conftest.$ac_ext
17937
17938 # OK, works on sane cases. Now check whether nonexistent headers
17939 # can be detected and how.
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17942 #include <ac_nonexistent.h>
17943 _ACEOF
17944 if ac_fn_c_try_cpp "$LINENO"; then :
17945 # Broken: success on invalid input.
17946 continue
17947 else
17948 # Passes both tests.
17949 ac_preproc_ok=:
17950 break
17951 fi
17952 rm -f conftest.err conftest.i conftest.$ac_ext
17953
17954 done
17955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17956 rm -f conftest.i conftest.err conftest.$ac_ext
17957 if $ac_preproc_ok; then :
17958
17959 else
17960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17962 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17963 See \`config.log' for more details" "$LINENO" 5; }
17964 fi
17965
17966 ac_ext=c
17967 ac_cpp='$CPP $CPPFLAGS'
17968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17971
17972
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17974 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17975 if ${ac_cv_path_GREP+:} false; then :
17976 $as_echo_n "(cached) " >&6
17977 else
17978 if test -z "$GREP"; then
17979 ac_path_GREP_found=false
17980 # Loop through the user's path and test for each of PROGNAME-LIST
17981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17983 do
17984 IFS=$as_save_IFS
17985 test -z "$as_dir" && as_dir=.
17986 for ac_prog in grep ggrep; do
17987 for ac_exec_ext in '' $ac_executable_extensions; do
17988 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17989 as_fn_executable_p "$ac_path_GREP" || continue
17990 # Check for GNU ac_path_GREP and select it if it is found.
17991 # Check for GNU $ac_path_GREP
17992 case `"$ac_path_GREP" --version 2>&1` in
17993 *GNU*)
17994 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17995 *)
17996 ac_count=0
17997 $as_echo_n 0123456789 >"conftest.in"
17998 while :
17999 do
18000 cat "conftest.in" "conftest.in" >"conftest.tmp"
18001 mv "conftest.tmp" "conftest.in"
18002 cp "conftest.in" "conftest.nl"
18003 $as_echo 'GREP' >> "conftest.nl"
18004 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18006 as_fn_arith $ac_count + 1 && ac_count=$as_val
18007 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18008 # Best one so far, save it but keep looking for a better one
18009 ac_cv_path_GREP="$ac_path_GREP"
18010 ac_path_GREP_max=$ac_count
18011 fi
18012 # 10*(2^10) chars as input seems more than enough
18013 test $ac_count -gt 10 && break
18014 done
18015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18016 esac
18017
18018 $ac_path_GREP_found && break 3
18019 done
18020 done
18021 done
18022 IFS=$as_save_IFS
18023 if test -z "$ac_cv_path_GREP"; then
18024 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18025 fi
18026 else
18027 ac_cv_path_GREP=$GREP
18028 fi
18029
18030 fi
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18032 $as_echo "$ac_cv_path_GREP" >&6; }
18033 GREP="$ac_cv_path_GREP"
18034
18035
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18037 $as_echo_n "checking for egrep... " >&6; }
18038 if ${ac_cv_path_EGREP+:} false; then :
18039 $as_echo_n "(cached) " >&6
18040 else
18041 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18042 then ac_cv_path_EGREP="$GREP -E"
18043 else
18044 if test -z "$EGREP"; then
18045 ac_path_EGREP_found=false
18046 # Loop through the user's path and test for each of PROGNAME-LIST
18047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18048 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18049 do
18050 IFS=$as_save_IFS
18051 test -z "$as_dir" && as_dir=.
18052 for ac_prog in egrep; do
18053 for ac_exec_ext in '' $ac_executable_extensions; do
18054 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18055 as_fn_executable_p "$ac_path_EGREP" || continue
18056 # Check for GNU ac_path_EGREP and select it if it is found.
18057 # Check for GNU $ac_path_EGREP
18058 case `"$ac_path_EGREP" --version 2>&1` in
18059 *GNU*)
18060 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18061 *)
18062 ac_count=0
18063 $as_echo_n 0123456789 >"conftest.in"
18064 while :
18065 do
18066 cat "conftest.in" "conftest.in" >"conftest.tmp"
18067 mv "conftest.tmp" "conftest.in"
18068 cp "conftest.in" "conftest.nl"
18069 $as_echo 'EGREP' >> "conftest.nl"
18070 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18071 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18072 as_fn_arith $ac_count + 1 && ac_count=$as_val
18073 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18074 # Best one so far, save it but keep looking for a better one
18075 ac_cv_path_EGREP="$ac_path_EGREP"
18076 ac_path_EGREP_max=$ac_count
18077 fi
18078 # 10*(2^10) chars as input seems more than enough
18079 test $ac_count -gt 10 && break
18080 done
18081 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18082 esac
18083
18084 $ac_path_EGREP_found && break 3
18085 done
18086 done
18087 done
18088 IFS=$as_save_IFS
18089 if test -z "$ac_cv_path_EGREP"; then
18090 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18091 fi
18092 else
18093 ac_cv_path_EGREP=$EGREP
18094 fi
18095
18096 fi
18097 fi
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18099 $as_echo "$ac_cv_path_EGREP" >&6; }
18100 EGREP="$ac_cv_path_EGREP"
18101
18102
18103 if test $ac_cv_c_compiler_gnu = yes; then
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18105 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18106 if ${ac_cv_prog_gcc_traditional+:} false; then :
18107 $as_echo_n "(cached) " >&6
18108 else
18109 ac_pattern="Autoconf.*'x'"
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18112 #include <sgtty.h>
18113 Autoconf TIOCGETP
18114 _ACEOF
18115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18116 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18117 ac_cv_prog_gcc_traditional=yes
18118 else
18119 ac_cv_prog_gcc_traditional=no
18120 fi
18121 rm -f conftest*
18122
18123
18124 if test $ac_cv_prog_gcc_traditional = no; then
18125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18127 #include <termio.h>
18128 Autoconf TCGETA
18129 _ACEOF
18130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18131 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18132 ac_cv_prog_gcc_traditional=yes
18133 fi
18134 rm -f conftest*
18135
18136 fi
18137 fi
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18139 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18140 if test $ac_cv_prog_gcc_traditional = yes; then
18141 CC="$CC -traditional"
18142 fi
18143 fi
18144
18145
18146 CXXFLAGS=${CXXFLAGS:=}
18147 ac_ext=cpp
18148 ac_cpp='$CXXCPP $CPPFLAGS'
18149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18152 if test -z "$CXX"; then
18153 if test -n "$CCC"; then
18154 CXX=$CCC
18155 else
18156 if test -n "$ac_tool_prefix"; then
18157 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18158 do
18159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18162 $as_echo_n "checking for $ac_word... " >&6; }
18163 if ${ac_cv_prog_CXX+:} false; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18166 if test -n "$CXX"; then
18167 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18168 else
18169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18170 for as_dir in $PATH
18171 do
18172 IFS=$as_save_IFS
18173 test -z "$as_dir" && as_dir=.
18174 for ac_exec_ext in '' $ac_executable_extensions; do
18175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18176 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18178 break 2
18179 fi
18180 done
18181 done
18182 IFS=$as_save_IFS
18183
18184 fi
18185 fi
18186 CXX=$ac_cv_prog_CXX
18187 if test -n "$CXX"; then
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18189 $as_echo "$CXX" >&6; }
18190 else
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18192 $as_echo "no" >&6; }
18193 fi
18194
18195
18196 test -n "$CXX" && break
18197 done
18198 fi
18199 if test -z "$CXX"; then
18200 ac_ct_CXX=$CXX
18201 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18202 do
18203 # Extract the first word of "$ac_prog", so it can be a program name with args.
18204 set dummy $ac_prog; ac_word=$2
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18206 $as_echo_n "checking for $ac_word... " >&6; }
18207 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 if test -n "$ac_ct_CXX"; then
18211 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18212 else
18213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18214 for as_dir in $PATH
18215 do
18216 IFS=$as_save_IFS
18217 test -z "$as_dir" && as_dir=.
18218 for ac_exec_ext in '' $ac_executable_extensions; do
18219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18220 ac_cv_prog_ac_ct_CXX="$ac_prog"
18221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18222 break 2
18223 fi
18224 done
18225 done
18226 IFS=$as_save_IFS
18227
18228 fi
18229 fi
18230 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18231 if test -n "$ac_ct_CXX"; then
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18233 $as_echo "$ac_ct_CXX" >&6; }
18234 else
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18237 fi
18238
18239
18240 test -n "$ac_ct_CXX" && break
18241 done
18242
18243 if test "x$ac_ct_CXX" = x; then
18244 CXX="g++"
18245 else
18246 case $cross_compiling:$ac_tool_warned in
18247 yes:)
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18250 ac_tool_warned=yes ;;
18251 esac
18252 CXX=$ac_ct_CXX
18253 fi
18254 fi
18255
18256 fi
18257 fi
18258 # Provide some information about the compiler.
18259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18260 set X $ac_compile
18261 ac_compiler=$2
18262 for ac_option in --version -v -V -qversion; do
18263 { { ac_try="$ac_compiler $ac_option >&5"
18264 case "(($ac_try" in
18265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18266 *) ac_try_echo=$ac_try;;
18267 esac
18268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18269 $as_echo "$ac_try_echo"; } >&5
18270 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18271 ac_status=$?
18272 if test -s conftest.err; then
18273 sed '10a\
18274 ... rest of stderr output deleted ...
18275 10q' conftest.err >conftest.er1
18276 cat conftest.er1 >&5
18277 fi
18278 rm -f conftest.er1 conftest.err
18279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18280 test $ac_status = 0; }
18281 done
18282
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18284 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18285 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18286 $as_echo_n "(cached) " >&6
18287 else
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18290
18291 int
18292 main ()
18293 {
18294 #ifndef __GNUC__
18295 choke me
18296 #endif
18297
18298 ;
18299 return 0;
18300 }
18301 _ACEOF
18302 if ac_fn_cxx_try_compile "$LINENO"; then :
18303 ac_compiler_gnu=yes
18304 else
18305 ac_compiler_gnu=no
18306 fi
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18309
18310 fi
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18312 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18313 if test $ac_compiler_gnu = yes; then
18314 GXX=yes
18315 else
18316 GXX=
18317 fi
18318 ac_test_CXXFLAGS=${CXXFLAGS+set}
18319 ac_save_CXXFLAGS=$CXXFLAGS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18321 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18322 if ${ac_cv_prog_cxx_g+:} false; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18325 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18326 ac_cxx_werror_flag=yes
18327 ac_cv_prog_cxx_g=no
18328 CXXFLAGS="-g"
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18331
18332 int
18333 main ()
18334 {
18335
18336 ;
18337 return 0;
18338 }
18339 _ACEOF
18340 if ac_fn_cxx_try_compile "$LINENO"; then :
18341 ac_cv_prog_cxx_g=yes
18342 else
18343 CXXFLAGS=""
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18346
18347 int
18348 main ()
18349 {
18350
18351 ;
18352 return 0;
18353 }
18354 _ACEOF
18355 if ac_fn_cxx_try_compile "$LINENO"; then :
18356
18357 else
18358 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18359 CXXFLAGS="-g"
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362
18363 int
18364 main ()
18365 {
18366
18367 ;
18368 return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_cxx_try_compile "$LINENO"; then :
18372 ac_cv_prog_cxx_g=yes
18373 fi
18374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375 fi
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377 fi
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18380 fi
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18382 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18383 if test "$ac_test_CXXFLAGS" = set; then
18384 CXXFLAGS=$ac_save_CXXFLAGS
18385 elif test $ac_cv_prog_cxx_g = yes; then
18386 if test "$GXX" = yes; then
18387 CXXFLAGS="-g -O2"
18388 else
18389 CXXFLAGS="-g"
18390 fi
18391 else
18392 if test "$GXX" = yes; then
18393 CXXFLAGS="-O2"
18394 else
18395 CXXFLAGS=
18396 fi
18397 fi
18398 ac_ext=c
18399 ac_cpp='$CPP $CPPFLAGS'
18400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18403
18404
18405
18406
18407
18408
18409
18410
18411 ac_ext=cpp
18412 ac_cpp='$CXXCPP $CPPFLAGS'
18413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18416
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18418 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18419 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18424
18425 int
18426 main ()
18427 {
18428
18429 #ifndef __INTEL_COMPILER
18430 choke me
18431 #endif
18432
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 if ac_fn_cxx_try_compile "$LINENO"; then :
18438 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18439 else
18440 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18441
18442 fi
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444
18445
18446 fi
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18448 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18449 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18450 :; INTELCXX=yes
18451 else
18452 :;
18453 fi
18454 ac_ext=c
18455 ac_cpp='$CPP $CPPFLAGS'
18456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18459
18460
18461
18462
18463 if test "$INTELCXX" = "yes"; then
18464
18465
18466 ac_ext=cpp
18467 ac_cpp='$CXXCPP $CPPFLAGS'
18468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18471
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18473 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18474 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479
18480 int
18481 main ()
18482 {
18483
18484 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18485 choke me
18486 #endif
18487
18488 ;
18489 return 0;
18490 }
18491 _ACEOF
18492 if ac_fn_cxx_try_compile "$LINENO"; then :
18493 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18494 else
18495 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18496
18497 fi
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499
18500
18501 fi
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18503 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18504 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18505 :; INTELCXX8=yes
18506 else
18507 :;
18508 fi
18509 ac_ext=c
18510 ac_cpp='$CPP $CPPFLAGS'
18511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 Intel C++ compiler v10 or later" >&5
18526 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18527 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} 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 || __INTEL_COMPILER < 1000
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_lt_1000=yes
18547 else
18548 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=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_lt_1000" >&5
18556 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18557 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18558 :; INTELCXX10=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 fi
18571
18572 if test "x$GCXX" != "xyes"; then
18573 if test "xCXX" = "xC"; then
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18575 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18576 if ${bakefile_cv_c_exto+:} false; then :
18577 $as_echo_n "(cached) " >&6
18578 else
18579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581
18582 int
18583 main ()
18584 {
18585
18586 ;
18587 return 0;
18588 }
18589 _ACEOF
18590 rm -f conftest.$ac_objext conftest.$ac_ext.o
18591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18592 (eval $ac_compile) 2>&5
18593 ac_status=$?
18594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18595 test $ac_status = 0; }; then :
18596 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18597 case $ac_file in
18598 conftest.$ac_ext.o)
18599 bakefile_cv_c_exto="-ext o"
18600 ;;
18601 *)
18602 ;;
18603 esac
18604 done
18605 else
18606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18608 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18609 See \`config.log' for more details" "$LINENO" 5; }
18610
18611 fi
18612 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18613
18614 fi
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18616 $as_echo "$bakefile_cv_c_exto" >&6; }
18617 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18618 if test "c" = "c"; then
18619 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18620 fi
18621 if test "c" = "cxx"; then
18622 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18623 fi
18624 fi
18625
18626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18627 unset ac_cv_prog_cc_g
18628 ac_test_CFLAGS=${CFLAGS+set}
18629 ac_save_CFLAGS=$CFLAGS
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18631 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18632 if ${ac_cv_prog_cc_g+:} false; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635 ac_save_c_werror_flag=$ac_c_werror_flag
18636 ac_c_werror_flag=yes
18637 ac_cv_prog_cc_g=no
18638 CFLAGS="-g"
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641
18642 int
18643 main ()
18644 {
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 if ac_fn_c_try_compile "$LINENO"; then :
18651 ac_cv_prog_cc_g=yes
18652 else
18653 CFLAGS=""
18654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h. */
18656
18657 int
18658 main ()
18659 {
18660
18661 ;
18662 return 0;
18663 }
18664 _ACEOF
18665 if ac_fn_c_try_compile "$LINENO"; then :
18666
18667 else
18668 ac_c_werror_flag=$ac_save_c_werror_flag
18669 CFLAGS="-g"
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672
18673 int
18674 main ()
18675 {
18676
18677 ;
18678 return 0;
18679 }
18680 _ACEOF
18681 if ac_fn_c_try_compile "$LINENO"; then :
18682 ac_cv_prog_cc_g=yes
18683 fi
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 fi
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 fi
18688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 ac_c_werror_flag=$ac_save_c_werror_flag
18690 fi
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18692 $as_echo "$ac_cv_prog_cc_g" >&6; }
18693 if test "$ac_test_CFLAGS" = set; then
18694 CFLAGS=$ac_save_CFLAGS
18695 elif test $ac_cv_prog_cc_g = yes; then
18696 if test "$GCC" = yes; then
18697 CFLAGS="-g -O2"
18698 else
18699 CFLAGS="-g"
18700 fi
18701 else
18702 if test "$GCC" = yes; then
18703 CFLAGS="-O2"
18704 else
18705 CFLAGS=
18706 fi
18707 fi
18708 fi
18709 fi
18710
18711 case `uname -s` in
18712 AIX*)
18713
18714
18715 ac_ext=cpp
18716 ac_cpp='$CXXCPP $CPPFLAGS'
18717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18720
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18722 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18723 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728
18729 int
18730 main ()
18731 {
18732
18733 #ifndef __xlC__
18734 choke me
18735 #endif
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742 bakefile_cv_cxx_compiler___xlC__=yes
18743 else
18744 bakefile_cv_cxx_compiler___xlC__=no
18745
18746 fi
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748
18749
18750 fi
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18752 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18753 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18754 :; XLCXX=yes
18755 else
18756 :;
18757 fi
18758 ac_ext=c
18759 ac_cpp='$CPP $CPPFLAGS'
18760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18763
18764
18765
18766 ;;
18767
18768 Darwin)
18769
18770
18771 ac_ext=cpp
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18776
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18778 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18779 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18780 $as_echo_n "(cached) " >&6
18781 else
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18784
18785 int
18786 main ()
18787 {
18788
18789 #ifndef __MWERKS__
18790 choke me
18791 #endif
18792
18793 ;
18794 return 0;
18795 }
18796 _ACEOF
18797 if ac_fn_cxx_try_compile "$LINENO"; then :
18798 bakefile_cv_cxx_compiler___MWERKS__=yes
18799 else
18800 bakefile_cv_cxx_compiler___MWERKS__=no
18801
18802 fi
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804
18805
18806 fi
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18808 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18809 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18810 :; MWCXX=yes
18811 else
18812 :;
18813 fi
18814 ac_ext=c
18815 ac_cpp='$CPP $CPPFLAGS'
18816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18819
18820
18821
18822 if test "$MWCXX" != "yes"; then
18823
18824
18825 ac_ext=cpp
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18832 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18833 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838
18839 int
18840 main ()
18841 {
18842
18843 #ifndef __xlC__
18844 choke me
18845 #endif
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852 bakefile_cv_cxx_compiler___xlC__=yes
18853 else
18854 bakefile_cv_cxx_compiler___xlC__=no
18855
18856 fi
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858
18859
18860 fi
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18862 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18863 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18864 :; XLCXX=yes
18865 else
18866 :;
18867 fi
18868 ac_ext=c
18869 ac_cpp='$CPP $CPPFLAGS'
18870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18873
18874
18875
18876 fi
18877 ;;
18878
18879 IRIX*)
18880
18881
18882 ac_ext=cpp
18883 ac_cpp='$CXXCPP $CPPFLAGS'
18884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18887
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18889 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18890 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18891 $as_echo_n "(cached) " >&6
18892 else
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895
18896 int
18897 main ()
18898 {
18899
18900 #ifndef _SGI_COMPILER_VERSION
18901 choke me
18902 #endif
18903
18904 ;
18905 return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18910 else
18911 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18912
18913 fi
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915
18916
18917 fi
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18919 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18920 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18921 :; SGICXX=yes
18922 else
18923 :;
18924 fi
18925 ac_ext=c
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930
18931
18932
18933 ;;
18934
18935 Linux*)
18936 if test "$INTELCXX" != "yes"; then
18937
18938
18939 ac_ext=cpp
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18946 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18947 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18948 $as_echo_n "(cached) " >&6
18949 else
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18952
18953 int
18954 main ()
18955 {
18956
18957 #ifndef __SUNPRO_CC
18958 choke me
18959 #endif
18960
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18967 else
18968 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18969
18970 fi
18971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972
18973
18974 fi
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18976 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18977 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18978 :; SUNCXX=yes
18979 else
18980 :;
18981 fi
18982 ac_ext=c
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18987
18988
18989
18990 fi
18991 ;;
18992
18993 HP-UX*)
18994
18995
18996 ac_ext=cpp
18997 ac_cpp='$CXXCPP $CPPFLAGS'
18998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19001
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19003 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19004 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h. */
19009
19010 int
19011 main ()
19012 {
19013
19014 #ifndef __HP_aCC
19015 choke me
19016 #endif
19017
19018 ;
19019 return 0;
19020 }
19021 _ACEOF
19022 if ac_fn_cxx_try_compile "$LINENO"; then :
19023 bakefile_cv_cxx_compiler___HP_aCC=yes
19024 else
19025 bakefile_cv_cxx_compiler___HP_aCC=no
19026
19027 fi
19028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19029
19030
19031 fi
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19033 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19034 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19035 :; HPCXX=yes
19036 else
19037 :;
19038 fi
19039 ac_ext=c
19040 ac_cpp='$CPP $CPPFLAGS'
19041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19044
19045
19046
19047 ;;
19048
19049 OSF1)
19050
19051
19052 ac_ext=cpp
19053 ac_cpp='$CXXCPP $CPPFLAGS'
19054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19059 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19060 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19061 $as_echo_n "(cached) " >&6
19062 else
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19065
19066 int
19067 main ()
19068 {
19069
19070 #ifndef __DECCXX
19071 choke me
19072 #endif
19073
19074 ;
19075 return 0;
19076 }
19077 _ACEOF
19078 if ac_fn_cxx_try_compile "$LINENO"; then :
19079 bakefile_cv_cxx_compiler___DECCXX=yes
19080 else
19081 bakefile_cv_cxx_compiler___DECCXX=no
19082
19083 fi
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085
19086
19087 fi
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19089 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19090 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19091 :; COMPAQCXX=yes
19092 else
19093 :;
19094 fi
19095 ac_ext=c
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100
19101
19102
19103 ;;
19104
19105 SunOS)
19106
19107
19108 ac_ext=cpp
19109 ac_cpp='$CXXCPP $CPPFLAGS'
19110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19113
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19115 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19116 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19117 $as_echo_n "(cached) " >&6
19118 else
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19121
19122 int
19123 main ()
19124 {
19125
19126 #ifndef __SUNPRO_CC
19127 choke me
19128 #endif
19129
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19136 else
19137 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19138
19139 fi
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141
19142
19143 fi
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19145 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19146 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19147 :; SUNCXX=yes
19148 else
19149 :;
19150 fi
19151 ac_ext=c
19152 ac_cpp='$CPP $CPPFLAGS'
19153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19156
19157
19158
19159 ;;
19160 esac
19161 fi
19162
19163
19164
19165 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19166 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19167 fi
19168
19169 if test "x$SUNCXX" != xyes; then
19170 if test -n "$ac_tool_prefix"; then
19171 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19172 set dummy ${ac_tool_prefix}ar; ac_word=$2
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19174 $as_echo_n "checking for $ac_word... " >&6; }
19175 if ${ac_cv_prog_AR+:} false; then :
19176 $as_echo_n "(cached) " >&6
19177 else
19178 if test -n "$AR"; then
19179 ac_cv_prog_AR="$AR" # Let the user override the test.
19180 else
19181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19182 for as_dir in $PATH
19183 do
19184 IFS=$as_save_IFS
19185 test -z "$as_dir" && as_dir=.
19186 for ac_exec_ext in '' $ac_executable_extensions; do
19187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19188 ac_cv_prog_AR="${ac_tool_prefix}ar"
19189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19190 break 2
19191 fi
19192 done
19193 done
19194 IFS=$as_save_IFS
19195
19196 fi
19197 fi
19198 AR=$ac_cv_prog_AR
19199 if test -n "$AR"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19201 $as_echo "$AR" >&6; }
19202 else
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19204 $as_echo "no" >&6; }
19205 fi
19206
19207
19208 fi
19209 if test -z "$ac_cv_prog_AR"; then
19210 ac_ct_AR=$AR
19211 # Extract the first word of "ar", so it can be a program name with args.
19212 set dummy ar; ac_word=$2
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19214 $as_echo_n "checking for $ac_word... " >&6; }
19215 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19216 $as_echo_n "(cached) " >&6
19217 else
19218 if test -n "$ac_ct_AR"; then
19219 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19220 else
19221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19222 for as_dir in $PATH
19223 do
19224 IFS=$as_save_IFS
19225 test -z "$as_dir" && as_dir=.
19226 for ac_exec_ext in '' $ac_executable_extensions; do
19227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19228 ac_cv_prog_ac_ct_AR="ar"
19229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19230 break 2
19231 fi
19232 done
19233 done
19234 IFS=$as_save_IFS
19235
19236 fi
19237 fi
19238 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19239 if test -n "$ac_ct_AR"; then
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19241 $as_echo "$ac_ct_AR" >&6; }
19242 else
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19244 $as_echo "no" >&6; }
19245 fi
19246
19247 if test "x$ac_ct_AR" = x; then
19248 AR=""
19249 else
19250 case $cross_compiling:$ac_tool_warned in
19251 yes:)
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19254 ac_tool_warned=yes ;;
19255 esac
19256 AR=$ac_ct_AR
19257 fi
19258 else
19259 AR="$ac_cv_prog_AR"
19260 fi
19261
19262 if test "x$AR" = "x" ; then
19263 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19264 fi
19265 fi
19266
19267
19268 if test "$wxUSE_MAC" = 1; then
19269
19270 retest_macosx_linking=no
19271
19272 OSX_ARCH_OPTS=""
19273
19274 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19275 if test "x$wxUSE_MAC_ARCH" != xno; then
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19277 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19278 fi
19279
19280 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19281 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19282 else OSX_ARCH_OPTS="ppc,i386"
19283 if test "$wxUSE_OSX_COCOA" = 1; then
19284 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19285 fi
19286 fi
19287
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19289 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19291 $as_echo "$OSX_ARCH_OPTS" >&6; }
19292
19293 retest_macosx_linking=yes
19294 else
19295 if test "x$wxUSE_MAC_ARCH" != xno; then
19296 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19297 fi
19298 fi
19299
19300 if test "x$OSX_ARCH_OPTS" != "x"; then
19301 if echo $OSX_ARCH_OPTS | grep -q ","; then
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19303 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19304 disable_macosx_deps=yes
19305
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19307 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19308 bk_use_pch=no
19309 fi
19310
19311 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19312
19313 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19314 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19315 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19316 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19317 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19318 fi
19319
19320 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19321 wxUSE_MACOSX_SDK=
19322 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19323 # TODO: Search for most recent SDK and use it.
19324 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19325 fi
19326
19327
19328 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19330 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19331 if ! test -d "$wxUSE_MACOSX_SDK"; then
19332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19334 as_fn_error $? "not found
19335 See \`config.log' for more details" "$LINENO" 5; }
19336 else
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19338 $as_echo "exists" >&6; }
19339 fi
19340 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19341 retest_macosx_linking=yes
19342 fi
19343
19344 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19345 wxUSE_MACOSX_VERSION_MIN=
19346 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19347 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19349 $as_echo_n "checking SDK deployment version... " >&6; }
19350
19351 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/'`
19352
19353 # If that failed, try again with the new key
19354 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19355
19356 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/'`
19357
19358 fi
19359
19360 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19361 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19363 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19364 else
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19366 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19367 wxUSE_MACOSX_VERSION_MIN=
19368 fi
19369 else
19370 wxUSE_MACOSX_VERSION_MIN=
19371 fi
19372 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19373 wxUSE_MACOSX_VERSION_MIN=10.5
19374 fi
19375
19376 if test "x$MACOSX_SDK_OPTS" != "x"; then
19377 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19378 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19379 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19380 retest_macosx_linking=yes
19381 fi
19382
19383 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19384 if test "$wxUSE_OSX_IPHONE" = 1; then
19385 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19386 else
19387 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19388 fi
19389 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19390 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19391 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19392 retest_macosx_linking=yes
19393 fi
19394
19395 if test "x$retest_macosx_linking" = "xyes"; then
19396 ac_ext=c
19397 ac_cpp='$CPP $CPPFLAGS'
19398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19401
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19403 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 if ac_fn_c_try_link "$LINENO"; then :
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19417 $as_echo "yes" >&6; }
19418 else
19419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19421 as_fn_error $? "no. Try a different SDK
19422 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19423 fi
19424 rm -f core conftest.err conftest.$ac_objext \
19425 conftest$ac_exeext conftest.$ac_ext
19426 ac_ext=c
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431
19432
19433 ac_ext=cpp
19434 ac_cpp='$CXXCPP $CPPFLAGS'
19435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19438
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19440 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19443
19444 int
19445 main ()
19446 {
19447
19448 ;
19449 return 0;
19450 }
19451 _ACEOF
19452 if ac_fn_cxx_try_link "$LINENO"; then :
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19454 $as_echo "yes" >&6; }
19455 else
19456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19458 as_fn_error $? "no. Try a different SDK
19459 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19460 fi
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext conftest.$ac_ext
19463 ac_ext=c
19464 ac_cpp='$CPP $CPPFLAGS'
19465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468
19469 fi
19470
19471 fi
19472 case "${host}" in
19473
19474 *-*-darwin* )
19475 INSTALL_PROGRAM="cp -fp"
19476 INSTALL_DATA="cp -fp"
19477 ;;
19478 *)
19479 ;;
19480 esac
19481
19482
19483 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19484 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19485
19486
19487 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19488 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19489 fi
19490
19491 if test "x$USE_AIX" = "x1"; then
19492 if test "x$XLCXX" = "xyes"; then
19493 CXXFLAGS="-qunique $CXXFLAGS"
19494 fi
19495
19496 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19497 fi
19498
19499 case "${host}" in
19500 powerpc-*-darwin* )
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19502 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505
19506 int
19507 main ()
19508 {
19509 #ifndef __POWERPC__
19510 choke me for lack of PowerPC
19511 #endif
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 if ac_fn_c_try_compile "$LINENO"; then :
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19519 $as_echo "yes" >&6; }
19520 else
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19522 $as_echo "no" >&6; }
19523 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19524
19525
19526 fi
19527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19528 ;;
19529 esac
19530
19531 case "${host}" in
19532 *-*-darwin* )
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19534 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h. */
19537 #include <CoreFoundation/CFBase.h>
19538
19539 int
19540 main ()
19541 {
19542
19543 ;
19544 return 0;
19545 }
19546 _ACEOF
19547 if ac_fn_c_try_compile "$LINENO"; then :
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19549 $as_echo "yes" >&6; }
19550 else
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19552 $as_echo "no" >&6; }
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19554 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557 #define __CF_USE_FRAMEWORK_INCLUDES__
19558 #include <CoreFoundation/CFBase.h>
19559
19560 int
19561 main ()
19562 {
19563
19564 ;
19565 return 0;
19566 }
19567 _ACEOF
19568 if ac_fn_c_try_compile "$LINENO"; then :
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19571 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19572 else
19573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19575 as_fn_error $? "no. CoreFoundation not available.
19576 See \`config.log' for more details" "$LINENO" 5; }
19577
19578 fi
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580
19581
19582 fi
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 ;;
19585 esac
19586
19587 wants_win32=0
19588 doesnt_want_win32=0
19589 case "${host}" in
19590 *-*-cygwin*)
19591 if test "$wxUSE_MSW" = 1 ; then
19592 wants_win32=1
19593 else
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19595 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19596 if ${wx_cv_nocygwin+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599
19600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h. */
19602
19603 int
19604 main ()
19605 {
19606
19607 #ifdef __MINGW32__
19608 choke me
19609 #endif
19610
19611 ;
19612 return 0;
19613 }
19614 _ACEOF
19615 if ac_fn_c_try_compile "$LINENO"; then :
19616 wx_cv_nocygwin=no
19617 else
19618 wx_cv_nocygwin=yes
19619
19620 fi
19621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622
19623
19624 fi
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19626 $as_echo "$wx_cv_nocygwin" >&6; }
19627
19628 if test "$wx_cv_nocygwin" = "yes"; then
19629 wants_win32=1
19630 else
19631 doesnt_want_win32=1
19632 fi
19633 fi
19634 if test "$wants_win32" = 1 ; then
19635 BAKEFILE_FORCE_PLATFORM=win32
19636 fi
19637 ;;
19638 *-*-mingw*)
19639 wants_win32=1
19640 ;;
19641 esac
19642
19643 if test "$wxUSE_WINE" = "yes"; then
19644 wants_win32=1
19645 LDFLAGS_GUI="-mwindows"
19646 fi
19647
19648 if test "$wants_win32" = 1 ; then
19649 USE_UNIX=0
19650 USE_WIN32=1
19651 $as_echo "#define __WIN32__ 1" >>confdefs.h
19652
19653 $as_echo "#define __WIN95__ 1" >>confdefs.h
19654
19655 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19656
19657 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19658
19659 $as_echo "#define STRICT 1" >>confdefs.h
19660
19661 fi
19662 if test "$doesnt_want_win32" = 1 ; then
19663 USE_UNIX=1
19664 USE_WIN32=0
19665 fi
19666
19667 if test "$USE_UNIX" = 1 ; then
19668 wxUSE_UNIX=yes
19669 $as_echo "#define __UNIX__ 1" >>confdefs.h
19670
19671 fi
19672
19673 case "${host}" in
19674 *-pc-os2_emx | *-pc-os2-emx )
19675 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19677 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19678 if ${ac_cv_lib_cExt_drand48+:} false; then :
19679 $as_echo_n "(cached) " >&6
19680 else
19681 ac_check_lib_save_LIBS=$LIBS
19682 LIBS="-lcExt $LIBS"
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19685
19686 /* Override any GCC internal prototype to avoid an error.
19687 Use char because int might match the return type of a GCC
19688 builtin and then its argument prototype would still apply. */
19689 #ifdef __cplusplus
19690 extern "C"
19691 #endif
19692 char drand48 ();
19693 int
19694 main ()
19695 {
19696 return drand48 ();
19697 ;
19698 return 0;
19699 }
19700 _ACEOF
19701 if ac_fn_c_try_link "$LINENO"; then :
19702 ac_cv_lib_cExt_drand48=yes
19703 else
19704 ac_cv_lib_cExt_drand48=no
19705 fi
19706 rm -f core conftest.err conftest.$ac_objext \
19707 conftest$ac_exeext conftest.$ac_ext
19708 LIBS=$ac_check_lib_save_LIBS
19709 fi
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19711 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19712 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19713 LIBS="$LIBS -lcExt"
19714 fi
19715
19716 else
19717 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19718 fi
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19720 $as_echo_n "checking for gcc/libc version... " >&6; }
19721 if ${wx_cv_gccversion+:} false; then :
19722 $as_echo_n "(cached) " >&6
19723 else
19724
19725 if test "$cross_compiling" = yes; then :
19726 wx_cv_gccversion="EMX2"
19727
19728 else
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731
19732 #include <stdio.h>
19733
19734 int main()
19735 {
19736 FILE *f=fopen("conftestval", "w");
19737 if (!f) exit(1);
19738 fprintf(f,
19739 #if (__GNUC__ < 3)
19740 "EMX2"
19741 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19742 "EMX3"
19743 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19744 "Innotek5"
19745 #else
19746 "Innotek6"
19747 #endif
19748 );
19749 exit(0);
19750 }
19751
19752 _ACEOF
19753 if ac_fn_c_try_run "$LINENO"; then :
19754 wx_cv_gccversion=`cat conftestval`
19755 else
19756 wx_cv_gccversion="EMX2"
19757 fi
19758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19759 conftest.$ac_objext conftest.beam conftest.$ac_ext
19760 fi
19761
19762
19763 fi
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19765 $as_echo "$wx_cv_gccversion" >&6; }
19766 if test "$wx_cv_gccversion" = "EMX2"; then
19767 LIBS="$LIBS -lstdcpp"
19768 LDFLAGS="$LDFLAGS -Zsysv-signals"
19769 else
19770 if test "$wx_cv_gccversion" = "EMX3"; then
19771 LIBS="$LIBS -lstdcxx -lgcc"
19772 LDFLAGS="$LDFLAGS -Zsysv-signals"
19773 else
19774 LIBS="$LIBS -lstdc++"
19775 fi
19776 fi
19777 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19779 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19780 wxUSE_OMF=yes
19781 enable_omf=yes
19782 fi
19783 ;;
19784 *)
19785
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19787 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19788 if ${ac_cv_string_strcasecmp+:} false; then :
19789 $as_echo_n "(cached) " >&6
19790 else
19791
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19794
19795 #include <string.h>
19796
19797 int
19798 main ()
19799 {
19800
19801 strcasecmp("foo", "bar");
19802
19803 ;
19804 return 0;
19805 }
19806 _ACEOF
19807 if ac_fn_c_try_link "$LINENO"; then :
19808 ac_cv_string_strcasecmp=yes
19809 else
19810 ac_cv_string_strcasecmp=no
19811
19812 fi
19813 rm -f core conftest.err conftest.$ac_objext \
19814 conftest$ac_exeext conftest.$ac_ext
19815
19816 fi
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19818 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19819
19820 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19821 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19822
19823 else
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19825 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19826 if ${ac_cv_strings_strcasecmp+:} false; then :
19827 $as_echo_n "(cached) " >&6
19828 else
19829
19830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19831 /* end confdefs.h. */
19832
19833 #include <strings.h>
19834
19835 int
19836 main ()
19837 {
19838
19839 strcasecmp("foo", "bar");
19840
19841 ;
19842 return 0;
19843 }
19844 _ACEOF
19845 if ac_fn_c_try_link "$LINENO"; then :
19846 ac_cv_strings_strcasecmp=yes
19847 else
19848 ac_cv_strings_strcasecmp=no
19849
19850 fi
19851 rm -f core conftest.err conftest.$ac_objext \
19852 conftest$ac_exeext conftest.$ac_ext
19853
19854 fi
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19856 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19857
19858 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19859 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19860
19861 else
19862 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19863 fi
19864 fi
19865
19866 ;;
19867 esac
19868
19869
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19871 $as_echo_n "checking for ANSI C header files... " >&6; }
19872 if ${ac_cv_header_stdc+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #include <stdlib.h>
19878 #include <stdarg.h>
19879 #include <string.h>
19880 #include <float.h>
19881
19882 int
19883 main ()
19884 {
19885
19886 ;
19887 return 0;
19888 }
19889 _ACEOF
19890 if ac_fn_c_try_compile "$LINENO"; then :
19891 ac_cv_header_stdc=yes
19892 else
19893 ac_cv_header_stdc=no
19894 fi
19895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19896
19897 if test $ac_cv_header_stdc = yes; then
19898 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #include <string.h>
19902
19903 _ACEOF
19904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19905 $EGREP "memchr" >/dev/null 2>&1; then :
19906
19907 else
19908 ac_cv_header_stdc=no
19909 fi
19910 rm -f conftest*
19911
19912 fi
19913
19914 if test $ac_cv_header_stdc = yes; then
19915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #include <stdlib.h>
19919
19920 _ACEOF
19921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19922 $EGREP "free" >/dev/null 2>&1; then :
19923
19924 else
19925 ac_cv_header_stdc=no
19926 fi
19927 rm -f conftest*
19928
19929 fi
19930
19931 if test $ac_cv_header_stdc = yes; then
19932 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19933 if test "$cross_compiling" = yes; then :
19934 :
19935 else
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h. */
19938 #include <ctype.h>
19939 #include <stdlib.h>
19940 #if ((' ' & 0x0FF) == 0x020)
19941 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19942 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19943 #else
19944 # define ISLOWER(c) \
19945 (('a' <= (c) && (c) <= 'i') \
19946 || ('j' <= (c) && (c) <= 'r') \
19947 || ('s' <= (c) && (c) <= 'z'))
19948 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19949 #endif
19950
19951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19952 int
19953 main ()
19954 {
19955 int i;
19956 for (i = 0; i < 256; i++)
19957 if (XOR (islower (i), ISLOWER (i))
19958 || toupper (i) != TOUPPER (i))
19959 return 2;
19960 return 0;
19961 }
19962 _ACEOF
19963 if ac_fn_c_try_run "$LINENO"; then :
19964
19965 else
19966 ac_cv_header_stdc=no
19967 fi
19968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19969 conftest.$ac_objext conftest.beam conftest.$ac_ext
19970 fi
19971
19972 fi
19973 fi
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19975 $as_echo "$ac_cv_header_stdc" >&6; }
19976 if test $ac_cv_header_stdc = yes; then
19977
19978 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19979
19980 fi
19981
19982 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19983 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19984 inttypes.h stdint.h unistd.h
19985 do :
19986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19988 "
19989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19990 cat >>confdefs.h <<_ACEOF
19991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19992 _ACEOF
19993
19994 fi
19995
19996 done
19997
19998
19999 for ac_header in langinfo.h wchar.h
20000 do :
20001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20003 "
20004 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20005 cat >>confdefs.h <<_ACEOF
20006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20007 _ACEOF
20008
20009 fi
20010
20011 done
20012
20013
20014 if test "$ac_cv_header_wchar_h" != "yes"; then
20015 for ac_header in wcstr.h
20016 do :
20017 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20018 "
20019 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_WCSTR_H 1
20022 _ACEOF
20023
20024 fi
20025
20026 done
20027
20028 fi
20029
20030 case "${host}" in
20031 *-pc-os2_emx | *-pc-os2-emx )
20032 if test $ac_cv_header_langinfo_h = "yes" \
20033 -a \( "$wx_cv_gccversion" = "EMX2" \
20034 -o "$wx_cv_gccversion" = "EMX3" \
20035 -o "$wx_cv_gccversion" = "Innotek5" \); then
20036 LIBS="$LIBS -lintl"
20037 fi
20038 ;;
20039 esac
20040
20041 if test "$USE_UNIX" = 1 ; then
20042 for ac_header in sys/select.h
20043 do :
20044 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20045 "
20046 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20047 cat >>confdefs.h <<_ACEOF
20048 #define HAVE_SYS_SELECT_H 1
20049 _ACEOF
20050
20051 fi
20052
20053 done
20054
20055
20056 ac_ext=cpp
20057 ac_cpp='$CXXCPP $CPPFLAGS'
20058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20061
20062 for ac_header in cxxabi.h
20063 do :
20064 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20065 "
20066 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20067 cat >>confdefs.h <<_ACEOF
20068 #define HAVE_CXXABI_H 1
20069 _ACEOF
20070
20071 fi
20072
20073 done
20074
20075 ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081 fi
20082
20083
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20085 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20086 if ${ac_cv_c_const+:} false; then :
20087 $as_echo_n "(cached) " >&6
20088 else
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091
20092 int
20093 main ()
20094 {
20095
20096 #ifndef __cplusplus
20097 /* Ultrix mips cc rejects this sort of thing. */
20098 typedef int charset[2];
20099 const charset cs = { 0, 0 };
20100 /* SunOS 4.1.1 cc rejects this. */
20101 char const *const *pcpcc;
20102 char **ppc;
20103 /* NEC SVR4.0.2 mips cc rejects this. */
20104 struct point {int x, y;};
20105 static struct point const zero = {0,0};
20106 /* AIX XL C 1.02.0.0 rejects this.
20107 It does not let you subtract one const X* pointer from another in
20108 an arm of an if-expression whose if-part is not a constant
20109 expression */
20110 const char *g = "string";
20111 pcpcc = &g + (g ? g-g : 0);
20112 /* HPUX 7.0 cc rejects these. */
20113 ++pcpcc;
20114 ppc = (char**) pcpcc;
20115 pcpcc = (char const *const *) ppc;
20116 { /* SCO 3.2v4 cc rejects this sort of thing. */
20117 char tx;
20118 char *t = &tx;
20119 char const *s = 0 ? (char *) 0 : (char const *) 0;
20120
20121 *t++ = 0;
20122 if (s) return 0;
20123 }
20124 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20125 int x[] = {25, 17};
20126 const int *foo = &x[0];
20127 ++foo;
20128 }
20129 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20130 typedef const int *iptr;
20131 iptr p = 0;
20132 ++p;
20133 }
20134 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20135 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20136 struct s { int j; const int *ap[3]; } bx;
20137 struct s *b = &bx; b->j = 5;
20138 }
20139 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20140 const int foo = 10;
20141 if (!foo) return 0;
20142 }
20143 return !cs[0] && !zero.x;
20144 #endif
20145
20146 ;
20147 return 0;
20148 }
20149 _ACEOF
20150 if ac_fn_c_try_compile "$LINENO"; then :
20151 ac_cv_c_const=yes
20152 else
20153 ac_cv_c_const=no
20154 fi
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 fi
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20158 $as_echo "$ac_cv_c_const" >&6; }
20159 if test $ac_cv_c_const = no; then
20160
20161 $as_echo "#define const /**/" >>confdefs.h
20162
20163 fi
20164
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20166 $as_echo_n "checking for inline... " >&6; }
20167 if ${ac_cv_c_inline+:} false; then :
20168 $as_echo_n "(cached) " >&6
20169 else
20170 ac_cv_c_inline=no
20171 for ac_kw in inline __inline__ __inline; do
20172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20173 /* end confdefs.h. */
20174 #ifndef __cplusplus
20175 typedef int foo_t;
20176 static $ac_kw foo_t static_foo () {return 0; }
20177 $ac_kw foo_t foo () {return 0; }
20178 #endif
20179
20180 _ACEOF
20181 if ac_fn_c_try_compile "$LINENO"; then :
20182 ac_cv_c_inline=$ac_kw
20183 fi
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185 test "$ac_cv_c_inline" != no && break
20186 done
20187
20188 fi
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20190 $as_echo "$ac_cv_c_inline" >&6; }
20191
20192 case $ac_cv_c_inline in
20193 inline | yes) ;;
20194 *)
20195 case $ac_cv_c_inline in
20196 no) ac_val=;;
20197 *) ac_val=$ac_cv_c_inline;;
20198 esac
20199 cat >>confdefs.h <<_ACEOF
20200 #ifndef __cplusplus
20201 #define inline $ac_val
20202 #endif
20203 _ACEOF
20204 ;;
20205 esac
20206
20207
20208 # The cast to long int works around a bug in the HP C Compiler
20209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20211 # This bug is HP SR number 8606223364.
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20213 $as_echo_n "checking size of short... " >&6; }
20214 if ${ac_cv_sizeof_short+:} false; then :
20215 $as_echo_n "(cached) " >&6
20216 else
20217 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20218
20219 else
20220 if test "$ac_cv_type_short" = yes; then
20221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20223 as_fn_error 77 "cannot compute sizeof (short)
20224 See \`config.log' for more details" "$LINENO" 5; }
20225 else
20226 ac_cv_sizeof_short=0
20227 fi
20228 fi
20229
20230 fi
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20232 $as_echo "$ac_cv_sizeof_short" >&6; }
20233
20234
20235
20236 cat >>confdefs.h <<_ACEOF
20237 #define SIZEOF_SHORT $ac_cv_sizeof_short
20238 _ACEOF
20239
20240
20241 # The cast to long int works around a bug in the HP C Compiler
20242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20244 # This bug is HP SR number 8606223364.
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20246 $as_echo_n "checking size of void *... " >&6; }
20247 if ${ac_cv_sizeof_void_p+:} false; then :
20248 $as_echo_n "(cached) " >&6
20249 else
20250 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20251
20252 else
20253 if test "$ac_cv_type_void_p" = yes; then
20254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20256 as_fn_error 77 "cannot compute sizeof (void *)
20257 See \`config.log' for more details" "$LINENO" 5; }
20258 else
20259 ac_cv_sizeof_void_p=0
20260 fi
20261 fi
20262
20263 fi
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20265 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20266
20267
20268
20269 cat >>confdefs.h <<_ACEOF
20270 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20271 _ACEOF
20272
20273
20274 # The cast to long int works around a bug in the HP C Compiler
20275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20277 # This bug is HP SR number 8606223364.
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20279 $as_echo_n "checking size of int... " >&6; }
20280 if ${ac_cv_sizeof_int+:} false; then :
20281 $as_echo_n "(cached) " >&6
20282 else
20283 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20284
20285 else
20286 if test "$ac_cv_type_int" = yes; then
20287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20289 as_fn_error 77 "cannot compute sizeof (int)
20290 See \`config.log' for more details" "$LINENO" 5; }
20291 else
20292 ac_cv_sizeof_int=0
20293 fi
20294 fi
20295
20296 fi
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20298 $as_echo "$ac_cv_sizeof_int" >&6; }
20299
20300
20301
20302 cat >>confdefs.h <<_ACEOF
20303 #define SIZEOF_INT $ac_cv_sizeof_int
20304 _ACEOF
20305
20306
20307 # The cast to long int works around a bug in the HP C Compiler
20308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20310 # This bug is HP SR number 8606223364.
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20312 $as_echo_n "checking size of long... " >&6; }
20313 if ${ac_cv_sizeof_long+:} false; then :
20314 $as_echo_n "(cached) " >&6
20315 else
20316 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20317
20318 else
20319 if test "$ac_cv_type_long" = yes; then
20320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20322 as_fn_error 77 "cannot compute sizeof (long)
20323 See \`config.log' for more details" "$LINENO" 5; }
20324 else
20325 ac_cv_sizeof_long=0
20326 fi
20327 fi
20328
20329 fi
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20331 $as_echo "$ac_cv_sizeof_long" >&6; }
20332
20333
20334
20335 cat >>confdefs.h <<_ACEOF
20336 #define SIZEOF_LONG $ac_cv_sizeof_long
20337 _ACEOF
20338
20339
20340 # The cast to long int works around a bug in the HP C Compiler
20341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20343 # This bug is HP SR number 8606223364.
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20345 $as_echo_n "checking size of size_t... " >&6; }
20346 if ${ac_cv_sizeof_size_t+:} false; then :
20347 $as_echo_n "(cached) " >&6
20348 else
20349 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20350
20351 else
20352 if test "$ac_cv_type_size_t" = yes; then
20353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20355 as_fn_error 77 "cannot compute sizeof (size_t)
20356 See \`config.log' for more details" "$LINENO" 5; }
20357 else
20358 ac_cv_sizeof_size_t=0
20359 fi
20360 fi
20361
20362 fi
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20364 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20365
20366
20367
20368 cat >>confdefs.h <<_ACEOF
20369 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20370 _ACEOF
20371
20372
20373
20374 case "${host}" in
20375 arm-*-linux* )
20376 # The cast to long int works around a bug in the HP C Compiler
20377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20379 # This bug is HP SR number 8606223364.
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20381 $as_echo_n "checking size of long long... " >&6; }
20382 if ${ac_cv_sizeof_long_long+:} false; then :
20383 $as_echo_n "(cached) " >&6
20384 else
20385 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20386
20387 else
20388 if test "$ac_cv_type_long_long" = yes; then
20389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20391 as_fn_error 77 "cannot compute sizeof (long long)
20392 See \`config.log' for more details" "$LINENO" 5; }
20393 else
20394 ac_cv_sizeof_long_long=0
20395 fi
20396 fi
20397
20398 fi
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20400 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20401
20402
20403
20404 cat >>confdefs.h <<_ACEOF
20405 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20406 _ACEOF
20407
20408
20409 ;;
20410 *-hp-hpux* )
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 long" >&5
20416 $as_echo_n "checking size of long long... " >&6; }
20417 if ${ac_cv_sizeof_long_long+:} false; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20420 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20421
20422 else
20423 if test "$ac_cv_type_long_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 long)
20427 See \`config.log' for more details" "$LINENO" 5; }
20428 else
20429 ac_cv_sizeof_long_long=0
20430 fi
20431 fi
20432
20433 fi
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20435 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20436
20437
20438
20439 cat >>confdefs.h <<_ACEOF
20440 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20441 _ACEOF
20442
20443
20444 if test "$ac_cv_sizeof_long_long" != 0; then
20445 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20446 fi
20447 ;;
20448 * )
20449 # The cast to long int works around a bug in the HP C Compiler
20450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20452 # This bug is HP SR number 8606223364.
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20454 $as_echo_n "checking size of long long... " >&6; }
20455 if ${ac_cv_sizeof_long_long+:} false; then :
20456 $as_echo_n "(cached) " >&6
20457 else
20458 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20459
20460 else
20461 if test "$ac_cv_type_long_long" = yes; then
20462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20464 as_fn_error 77 "cannot compute sizeof (long long)
20465 See \`config.log' for more details" "$LINENO" 5; }
20466 else
20467 ac_cv_sizeof_long_long=0
20468 fi
20469 fi
20470
20471 fi
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20473 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20474
20475
20476
20477 cat >>confdefs.h <<_ACEOF
20478 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20479 _ACEOF
20480
20481
20482 esac
20483
20484 # The cast to long int works around a bug in the HP C Compiler
20485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20487 # This bug is HP SR number 8606223364.
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20489 $as_echo_n "checking size of wchar_t... " >&6; }
20490 if ${ac_cv_sizeof_wchar_t+:} false; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20493 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20494 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20495 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20496 # error \"fake wchar_t\"
20497 #endif
20498 #ifdef HAVE_WCHAR_H
20499 # ifdef __CYGWIN__
20500 # include <stddef.h>
20501 # endif
20502 # include <wchar.h>
20503 #endif
20504 #ifdef HAVE_STDLIB_H
20505 # include <stdlib.h>
20506 #endif
20507 #include <stdio.h>
20508
20509
20510 "; then :
20511
20512 else
20513 if test "$ac_cv_type_wchar_t" = yes; then
20514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20516 as_fn_error 77 "cannot compute sizeof (wchar_t)
20517 See \`config.log' for more details" "$LINENO" 5; }
20518 else
20519 ac_cv_sizeof_wchar_t=0
20520 fi
20521 fi
20522
20523 fi
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20525 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20526
20527
20528
20529 cat >>confdefs.h <<_ACEOF
20530 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20531 _ACEOF
20532
20533
20534 if test "$ac_cv_sizeof_wchar_t" = 0; then
20535 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20536 fi
20537 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20538
20539
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20541 $as_echo_n "checking for va_copy... " >&6; }
20542 if ${wx_cv_func_va_copy+:} false; then :
20543 $as_echo_n "(cached) " >&6
20544 else
20545
20546 ac_ext=cpp
20547 ac_cpp='$CXXCPP $CPPFLAGS'
20548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20551
20552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h. */
20554
20555
20556 #include <stdarg.h>
20557 void foo(char *f, ...)
20558 {
20559 va_list ap1, ap2;
20560 va_start(ap1, f);
20561 va_copy(ap2, ap1);
20562 va_end(ap2);
20563 va_end(ap1);
20564 }
20565 int main()
20566 {
20567 foo("hi", 17);
20568 return 0;
20569 }
20570
20571 _ACEOF
20572 if ac_fn_cxx_try_link "$LINENO"; then :
20573 wx_cv_func_va_copy=yes
20574 else
20575 wx_cv_func_va_copy=no
20576
20577 fi
20578 rm -f core conftest.err conftest.$ac_objext \
20579 conftest$ac_exeext conftest.$ac_ext
20580 ac_ext=c
20581 ac_cpp='$CPP $CPPFLAGS'
20582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20585
20586
20587
20588 fi
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20590 $as_echo "$wx_cv_func_va_copy" >&6; }
20591
20592 if test $wx_cv_func_va_copy = "yes"; then
20593 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20594
20595 else
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20597 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20598 if ${wx_cv_type_va_list_lvalue+:} false; then :
20599 $as_echo_n "(cached) " >&6
20600 else
20601
20602 if test "$cross_compiling" = yes; then :
20603 wx_cv_type_va_list_lvalue=yes
20604
20605 else
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20608
20609
20610 #include <stdarg.h>
20611 int foo(char *f, ...)
20612 {
20613 va_list ap1, ap2;
20614 va_start(ap1, f);
20615 ap2 = ap1;
20616 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20617 return 1;
20618 va_end(ap2);
20619 va_end(ap1);
20620 return 0;
20621 }
20622 int main()
20623 {
20624 return foo("hi", 17);
20625 }
20626
20627 _ACEOF
20628 if ac_fn_c_try_run "$LINENO"; then :
20629 wx_cv_type_va_list_lvalue=yes
20630 else
20631 wx_cv_type_va_list_lvalue=no
20632 fi
20633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20634 conftest.$ac_objext conftest.beam conftest.$ac_ext
20635 fi
20636
20637
20638
20639 fi
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20641 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20642
20643 if test $wx_cv_type_va_list_lvalue != "yes"; then
20644 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20645
20646 fi
20647 fi
20648
20649 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20650
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20652 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20653 if ${wx_cv_have_variadic_macros+:} false; then :
20654 $as_echo_n "(cached) " >&6
20655 else
20656
20657 ac_ext=cpp
20658 ac_cpp='$CXXCPP $CPPFLAGS'
20659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20662
20663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20664 /* end confdefs.h. */
20665
20666
20667 #include <stdio.h>
20668 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20669
20670 int
20671 main ()
20672 {
20673
20674 test("%s %d %p", "test", 1, 0);
20675
20676
20677 ;
20678 return 0;
20679 }
20680 _ACEOF
20681 if ac_fn_cxx_try_compile "$LINENO"; then :
20682 wx_cv_have_variadic_macros=yes
20683 else
20684 wx_cv_have_variadic_macros=no
20685
20686 fi
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 ac_ext=c
20689 ac_cpp='$CPP $CPPFLAGS'
20690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20693
20694
20695
20696 fi
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20698 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20699
20700 if test $wx_cv_have_variadic_macros = "yes"; then
20701 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20702
20703 fi
20704
20705 fi
20706
20707 LARGEFILE_CPPFLAGS=
20708 # Check whether --enable-largefile was given.
20709 if test "${enable_largefile+set}" = set; then :
20710 enableval=$enable_largefile;
20711 fi
20712
20713 if test "$enable_largefile" != no; then
20714 wx_largefile=no
20715
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20717 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20718 if ${ac_cv_sys_file_offset_bits+:} false; then :
20719 $as_echo_n "(cached) " >&6
20720 else
20721
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20724 #define _FILE_OFFSET_BITS 64
20725 #include <sys/types.h>
20726 int
20727 main ()
20728 {
20729 typedef struct {
20730 unsigned int field: sizeof(off_t) == 8;
20731 } wxlf;
20732
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 if ac_fn_c_try_compile "$LINENO"; then :
20738 ac_cv_sys_file_offset_bits=64
20739 else
20740 ac_cv_sys_file_offset_bits=no
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743
20744
20745 fi
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20747 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20748
20749 if test "$ac_cv_sys_file_offset_bits" != no; then
20750 wx_largefile=yes
20751 cat >>confdefs.h <<_ACEOF
20752 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20753 _ACEOF
20754
20755 fi
20756
20757 if test "x$wx_largefile" != "xyes"; then
20758
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20760 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20761 if ${ac_cv_sys_large_files+:} false; then :
20762 $as_echo_n "(cached) " >&6
20763 else
20764
20765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h. */
20767 #define _LARGE_FILES 1
20768 #include <sys/types.h>
20769 int
20770 main ()
20771 {
20772 typedef struct {
20773 unsigned int field: sizeof(off_t) == 8;
20774 } wxlf;
20775
20776 ;
20777 return 0;
20778 }
20779 _ACEOF
20780 if ac_fn_c_try_compile "$LINENO"; then :
20781 ac_cv_sys_large_files=1
20782 else
20783 ac_cv_sys_large_files=no
20784 fi
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786
20787
20788 fi
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20790 $as_echo "$ac_cv_sys_large_files" >&6; }
20791
20792 if test "$ac_cv_sys_large_files" != no; then
20793 wx_largefile=yes
20794 cat >>confdefs.h <<_ACEOF
20795 #define _LARGE_FILES $ac_cv_sys_large_files
20796 _ACEOF
20797
20798 fi
20799
20800 fi
20801
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20803 $as_echo_n "checking if large file support is available... " >&6; }
20804 if test "x$wx_largefile" = "xyes"; then
20805 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20806
20807 fi
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20809 $as_echo "$wx_largefile" >&6; }
20810 fi
20811
20812 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20813 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20814 elif test "$ac_cv_sys_large_files" = 1; then
20815 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20816 fi
20817
20818 if test -n "$LARGEFILE_CPPFLAGS"; then
20819 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20820
20821 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20823 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20824 if ${wx_cv_STDC_EXT_required+:} false; then :
20825 $as_echo_n "(cached) " >&6
20826 else
20827
20828 ac_ext=cpp
20829 ac_cpp='$CXXCPP $CPPFLAGS'
20830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20833
20834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20836
20837 int
20838 main ()
20839 {
20840
20841 #ifndef __STDC_EXT__
20842 choke me
20843 #endif
20844
20845 ;
20846 return 0;
20847 }
20848 _ACEOF
20849 if ac_fn_cxx_try_compile "$LINENO"; then :
20850 wx_cv_STDC_EXT_required=no
20851 else
20852 wx_cv_STDC_EXT_required=yes
20853
20854 fi
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856 ac_ext=c
20857 ac_cpp='$CPP $CPPFLAGS'
20858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20861
20862
20863
20864 fi
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20866 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20867 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20868 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20869 fi
20870 fi
20871 fi
20872
20873 ac_ext=cpp
20874 ac_cpp='$CXXCPP $CPPFLAGS'
20875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20878
20879 old_CPPFLAGS="$CPPFLAGS"
20880 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20882 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20883 if ${ac_cv_sys_largefile_source+:} false; then :
20884 $as_echo_n "(cached) " >&6
20885 else
20886 while :; do
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20889 #include <sys/types.h> /* for off_t */
20890 #include <stdio.h>
20891 int
20892 main ()
20893 {
20894 int (*fp) (FILE *, off_t, int) = fseeko;
20895 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20896 ;
20897 return 0;
20898 }
20899 _ACEOF
20900 if ac_fn_cxx_try_link "$LINENO"; then :
20901 ac_cv_sys_largefile_source=no; break
20902 fi
20903 rm -f core conftest.err conftest.$ac_objext \
20904 conftest$ac_exeext conftest.$ac_ext
20905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20906 /* end confdefs.h. */
20907 #define _LARGEFILE_SOURCE 1
20908 #include <sys/types.h> /* for off_t */
20909 #include <stdio.h>
20910 int
20911 main ()
20912 {
20913 int (*fp) (FILE *, off_t, int) = fseeko;
20914 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20915 ;
20916 return 0;
20917 }
20918 _ACEOF
20919 if ac_fn_cxx_try_link "$LINENO"; then :
20920 ac_cv_sys_largefile_source=1; break
20921 fi
20922 rm -f core conftest.err conftest.$ac_objext \
20923 conftest$ac_exeext conftest.$ac_ext
20924 ac_cv_sys_largefile_source=unknown
20925 break
20926 done
20927 fi
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20929 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20930 case $ac_cv_sys_largefile_source in #(
20931 no | unknown) ;;
20932 *)
20933 cat >>confdefs.h <<_ACEOF
20934 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20935 _ACEOF
20936 ;;
20937 esac
20938 rm -rf conftest*
20939
20940 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20941 # in glibc 2.1.3, but that breaks too many other things.
20942 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20943 if test $ac_cv_sys_largefile_source != unknown; then
20944
20945 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20946
20947 fi
20948
20949 CPPFLAGS="$old_CPPFLAGS"
20950 ac_ext=c
20951 ac_cpp='$CPP $CPPFLAGS'
20952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20955
20956 if test "$ac_cv_sys_largefile_source" != no; then
20957 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20958 fi
20959
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20961 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20962 if ${ac_cv_c_bigendian+:} false; then :
20963 $as_echo_n "(cached) " >&6
20964 else
20965 ac_cv_c_bigendian=unknown
20966 # See if sys/param.h defines the BYTE_ORDER macro.
20967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h. */
20969 #include <sys/types.h>
20970 #include <sys/param.h>
20971 int
20972 main ()
20973 {
20974
20975 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20976 bogus endian macros
20977 #endif
20978 ;
20979 return 0;
20980 }
20981 _ACEOF
20982 if ac_fn_c_try_compile "$LINENO"; then :
20983 # It does; now see whether it defined to BIG_ENDIAN or not.
20984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20985 /* end confdefs.h. */
20986 #include <sys/types.h>
20987 #include <sys/param.h>
20988 int
20989 main ()
20990 {
20991
20992 #if BYTE_ORDER != BIG_ENDIAN
20993 not big endian
20994 #endif
20995 ;
20996 return 0;
20997 }
20998 _ACEOF
20999 if ac_fn_c_try_compile "$LINENO"; then :
21000 ac_cv_c_bigendian=yes
21001 else
21002 ac_cv_c_bigendian=no
21003 fi
21004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 fi
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 if test $ac_cv_c_bigendian = unknown; then
21008 if test "$cross_compiling" = yes; then :
21009 ac_cv_c_bigendian=unknown
21010 else
21011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h. */
21013 main () {
21014 /* Are we little or big endian? From Harbison&Steele. */
21015 union
21016 {
21017 long l;
21018 char c[sizeof (long)];
21019 } u;
21020 u.l = 1;
21021 exit (u.c[sizeof (long) - 1] == 1);
21022 }
21023 _ACEOF
21024 if ac_fn_c_try_run "$LINENO"; then :
21025 ac_cv_c_bigendian=no
21026 else
21027 ac_cv_c_bigendian=yes
21028 fi
21029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21030 conftest.$ac_objext conftest.beam conftest.$ac_ext
21031 fi
21032
21033 fi
21034 fi
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21036 $as_echo "$ac_cv_c_bigendian" >&6; }
21037 if test $ac_cv_c_bigendian = unknown; then
21038 { $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
21039 $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;}
21040 fi
21041 if test $ac_cv_c_bigendian = yes; then
21042 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21043
21044 fi
21045
21046
21047
21048
21049 ac_ext=cpp
21050 ac_cpp='$CXXCPP $CPPFLAGS'
21051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21054
21055
21056 for ac_header in iostream
21057 do :
21058 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21059 "
21060 if test "x$ac_cv_header_iostream" = xyes; then :
21061 cat >>confdefs.h <<_ACEOF
21062 #define HAVE_IOSTREAM 1
21063 _ACEOF
21064
21065 fi
21066
21067 done
21068
21069
21070 if test "$ac_cv_header_iostream" = "yes" ; then
21071 :
21072 else
21073 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21074
21075 fi
21076
21077 ac_ext=c
21078 ac_cpp='$CPP $CPPFLAGS'
21079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21082
21083
21084
21085
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21087 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21088 if ${wx_cv_explicit+:} false; then :
21089 $as_echo_n "(cached) " >&6
21090 else
21091
21092
21093 ac_ext=cpp
21094 ac_cpp='$CXXCPP $CPPFLAGS'
21095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21098
21099
21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21101 /* end confdefs.h. */
21102
21103 class Foo { public: explicit Foo(int) {} };
21104
21105 int
21106 main ()
21107 {
21108
21109 return 0;
21110
21111 ;
21112 return 0;
21113 }
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116
21117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 /* end confdefs.h. */
21119
21120 class Foo { public: explicit Foo(int) {} };
21121 static void TakeFoo(const Foo& foo) { }
21122
21123 int
21124 main ()
21125 {
21126
21127 TakeFoo(17);
21128 return 0;
21129
21130 ;
21131 return 0;
21132 }
21133 _ACEOF
21134 if ac_fn_cxx_try_compile "$LINENO"; then :
21135 wx_cv_explicit=no
21136 else
21137 wx_cv_explicit=yes
21138
21139 fi
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141
21142 else
21143 wx_cv_explicit=no
21144
21145 fi
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147
21148 ac_ext=c
21149 ac_cpp='$CPP $CPPFLAGS'
21150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21153
21154
21155 fi
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21157 $as_echo "$wx_cv_explicit" >&6; }
21158
21159 if test "$wx_cv_explicit" = "yes"; then
21160 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21161
21162 fi
21163
21164
21165 if test "x$SUNCXX" = xyes; then
21166 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21167 fi
21168
21169 if test "x$SUNCC" = xyes; then
21170 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21171 fi
21172
21173 if test "x$SGICC" = "xyes"; then
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21175 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21176 if ${wx_cv_prog_sgicc744+:} false; then :
21177 $as_echo_n "(cached) " >&6
21178 else
21179
21180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181 /* end confdefs.h. */
21182
21183 int
21184 main ()
21185 {
21186
21187 #if _SGI_COMPILER_VERSION >= 744
21188 chock me: mipsPro is 7.4.4 or later
21189 #endif
21190
21191 ;
21192 return 0;
21193 }
21194 _ACEOF
21195 if ac_fn_c_try_compile "$LINENO"; then :
21196 wx_cv_prog_sgicc744=no
21197 else
21198 wx_cv_prog_sgicc744=yes
21199
21200 fi
21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21202
21203
21204 fi
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21206 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21207
21208 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21209 CFLAGS="-woff 3970 $CFLAGS"
21210 fi
21211 fi
21212 if test "x$SGICXX" = "xyes"; then
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21214 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21215 if ${wx_cv_prog_sgicxx744+:} false; then :
21216 $as_echo_n "(cached) " >&6
21217 else
21218
21219 ac_ext=cpp
21220 ac_cpp='$CXXCPP $CPPFLAGS'
21221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21224
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227
21228 int
21229 main ()
21230 {
21231
21232 #if _SGI_COMPILER_VERSION >= 744
21233 chock me: mipsPro is 7.4.4 or later
21234 #endif
21235
21236 ;
21237 return 0;
21238 }
21239 _ACEOF
21240 if ac_fn_cxx_try_compile "$LINENO"; then :
21241 wx_cv_prog_sgicxx744=no
21242 else
21243 wx_cv_prog_sgicxx744=yes
21244
21245 fi
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 ac_ext=c
21248 ac_cpp='$CPP $CPPFLAGS'
21249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21252
21253
21254
21255 fi
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21257 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21258
21259 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21260 CXXFLAGS="-woff 3970 $CXXFLAGS"
21261 fi
21262 fi
21263
21264 if test "x$HPCC" = "xyes"; then
21265 CFLAGS="+W 2011,2450 $CFLAGS"
21266 fi
21267 if test "x$HPCXX" = "xyes"; then
21268 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21269 fi
21270
21271 if test "x$COMPAQCXX" = "xyes"; then
21272 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21273 fi
21274
21275 ac_ext=cpp
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280
21281
21282 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21283 if test "$wxUSE_UNICODE" = "yes"; then
21284 std_string="std::wstring"
21285 char_type="wchar_t"
21286 else
21287 std_string="std::string"
21288 char_type="char"
21289 fi
21290
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21292 $as_echo_n "checking for $std_string in <string>... " >&6; }
21293 if ${wx_cv_class_stdstring+:} false; then :
21294 $as_echo_n "(cached) " >&6
21295 else
21296
21297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21299 #include <string>
21300 int
21301 main ()
21302 {
21303 $std_string foo;
21304 ;
21305 return 0;
21306 }
21307 _ACEOF
21308 if ac_fn_cxx_try_compile "$LINENO"; then :
21309 wx_cv_class_stdstring=yes
21310 else
21311 wx_cv_class_stdstring=no
21312
21313 fi
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315
21316
21317 fi
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21319 $as_echo "$wx_cv_class_stdstring" >&6; }
21320
21321 if test "$wx_cv_class_stdstring" = yes; then
21322 if test "$wxUSE_UNICODE" = "yes"; then
21323 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21324
21325 fi
21326 else
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21328 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21329 if ${wx_cv_class_stdbasicstring+:} false; then :
21330 $as_echo_n "(cached) " >&6
21331 else
21332
21333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21334 /* end confdefs.h. */
21335
21336 #ifdef HAVE_WCHAR_H
21337 # ifdef __CYGWIN__
21338 # include <stddef.h>
21339 # endif
21340 # include <wchar.h>
21341 #endif
21342 #ifdef HAVE_STDLIB_H
21343 # include <stdlib.h>
21344 #endif
21345 #include <stdio.h>
21346 #include <string>
21347
21348 int
21349 main ()
21350 {
21351 std::basic_string<$char_type> foo;
21352 const $char_type* dummy = foo.c_str();
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 if ac_fn_cxx_try_compile "$LINENO"; then :
21358 wx_cv_class_stdbasicstring=yes
21359 else
21360 wx_cv_class_stdbasicstring=no
21361
21362 fi
21363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21364
21365
21366 fi
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21368 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21369
21370 if test "$wx_cv_class_stdbasicstring" != yes; then
21371 if test "$wxUSE_STL" = "yes"; then
21372 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21373 elif test "$wxUSE_STD_STRING" = "yes"; then
21374 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21375 else
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21377 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21378 wxUSE_STD_STRING=no
21379 fi
21380 fi
21381 fi
21382 fi
21383
21384 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21385 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21386 "
21387 if test "x$ac_cv_type_std__istream" = xyes; then :
21388
21389 cat >>confdefs.h <<_ACEOF
21390 #define HAVE_STD__ISTREAM 1
21391 _ACEOF
21392
21393
21394 else
21395 wxUSE_STD_IOSTREAM=no
21396 fi
21397 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21398 "
21399 if test "x$ac_cv_type_std__ostream" = xyes; then :
21400
21401 cat >>confdefs.h <<_ACEOF
21402 #define HAVE_STD__OSTREAM 1
21403 _ACEOF
21404
21405
21406 else
21407 wxUSE_STD_IOSTREAM=no
21408 fi
21409
21410
21411 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21412 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21413 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21414 else
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21416 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21417 fi
21418 fi
21419 fi
21420
21421 if test "$wxUSE_STL" = "yes"; then
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21423 $as_echo_n "checking for basic STL functionality... " >&6; }
21424 if ${wx_cv_lib_stl+:} false; then :
21425 $as_echo_n "(cached) " >&6
21426 else
21427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21429 #include <string>
21430 #include <functional>
21431 #include <algorithm>
21432 #include <vector>
21433 #include <list>
21434 int
21435 main ()
21436 {
21437 std::vector<int> moo;
21438 std::list<int> foo;
21439 std::vector<int>::iterator it =
21440 std::find_if(moo.begin(), moo.end(),
21441 std::bind2nd(std::less<int>(), 3));
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447 wx_cv_lib_stl=yes
21448 else
21449 wx_cv_lib_stl=no
21450
21451 fi
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453
21454 fi
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21456 $as_echo "$wx_cv_lib_stl" >&6; }
21457
21458 if test "$wx_cv_lib_stl" != yes; then
21459 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21460 fi
21461
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21463 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21464 if ${wx_cv_func_stdstring_compare+:} false; then :
21465 $as_echo_n "(cached) " >&6
21466 else
21467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21468 /* end confdefs.h. */
21469 #include <string>
21470 int
21471 main ()
21472 {
21473 std::string foo, bar;
21474 foo.compare(bar);
21475 foo.compare(1, 1, bar);
21476 foo.compare(1, 1, bar, 1, 1);
21477 foo.compare("");
21478 foo.compare(1, 1, "");
21479 foo.compare(1, 1, "", 2);
21480 ;
21481 return 0;
21482 }
21483 _ACEOF
21484 if ac_fn_cxx_try_compile "$LINENO"; then :
21485 wx_cv_func_stdstring_compare=yes
21486 else
21487 wx_cv_func_stdstring_compare=no
21488
21489 fi
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491
21492 fi
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21494 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21495
21496 if test "$wx_cv_func_stdstring_compare" = yes; then
21497 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21498
21499 fi
21500
21501 if test "$wx_cv_class_gnuhashmapset" = yes; then
21502 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21503
21504 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21505
21506 fi
21507
21508 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21509
21510 "
21511 if test "x$ac_cv_header_unordered_map" = xyes; then :
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21513 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21514 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21515 $as_echo_n "(cached) " >&6
21516 else
21517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21518 /* end confdefs.h. */
21519 #include <unordered_map>
21520 #include <unordered_set>
21521 int
21522 main ()
21523 {
21524 std::unordered_map<double*, char*> test1;
21525 std::unordered_set<char*> test2;
21526 ;
21527 return 0;
21528 }
21529 _ACEOF
21530 if ac_fn_cxx_try_compile "$LINENO"; then :
21531 wx_cv_class_stdunorderedmapset=yes
21532 else
21533 wx_cv_class_stdunorderedmapset=no
21534 fi
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536
21537
21538 fi
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21540 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21541 fi
21542
21543
21544
21545 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21546 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21547
21548 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21549
21550 else
21551 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21552
21553 "
21554 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21556 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21557 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21558 $as_echo_n "(cached) " >&6
21559 else
21560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21562 #include <tr1/unordered_map>
21563 #include <tr1/unordered_set>
21564 int
21565 main ()
21566 {
21567 std::tr1::unordered_map<double*, char*> test1;
21568 std::tr1::unordered_set<char*> test2;
21569 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21570 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21571 #endif
21572 ;
21573 return 0;
21574 }
21575 _ACEOF
21576 if ac_fn_cxx_try_compile "$LINENO"; then :
21577 wx_cv_class_tr1unorderedmapset=yes
21578 else
21579 wx_cv_class_tr1unorderedmapset=no
21580 fi
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582
21583
21584 fi
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21586 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21587 fi
21588
21589
21590
21591 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21592 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21593
21594 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21595
21596 else
21597 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21598
21599 "
21600 if test "x$ac_cv_header_hash_map" = xyes; then :
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21602 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21603 if ${wx_cv_class_stdhashmapset+:} false; then :
21604 $as_echo_n "(cached) " >&6
21605 else
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <hash_map>
21609 #include <hash_set>
21610 int
21611 main ()
21612 {
21613 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21614 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21615 ;
21616 return 0;
21617 }
21618 _ACEOF
21619 if ac_fn_cxx_try_compile "$LINENO"; then :
21620 wx_cv_class_stdhashmapset=yes
21621 else
21622 wx_cv_class_stdhashmapset=no
21623 fi
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625
21626
21627 fi
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21629 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21630 fi
21631
21632
21633
21634 if test "$wx_cv_class_stdhashmapset" = yes; then
21635 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21636
21637 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21638
21639 fi
21640
21641 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21642
21643 "
21644 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21646 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21647 if ${wx_cv_class_gnuhashmapset+:} false; then :
21648 $as_echo_n "(cached) " >&6
21649 else
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h. */
21652 #include <ext/hash_map>
21653 #include <ext/hash_set>
21654 int
21655 main ()
21656 {
21657 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21658 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21659 ;
21660 return 0;
21661 }
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664 wx_cv_class_gnuhashmapset=yes
21665 else
21666 wx_cv_class_gnuhashmapset=no
21667 fi
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669
21670
21671 fi
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21673 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21674 fi
21675
21676
21677
21678 fi
21679 fi
21680 fi
21681
21682 ac_ext=cpp
21683 ac_cpp='$CXXCPP $CPPFLAGS'
21684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21688 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21689 if test -z "$CXXCPP"; then
21690 if ${ac_cv_prog_CXXCPP+:} false; then :
21691 $as_echo_n "(cached) " >&6
21692 else
21693 # Double quotes because CXXCPP needs to be expanded
21694 for CXXCPP in "$CXX -E" "/lib/cpp"
21695 do
21696 ac_preproc_ok=false
21697 for ac_cxx_preproc_warn_flag in '' yes
21698 do
21699 # Use a header file that comes with gcc, so configuring glibc
21700 # with a fresh cross-compiler works.
21701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21702 # <limits.h> exists even on freestanding compilers.
21703 # On the NeXT, cc -E runs the code through the compiler's parser,
21704 # not just through cpp. "Syntax error" is here to catch this case.
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21707 #ifdef __STDC__
21708 # include <limits.h>
21709 #else
21710 # include <assert.h>
21711 #endif
21712 Syntax error
21713 _ACEOF
21714 if ac_fn_cxx_try_cpp "$LINENO"; then :
21715
21716 else
21717 # Broken: fails on valid input.
21718 continue
21719 fi
21720 rm -f conftest.err conftest.i conftest.$ac_ext
21721
21722 # OK, works on sane cases. Now check whether nonexistent headers
21723 # can be detected and how.
21724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h. */
21726 #include <ac_nonexistent.h>
21727 _ACEOF
21728 if ac_fn_cxx_try_cpp "$LINENO"; then :
21729 # Broken: success on invalid input.
21730 continue
21731 else
21732 # Passes both tests.
21733 ac_preproc_ok=:
21734 break
21735 fi
21736 rm -f conftest.err conftest.i conftest.$ac_ext
21737
21738 done
21739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21740 rm -f conftest.i conftest.err conftest.$ac_ext
21741 if $ac_preproc_ok; then :
21742 break
21743 fi
21744
21745 done
21746 ac_cv_prog_CXXCPP=$CXXCPP
21747
21748 fi
21749 CXXCPP=$ac_cv_prog_CXXCPP
21750 else
21751 ac_cv_prog_CXXCPP=$CXXCPP
21752 fi
21753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21754 $as_echo "$CXXCPP" >&6; }
21755 ac_preproc_ok=false
21756 for ac_cxx_preproc_warn_flag in '' yes
21757 do
21758 # Use a header file that comes with gcc, so configuring glibc
21759 # with a fresh cross-compiler works.
21760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21761 # <limits.h> exists even on freestanding compilers.
21762 # On the NeXT, cc -E runs the code through the compiler's parser,
21763 # not just through cpp. "Syntax error" is here to catch this case.
21764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21766 #ifdef __STDC__
21767 # include <limits.h>
21768 #else
21769 # include <assert.h>
21770 #endif
21771 Syntax error
21772 _ACEOF
21773 if ac_fn_cxx_try_cpp "$LINENO"; then :
21774
21775 else
21776 # Broken: fails on valid input.
21777 continue
21778 fi
21779 rm -f conftest.err conftest.i conftest.$ac_ext
21780
21781 # OK, works on sane cases. Now check whether nonexistent headers
21782 # can be detected and how.
21783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21784 /* end confdefs.h. */
21785 #include <ac_nonexistent.h>
21786 _ACEOF
21787 if ac_fn_cxx_try_cpp "$LINENO"; then :
21788 # Broken: success on invalid input.
21789 continue
21790 else
21791 # Passes both tests.
21792 ac_preproc_ok=:
21793 break
21794 fi
21795 rm -f conftest.err conftest.i conftest.$ac_ext
21796
21797 done
21798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21799 rm -f conftest.i conftest.err conftest.$ac_ext
21800 if $ac_preproc_ok; then :
21801
21802 else
21803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21805 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21806 See \`config.log' for more details" "$LINENO" 5; }
21807 fi
21808
21809 ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814
21815
21816 for ac_header in type_traits tr1/type_traits
21817 do :
21818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21819 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21820 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21821 cat >>confdefs.h <<_ACEOF
21822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21823 _ACEOF
21824
21825 fi
21826
21827 done
21828
21829
21830
21831
21832 if test -n "$GCC"; then
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21834 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21835 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21836 $as_echo_n "(cached) " >&6
21837 else
21838
21839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21840 /* end confdefs.h. */
21841
21842 int
21843 main ()
21844 {
21845
21846 unsigned int value=0;
21847 /* wxAtomicInc doesn't use return value here */
21848 __sync_fetch_and_add(&value, 2);
21849 __sync_sub_and_fetch(&value, 1);
21850 /* but wxAtomicDec does, so mimic that: */
21851 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21852
21853 ;
21854 return 0;
21855 }
21856 _ACEOF
21857 if ac_fn_cxx_try_link "$LINENO"; then :
21858 wx_cv_cc_gcc_atomic_builtins=yes
21859 else
21860 wx_cv_cc_gcc_atomic_builtins=no
21861 fi
21862 rm -f core conftest.err conftest.$ac_objext \
21863 conftest$ac_exeext conftest.$ac_ext
21864
21865 fi
21866
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21868 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21869 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21870 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21871
21872 fi
21873 fi
21874
21875
21876 ac_ext=c
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881
21882
21883
21884 SEARCH_INCLUDE="\
21885 /usr/local/include \
21886 /usr/local/X11/include \
21887 /usr/local/include/X11 \
21888 /usr/local/X11R7/include \
21889 /usr/local/X11R6/include \
21890 /usr/local/include/X11R7 \
21891 /usr/local/include/X11R6 \
21892 \
21893 /usr/Motif-2.1/include \
21894 /usr/Motif-1.2/include \
21895 /usr/include/Motif1.2 \
21896 \
21897 /usr/dt/include \
21898 /usr/openwin/include \
21899 \
21900 /usr/include/Xm \
21901 \
21902 /usr/X11R7/include \
21903 /usr/X11R6/include \
21904 /usr/X11R6.4/include \
21905 \
21906 /usr/include/X11R7 \
21907 /usr/include/X11R6 \
21908 \
21909 /usr/X11/include \
21910 /usr/include/X11 \
21911 \
21912 /usr/XFree86/include/X11 \
21913 /usr/pkg/include \
21914 \
21915 /usr/local/X1R5/include \
21916 /usr/local/include/X11R5 \
21917 /usr/X11R5/include \
21918 /usr/include/X11R5 \
21919 \
21920 /usr/local/X11R4/include \
21921 /usr/local/include/X11R4 \
21922 /usr/X11R4/include \
21923 /usr/include/X11R4 \
21924 \
21925 /usr/openwin/share/include"
21926
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21928 $as_echo_n "checking for libraries directories... " >&6; }
21929
21930 case "${host}" in
21931 *-*-irix6* )
21932 if ${wx_cv_std_libpath+:} false; then :
21933 $as_echo_n "(cached) " >&6
21934 else
21935
21936 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21937 for e in a so sl dylib dll.a; do
21938 libc="$d/libc.$e"
21939 if test -f $libc; then
21940 save_LIBS="$LIBS"
21941 LIBS="$libc"
21942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21944
21945 int main() { return 0; }
21946
21947 _ACEOF
21948 if ac_fn_c_try_link "$LINENO"; then :
21949 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21950 fi
21951 rm -f core conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21953 LIBS="$save_LIBS"
21954 if test "x$wx_cv_std_libpath" != "x"; then
21955 break 2
21956 fi
21957 fi
21958 done
21959 done
21960
21961
21962 fi
21963
21964 ;;
21965
21966 *-*-solaris2* )
21967 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21968 wx_cv_std_libpath="lib/64"
21969 fi
21970 ;;
21971
21972 *-*-linux* )
21973 if test "$ac_cv_sizeof_void_p" = 8; then
21974 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21975 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21976 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21977 wx_cv_std_libpath="lib64"
21978 fi
21979 else
21980 case "${host}" in
21981 i*86-*-linux* )
21982 if test -d '/usr/lib/i386-linux-gnu'; then
21983 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21984 fi
21985 esac
21986 fi
21987
21988 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21989 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21990 fi
21991 ;;
21992 esac
21993
21994 if test -z "$wx_cv_std_libpath"; then
21995 wx_cv_std_libpath="lib"
21996 fi
21997
21998 if test -z "$wx_cv_std_libfullpath"; then
21999 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
22000 fi
22001
22002
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22004 $as_echo "$wx_cv_std_libfullpath" >&6; }
22005
22006 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22007
22008 if test "$build" != "$host" -a "$GCC" = yes; then
22009 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22010 cross_root=`dirname $cross_root`
22011 cross_root=`dirname $cross_root`
22012
22013 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22014 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22015 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22016
22017 if test -z "$PKG_CONFIG_PATH"; then
22018 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22019 export PKG_CONFIG_PATH
22020 fi
22021
22022 if test -z "$x_includes" -o "$x_includes" = NONE; then
22023
22024 ac_find_includes=
22025 for ac_dir in $SEARCH_INCLUDE /usr/include
22026 do
22027 if test -f "$ac_dir/X11/Intrinsic.h"; then
22028 ac_find_includes=$ac_dir
22029 break
22030 fi
22031 done
22032
22033 x_includes=$ac_find_includes
22034 fi
22035 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22036
22037 ac_find_libraries=
22038 for ac_dir in $SEARCH_LIB
22039 do
22040 for ac_extension in a so sl dylib dll.a; do
22041 if test -f "$ac_dir/libXt.$ac_extension"; then
22042 ac_find_libraries=$ac_dir
22043 break 2
22044 fi
22045 done
22046 done
22047
22048 x_libraries=$ac_find_libraries
22049 fi
22050 fi
22051 fi
22052
22053
22054 cat >confcache <<\_ACEOF
22055 # This file is a shell script that caches the results of configure
22056 # tests run on this system so they can be shared between configure
22057 # scripts and configure runs, see configure's option --config-cache.
22058 # It is not useful on other systems. If it contains results you don't
22059 # want to keep, you may remove or edit it.
22060 #
22061 # config.status only pays attention to the cache file if you give it
22062 # the --recheck option to rerun configure.
22063 #
22064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22066 # following values.
22067
22068 _ACEOF
22069
22070 # The following way of writing the cache mishandles newlines in values,
22071 # but we know of no workaround that is simple, portable, and efficient.
22072 # So, we kill variables containing newlines.
22073 # Ultrix sh set writes to stderr and can't be redirected directly,
22074 # and sets the high bit in the cache file unless we assign to the vars.
22075 (
22076 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22077 eval ac_val=\$$ac_var
22078 case $ac_val in #(
22079 *${as_nl}*)
22080 case $ac_var in #(
22081 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22083 esac
22084 case $ac_var in #(
22085 _ | IFS | as_nl) ;; #(
22086 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22087 *) { eval $ac_var=; unset $ac_var;} ;;
22088 esac ;;
22089 esac
22090 done
22091
22092 (set) 2>&1 |
22093 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22094 *${as_nl}ac_space=\ *)
22095 # `set' does not quote correctly, so add quotes: double-quote
22096 # substitution turns \\\\ into \\, and sed turns \\ into \.
22097 sed -n \
22098 "s/'/'\\\\''/g;
22099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22100 ;; #(
22101 *)
22102 # `set' quotes correctly as required by POSIX, so do not add quotes.
22103 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22104 ;;
22105 esac |
22106 sort
22107 ) |
22108 sed '
22109 /^ac_cv_env_/b end
22110 t clear
22111 :clear
22112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22113 t end
22114 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22115 :end' >>confcache
22116 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22117 if test -w "$cache_file"; then
22118 if test "x$cache_file" != "x/dev/null"; then
22119 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22120 $as_echo "$as_me: updating cache $cache_file" >&6;}
22121 if test ! -f "$cache_file" || test -h "$cache_file"; then
22122 cat confcache >"$cache_file"
22123 else
22124 case $cache_file in #(
22125 */* | ?:*)
22126 mv -f confcache "$cache_file"$$ &&
22127 mv -f "$cache_file"$$ "$cache_file" ;; #(
22128 *)
22129 mv -f confcache "$cache_file" ;;
22130 esac
22131 fi
22132 fi
22133 else
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22135 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22136 fi
22137 fi
22138 rm -f confcache
22139
22140 have_cos=0
22141 have_floor=0
22142 for ac_func in cos
22143 do :
22144 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22145 if test "x$ac_cv_func_cos" = xyes; then :
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_COS 1
22148 _ACEOF
22149 have_cos=1
22150 fi
22151 done
22152
22153 for ac_func in floor
22154 do :
22155 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22156 if test "x$ac_cv_func_floor" = xyes; then :
22157 cat >>confdefs.h <<_ACEOF
22158 #define HAVE_FLOOR 1
22159 _ACEOF
22160 have_floor=1
22161 fi
22162 done
22163
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22165 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22166 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22168 $as_echo "yes" >&6; }
22169 else
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22171 $as_echo "no" >&6; }
22172 LIBS="$LIBS -lm"
22173 # use different functions to avoid configure caching
22174 have_sin=0
22175 have_ceil=0
22176 for ac_func in sin
22177 do :
22178 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22179 if test "x$ac_cv_func_sin" = xyes; then :
22180 cat >>confdefs.h <<_ACEOF
22181 #define HAVE_SIN 1
22182 _ACEOF
22183 have_sin=1
22184 fi
22185 done
22186
22187 for ac_func in ceil
22188 do :
22189 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22190 if test "x$ac_cv_func_ceil" = xyes; then :
22191 cat >>confdefs.h <<_ACEOF
22192 #define HAVE_CEIL 1
22193 _ACEOF
22194 have_ceil=1
22195 fi
22196 done
22197
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22199 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22200 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22202 $as_echo "yes" >&6; }
22203 else
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22205 $as_echo "no" >&6; }
22206 # not sure we should warn the user, crash, etc.
22207 fi
22208 fi
22209
22210 ac_ext=cpp
22211 ac_cpp='$CXXCPP $CPPFLAGS'
22212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22215
22216 if test "wxUSE_UNICODE" = "yes"; then
22217
22218 for wx_func in wcstoull
22219 do
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22221 $as_echo_n "checking for $wx_func... " >&6; }
22222 if eval \${wx_cv_func_$wx_func+:} false; then :
22223 $as_echo_n "(cached) " >&6
22224 else
22225
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228
22229
22230
22231 $ac_includes_default
22232
22233 int
22234 main ()
22235 {
22236
22237 #ifndef $wx_func
22238 &$wx_func;
22239 #endif
22240
22241
22242 ;
22243 return 0;
22244 }
22245
22246 _ACEOF
22247 if ac_fn_cxx_try_link "$LINENO"; then :
22248 eval wx_cv_func_$wx_func=yes
22249 else
22250 eval wx_cv_func_$wx_func=no
22251 fi
22252 rm -f core conftest.err conftest.$ac_objext \
22253 conftest$ac_exeext conftest.$ac_ext
22254
22255 fi
22256 eval ac_res=\$wx_cv_func_$wx_func
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22258 $as_echo "$ac_res" >&6; }
22259
22260 if eval test \$wx_cv_func_$wx_func = yes
22261 then
22262 cat >>confdefs.h <<_ACEOF
22263 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22264 _ACEOF
22265
22266
22267 else
22268 :
22269
22270 fi
22271 done
22272
22273 else
22274
22275 for wx_func in strtoull
22276 do
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22278 $as_echo_n "checking for $wx_func... " >&6; }
22279 if eval \${wx_cv_func_$wx_func+:} false; then :
22280 $as_echo_n "(cached) " >&6
22281 else
22282
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22285
22286
22287
22288 $ac_includes_default
22289
22290 int
22291 main ()
22292 {
22293
22294 #ifndef $wx_func
22295 &$wx_func;
22296 #endif
22297
22298
22299 ;
22300 return 0;
22301 }
22302
22303 _ACEOF
22304 if ac_fn_cxx_try_link "$LINENO"; then :
22305 eval wx_cv_func_$wx_func=yes
22306 else
22307 eval wx_cv_func_$wx_func=no
22308 fi
22309 rm -f core conftest.err conftest.$ac_objext \
22310 conftest$ac_exeext conftest.$ac_ext
22311
22312 fi
22313 eval ac_res=\$wx_cv_func_$wx_func
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22315 $as_echo "$ac_res" >&6; }
22316
22317 if eval test \$wx_cv_func_$wx_func = yes
22318 then
22319 cat >>confdefs.h <<_ACEOF
22320 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22321 _ACEOF
22322
22323
22324 else
22325 :
22326
22327 fi
22328 done
22329
22330 fi
22331 ac_ext=c
22332 ac_cpp='$CPP $CPPFLAGS'
22333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336
22337
22338
22339
22340 if test "$wxUSE_REGEX" != "no"; then
22341 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22342
22343
22344 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22346 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22347 wxUSE_REGEX=builtin
22348 fi
22349
22350 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22351 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22352 "
22353 if test "x$ac_cv_header_regex_h" = xyes; then :
22354 for ac_func in regcomp re_search
22355 do :
22356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22359 cat >>confdefs.h <<_ACEOF
22360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22361 _ACEOF
22362
22363 fi
22364 done
22365
22366 fi
22367
22368
22369
22370 if test "x$ac_cv_func_regcomp" != "xyes"; then
22371 if test "$wxUSE_REGEX" = "sys" ; then
22372 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22373 else
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22375 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22376 wxUSE_REGEX=builtin
22377 fi
22378 else
22379 wxUSE_REGEX=sys
22380 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22381
22382 fi
22383 fi
22384 fi
22385
22386
22387 ZLIB_LINK=
22388 if test "$wxUSE_ZLIB" != "no" ; then
22389 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22390
22391
22392 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22393 if test "$USE_DARWIN" = 1; then
22394 system_zlib_h_ok="yes"
22395 else
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22397 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22398 if ${ac_cv_header_zlib_h+:} false; then :
22399 $as_echo_n "(cached) " >&6
22400 else
22401 if test "$cross_compiling" = yes; then :
22402 unset ac_cv_header_zlib_h
22403
22404 else
22405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22407
22408 #include <zlib.h>
22409 #include <stdio.h>
22410
22411 int main()
22412 {
22413 FILE *f=fopen("conftestval", "w");
22414 if (!f) exit(1);
22415 fprintf(f, "%s",
22416 ZLIB_VERSION[0] == '1' &&
22417 (ZLIB_VERSION[2] > '1' ||
22418 (ZLIB_VERSION[2] == '1' &&
22419 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22420 exit(0);
22421 }
22422
22423 _ACEOF
22424 if ac_fn_c_try_run "$LINENO"; then :
22425 ac_cv_header_zlib_h=`cat conftestval`
22426 else
22427 ac_cv_header_zlib_h=no
22428 fi
22429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22430 conftest.$ac_objext conftest.beam conftest.$ac_ext
22431 fi
22432
22433
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22436 $as_echo "$ac_cv_header_zlib_h" >&6; }
22437 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22438 "
22439 if test "x$ac_cv_header_zlib_h" = xyes; then :
22440
22441 fi
22442
22443
22444
22445 system_zlib_h_ok=$ac_cv_header_zlib_h
22446 fi
22447
22448 if test "$system_zlib_h_ok" = "yes"; then
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22450 $as_echo_n "checking for deflate in -lz... " >&6; }
22451 if ${ac_cv_lib_z_deflate+:} false; then :
22452 $as_echo_n "(cached) " >&6
22453 else
22454 ac_check_lib_save_LIBS=$LIBS
22455 LIBS="-lz $LIBS"
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h. */
22458
22459 /* Override any GCC internal prototype to avoid an error.
22460 Use char because int might match the return type of a GCC
22461 builtin and then its argument prototype would still apply. */
22462 #ifdef __cplusplus
22463 extern "C"
22464 #endif
22465 char deflate ();
22466 int
22467 main ()
22468 {
22469 return deflate ();
22470 ;
22471 return 0;
22472 }
22473 _ACEOF
22474 if ac_fn_c_try_link "$LINENO"; then :
22475 ac_cv_lib_z_deflate=yes
22476 else
22477 ac_cv_lib_z_deflate=no
22478 fi
22479 rm -f core conftest.err conftest.$ac_objext \
22480 conftest$ac_exeext conftest.$ac_ext
22481 LIBS=$ac_check_lib_save_LIBS
22482 fi
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22484 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22485 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22486 ZLIB_LINK=" -lz"
22487 fi
22488
22489 fi
22490
22491 if test "x$ZLIB_LINK" = "x" ; then
22492 if test "$wxUSE_ZLIB" = "sys" ; then
22493 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22494 else
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22496 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22497 wxUSE_ZLIB=builtin
22498 fi
22499 else
22500 wxUSE_ZLIB=sys
22501 fi
22502 fi
22503 fi
22504
22505
22506 PNG_LINK=
22507 if test "$wxUSE_LIBPNG" != "no" ; then
22508 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22509
22510
22511 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22513 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22514 wxUSE_LIBPNG=builtin
22515 fi
22516
22517 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22519 $as_echo_n "checking for png.h > 0.90... " >&6; }
22520 if ${ac_cv_header_png_h+:} false; then :
22521 $as_echo_n "(cached) " >&6
22522 else
22523 if test "$cross_compiling" = yes; then :
22524 unset ac_cv_header_png_h
22525
22526 else
22527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22529
22530 #include <png.h>
22531 #include <stdio.h>
22532
22533 int main()
22534 {
22535 FILE *f=fopen("conftestval", "w");
22536 if (!f) exit(1);
22537 fprintf(f, "%s",
22538 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22539 exit(0);
22540 }
22541
22542 _ACEOF
22543 if ac_fn_c_try_run "$LINENO"; then :
22544 ac_cv_header_png_h=`cat conftestval`
22545 else
22546 ac_cv_header_png_h=no
22547 fi
22548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22549 conftest.$ac_objext conftest.beam conftest.$ac_ext
22550 fi
22551
22552
22553 fi
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22555 $as_echo "$ac_cv_header_png_h" >&6; }
22556 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22557 "
22558 if test "x$ac_cv_header_png_h" = xyes; then :
22559
22560 fi
22561
22562
22563
22564 if test "$ac_cv_header_png_h" = "yes"; then
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22566 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22567 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22568 $as_echo_n "(cached) " >&6
22569 else
22570 ac_check_lib_save_LIBS=$LIBS
22571 LIBS="-lpng -lz -lm $LIBS"
22572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22573 /* end confdefs.h. */
22574
22575 /* Override any GCC internal prototype to avoid an error.
22576 Use char because int might match the return type of a GCC
22577 builtin and then its argument prototype would still apply. */
22578 #ifdef __cplusplus
22579 extern "C"
22580 #endif
22581 char png_sig_cmp ();
22582 int
22583 main ()
22584 {
22585 return png_sig_cmp ();
22586 ;
22587 return 0;
22588 }
22589 _ACEOF
22590 if ac_fn_c_try_link "$LINENO"; then :
22591 ac_cv_lib_png_png_sig_cmp=yes
22592 else
22593 ac_cv_lib_png_png_sig_cmp=no
22594 fi
22595 rm -f core conftest.err conftest.$ac_objext \
22596 conftest$ac_exeext conftest.$ac_ext
22597 LIBS=$ac_check_lib_save_LIBS
22598 fi
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22600 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22601 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22602 PNG_LINK=" -lpng -lz"
22603 fi
22604
22605 fi
22606
22607 if test "x$PNG_LINK" = "x" ; then
22608 if test "$wxUSE_LIBPNG" = "sys" ; then
22609 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22610 else
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22612 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22613 wxUSE_LIBPNG=builtin
22614 fi
22615 else
22616 wxUSE_LIBPNG=sys
22617 fi
22618 fi
22619 fi
22620
22621
22622 JPEG_LINK=
22623 if test "$wxUSE_LIBJPEG" != "no" ; then
22624 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22625
22626
22627 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22629 $as_echo_n "checking for jpeglib.h... " >&6; }
22630 if ${ac_cv_header_jpeglib_h+:} false; then :
22631 $as_echo_n "(cached) " >&6
22632 else
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22635
22636 #undef HAVE_STDLIB_H
22637 #include <stdio.h>
22638 #include <jpeglib.h>
22639
22640 int
22641 main ()
22642 {
22643
22644
22645 ;
22646 return 0;
22647 }
22648 _ACEOF
22649 if ac_fn_c_try_compile "$LINENO"; then :
22650 ac_cv_header_jpeglib_h=yes
22651 else
22652 ac_cv_header_jpeglib_h=no
22653
22654 fi
22655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22656
22657 fi
22658
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22660 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22661
22662 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22664 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22665 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22666 $as_echo_n "(cached) " >&6
22667 else
22668 ac_check_lib_save_LIBS=$LIBS
22669 LIBS="-ljpeg $LIBS"
22670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h. */
22672
22673 /* Override any GCC internal prototype to avoid an error.
22674 Use char because int might match the return type of a GCC
22675 builtin and then its argument prototype would still apply. */
22676 #ifdef __cplusplus
22677 extern "C"
22678 #endif
22679 char jpeg_read_header ();
22680 int
22681 main ()
22682 {
22683 return jpeg_read_header ();
22684 ;
22685 return 0;
22686 }
22687 _ACEOF
22688 if ac_fn_c_try_link "$LINENO"; then :
22689 ac_cv_lib_jpeg_jpeg_read_header=yes
22690 else
22691 ac_cv_lib_jpeg_jpeg_read_header=no
22692 fi
22693 rm -f core conftest.err conftest.$ac_objext \
22694 conftest$ac_exeext conftest.$ac_ext
22695 LIBS=$ac_check_lib_save_LIBS
22696 fi
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22698 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22699 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22700 JPEG_LINK=" -ljpeg"
22701 fi
22702
22703 fi
22704
22705 if test "x$JPEG_LINK" = "x" ; then
22706 if test "$wxUSE_LIBJPEG" = "sys" ; then
22707 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22708 else
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22710 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22711 wxUSE_LIBJPEG=builtin
22712 fi
22713 else
22714 wxUSE_LIBJPEG=sys
22715
22716 if test "$wxUSE_MSW" = 1; then
22717 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22718 "
22719 if test "x$ac_cv_type_boolean" = xyes; then :
22720
22721 cat >>confdefs.h <<_ACEOF
22722 #define HAVE_BOOLEAN 1
22723 _ACEOF
22724
22725
22726 # The cast to long int works around a bug in the HP C Compiler
22727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22729 # This bug is HP SR number 8606223364.
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22731 $as_echo_n "checking size of boolean... " >&6; }
22732 if ${ac_cv_sizeof_boolean+:} false; then :
22733 $as_echo_n "(cached) " >&6
22734 else
22735 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22736 #undef HAVE_BOOLEAN
22737 #include <stdio.h>
22738 #include <jpeglib.h>
22739
22740 "; then :
22741
22742 else
22743 if test "$ac_cv_type_boolean" = yes; then
22744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22746 as_fn_error 77 "cannot compute sizeof (boolean)
22747 See \`config.log' for more details" "$LINENO" 5; }
22748 else
22749 ac_cv_sizeof_boolean=0
22750 fi
22751 fi
22752
22753 fi
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22755 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22756
22757
22758
22759 cat >>confdefs.h <<_ACEOF
22760 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22761 _ACEOF
22762
22763
22764 cat >>confdefs.h <<_ACEOF
22765 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22766 _ACEOF
22767
22768
22769 fi
22770
22771 fi
22772 fi
22773 fi
22774 fi
22775
22776
22777 TIFF_LINK=
22778 TIFF_PREREQ_LINKS=-lm
22779 if test "$wxUSE_LIBTIFF" != "no" ; then
22780 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22781
22782
22783 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22784 if test "$wxUSE_LIBJPEG" = "sys"; then
22785 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22786 fi
22787 if test "$wxUSE_ZLIB" = "sys"; then
22788 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22789 fi
22790 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22791
22792 "
22793 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22794
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22796 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22797 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22798 $as_echo_n "(cached) " >&6
22799 else
22800 ac_check_lib_save_LIBS=$LIBS
22801 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22803 /* end confdefs.h. */
22804
22805 /* Override any GCC internal prototype to avoid an error.
22806 Use char because int might match the return type of a GCC
22807 builtin and then its argument prototype would still apply. */
22808 #ifdef __cplusplus
22809 extern "C"
22810 #endif
22811 char TIFFError ();
22812 int
22813 main ()
22814 {
22815 return TIFFError ();
22816 ;
22817 return 0;
22818 }
22819 _ACEOF
22820 if ac_fn_c_try_link "$LINENO"; then :
22821 ac_cv_lib_tiff_TIFFError=yes
22822 else
22823 ac_cv_lib_tiff_TIFFError=no
22824 fi
22825 rm -f core conftest.err conftest.$ac_objext \
22826 conftest$ac_exeext conftest.$ac_ext
22827 LIBS=$ac_check_lib_save_LIBS
22828 fi
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22830 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22831 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22832 TIFF_LINK=" -ltiff"
22833 fi
22834
22835
22836 fi
22837
22838
22839
22840 if test "x$TIFF_LINK" = "x" ; then
22841 if test "$wxUSE_LIBTIFF" = "sys" ; then
22842 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22843 else
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22845 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22846 wxUSE_LIBTIFF=builtin
22847 fi
22848 else
22849 wxUSE_LIBTIFF=sys
22850 fi
22851 fi
22852 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22853 if test "$wxUSE_LIBJPEG" = "no"; then
22854 ac_configure_args="$ac_configure_args --disable-jpeg"
22855 fi
22856
22857
22858 subdirs="$subdirs src/tiff"
22859
22860 fi
22861 fi
22862
22863
22864 if test "$wxUSE_EXPAT" != "no"; then
22865 wxUSE_XML=yes
22866 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22867
22868 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22869
22870
22871 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22872 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22873 "
22874 if test "x$ac_cv_header_expat_h" = xyes; then :
22875 found_expat_h=1
22876 fi
22877
22878
22879 if test "x$found_expat_h" = "x1"; then
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22881 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22882 if ${wx_cv_expat_is_not_broken+:} false; then :
22883 $as_echo_n "(cached) " >&6
22884 else
22885
22886 ac_ext=cpp
22887 ac_cpp='$CXXCPP $CPPFLAGS'
22888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22891
22892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22893 /* end confdefs.h. */
22894 #include <expat.h>
22895 int
22896 main ()
22897 {
22898
22899 ;
22900 return 0;
22901 }
22902 _ACEOF
22903 if ac_fn_cxx_try_compile "$LINENO"; then :
22904 wx_cv_expat_is_not_broken=yes
22905 else
22906 wx_cv_expat_is_not_broken=no
22907
22908 fi
22909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910 ac_ext=c
22911 ac_cpp='$CPP $CPPFLAGS'
22912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22915
22916
22917
22918 fi
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22920 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22921 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22923 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22924 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22925 $as_echo_n "(cached) " >&6
22926 else
22927 ac_check_lib_save_LIBS=$LIBS
22928 LIBS="-lexpat $LIBS"
22929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22930 /* end confdefs.h. */
22931
22932 /* Override any GCC internal prototype to avoid an error.
22933 Use char because int might match the return type of a GCC
22934 builtin and then its argument prototype would still apply. */
22935 #ifdef __cplusplus
22936 extern "C"
22937 #endif
22938 char XML_ParserCreate ();
22939 int
22940 main ()
22941 {
22942 return XML_ParserCreate ();
22943 ;
22944 return 0;
22945 }
22946 _ACEOF
22947 if ac_fn_c_try_link "$LINENO"; then :
22948 ac_cv_lib_expat_XML_ParserCreate=yes
22949 else
22950 ac_cv_lib_expat_XML_ParserCreate=no
22951 fi
22952 rm -f core conftest.err conftest.$ac_objext \
22953 conftest$ac_exeext conftest.$ac_ext
22954 LIBS=$ac_check_lib_save_LIBS
22955 fi
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22957 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22958 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22959 EXPAT_LINK=" -lexpat"
22960 fi
22961
22962 fi
22963 fi
22964 if test "x$EXPAT_LINK" = "x" ; then
22965 if test "$wxUSE_EXPAT" = "sys" ; then
22966 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22967 else
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22969 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22970 wxUSE_EXPAT=builtin
22971 fi
22972 else
22973 wxUSE_EXPAT=sys
22974 fi
22975 fi
22976 if test "$wxUSE_EXPAT" = "builtin" ; then
22977 subdirs="$subdirs src/expat"
22978
22979 fi
22980 fi
22981
22982
22983
22984 if test "$wxUSE_LIBMSPACK" != "no"; then
22985 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22986 "
22987 if test "x$ac_cv_header_mspack_h" = xyes; then :
22988 found_mspack_h=1
22989 fi
22990
22991
22992 if test "x$found_mspack_h" = "x1"; then
22993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22994 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22995 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22996 $as_echo_n "(cached) " >&6
22997 else
22998 ac_check_lib_save_LIBS=$LIBS
22999 LIBS="-lmspack $LIBS"
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23002
23003 /* Override any GCC internal prototype to avoid an error.
23004 Use char because int might match the return type of a GCC
23005 builtin and then its argument prototype would still apply. */
23006 #ifdef __cplusplus
23007 extern "C"
23008 #endif
23009 char mspack_create_chm_decompressor ();
23010 int
23011 main ()
23012 {
23013 return mspack_create_chm_decompressor ();
23014 ;
23015 return 0;
23016 }
23017 _ACEOF
23018 if ac_fn_c_try_link "$LINENO"; then :
23019 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23020 else
23021 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23022 fi
23023 rm -f core conftest.err conftest.$ac_objext \
23024 conftest$ac_exeext conftest.$ac_ext
23025 LIBS=$ac_check_lib_save_LIBS
23026 fi
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23028 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23029 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23030 MSPACK_LINK=" -lmspack"
23031 fi
23032
23033 fi
23034 if test "x$MSPACK_LINK" = "x" ; then
23035 wxUSE_LIBMSPACK=no
23036 fi
23037 fi
23038
23039 if test "$wxUSE_LIBMSPACK" != "no"; then
23040 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23041
23042 fi
23043
23044
23045
23046 AFMINSTALL=
23047 WIN32INSTALL=
23048
23049 TOOLKIT=
23050 TOOLKIT_INCLUDE=
23051 WIDGET_SET=
23052
23053 if test "$USE_WIN32" = 1 ; then
23054 for ac_header in w32api.h
23055 do :
23056 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23057 "
23058 if test "x$ac_cv_header_w32api_h" = xyes; then :
23059 cat >>confdefs.h <<_ACEOF
23060 #define HAVE_W32API_H 1
23061 _ACEOF
23062
23063 fi
23064
23065 done
23066
23067 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23068 "
23069 if test "x$ac_cv_header_windows_h" = xyes; then :
23070
23071 else
23072
23073 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23074
23075 fi
23076
23077
23078
23079 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23080 case "${host}" in
23081 x86_64-*-mingw32* )
23082 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23083 ;;
23084 esac
23085 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23086 LIBS="$LIBS -loleacc"
23087 fi
23088
23089 case "${host}" in
23090 *-*-cygwin* )
23091 LIBS="$LIBS -lkernel32 -luser32"
23092 esac
23093
23094 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23095 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23096
23097 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23098
23099 WIN32INSTALL=win32install
23100 fi
23101
23102 if test "$wxUSE_GUI" = "yes"; then
23103 USE_GUI=1
23104
23105 GUI_TK_LIBRARY=
23106
23107 WXGTK1=
23108 WXGTK127=
23109 WXGTK2=
23110 WXGTK3=
23111 WXGPE=
23112
23113 if test "$wxUSE_OLD_COCOA" = 1 ; then
23114 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23116 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23117 wxUSE_PRINTING_ARCHITECTURE=no
23118 fi
23119 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23121 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23122 wxUSE_DRAG_AND_DROP=no
23123 fi
23124 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23126 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23127 wxUSE_DRAGIMAGE=no
23128 fi
23129 fi
23130
23131 if test "$wxUSE_MSW" = 1 ; then
23132 TOOLKIT=MSW
23133 GUIDIST=MSW_DIST
23134
23135 case "${host}" in
23136 *-*-mingw32* )
23137 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23138 esac
23139 fi
23140
23141 if test "$wxUSE_GTK" = 1; then
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23143 $as_echo_n "checking for GTK+ version... " >&6; }
23144
23145 gtk_version_cached=1
23146 if ${wx_cv_lib_gtk+:} false; then :
23147 $as_echo_n "(cached) " >&6
23148 else
23149
23150 gtk_version_cached=0
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23152 $as_echo "" >&6; }
23153
23154 GTK_MODULES=
23155 if test "$wxUSE_THREADS" = "yes"; then
23156 GTK_MODULES=gthread
23157 fi
23158
23159 if test -z "$wxGTK_VERSION"; then
23160 wxGTK_VERSION=any
23161 fi
23162
23163 wx_cv_lib_gtk=
23164 if test "x$wxGTK_VERSION" != "x1"
23165 then
23166 case "${host}" in
23167 *-*-solaris2* )
23168 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23169 enable_gtktest=no
23170 fi
23171 esac
23172
23173 if test "$wxGTK_VERSION" != 3; then
23174 # Check whether --enable-gtktest was given.
23175 if test "${enable_gtktest+set}" = set; then :
23176 enableval=$enable_gtktest;
23177 else
23178 enable_gtktest=yes
23179 fi
23180
23181
23182 pkg_config_args=gtk+-2.0
23183 for module in . $GTK_MODULES
23184 do
23185 case "$module" in
23186 gthread)
23187 pkg_config_args="$pkg_config_args gthread-2.0"
23188 ;;
23189 esac
23190 done
23191
23192 no_gtk=""
23193
23194 # Extract the first word of "pkg-config", so it can be a program name with args.
23195 set dummy pkg-config; ac_word=$2
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23197 $as_echo_n "checking for $ac_word... " >&6; }
23198 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23199 $as_echo_n "(cached) " >&6
23200 else
23201 case $PKG_CONFIG in
23202 [\\/]* | ?:[\\/]*)
23203 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23204 ;;
23205 *)
23206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23207 for as_dir in $PATH
23208 do
23209 IFS=$as_save_IFS
23210 test -z "$as_dir" && as_dir=.
23211 for ac_exec_ext in '' $ac_executable_extensions; do
23212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23213 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23215 break 2
23216 fi
23217 done
23218 done
23219 IFS=$as_save_IFS
23220
23221 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23222 ;;
23223 esac
23224 fi
23225 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23226 if test -n "$PKG_CONFIG"; then
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23228 $as_echo "$PKG_CONFIG" >&6; }
23229 else
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23231 $as_echo "no" >&6; }
23232 fi
23233
23234
23235
23236 if test x$PKG_CONFIG != xno ; then
23237 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23238 :
23239 else
23240 echo "*** pkg-config too old; version 0.7 or better required."
23241 no_gtk=yes
23242 PKG_CONFIG=no
23243 fi
23244 else
23245 no_gtk=yes
23246 fi
23247
23248 min_gtk_version=2.6.0
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23250 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23251
23252 if test x$PKG_CONFIG != xno ; then
23253 ## don't try to run the test against uninstalled libtool libs
23254 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23255 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23256 enable_gtktest=no
23257 fi
23258
23259 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23260 :
23261 else
23262 no_gtk=yes
23263 fi
23264 fi
23265
23266 if test x"$no_gtk" = x ; then
23267 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23268 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23269 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23270 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23271 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23272 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23273 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23274 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23275 if test "x$enable_gtktest" = "xyes" ; then
23276 ac_save_CFLAGS="$CFLAGS"
23277 ac_save_LIBS="$LIBS"
23278 CFLAGS="$CFLAGS $GTK_CFLAGS"
23279 LIBS="$GTK_LIBS $LIBS"
23280 rm -f conf.gtktest
23281 if test "$cross_compiling" = yes; then :
23282 echo $ac_n "cross compiling; assumed OK... $ac_c"
23283 else
23284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h. */
23286
23287 #include <gtk/gtk.h>
23288 #include <stdio.h>
23289 #include <stdlib.h>
23290
23291 int
23292 main ()
23293 {
23294 int major, minor, micro;
23295 char *tmp_version;
23296
23297 system ("touch conf.gtktest");
23298
23299 /* HP/UX 9 (%@#!) writes to sscanf strings */
23300 tmp_version = g_strdup("$min_gtk_version");
23301 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23302 printf("%s, bad version string\n", "$min_gtk_version");
23303 exit(1);
23304 }
23305
23306 if ((gtk_major_version != $gtk_config_major_version) ||
23307 (gtk_minor_version != $gtk_config_minor_version) ||
23308 (gtk_micro_version != $gtk_config_micro_version))
23309 {
23310 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23311 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23312 gtk_major_version, gtk_minor_version, gtk_micro_version);
23313 printf ("*** was found! If pkg-config was correct, then it is best\n");
23314 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23315 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23316 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23317 printf("*** required on your system.\n");
23318 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23319 printf("*** to point to the correct configuration files\n");
23320 }
23321 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23322 (gtk_minor_version != GTK_MINOR_VERSION) ||
23323 (gtk_micro_version != GTK_MICRO_VERSION))
23324 {
23325 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23326 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23327 printf("*** library (version %d.%d.%d)\n",
23328 gtk_major_version, gtk_minor_version, gtk_micro_version);
23329 }
23330 else
23331 {
23332 if ((gtk_major_version > major) ||
23333 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23334 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23335 {
23336 return 0;
23337 }
23338 else
23339 {
23340 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23341 gtk_major_version, gtk_minor_version, gtk_micro_version);
23342 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23343 major, minor, micro);
23344 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23345 printf("***\n");
23346 printf("*** If you have already installed a sufficiently new version, this error\n");
23347 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23348 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23349 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23350 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23351 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23352 printf("*** so that the correct libraries are found at run-time))\n");
23353 }
23354 }
23355 return 1;
23356 }
23357
23358 _ACEOF
23359 if ac_fn_c_try_run "$LINENO"; then :
23360
23361 else
23362 no_gtk=yes
23363 fi
23364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23365 conftest.$ac_objext conftest.beam conftest.$ac_ext
23366 fi
23367
23368 CFLAGS="$ac_save_CFLAGS"
23369 LIBS="$ac_save_LIBS"
23370 fi
23371 fi
23372 if test "x$no_gtk" = x ; then
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23374 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23375 wx_cv_lib_gtk=2.0
23376 else
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23378 $as_echo "no" >&6; }
23379 if test "$PKG_CONFIG" = "no" ; then
23380 echo "*** A new enough version of pkg-config was not found."
23381 echo "*** See http://pkgconfig.sourceforge.net"
23382 else
23383 if test -f conf.gtktest ; then
23384 :
23385 else
23386 echo "*** Could not run GTK+ test program, checking why..."
23387 ac_save_CFLAGS="$CFLAGS"
23388 ac_save_LIBS="$LIBS"
23389 CFLAGS="$CFLAGS $GTK_CFLAGS"
23390 LIBS="$LIBS $GTK_LIBS"
23391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23392 /* end confdefs.h. */
23393
23394 #include <gtk/gtk.h>
23395 #include <stdio.h>
23396
23397 int
23398 main ()
23399 {
23400 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 if ac_fn_c_try_link "$LINENO"; then :
23406 echo "*** The test program compiled, but did not run. This usually means"
23407 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23408 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23409 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23410 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23411 echo "*** is required on your system"
23412 echo "***"
23413 echo "*** If you have an old version installed, it is best to remove it, although"
23414 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23415 else
23416 echo "*** The test program failed to compile or link. See the file config.log for the"
23417 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23418 fi
23419 rm -f core conftest.err conftest.$ac_objext \
23420 conftest$ac_exeext conftest.$ac_ext
23421 CFLAGS="$ac_save_CFLAGS"
23422 LIBS="$ac_save_LIBS"
23423 fi
23424 fi
23425 GTK_CFLAGS=""
23426 GTK_LIBS=""
23427 :
23428 fi
23429
23430
23431 rm -f conf.gtktest
23432
23433 fi
23434 if test -z "$wx_cv_lib_gtk"; then
23435 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23436 # Check whether --enable-gtktest was given.
23437 if test "${enable_gtktest+set}" = set; then :
23438 enableval=$enable_gtktest;
23439 else
23440 enable_gtktest=yes
23441 fi
23442
23443
23444 pkg_config_args=gtk+-3.0
23445 for module in . $GTK_MODULES
23446 do
23447 case "$module" in
23448 gthread)
23449 pkg_config_args="$pkg_config_args gthread-2.0"
23450 ;;
23451 esac
23452 done
23453
23454 no_gtk=""
23455
23456 # Extract the first word of "pkg-config", so it can be a program name with args.
23457 set dummy pkg-config; ac_word=$2
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23459 $as_echo_n "checking for $ac_word... " >&6; }
23460 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23461 $as_echo_n "(cached) " >&6
23462 else
23463 case $PKG_CONFIG in
23464 [\\/]* | ?:[\\/]*)
23465 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23466 ;;
23467 *)
23468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23469 for as_dir in $PATH
23470 do
23471 IFS=$as_save_IFS
23472 test -z "$as_dir" && as_dir=.
23473 for ac_exec_ext in '' $ac_executable_extensions; do
23474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23475 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23477 break 2
23478 fi
23479 done
23480 done
23481 IFS=$as_save_IFS
23482
23483 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23484 ;;
23485 esac
23486 fi
23487 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23488 if test -n "$PKG_CONFIG"; then
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23490 $as_echo "$PKG_CONFIG" >&6; }
23491 else
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23493 $as_echo "no" >&6; }
23494 fi
23495
23496
23497
23498 if test x$PKG_CONFIG != xno ; then
23499 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23500 :
23501 else
23502 echo "*** pkg-config too old; version 0.7 or better required."
23503 no_gtk=yes
23504 PKG_CONFIG=no
23505 fi
23506 else
23507 no_gtk=yes
23508 fi
23509
23510 min_gtk_version=3.0.0
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23512 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23513
23514 if test x$PKG_CONFIG != xno ; then
23515 ## don't try to run the test against uninstalled libtool libs
23516 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23517 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23518 enable_gtktest=no
23519 fi
23520
23521 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23522 :
23523 else
23524 no_gtk=yes
23525 fi
23526 fi
23527
23528 if test x"$no_gtk" = x ; then
23529 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23530 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23531 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23533 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23535 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23537 if test "x$enable_gtktest" = "xyes" ; then
23538 ac_save_CFLAGS="$CFLAGS"
23539 ac_save_LIBS="$LIBS"
23540 CFLAGS="$CFLAGS $GTK_CFLAGS"
23541 LIBS="$GTK_LIBS $LIBS"
23542 rm -f conf.gtktest
23543 if test "$cross_compiling" = yes; then :
23544 echo $ac_n "cross compiling; assumed OK... $ac_c"
23545 else
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23548
23549 #include <gtk/gtk.h>
23550 #include <stdio.h>
23551 #include <stdlib.h>
23552
23553 int
23554 main ()
23555 {
23556 int major, minor, micro;
23557 char *tmp_version;
23558
23559 fclose (fopen ("conf.gtktest", "w"));
23560
23561 /* HP/UX 9 (%@#!) writes to sscanf strings */
23562 tmp_version = g_strdup("$min_gtk_version");
23563 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23564 printf("%s, bad version string\n", "$min_gtk_version");
23565 exit(1);
23566 }
23567
23568 if ((gtk_major_version != $gtk_config_major_version) ||
23569 (gtk_minor_version != $gtk_config_minor_version) ||
23570 (gtk_micro_version != $gtk_config_micro_version))
23571 {
23572 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23573 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23574 gtk_major_version, gtk_minor_version, gtk_micro_version);
23575 printf ("*** was found! If pkg-config was correct, then it is best\n");
23576 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23577 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23578 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23579 printf("*** required on your system.\n");
23580 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23581 printf("*** to point to the correct configuration files\n");
23582 }
23583 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23584 (gtk_minor_version != GTK_MINOR_VERSION) ||
23585 (gtk_micro_version != GTK_MICRO_VERSION))
23586 {
23587 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23588 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23589 printf("*** library (version %d.%d.%d)\n",
23590 gtk_major_version, gtk_minor_version, gtk_micro_version);
23591 }
23592 else
23593 {
23594 if ((gtk_major_version > major) ||
23595 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23596 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23597 {
23598 return 0;
23599 }
23600 else
23601 {
23602 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23603 gtk_major_version, gtk_minor_version, gtk_micro_version);
23604 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23605 major, minor, micro);
23606 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23607 printf("***\n");
23608 printf("*** If you have already installed a sufficiently new version, this error\n");
23609 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23610 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23611 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23612 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23613 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23614 printf("*** so that the correct libraries are found at run-time))\n");
23615 }
23616 }
23617 return 1;
23618 }
23619
23620 _ACEOF
23621 if ac_fn_c_try_run "$LINENO"; then :
23622
23623 else
23624 no_gtk=yes
23625 fi
23626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23627 conftest.$ac_objext conftest.beam conftest.$ac_ext
23628 fi
23629
23630 CFLAGS="$ac_save_CFLAGS"
23631 LIBS="$ac_save_LIBS"
23632 fi
23633 fi
23634 if test "x$no_gtk" = x ; then
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23636 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23637 wx_cv_lib_gtk=3
23638 else
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23640 $as_echo "no" >&6; }
23641 if test "$PKG_CONFIG" = "no" ; then
23642 echo "*** A new enough version of pkg-config was not found."
23643 echo "*** See http://pkgconfig.sourceforge.net"
23644 else
23645 if test -f conf.gtktest ; then
23646 :
23647 else
23648 echo "*** Could not run GTK+ test program, checking why..."
23649 ac_save_CFLAGS="$CFLAGS"
23650 ac_save_LIBS="$LIBS"
23651 CFLAGS="$CFLAGS $GTK_CFLAGS"
23652 LIBS="$LIBS $GTK_LIBS"
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23655
23656 #include <gtk/gtk.h>
23657 #include <stdio.h>
23658
23659 int
23660 main ()
23661 {
23662 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23663 ;
23664 return 0;
23665 }
23666 _ACEOF
23667 if ac_fn_c_try_link "$LINENO"; then :
23668 echo "*** The test program compiled, but did not run. This usually means"
23669 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23670 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23671 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23672 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23673 echo "*** is required on your system"
23674 echo "***"
23675 echo "*** If you have an old version installed, it is best to remove it, although"
23676 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23677 else
23678 echo "*** The test program failed to compile or link. See the file config.log for the"
23679 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23680 fi
23681 rm -f core conftest.err conftest.$ac_objext \
23682 conftest$ac_exeext conftest.$ac_ext
23683 CFLAGS="$ac_save_CFLAGS"
23684 LIBS="$ac_save_LIBS"
23685 fi
23686 fi
23687 GTK_CFLAGS=""
23688 GTK_LIBS=""
23689 :
23690 fi
23691
23692
23693 rm -f conf.gtktest
23694
23695 fi
23696 fi
23697 fi
23698
23699 if test -z "$wx_cv_lib_gtk"; then
23700 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23701
23702 # Check whether --with-gtk-prefix was given.
23703 if test "${with_gtk_prefix+set}" = set; then :
23704 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23705 else
23706 gtk_config_prefix=""
23707 fi
23708
23709
23710 # Check whether --with-gtk-exec-prefix was given.
23711 if test "${with_gtk_exec_prefix+set}" = set; then :
23712 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23713 else
23714 gtk_config_exec_prefix=""
23715 fi
23716
23717 # Check whether --enable-gtktest was given.
23718 if test "${enable_gtktest+set}" = set; then :
23719 enableval=$enable_gtktest;
23720 else
23721 enable_gtktest=yes
23722 fi
23723
23724
23725 for module in . $GTK_MODULES
23726 do
23727 case "$module" in
23728 gthread)
23729 gtk_config_args="$gtk_config_args gthread"
23730 ;;
23731 esac
23732 done
23733
23734 if test x$gtk_config_exec_prefix != x ; then
23735 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23736 if test x${GTK_CONFIG+set} != xset ; then
23737 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23738 fi
23739 fi
23740 if test x$gtk_config_prefix != x ; then
23741 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23742 if test x${GTK_CONFIG+set} != xset ; then
23743 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23744 fi
23745 fi
23746
23747 # Extract the first word of "gtk-config", so it can be a program name with args.
23748 set dummy gtk-config; ac_word=$2
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23750 $as_echo_n "checking for $ac_word... " >&6; }
23751 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23752 $as_echo_n "(cached) " >&6
23753 else
23754 case $GTK_CONFIG in
23755 [\\/]* | ?:[\\/]*)
23756 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23757 ;;
23758 *)
23759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23760 for as_dir in $PATH
23761 do
23762 IFS=$as_save_IFS
23763 test -z "$as_dir" && as_dir=.
23764 for ac_exec_ext in '' $ac_executable_extensions; do
23765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23766 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23768 break 2
23769 fi
23770 done
23771 done
23772 IFS=$as_save_IFS
23773
23774 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23775 ;;
23776 esac
23777 fi
23778 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23779 if test -n "$GTK_CONFIG"; then
23780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23781 $as_echo "$GTK_CONFIG" >&6; }
23782 else
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23784 $as_echo "no" >&6; }
23785 fi
23786
23787
23788 min_gtk_version=1.2.7
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23790 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23791 no_gtk=""
23792 if test "$GTK_CONFIG" = "no" ; then
23793 no_gtk=yes
23794 else
23795 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23796 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23797 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23799 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23801 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23803 if test "x$enable_gtktest" = "xyes" ; then
23804 ac_save_CFLAGS="$CFLAGS"
23805 ac_save_LIBS="$LIBS"
23806 CFLAGS="$CFLAGS $GTK_CFLAGS"
23807 LIBS="$GTK_LIBS $LIBS"
23808 rm -f conf.gtktest
23809 if test "$cross_compiling" = yes; then :
23810 echo $ac_n "cross compiling; assumed OK... $ac_c"
23811 else
23812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h. */
23814
23815 #include <gtk/gtk.h>
23816 #include <stdio.h>
23817 #include <stdlib.h>
23818
23819 int
23820 main ()
23821 {
23822 int major, minor, micro;
23823 char *tmp_version;
23824
23825 system ("touch conf.gtktest");
23826
23827 /* HP/UX 9 (%@#!) writes to sscanf strings */
23828 tmp_version = g_strdup("$min_gtk_version");
23829 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23830 printf("%s, bad version string\n", "$min_gtk_version");
23831 exit(1);
23832 }
23833
23834 if ((gtk_major_version != $gtk_config_major_version) ||
23835 (gtk_minor_version != $gtk_config_minor_version) ||
23836 (gtk_micro_version != $gtk_config_micro_version))
23837 {
23838 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23839 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23840 gtk_major_version, gtk_minor_version, gtk_micro_version);
23841 printf ("*** was found! If gtk-config was correct, then it is best\n");
23842 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23843 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23844 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23845 printf("*** required on your system.\n");
23846 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23847 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23848 printf("*** before re-running configure\n");
23849 }
23850 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23851 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23852 (gtk_minor_version != GTK_MINOR_VERSION) ||
23853 (gtk_micro_version != GTK_MICRO_VERSION))
23854 {
23855 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23856 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23857 printf("*** library (version %d.%d.%d)\n",
23858 gtk_major_version, gtk_minor_version, gtk_micro_version);
23859 }
23860 #endif /* defined (GTK_MAJOR_VERSION) ... */
23861 else
23862 {
23863 if ((gtk_major_version > major) ||
23864 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23865 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23866 {
23867 return 0;
23868 }
23869 else
23870 {
23871 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23872 gtk_major_version, gtk_minor_version, gtk_micro_version);
23873 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23874 major, minor, micro);
23875 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23876 printf("***\n");
23877 printf("*** If you have already installed a sufficiently new version, this error\n");
23878 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23879 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23880 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23881 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23882 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23883 printf("*** so that the correct libraries are found at run-time))\n");
23884 }
23885 }
23886 return 1;
23887 }
23888
23889 _ACEOF
23890 if ac_fn_c_try_run "$LINENO"; then :
23891
23892 else
23893 no_gtk=yes
23894 fi
23895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23896 conftest.$ac_objext conftest.beam conftest.$ac_ext
23897 fi
23898
23899 CFLAGS="$ac_save_CFLAGS"
23900 LIBS="$ac_save_LIBS"
23901 fi
23902 fi
23903 if test "x$no_gtk" = x ; then
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23905 $as_echo "yes" >&6; }
23906 wx_cv_lib_gtk=1.2.7
23907 else
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23909 $as_echo "no" >&6; }
23910 if test "$GTK_CONFIG" = "no" ; then
23911 echo "*** The gtk-config script installed by GTK could not be found"
23912 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23913 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23914 echo "*** full path to gtk-config."
23915 else
23916 if test -f conf.gtktest ; then
23917 :
23918 else
23919 echo "*** Could not run GTK test program, checking why..."
23920 CFLAGS="$CFLAGS $GTK_CFLAGS"
23921 LIBS="$LIBS $GTK_LIBS"
23922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23923 /* end confdefs.h. */
23924
23925 #include <gtk/gtk.h>
23926 #include <stdio.h>
23927
23928 int
23929 main ()
23930 {
23931 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23932 ;
23933 return 0;
23934 }
23935 _ACEOF
23936 if ac_fn_c_try_link "$LINENO"; then :
23937 echo "*** The test program compiled, but did not run. This usually means"
23938 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23939 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23940 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23941 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23942 echo "*** is required on your system"
23943 echo "***"
23944 echo "*** If you have an old version installed, it is best to remove it, although"
23945 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23946 echo "***"
23947 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23948 echo "*** came with the system with the command"
23949 echo "***"
23950 echo "*** rpm --erase --nodeps gtk gtk-devel"
23951 else
23952 echo "*** The test program failed to compile or link. See the file config.log for the"
23953 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23954 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23955 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23956 fi
23957 rm -f core conftest.err conftest.$ac_objext \
23958 conftest$ac_exeext conftest.$ac_ext
23959 CFLAGS="$ac_save_CFLAGS"
23960 LIBS="$ac_save_LIBS"
23961 fi
23962 fi
23963 GTK_CFLAGS=""
23964 GTK_LIBS=""
23965 :
23966 fi
23967
23968
23969 rm -f conf.gtktest
23970
23971
23972 if test -z "$wx_cv_lib_gtk"; then
23973
23974 # Check whether --with-gtk-prefix was given.
23975 if test "${with_gtk_prefix+set}" = set; then :
23976 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23977 else
23978 gtk_config_prefix=""
23979 fi
23980
23981
23982 # Check whether --with-gtk-exec-prefix was given.
23983 if test "${with_gtk_exec_prefix+set}" = set; then :
23984 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23985 else
23986 gtk_config_exec_prefix=""
23987 fi
23988
23989 # Check whether --enable-gtktest was given.
23990 if test "${enable_gtktest+set}" = set; then :
23991 enableval=$enable_gtktest;
23992 else
23993 enable_gtktest=yes
23994 fi
23995
23996
23997 for module in . $GTK_MODULES
23998 do
23999 case "$module" in
24000 gthread)
24001 gtk_config_args="$gtk_config_args gthread"
24002 ;;
24003 esac
24004 done
24005
24006 if test x$gtk_config_exec_prefix != x ; then
24007 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24008 if test x${GTK_CONFIG+set} != xset ; then
24009 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24010 fi
24011 fi
24012 if test x$gtk_config_prefix != x ; then
24013 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24014 if test x${GTK_CONFIG+set} != xset ; then
24015 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24016 fi
24017 fi
24018
24019 # Extract the first word of "gtk-config", so it can be a program name with args.
24020 set dummy gtk-config; ac_word=$2
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24022 $as_echo_n "checking for $ac_word... " >&6; }
24023 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24024 $as_echo_n "(cached) " >&6
24025 else
24026 case $GTK_CONFIG in
24027 [\\/]* | ?:[\\/]*)
24028 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24029 ;;
24030 *)
24031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24032 for as_dir in $PATH
24033 do
24034 IFS=$as_save_IFS
24035 test -z "$as_dir" && as_dir=.
24036 for ac_exec_ext in '' $ac_executable_extensions; do
24037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24038 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24040 break 2
24041 fi
24042 done
24043 done
24044 IFS=$as_save_IFS
24045
24046 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24047 ;;
24048 esac
24049 fi
24050 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24051 if test -n "$GTK_CONFIG"; then
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24053 $as_echo "$GTK_CONFIG" >&6; }
24054 else
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24056 $as_echo "no" >&6; }
24057 fi
24058
24059
24060 min_gtk_version=1.2.3
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24062 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24063 no_gtk=""
24064 if test "$GTK_CONFIG" = "no" ; then
24065 no_gtk=yes
24066 else
24067 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24068 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24069 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24071 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24072 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24073 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24074 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24075 if test "x$enable_gtktest" = "xyes" ; then
24076 ac_save_CFLAGS="$CFLAGS"
24077 ac_save_LIBS="$LIBS"
24078 CFLAGS="$CFLAGS $GTK_CFLAGS"
24079 LIBS="$GTK_LIBS $LIBS"
24080 rm -f conf.gtktest
24081 if test "$cross_compiling" = yes; then :
24082 echo $ac_n "cross compiling; assumed OK... $ac_c"
24083 else
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086
24087 #include <gtk/gtk.h>
24088 #include <stdio.h>
24089 #include <stdlib.h>
24090
24091 int
24092 main ()
24093 {
24094 int major, minor, micro;
24095 char *tmp_version;
24096
24097 system ("touch conf.gtktest");
24098
24099 /* HP/UX 9 (%@#!) writes to sscanf strings */
24100 tmp_version = g_strdup("$min_gtk_version");
24101 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24102 printf("%s, bad version string\n", "$min_gtk_version");
24103 exit(1);
24104 }
24105
24106 if ((gtk_major_version != $gtk_config_major_version) ||
24107 (gtk_minor_version != $gtk_config_minor_version) ||
24108 (gtk_micro_version != $gtk_config_micro_version))
24109 {
24110 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24111 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24112 gtk_major_version, gtk_minor_version, gtk_micro_version);
24113 printf ("*** was found! If gtk-config was correct, then it is best\n");
24114 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24115 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24116 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24117 printf("*** required on your system.\n");
24118 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24119 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24120 printf("*** before re-running configure\n");
24121 }
24122 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24123 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24124 (gtk_minor_version != GTK_MINOR_VERSION) ||
24125 (gtk_micro_version != GTK_MICRO_VERSION))
24126 {
24127 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24128 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24129 printf("*** library (version %d.%d.%d)\n",
24130 gtk_major_version, gtk_minor_version, gtk_micro_version);
24131 }
24132 #endif /* defined (GTK_MAJOR_VERSION) ... */
24133 else
24134 {
24135 if ((gtk_major_version > major) ||
24136 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24137 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24138 {
24139 return 0;
24140 }
24141 else
24142 {
24143 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24144 gtk_major_version, gtk_minor_version, gtk_micro_version);
24145 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24146 major, minor, micro);
24147 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24148 printf("***\n");
24149 printf("*** If you have already installed a sufficiently new version, this error\n");
24150 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24151 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24152 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24153 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24154 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24155 printf("*** so that the correct libraries are found at run-time))\n");
24156 }
24157 }
24158 return 1;
24159 }
24160
24161 _ACEOF
24162 if ac_fn_c_try_run "$LINENO"; then :
24163
24164 else
24165 no_gtk=yes
24166 fi
24167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24168 conftest.$ac_objext conftest.beam conftest.$ac_ext
24169 fi
24170
24171 CFLAGS="$ac_save_CFLAGS"
24172 LIBS="$ac_save_LIBS"
24173 fi
24174 fi
24175 if test "x$no_gtk" = x ; then
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24177 $as_echo "yes" >&6; }
24178 wx_cv_lib_gtk=1.2.3
24179 else
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24181 $as_echo "no" >&6; }
24182 if test "$GTK_CONFIG" = "no" ; then
24183 echo "*** The gtk-config script installed by GTK could not be found"
24184 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24185 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24186 echo "*** full path to gtk-config."
24187 else
24188 if test -f conf.gtktest ; then
24189 :
24190 else
24191 echo "*** Could not run GTK test program, checking why..."
24192 CFLAGS="$CFLAGS $GTK_CFLAGS"
24193 LIBS="$LIBS $GTK_LIBS"
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24196
24197 #include <gtk/gtk.h>
24198 #include <stdio.h>
24199
24200 int
24201 main ()
24202 {
24203 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24204 ;
24205 return 0;
24206 }
24207 _ACEOF
24208 if ac_fn_c_try_link "$LINENO"; then :
24209 echo "*** The test program compiled, but did not run. This usually means"
24210 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24211 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24214 echo "*** is required on your system"
24215 echo "***"
24216 echo "*** If you have an old version installed, it is best to remove it, although"
24217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24218 echo "***"
24219 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24220 echo "*** came with the system with the command"
24221 echo "***"
24222 echo "*** rpm --erase --nodeps gtk gtk-devel"
24223 else
24224 echo "*** The test program failed to compile or link. See the file config.log for the"
24225 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24226 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24227 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24228 fi
24229 rm -f core conftest.err conftest.$ac_objext \
24230 conftest$ac_exeext conftest.$ac_ext
24231 CFLAGS="$ac_save_CFLAGS"
24232 LIBS="$ac_save_LIBS"
24233 fi
24234 fi
24235 GTK_CFLAGS=""
24236 GTK_LIBS=""
24237 :
24238 fi
24239
24240
24241 rm -f conf.gtktest
24242
24243 fi
24244 fi
24245 fi
24246
24247 if test -z "$wx_cv_lib_gtk"; then
24248 wx_cv_lib_gtk=none
24249 else
24250 GTK_LIBS="$GTK_LIBS -lX11"
24251
24252 wx_cv_cflags_gtk=$GTK_CFLAGS
24253 wx_cv_libs_gtk=$GTK_LIBS
24254 fi
24255
24256
24257 fi
24258
24259
24260 if test "$gtk_version_cached" = 1; then
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24262 $as_echo "$wx_cv_lib_gtk" >&6; }
24263 fi
24264
24265 case "$wx_cv_lib_gtk" in
24266 3) WXGTK3=1
24267 TOOLKIT_VERSION=3
24268 ;;
24269 2.0) WXGTK2=1
24270 TOOLKIT_VERSION=2
24271 ;;
24272 1.2.7) WXGTK127=1
24273 WXGTK1=1
24274 ;;
24275 1.2*) WXGTK1=1 ;;
24276 *) as_fn_error $? "
24277 The development files for GTK+ were not found. For GTK+ 2, please
24278 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24279 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24280 and that the version is 1.2.3 or above. Also check that the
24281 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24282 --libs' are in the LD_LIBRARY_PATH or equivalent.
24283 " "$LINENO" 5
24284 ;;
24285 esac
24286
24287 if test "$WXGTK3" = 1; then
24288 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24289
24290 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24291
24292 elif test "$WXGTK2" = 1; then
24293 save_CFLAGS="$CFLAGS"
24294 save_LIBS="$LIBS"
24295 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24296 LIBS="$LIBS $wx_cv_libs_gtk"
24297
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24299 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24301 /* end confdefs.h. */
24302
24303 #include <gtk/gtk.h>
24304
24305 int
24306 main ()
24307 {
24308
24309 #if !GTK_CHECK_VERSION(2,18,0)
24310 Not GTK+ 2.18
24311 #endif
24312
24313 ;
24314 return 0;
24315 }
24316 _ACEOF
24317 if ac_fn_c_try_compile "$LINENO"; then :
24318
24319 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24320
24321 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24322
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24324 $as_echo "yes" >&6; }
24325 ac_wxgtk218=1
24326
24327 else
24328
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24330 $as_echo "no" >&6; }
24331 ac_wxgtk218=0
24332
24333 fi
24334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335
24336 if test "$ac_wxgtk218" = 0; then
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24338 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24340 /* end confdefs.h. */
24341
24342 #include <gtk/gtk.h>
24343
24344 int
24345 main ()
24346 {
24347
24348 #if !GTK_CHECK_VERSION(2,10,0)
24349 Not GTK+ 2.10
24350 #endif
24351
24352 ;
24353 return 0;
24354 }
24355 _ACEOF
24356 if ac_fn_c_try_compile "$LINENO"; then :
24357
24358 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24359
24360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24361 $as_echo "yes" >&6; }
24362 ac_wxgtk210=1
24363
24364 else
24365
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24367 $as_echo "no" >&6; }
24368 ac_wxgtk210=0
24369
24370 fi
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372 fi
24373
24374 CFLAGS="$save_CFLAGS"
24375 LIBS="$save_LIBS"
24376 else
24377 if test "$wxUSE_UNICODE" = "yes"; then
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24379 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24380 wxUSE_UNICODE=no
24381 fi
24382
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24384 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24385 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24386 $as_echo_n "(cached) " >&6
24387 else
24388 ac_check_lib_save_LIBS=$LIBS
24389 LIBS="-lgdk $LIBS"
24390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24391 /* end confdefs.h. */
24392
24393 /* Override any GCC internal prototype to avoid an error.
24394 Use char because int might match the return type of a GCC
24395 builtin and then its argument prototype would still apply. */
24396 #ifdef __cplusplus
24397 extern "C"
24398 #endif
24399 char gdk_im_open ();
24400 int
24401 main ()
24402 {
24403 return gdk_im_open ();
24404 ;
24405 return 0;
24406 }
24407 _ACEOF
24408 if ac_fn_c_try_link "$LINENO"; then :
24409 ac_cv_lib_gdk_gdk_im_open=yes
24410 else
24411 ac_cv_lib_gdk_gdk_im_open=no
24412 fi
24413 rm -f core conftest.err conftest.$ac_objext \
24414 conftest$ac_exeext conftest.$ac_ext
24415 LIBS=$ac_check_lib_save_LIBS
24416 fi
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24418 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24419 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24420 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24421
24422 fi
24423
24424
24425 if test "$USE_DARWIN" != 1; then
24426 for ac_func in poll
24427 do :
24428 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24429 if test "x$ac_cv_func_poll" = xyes; then :
24430 cat >>confdefs.h <<_ACEOF
24431 #define HAVE_POLL 1
24432 _ACEOF
24433
24434 fi
24435 done
24436
24437 fi
24438 fi
24439
24440 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24441 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24442 AFMINSTALL=afminstall
24443 TOOLKIT=GTK
24444 GUIDIST=GTK_DIST
24445
24446 if test "$wxUSE_GPE" = "yes"; then
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24448 $as_echo_n "checking for gpewidget library... " >&6; }
24449
24450 ac_find_libraries=
24451 for ac_dir in $SEARCH_LIB
24452 do
24453 for ac_extension in a so sl dylib dll.a; do
24454 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24455 ac_find_libraries=$ac_dir
24456 break 2
24457 fi
24458 done
24459 done
24460
24461 if test "$ac_find_libraries" != "" ; then
24462
24463 if test "$ac_find_libraries" = "default location"; then
24464 ac_path_to_link=""
24465 else
24466 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24467 result=$?
24468 if test $result = 0; then
24469 ac_path_to_link=""
24470 else
24471 ac_path_to_link=" -L$ac_find_libraries"
24472 fi
24473 fi
24474
24475 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24476 WXGPE=1
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24478 $as_echo "found in $ac_find_libraries" >&6; }
24479 else
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24481 $as_echo "not found" >&6; }
24482 fi
24483
24484 fi
24485 fi
24486
24487 if test "$wxUSE_DFB" = 1; then
24488
24489
24490 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24491 if test -n "$ac_tool_prefix"; then
24492 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24493 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24495 $as_echo_n "checking for $ac_word... " >&6; }
24496 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24497 $as_echo_n "(cached) " >&6
24498 else
24499 case $PKG_CONFIG in
24500 [\\/]* | ?:[\\/]*)
24501 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24502 ;;
24503 *)
24504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24505 for as_dir in $PATH
24506 do
24507 IFS=$as_save_IFS
24508 test -z "$as_dir" && as_dir=.
24509 for ac_exec_ext in '' $ac_executable_extensions; do
24510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24511 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24513 break 2
24514 fi
24515 done
24516 done
24517 IFS=$as_save_IFS
24518
24519 ;;
24520 esac
24521 fi
24522 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24523 if test -n "$PKG_CONFIG"; then
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24525 $as_echo "$PKG_CONFIG" >&6; }
24526 else
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24528 $as_echo "no" >&6; }
24529 fi
24530
24531
24532 fi
24533 if test -z "$ac_cv_path_PKG_CONFIG"; then
24534 ac_pt_PKG_CONFIG=$PKG_CONFIG
24535 # Extract the first word of "pkg-config", so it can be a program name with args.
24536 set dummy pkg-config; ac_word=$2
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24538 $as_echo_n "checking for $ac_word... " >&6; }
24539 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24540 $as_echo_n "(cached) " >&6
24541 else
24542 case $ac_pt_PKG_CONFIG in
24543 [\\/]* | ?:[\\/]*)
24544 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24545 ;;
24546 *)
24547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24548 for as_dir in $PATH
24549 do
24550 IFS=$as_save_IFS
24551 test -z "$as_dir" && as_dir=.
24552 for ac_exec_ext in '' $ac_executable_extensions; do
24553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24554 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24556 break 2
24557 fi
24558 done
24559 done
24560 IFS=$as_save_IFS
24561
24562 ;;
24563 esac
24564 fi
24565 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24566 if test -n "$ac_pt_PKG_CONFIG"; then
24567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24568 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24569 else
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24571 $as_echo "no" >&6; }
24572 fi
24573
24574 if test "x$ac_pt_PKG_CONFIG" = x; then
24575 PKG_CONFIG=""
24576 else
24577 case $cross_compiling:$ac_tool_warned in
24578 yes:)
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24581 ac_tool_warned=yes ;;
24582 esac
24583 PKG_CONFIG=$ac_pt_PKG_CONFIG
24584 fi
24585 else
24586 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24587 fi
24588
24589 fi
24590 if test -n "$PKG_CONFIG"; then
24591 _pkg_min_version=0.9.0
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24593 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24594 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24596 $as_echo "yes" >&6; }
24597 else
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24599 $as_echo "no" >&6; }
24600 PKG_CONFIG=""
24601 fi
24602
24603 fi
24604
24605
24606 pkg_failed=no
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24608 $as_echo_n "checking for DIRECTFB... " >&6; }
24609
24610 if test -n "$PKG_CONFIG"; then
24611 if test -n "$DIRECTFB_CFLAGS"; then
24612 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24613 else
24614 if test -n "$PKG_CONFIG" && \
24615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24616 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24617 ac_status=$?
24618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24619 test $ac_status = 0; }; then
24620 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24621 else
24622 pkg_failed=yes
24623 fi
24624 fi
24625 else
24626 pkg_failed=untried
24627 fi
24628 if test -n "$PKG_CONFIG"; then
24629 if test -n "$DIRECTFB_LIBS"; then
24630 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24631 else
24632 if test -n "$PKG_CONFIG" && \
24633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24634 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24635 ac_status=$?
24636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24637 test $ac_status = 0; }; then
24638 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24639 else
24640 pkg_failed=yes
24641 fi
24642 fi
24643 else
24644 pkg_failed=untried
24645 fi
24646
24647
24648
24649 if test $pkg_failed = yes; then
24650
24651 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24652 _pkg_short_errors_supported=yes
24653 else
24654 _pkg_short_errors_supported=no
24655 fi
24656 if test $_pkg_short_errors_supported = yes; then
24657 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24658 else
24659 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24660 fi
24661 # Put the nasty error message in config.log where it belongs
24662 echo "$DIRECTFB_PKG_ERRORS" >&5
24663
24664
24665 as_fn_error $? "DirectFB not found." "$LINENO" 5
24666
24667
24668 elif test $pkg_failed = untried; then
24669
24670 as_fn_error $? "DirectFB not found." "$LINENO" 5
24671
24672
24673 else
24674 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24675 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24677 $as_echo "yes" >&6; }
24678
24679 wxUSE_UNIVERSAL="yes"
24680 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24681 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24682 TOOLKIT=DFB
24683 GUIDIST=DFB_DIST
24684
24685 fi
24686 fi
24687
24688 if test "$wxUSE_MICROWIN" = 1; then
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24690 $as_echo_n "checking for MicroWindows... " >&6; }
24691 if test "x$MICROWINDOWS" = x ; then
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24693 $as_echo "not found" >&6; }
24694 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24695 else
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24697 $as_echo "$MICROWINDOWS" >&6; }
24698 fi
24699
24700 if test -f $MICROWINDOWS/lib/libmwin.a; then
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24702 $as_echo "MicroWindows' libraries found." >&6; }
24703 else
24704 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24705 fi
24706
24707 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24708 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24709
24710 wxUSE_UNIVERSAL="yes"
24711
24712 AFMINSTALL=afminstall
24713 TOOLKIT=MICROWIN
24714 GUIDIST=MICROWIN_DIST
24715
24716 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24717 fi
24718
24719 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24721 $as_echo_n "checking for X... " >&6; }
24722
24723
24724 # Check whether --with-x was given.
24725 if test "${with_x+set}" = set; then :
24726 withval=$with_x;
24727 fi
24728
24729 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24730 if test "x$with_x" = xno; then
24731 # The user explicitly disabled X.
24732 have_x=disabled
24733 else
24734 case $x_includes,$x_libraries in #(
24735 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24736 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24737 $as_echo_n "(cached) " >&6
24738 else
24739 # One or both of the vars are not set, and there is no cached value.
24740 ac_x_includes=no ac_x_libraries=no
24741 rm -f -r conftest.dir
24742 if mkdir conftest.dir; then
24743 cd conftest.dir
24744 cat >Imakefile <<'_ACEOF'
24745 incroot:
24746 @echo incroot='${INCROOT}'
24747 usrlibdir:
24748 @echo usrlibdir='${USRLIBDIR}'
24749 libdir:
24750 @echo libdir='${LIBDIR}'
24751 _ACEOF
24752 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24754 for ac_var in incroot usrlibdir libdir; do
24755 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24756 done
24757 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24758 for ac_extension in a so sl dylib la dll; do
24759 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24760 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24761 ac_im_usrlibdir=$ac_im_libdir; break
24762 fi
24763 done
24764 # Screen out bogus values from the imake configuration. They are
24765 # bogus both because they are the default anyway, and because
24766 # using them would break gcc on systems where it needs fixed includes.
24767 case $ac_im_incroot in
24768 /usr/include) ac_x_includes= ;;
24769 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24770 esac
24771 case $ac_im_usrlibdir in
24772 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24773 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24774 esac
24775 fi
24776 cd ..
24777 rm -f -r conftest.dir
24778 fi
24779
24780 # Standard set of common directories for X headers.
24781 # Check X11 before X11Rn because it is often a symlink to the current release.
24782 ac_x_header_dirs='
24783 /usr/X11/include
24784 /usr/X11R7/include
24785 /usr/X11R6/include
24786 /usr/X11R5/include
24787 /usr/X11R4/include
24788
24789 /usr/include/X11
24790 /usr/include/X11R7
24791 /usr/include/X11R6
24792 /usr/include/X11R5
24793 /usr/include/X11R4
24794
24795 /usr/local/X11/include
24796 /usr/local/X11R7/include
24797 /usr/local/X11R6/include
24798 /usr/local/X11R5/include
24799 /usr/local/X11R4/include
24800
24801 /usr/local/include/X11
24802 /usr/local/include/X11R7
24803 /usr/local/include/X11R6
24804 /usr/local/include/X11R5
24805 /usr/local/include/X11R4
24806
24807 /usr/X386/include
24808 /usr/x386/include
24809 /usr/XFree86/include/X11
24810
24811 /usr/include
24812 /usr/local/include
24813 /usr/unsupported/include
24814 /usr/athena/include
24815 /usr/local/x11r5/include
24816 /usr/lpp/Xamples/include
24817
24818 /usr/openwin/include
24819 /usr/openwin/share/include'
24820
24821 if test "$ac_x_includes" = no; then
24822 # Guess where to find include files, by looking for Xlib.h.
24823 # First, try using that file with no special directory specified.
24824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h. */
24826 #include <X11/Xlib.h>
24827 _ACEOF
24828 if ac_fn_c_try_cpp "$LINENO"; then :
24829 # We can compile using X headers with no special include directory.
24830 ac_x_includes=
24831 else
24832 for ac_dir in $ac_x_header_dirs; do
24833 if test -r "$ac_dir/X11/Xlib.h"; then
24834 ac_x_includes=$ac_dir
24835 break
24836 fi
24837 done
24838 fi
24839 rm -f conftest.err conftest.i conftest.$ac_ext
24840 fi # $ac_x_includes = no
24841
24842 if test "$ac_x_libraries" = no; then
24843 # Check for the libraries.
24844 # See if we find them without any special options.
24845 # Don't add to $LIBS permanently.
24846 ac_save_LIBS=$LIBS
24847 LIBS="-lX11 $LIBS"
24848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24849 /* end confdefs.h. */
24850 #include <X11/Xlib.h>
24851 int
24852 main ()
24853 {
24854 XrmInitialize ()
24855 ;
24856 return 0;
24857 }
24858 _ACEOF
24859 if ac_fn_c_try_link "$LINENO"; then :
24860 LIBS=$ac_save_LIBS
24861 # We can link X programs with no special library path.
24862 ac_x_libraries=
24863 else
24864 LIBS=$ac_save_LIBS
24865 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24866 do
24867 # Don't even attempt the hair of trying to link an X program!
24868 for ac_extension in a so sl dylib la dll; do
24869 if test -r "$ac_dir/libX11.$ac_extension"; then
24870 ac_x_libraries=$ac_dir
24871 break 2
24872 fi
24873 done
24874 done
24875 fi
24876 rm -f core conftest.err conftest.$ac_objext \
24877 conftest$ac_exeext conftest.$ac_ext
24878 fi # $ac_x_libraries = no
24879
24880 case $ac_x_includes,$ac_x_libraries in #(
24881 no,* | *,no | *\'*)
24882 # Didn't find X, or a directory has "'" in its name.
24883 ac_cv_have_x="have_x=no";; #(
24884 *)
24885 # Record where we found X for the cache.
24886 ac_cv_have_x="have_x=yes\
24887 ac_x_includes='$ac_x_includes'\
24888 ac_x_libraries='$ac_x_libraries'"
24889 esac
24890 fi
24891 ;; #(
24892 *) have_x=yes;;
24893 esac
24894 eval "$ac_cv_have_x"
24895 fi # $with_x != no
24896
24897 if test "$have_x" != yes; then
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24899 $as_echo "$have_x" >&6; }
24900 no_x=yes
24901 else
24902 # If each of the values was on the command line, it overrides each guess.
24903 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24904 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24905 # Update the cache value to reflect the command line values.
24906 ac_cv_have_x="have_x=yes\
24907 ac_x_includes='$x_includes'\
24908 ac_x_libraries='$x_libraries'"
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24910 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24911 fi
24912
24913 if test "$no_x" = yes; then
24914 # Not all programs may use this symbol, but it does not hurt to define it.
24915
24916 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24917
24918 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24919 else
24920 if test -n "$x_includes"; then
24921 X_CFLAGS="$X_CFLAGS -I$x_includes"
24922 fi
24923
24924 # It would also be nice to do this for all -L options, not just this one.
24925 if test -n "$x_libraries"; then
24926 X_LIBS="$X_LIBS -L$x_libraries"
24927 # For Solaris; some versions of Sun CC require a space after -R and
24928 # others require no space. Words are not sufficient . . . .
24929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24930 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24931 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24932 ac_xsave_c_werror_flag=$ac_c_werror_flag
24933 ac_c_werror_flag=yes
24934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24935 /* end confdefs.h. */
24936
24937 int
24938 main ()
24939 {
24940
24941 ;
24942 return 0;
24943 }
24944 _ACEOF
24945 if ac_fn_c_try_link "$LINENO"; then :
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24947 $as_echo "no" >&6; }
24948 X_LIBS="$X_LIBS -R$x_libraries"
24949 else
24950 LIBS="$ac_xsave_LIBS -R $x_libraries"
24951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24953
24954 int
24955 main ()
24956 {
24957
24958 ;
24959 return 0;
24960 }
24961 _ACEOF
24962 if ac_fn_c_try_link "$LINENO"; then :
24963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24964 $as_echo "yes" >&6; }
24965 X_LIBS="$X_LIBS -R $x_libraries"
24966 else
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24968 $as_echo "neither works" >&6; }
24969 fi
24970 rm -f core conftest.err conftest.$ac_objext \
24971 conftest$ac_exeext conftest.$ac_ext
24972 fi
24973 rm -f core conftest.err conftest.$ac_objext \
24974 conftest$ac_exeext conftest.$ac_ext
24975 ac_c_werror_flag=$ac_xsave_c_werror_flag
24976 LIBS=$ac_xsave_LIBS
24977 fi
24978
24979 # Check for system-dependent libraries X programs must link with.
24980 # Do this before checking for the system-independent R6 libraries
24981 # (-lICE), since we may need -lsocket or whatever for X linking.
24982
24983 if test "$ISC" = yes; then
24984 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24985 else
24986 # Martyn Johnson says this is needed for Ultrix, if the X
24987 # libraries were built with DECnet support. And Karl Berry says
24988 # the Alpha needs dnet_stub (dnet does not exist).
24989 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h. */
24992
24993 /* Override any GCC internal prototype to avoid an error.
24994 Use char because int might match the return type of a GCC
24995 builtin and then its argument prototype would still apply. */
24996 #ifdef __cplusplus
24997 extern "C"
24998 #endif
24999 char XOpenDisplay ();
25000 int
25001 main ()
25002 {
25003 return XOpenDisplay ();
25004 ;
25005 return 0;
25006 }
25007 _ACEOF
25008 if ac_fn_c_try_link "$LINENO"; then :
25009
25010 else
25011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25012 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25013 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25014 $as_echo_n "(cached) " >&6
25015 else
25016 ac_check_lib_save_LIBS=$LIBS
25017 LIBS="-ldnet $LIBS"
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25020
25021 /* Override any GCC internal prototype to avoid an error.
25022 Use char because int might match the return type of a GCC
25023 builtin and then its argument prototype would still apply. */
25024 #ifdef __cplusplus
25025 extern "C"
25026 #endif
25027 char dnet_ntoa ();
25028 int
25029 main ()
25030 {
25031 return dnet_ntoa ();
25032 ;
25033 return 0;
25034 }
25035 _ACEOF
25036 if ac_fn_c_try_link "$LINENO"; then :
25037 ac_cv_lib_dnet_dnet_ntoa=yes
25038 else
25039 ac_cv_lib_dnet_dnet_ntoa=no
25040 fi
25041 rm -f core conftest.err conftest.$ac_objext \
25042 conftest$ac_exeext conftest.$ac_ext
25043 LIBS=$ac_check_lib_save_LIBS
25044 fi
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25046 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25047 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25048 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25049 fi
25050
25051 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25053 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25054 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25055 $as_echo_n "(cached) " >&6
25056 else
25057 ac_check_lib_save_LIBS=$LIBS
25058 LIBS="-ldnet_stub $LIBS"
25059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060 /* end confdefs.h. */
25061
25062 /* Override any GCC internal prototype to avoid an error.
25063 Use char because int might match the return type of a GCC
25064 builtin and then its argument prototype would still apply. */
25065 #ifdef __cplusplus
25066 extern "C"
25067 #endif
25068 char dnet_ntoa ();
25069 int
25070 main ()
25071 {
25072 return dnet_ntoa ();
25073 ;
25074 return 0;
25075 }
25076 _ACEOF
25077 if ac_fn_c_try_link "$LINENO"; then :
25078 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25079 else
25080 ac_cv_lib_dnet_stub_dnet_ntoa=no
25081 fi
25082 rm -f core conftest.err conftest.$ac_objext \
25083 conftest$ac_exeext conftest.$ac_ext
25084 LIBS=$ac_check_lib_save_LIBS
25085 fi
25086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25087 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25088 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25089 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25090 fi
25091
25092 fi
25093 fi
25094 rm -f core conftest.err conftest.$ac_objext \
25095 conftest$ac_exeext conftest.$ac_ext
25096 LIBS="$ac_xsave_LIBS"
25097
25098 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25099 # to get the SysV transport functions.
25100 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25101 # needs -lnsl.
25102 # The nsl library prevents programs from opening the X display
25103 # on Irix 5.2, according to T.E. Dickey.
25104 # The functions gethostbyname, getservbyname, and inet_addr are
25105 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25106 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25107 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25108
25109 fi
25110
25111 if test $ac_cv_func_gethostbyname = no; then
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25113 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25114 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25115 $as_echo_n "(cached) " >&6
25116 else
25117 ac_check_lib_save_LIBS=$LIBS
25118 LIBS="-lnsl $LIBS"
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h. */
25121
25122 /* Override any GCC internal prototype to avoid an error.
25123 Use char because int might match the return type of a GCC
25124 builtin and then its argument prototype would still apply. */
25125 #ifdef __cplusplus
25126 extern "C"
25127 #endif
25128 char gethostbyname ();
25129 int
25130 main ()
25131 {
25132 return gethostbyname ();
25133 ;
25134 return 0;
25135 }
25136 _ACEOF
25137 if ac_fn_c_try_link "$LINENO"; then :
25138 ac_cv_lib_nsl_gethostbyname=yes
25139 else
25140 ac_cv_lib_nsl_gethostbyname=no
25141 fi
25142 rm -f core conftest.err conftest.$ac_objext \
25143 conftest$ac_exeext conftest.$ac_ext
25144 LIBS=$ac_check_lib_save_LIBS
25145 fi
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25147 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25148 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25150 fi
25151
25152 if test $ac_cv_lib_nsl_gethostbyname = no; then
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25154 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25155 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25156 $as_echo_n "(cached) " >&6
25157 else
25158 ac_check_lib_save_LIBS=$LIBS
25159 LIBS="-lbsd $LIBS"
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h. */
25162
25163 /* Override any GCC internal prototype to avoid an error.
25164 Use char because int might match the return type of a GCC
25165 builtin and then its argument prototype would still apply. */
25166 #ifdef __cplusplus
25167 extern "C"
25168 #endif
25169 char gethostbyname ();
25170 int
25171 main ()
25172 {
25173 return gethostbyname ();
25174 ;
25175 return 0;
25176 }
25177 _ACEOF
25178 if ac_fn_c_try_link "$LINENO"; then :
25179 ac_cv_lib_bsd_gethostbyname=yes
25180 else
25181 ac_cv_lib_bsd_gethostbyname=no
25182 fi
25183 rm -f core conftest.err conftest.$ac_objext \
25184 conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25186 fi
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25188 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25189 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25190 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25191 fi
25192
25193 fi
25194 fi
25195
25196 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25197 # socket/setsockopt and other routines are undefined under SCO ODT
25198 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25199 # on later versions), says Simon Leinen: it contains gethostby*
25200 # variants that don't use the name server (or something). -lsocket
25201 # must be given before -lnsl if both are needed. We assume that
25202 # if connect needs -lnsl, so does gethostbyname.
25203 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25204 if test "x$ac_cv_func_connect" = xyes; then :
25205
25206 fi
25207
25208 if test $ac_cv_func_connect = no; then
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25210 $as_echo_n "checking for connect in -lsocket... " >&6; }
25211 if ${ac_cv_lib_socket_connect+:} false; then :
25212 $as_echo_n "(cached) " >&6
25213 else
25214 ac_check_lib_save_LIBS=$LIBS
25215 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25217 /* end confdefs.h. */
25218
25219 /* Override any GCC internal prototype to avoid an error.
25220 Use char because int might match the return type of a GCC
25221 builtin and then its argument prototype would still apply. */
25222 #ifdef __cplusplus
25223 extern "C"
25224 #endif
25225 char connect ();
25226 int
25227 main ()
25228 {
25229 return connect ();
25230 ;
25231 return 0;
25232 }
25233 _ACEOF
25234 if ac_fn_c_try_link "$LINENO"; then :
25235 ac_cv_lib_socket_connect=yes
25236 else
25237 ac_cv_lib_socket_connect=no
25238 fi
25239 rm -f core conftest.err conftest.$ac_objext \
25240 conftest$ac_exeext conftest.$ac_ext
25241 LIBS=$ac_check_lib_save_LIBS
25242 fi
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25244 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25245 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25246 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25247 fi
25248
25249 fi
25250
25251 # Guillermo Gomez says -lposix is necessary on A/UX.
25252 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25253 if test "x$ac_cv_func_remove" = xyes; then :
25254
25255 fi
25256
25257 if test $ac_cv_func_remove = no; then
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25259 $as_echo_n "checking for remove in -lposix... " >&6; }
25260 if ${ac_cv_lib_posix_remove+:} false; then :
25261 $as_echo_n "(cached) " >&6
25262 else
25263 ac_check_lib_save_LIBS=$LIBS
25264 LIBS="-lposix $LIBS"
25265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25267
25268 /* Override any GCC internal prototype to avoid an error.
25269 Use char because int might match the return type of a GCC
25270 builtin and then its argument prototype would still apply. */
25271 #ifdef __cplusplus
25272 extern "C"
25273 #endif
25274 char remove ();
25275 int
25276 main ()
25277 {
25278 return remove ();
25279 ;
25280 return 0;
25281 }
25282 _ACEOF
25283 if ac_fn_c_try_link "$LINENO"; then :
25284 ac_cv_lib_posix_remove=yes
25285 else
25286 ac_cv_lib_posix_remove=no
25287 fi
25288 rm -f core conftest.err conftest.$ac_objext \
25289 conftest$ac_exeext conftest.$ac_ext
25290 LIBS=$ac_check_lib_save_LIBS
25291 fi
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25293 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25294 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25296 fi
25297
25298 fi
25299
25300 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25301 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25302 if test "x$ac_cv_func_shmat" = xyes; then :
25303
25304 fi
25305
25306 if test $ac_cv_func_shmat = no; then
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25308 $as_echo_n "checking for shmat in -lipc... " >&6; }
25309 if ${ac_cv_lib_ipc_shmat+:} false; then :
25310 $as_echo_n "(cached) " >&6
25311 else
25312 ac_check_lib_save_LIBS=$LIBS
25313 LIBS="-lipc $LIBS"
25314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25315 /* end confdefs.h. */
25316
25317 /* Override any GCC internal prototype to avoid an error.
25318 Use char because int might match the return type of a GCC
25319 builtin and then its argument prototype would still apply. */
25320 #ifdef __cplusplus
25321 extern "C"
25322 #endif
25323 char shmat ();
25324 int
25325 main ()
25326 {
25327 return shmat ();
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 if ac_fn_c_try_link "$LINENO"; then :
25333 ac_cv_lib_ipc_shmat=yes
25334 else
25335 ac_cv_lib_ipc_shmat=no
25336 fi
25337 rm -f core conftest.err conftest.$ac_objext \
25338 conftest$ac_exeext conftest.$ac_ext
25339 LIBS=$ac_check_lib_save_LIBS
25340 fi
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25342 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25343 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25344 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25345 fi
25346
25347 fi
25348 fi
25349
25350 # Check for libraries that X11R6 Xt/Xaw programs need.
25351 ac_save_LDFLAGS=$LDFLAGS
25352 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25353 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25354 # check for ICE first), but we must link in the order -lSM -lICE or
25355 # we get undefined symbols. So assume we have SM if we have ICE.
25356 # These have to be linked with before -lX11, unlike the other
25357 # libraries we check for below, so use a different variable.
25358 # John Interrante, Karl Berry
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25360 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25361 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25362 $as_echo_n "(cached) " >&6
25363 else
25364 ac_check_lib_save_LIBS=$LIBS
25365 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25367 /* end confdefs.h. */
25368
25369 /* Override any GCC internal prototype to avoid an error.
25370 Use char because int might match the return type of a GCC
25371 builtin and then its argument prototype would still apply. */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 char IceConnectionNumber ();
25376 int
25377 main ()
25378 {
25379 return IceConnectionNumber ();
25380 ;
25381 return 0;
25382 }
25383 _ACEOF
25384 if ac_fn_c_try_link "$LINENO"; then :
25385 ac_cv_lib_ICE_IceConnectionNumber=yes
25386 else
25387 ac_cv_lib_ICE_IceConnectionNumber=no
25388 fi
25389 rm -f core conftest.err conftest.$ac_objext \
25390 conftest$ac_exeext conftest.$ac_ext
25391 LIBS=$ac_check_lib_save_LIBS
25392 fi
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25394 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25395 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25396 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25397 fi
25398
25399 LDFLAGS=$ac_save_LDFLAGS
25400
25401 fi
25402
25403
25404 if test "$no_x" = "yes"; then
25405 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25406 fi
25407
25408 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25409 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25410 AFMINSTALL=afminstall
25411 COMPILED_X_PROGRAM=0
25412
25413 fi
25414
25415 if test "$wxUSE_X11" = 1; then
25416 if test "$wxUSE_NANOX" = "yes"; then
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25418 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25419 if test "x$MICROWIN" = x ; then
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25421 $as_echo "not found" >&6; }
25422 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25423 else
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25425 $as_echo "$MICROWIN" >&6; }
25426 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25427
25428 fi
25429 fi
25430
25431 if test "$wxUSE_UNICODE" = "yes"; then
25432
25433
25434 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25435 if test -n "$ac_tool_prefix"; then
25436 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25437 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25439 $as_echo_n "checking for $ac_word... " >&6; }
25440 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25441 $as_echo_n "(cached) " >&6
25442 else
25443 case $PKG_CONFIG in
25444 [\\/]* | ?:[\\/]*)
25445 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25446 ;;
25447 *)
25448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25449 for as_dir in $PATH
25450 do
25451 IFS=$as_save_IFS
25452 test -z "$as_dir" && as_dir=.
25453 for ac_exec_ext in '' $ac_executable_extensions; do
25454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25455 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25457 break 2
25458 fi
25459 done
25460 done
25461 IFS=$as_save_IFS
25462
25463 ;;
25464 esac
25465 fi
25466 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25467 if test -n "$PKG_CONFIG"; then
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25469 $as_echo "$PKG_CONFIG" >&6; }
25470 else
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25472 $as_echo "no" >&6; }
25473 fi
25474
25475
25476 fi
25477 if test -z "$ac_cv_path_PKG_CONFIG"; then
25478 ac_pt_PKG_CONFIG=$PKG_CONFIG
25479 # Extract the first word of "pkg-config", so it can be a program name with args.
25480 set dummy pkg-config; ac_word=$2
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25482 $as_echo_n "checking for $ac_word... " >&6; }
25483 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25484 $as_echo_n "(cached) " >&6
25485 else
25486 case $ac_pt_PKG_CONFIG in
25487 [\\/]* | ?:[\\/]*)
25488 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25489 ;;
25490 *)
25491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25492 for as_dir in $PATH
25493 do
25494 IFS=$as_save_IFS
25495 test -z "$as_dir" && as_dir=.
25496 for ac_exec_ext in '' $ac_executable_extensions; do
25497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25498 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25500 break 2
25501 fi
25502 done
25503 done
25504 IFS=$as_save_IFS
25505
25506 ;;
25507 esac
25508 fi
25509 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25510 if test -n "$ac_pt_PKG_CONFIG"; then
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25512 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25513 else
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25515 $as_echo "no" >&6; }
25516 fi
25517
25518 if test "x$ac_pt_PKG_CONFIG" = x; then
25519 PKG_CONFIG=""
25520 else
25521 case $cross_compiling:$ac_tool_warned in
25522 yes:)
25523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25525 ac_tool_warned=yes ;;
25526 esac
25527 PKG_CONFIG=$ac_pt_PKG_CONFIG
25528 fi
25529 else
25530 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25531 fi
25532
25533 fi
25534 if test -n "$PKG_CONFIG"; then
25535 _pkg_min_version=0.9.0
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25537 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25538 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25540 $as_echo "yes" >&6; }
25541 else
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25543 $as_echo "no" >&6; }
25544 PKG_CONFIG=""
25545 fi
25546
25547 fi
25548
25549
25550 pkg_failed=no
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25552 $as_echo_n "checking for PANGOX... " >&6; }
25553
25554 if test -n "$PKG_CONFIG"; then
25555 if test -n "$PANGOX_CFLAGS"; then
25556 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25557 else
25558 if test -n "$PKG_CONFIG" && \
25559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25560 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25561 ac_status=$?
25562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25563 test $ac_status = 0; }; then
25564 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25565 else
25566 pkg_failed=yes
25567 fi
25568 fi
25569 else
25570 pkg_failed=untried
25571 fi
25572 if test -n "$PKG_CONFIG"; then
25573 if test -n "$PANGOX_LIBS"; then
25574 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25575 else
25576 if test -n "$PKG_CONFIG" && \
25577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25578 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25579 ac_status=$?
25580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25581 test $ac_status = 0; }; then
25582 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25583 else
25584 pkg_failed=yes
25585 fi
25586 fi
25587 else
25588 pkg_failed=untried
25589 fi
25590
25591
25592
25593 if test $pkg_failed = yes; then
25594
25595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25596 _pkg_short_errors_supported=yes
25597 else
25598 _pkg_short_errors_supported=no
25599 fi
25600 if test $_pkg_short_errors_supported = yes; then
25601 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25602 else
25603 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25604 fi
25605 # Put the nasty error message in config.log where it belongs
25606 echo "$PANGOX_PKG_ERRORS" >&5
25607
25608
25609 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25610
25611
25612 elif test $pkg_failed = untried; then
25613
25614 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25615
25616
25617 else
25618 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25619 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25621 $as_echo "yes" >&6; }
25622
25623 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25624 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25625 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25626
25627 fi
25628
25629 pkg_failed=no
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25631 $as_echo_n "checking for PANGOFT2... " >&6; }
25632
25633 if test -n "$PKG_CONFIG"; then
25634 if test -n "$PANGOFT2_CFLAGS"; then
25635 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25636 else
25637 if test -n "$PKG_CONFIG" && \
25638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25639 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25640 ac_status=$?
25641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25642 test $ac_status = 0; }; then
25643 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25644 else
25645 pkg_failed=yes
25646 fi
25647 fi
25648 else
25649 pkg_failed=untried
25650 fi
25651 if test -n "$PKG_CONFIG"; then
25652 if test -n "$PANGOFT2_LIBS"; then
25653 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25654 else
25655 if test -n "$PKG_CONFIG" && \
25656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25657 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25658 ac_status=$?
25659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25660 test $ac_status = 0; }; then
25661 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25662 else
25663 pkg_failed=yes
25664 fi
25665 fi
25666 else
25667 pkg_failed=untried
25668 fi
25669
25670
25671
25672 if test $pkg_failed = yes; then
25673
25674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25675 _pkg_short_errors_supported=yes
25676 else
25677 _pkg_short_errors_supported=no
25678 fi
25679 if test $_pkg_short_errors_supported = yes; then
25680 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25681 else
25682 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25683 fi
25684 # Put the nasty error message in config.log where it belongs
25685 echo "$PANGOFT2_PKG_ERRORS" >&5
25686
25687
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25689 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25690 wxUSE_PRINTING_ARCHITECTURE="no"
25691
25692
25693 elif test $pkg_failed = untried; then
25694
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25696 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25697 wxUSE_PRINTING_ARCHITECTURE="no"
25698
25699
25700 else
25701 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25702 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25704 $as_echo "yes" >&6; }
25705
25706 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25707 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25709
25710 fi
25711
25712 pkg_failed=no
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25714 $as_echo_n "checking for PANGOXFT... " >&6; }
25715
25716 if test -n "$PKG_CONFIG"; then
25717 if test -n "$PANGOXFT_CFLAGS"; then
25718 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25719 else
25720 if test -n "$PKG_CONFIG" && \
25721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25722 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25723 ac_status=$?
25724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25725 test $ac_status = 0; }; then
25726 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25727 else
25728 pkg_failed=yes
25729 fi
25730 fi
25731 else
25732 pkg_failed=untried
25733 fi
25734 if test -n "$PKG_CONFIG"; then
25735 if test -n "$PANGOXFT_LIBS"; then
25736 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25737 else
25738 if test -n "$PKG_CONFIG" && \
25739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25740 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25741 ac_status=$?
25742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25743 test $ac_status = 0; }; then
25744 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25745 else
25746 pkg_failed=yes
25747 fi
25748 fi
25749 else
25750 pkg_failed=untried
25751 fi
25752
25753
25754
25755 if test $pkg_failed = yes; then
25756
25757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25758 _pkg_short_errors_supported=yes
25759 else
25760 _pkg_short_errors_supported=no
25761 fi
25762 if test $_pkg_short_errors_supported = yes; then
25763 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25764 else
25765 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25766 fi
25767 # Put the nasty error message in config.log where it belongs
25768 echo "$PANGOXFT_PKG_ERRORS" >&5
25769
25770
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25772 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25773
25774
25775 elif test $pkg_failed = untried; then
25776
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25778 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25779
25780
25781 else
25782 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25783 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25785 $as_echo "yes" >&6; }
25786
25787 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25788
25789 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25790 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25791 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25792
25793 fi
25794 save_LIBS="$LIBS"
25795 LIBS="$LIBS $PANGOX_LIBS"
25796 for ac_func in pango_font_family_is_monospace
25797 do :
25798 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25799 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25800 cat >>confdefs.h <<_ACEOF
25801 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25802 _ACEOF
25803
25804 fi
25805 done
25806
25807 LIBS="$save_LIBS"
25808 fi
25809
25810 wxUSE_UNIVERSAL="yes"
25811
25812 if test "$wxUSE_NANOX" = "yes"; then
25813 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25814 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"
25815 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25816 else
25817 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25818 fi
25819
25820 TOOLKIT=X11
25821 GUIDIST=X11_DIST
25822 fi
25823
25824 if test "$wxUSE_MOTIF" = 1; then
25825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25826 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25827
25828 ac_find_includes=
25829 for ac_dir in $SEARCH_INCLUDE /usr/include
25830 do
25831 if test -f "$ac_dir/Xm/Xm.h"; then
25832 ac_find_includes=$ac_dir
25833 break
25834 fi
25835 done
25836
25837 if test "$ac_find_includes" != "" ; then
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25839 $as_echo "found in $ac_find_includes" >&6; }
25840
25841 if test "x$ac_find_includes" = "x/usr/include"; then
25842 ac_path_to_include=""
25843 else
25844 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25845 result=$?
25846 if test $result = 0; then
25847 ac_path_to_include=""
25848 else
25849 ac_path_to_include=" -I$ac_find_includes"
25850 fi
25851 fi
25852
25853 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25854 else
25855 save_CFLAGS=$CFLAGS
25856 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25857
25858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25859 /* end confdefs.h. */
25860
25861 #include <Xm/Xm.h>
25862
25863 int
25864 main ()
25865 {
25866
25867 int version;
25868 version = xmUseVersion;
25869
25870 ;
25871 return 0;
25872 }
25873 _ACEOF
25874 if ac_fn_c_try_compile "$LINENO"; then :
25875
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25877 $as_echo "found in default search path" >&6; }
25878 COMPILED_X_PROGRAM=1
25879
25880 else
25881
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25883 $as_echo "no" >&6; }
25884 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25885
25886
25887 fi
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889
25890 CFLAGS=$save_CFLAGS
25891 fi
25892
25893
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25895 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25896
25897 ac_find_libraries=
25898 for ac_dir in $SEARCH_LIB
25899 do
25900 for ac_extension in a so sl dylib dll.a; do
25901 if test -f "$ac_dir/libXm.$ac_extension"; then
25902 ac_find_libraries=$ac_dir
25903 break 2
25904 fi
25905 done
25906 done
25907
25908
25909 if test "x$ac_find_libraries" != "x" ; then
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25911 $as_echo "found in $ac_find_libraries" >&6; }
25912
25913
25914 if test "$ac_find_libraries" = "default location"; then
25915 ac_path_to_link=""
25916 else
25917 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25918 result=$?
25919 if test $result = 0; then
25920 ac_path_to_link=""
25921 else
25922 ac_path_to_link=" -L$ac_find_libraries"
25923 fi
25924 fi
25925
25926 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25927 else
25928 save_CFLAGS=$CFLAGS
25929 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25930 save_LIBS="$LIBS"
25931 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25932
25933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25934 /* end confdefs.h. */
25935
25936 #include <Xm/Xm.h>
25937
25938 int
25939 main ()
25940 {
25941
25942 int version;
25943 version = xmUseVersion;
25944
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_c_try_link "$LINENO"; then :
25950
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25952 $as_echo "found in default search path" >&6; }
25953 COMPILED_X_PROGRAM=1
25954
25955 else
25956
25957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25958 $as_echo "no" >&6; }
25959 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25960
25961
25962 fi
25963 rm -f core conftest.err conftest.$ac_objext \
25964 conftest$ac_exeext conftest.$ac_ext
25965
25966 CFLAGS=$save_CFLAGS
25967 LIBS="$save_LIBS"
25968 fi
25969
25970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25971 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25972 libp_link=""
25973 libsm_ice_link=""
25974 libs_found=0
25975 for libp in "" " -lXp"; do
25976 if test "$libs_found" = 0; then
25977 for libsm_ice in "" " -lSM -lICE"; do
25978 if test "$libs_found" = 0; then
25979 save_LIBS="$LIBS"
25980 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25981 save_CFLAGS=$CFLAGS
25982 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25983
25984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25985 /* end confdefs.h. */
25986
25987 #include <Xm/Xm.h>
25988 #include <Xm/List.h>
25989
25990 int
25991 main ()
25992 {
25993
25994 XmString string = NULL;
25995 Widget w = NULL;
25996 int position = 0;
25997 XmListAddItem(w, string, position);
25998
25999 ;
26000 return 0;
26001 }
26002 _ACEOF
26003 if ac_fn_c_try_link "$LINENO"; then :
26004
26005 libp_link="$libp"
26006 libsm_ice_link="$libsm_ice"
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26008 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26009 libs_found=1
26010
26011 fi
26012 rm -f core conftest.err conftest.$ac_objext \
26013 conftest$ac_exeext conftest.$ac_ext
26014
26015 LIBS="$save_LIBS"
26016 CFLAGS=$save_CFLAGS
26017 fi
26018 done
26019 fi
26020 done
26021
26022 if test "$libs_found" = 0; then
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26024 $as_echo "can't find the right libraries" >&6; }
26025 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26026 fi
26027
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26029 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26030 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26031 $as_echo_n "(cached) " >&6
26032 else
26033 ac_check_lib_save_LIBS=$LIBS
26034 LIBS="-lSgm $LIBS"
26035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h. */
26037
26038 /* Override any GCC internal prototype to avoid an error.
26039 Use char because int might match the return type of a GCC
26040 builtin and then its argument prototype would still apply. */
26041 #ifdef __cplusplus
26042 extern "C"
26043 #endif
26044 char SgCreateList ();
26045 int
26046 main ()
26047 {
26048 return SgCreateList ();
26049 ;
26050 return 0;
26051 }
26052 _ACEOF
26053 if ac_fn_c_try_link "$LINENO"; then :
26054 ac_cv_lib_Sgm_SgCreateList=yes
26055 else
26056 ac_cv_lib_Sgm_SgCreateList=no
26057 fi
26058 rm -f core conftest.err conftest.$ac_objext \
26059 conftest$ac_exeext conftest.$ac_ext
26060 LIBS=$ac_check_lib_save_LIBS
26061 fi
26062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26063 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26064 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26065 libsgm_link=" -lSgm"
26066 fi
26067
26068
26069 save_CFLAGS=$CFLAGS
26070 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26071
26072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26073 $as_echo_n "checking for Motif 2... " >&6; }
26074 if ${wx_cv_lib_motif2+:} false; then :
26075 $as_echo_n "(cached) " >&6
26076 else
26077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26078 /* end confdefs.h. */
26079
26080 #include <Xm/Xm.h>
26081
26082 int
26083 main ()
26084 {
26085
26086 #if XmVersion < 2000
26087 Not Motif 2
26088 #endif
26089
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 if ac_fn_c_try_compile "$LINENO"; then :
26095 wx_cv_lib_motif2="yes"
26096 else
26097 wx_cv_lib_motif2="no"
26098 fi
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26100 fi
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26102 $as_echo "$wx_cv_lib_motif2" >&6; }
26103 if test "$wx_cv_lib_motif2" = "yes"; then
26104 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26105
26106 else
26107 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26108
26109 fi
26110
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26112 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26113 if ${wx_cv_lib_lesstif+:} false; then :
26114 $as_echo_n "(cached) " >&6
26115 else
26116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26117 /* end confdefs.h. */
26118
26119 #include <Xm/Xm.h>
26120
26121 int
26122 main ()
26123 {
26124
26125 #if !defined(LesstifVersion) || LesstifVersion <= 0
26126 Not Lesstif
26127 #endif
26128
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 if ac_fn_c_try_compile "$LINENO"; then :
26134 wx_cv_lib_lesstif="yes"
26135 else
26136 wx_cv_lib_lesstif="no"
26137 fi
26138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26139
26140 fi
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26142 $as_echo "$wx_cv_lib_lesstif" >&6; }
26143 if test "$wx_cv_lib_lesstif" = "yes"; then
26144 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26145
26146 else
26147 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26148
26149 fi
26150
26151 CFLAGS=$save_CFLAGS
26152
26153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26154 TOOLKIT=MOTIF
26155 GUIDIST=MOTIF_DIST
26156 fi
26157
26158 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26159 if test "$wxUSE_LIBXPM" = "sys"; then
26160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26161 $as_echo_n "checking for Xpm library... " >&6; }
26162
26163 ac_find_libraries=
26164 for ac_dir in $SEARCH_LIB
26165 do
26166 for ac_extension in a so sl dylib dll.a; do
26167 if test -f "$ac_dir/libXpm.$ac_extension"; then
26168 ac_find_libraries=$ac_dir
26169 break 2
26170 fi
26171 done
26172 done
26173
26174 if test "$ac_find_libraries" != "" ; then
26175
26176 if test "$ac_find_libraries" = "default location"; then
26177 ac_path_to_link=""
26178 else
26179 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26180 result=$?
26181 if test $result = 0; then
26182 ac_path_to_link=""
26183 else
26184 ac_path_to_link=" -L$ac_find_libraries"
26185 fi
26186 fi
26187
26188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26190 $as_echo "found in $ac_find_libraries" >&6; }
26191
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26193 $as_echo_n "checking for X11/xpm.h... " >&6; }
26194 if ${wx_cv_x11_xpm_h+:} false; then :
26195 $as_echo_n "(cached) " >&6
26196 else
26197
26198 save_CFLAGS=$CFLAGS
26199 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26200
26201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202 /* end confdefs.h. */
26203
26204 #include <X11/xpm.h>
26205
26206 int
26207 main ()
26208 {
26209
26210 int version;
26211 version = XpmLibraryVersion();
26212
26213 ;
26214 return 0;
26215 }
26216 _ACEOF
26217 if ac_fn_c_try_compile "$LINENO"; then :
26218 wx_cv_x11_xpm_h=yes
26219 else
26220 wx_cv_x11_xpm_h=no
26221
26222 fi
26223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26224
26225 CFLAGS=$save_CFLAGS
26226
26227
26228 fi
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26230 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26231
26232 if test $wx_cv_x11_xpm_h = "yes"; then
26233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26234 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26235
26236 else
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26238 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26239 fi
26240 fi
26241
26242 fi
26243
26244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26245 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26246 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26247 $as_echo_n "(cached) " >&6
26248 else
26249 ac_check_lib_save_LIBS=$LIBS
26250 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26253
26254 /* Override any GCC internal prototype to avoid an error.
26255 Use char because int might match the return type of a GCC
26256 builtin and then its argument prototype would still apply. */
26257 #ifdef __cplusplus
26258 extern "C"
26259 #endif
26260 char XShapeQueryExtension ();
26261 int
26262 main ()
26263 {
26264 return XShapeQueryExtension ();
26265 ;
26266 return 0;
26267 }
26268 _ACEOF
26269 if ac_fn_c_try_link "$LINENO"; then :
26270 ac_cv_lib_Xext_XShapeQueryExtension=yes
26271 else
26272 ac_cv_lib_Xext_XShapeQueryExtension=no
26273 fi
26274 rm -f core conftest.err conftest.$ac_objext \
26275 conftest$ac_exeext conftest.$ac_ext
26276 LIBS=$ac_check_lib_save_LIBS
26277 fi
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26279 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26280 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26281
26282 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26283 wxHAVE_XEXT_LIB=1
26284
26285 fi
26286
26287
26288 if test "$wxHAVE_XEXT_LIB" = 1; then
26289 save_CFLAGS="$CFLAGS"
26290 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26291
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26293 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26295 /* end confdefs.h. */
26296
26297 #include <X11/Xlib.h>
26298 #include <X11/extensions/shape.h>
26299
26300 int
26301 main ()
26302 {
26303
26304 int dummy1, dummy2;
26305 XShapeQueryExtension((Display*)NULL,
26306 (int*)NULL, (int*)NULL);
26307
26308 ;
26309 return 0;
26310 }
26311 _ACEOF
26312 if ac_fn_c_try_compile "$LINENO"; then :
26313
26314 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26315
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26317 $as_echo "found" >&6; }
26318
26319 else
26320
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26322 $as_echo "not found" >&6; }
26323
26324 fi
26325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26326 CFLAGS="$save_CFLAGS"
26327
26328 fi
26329 fi
26330
26331 if test "$wxUSE_OSX_CARBON" = 1; then
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26333 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26334 if test "$GCC" = yes; then
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26336 $as_echo "gcc" >&6; }
26337 CPPFLAGS_PASCAL="-fpascal-strings"
26338 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26340 $as_echo "xlc" >&6; }
26341 CPPFLAGS_PASCAL="-qmacpstr"
26342 else
26343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26344 $as_echo "none" >&6; }
26345 fi
26346
26347 if test "x$wxUSE_UNIX" = "xyes"; then
26348 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26349 else
26350 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26351 fi
26352
26353 TOOLKIT=OSX_CARBON
26354 GUIDIST=OSX_CARBON_DIST
26355 WXBASEPORT="_carbon"
26356
26357 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26358 fi
26359
26360 if test "$wxUSE_OSX_COCOA" = 1; then
26361 TOOLKIT=OSX_COCOA
26362 GUIDIST=OSX_COCOA_DIST
26363
26364 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26365 fi
26366
26367 if test "$wxUSE_OSX_IPHONE" = 1; then
26368 TOOLKIT=OSX_IPHONE
26369 fi
26370
26371 if test "$wxUSE_OLD_COCOA" = 1; then
26372 TOOLKIT=COCOA
26373 GUIDIST=COCOA_DIST
26374 fi
26375
26376 if test "$wxUSE_PM" = 1; then
26377 TOOLKIT=PM
26378 GUIDIST=PM_DIST
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26380 $as_echo_n "checking for type SPBCDATA... " >&6; }
26381 if ${wx_cv_spbcdata+:} false; then :
26382 $as_echo_n "(cached) " >&6
26383 else
26384
26385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h. */
26387
26388 #define INCL_PM
26389 #include <os2.h>
26390
26391 int
26392 main ()
26393 {
26394
26395 SPBCDATA test;
26396
26397 ;
26398 return 0;
26399 }
26400 _ACEOF
26401 if ac_fn_c_try_compile "$LINENO"; then :
26402 wx_cv_spbcdata=yes
26403 else
26404 wx_cv_spbcdata=no
26405
26406 fi
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408
26409
26410 fi
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26412 $as_echo "$wx_cv_spbcdata" >&6; }
26413
26414 if test $wx_cv_spbcdata = "yes"; then
26415 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26416
26417 fi
26418 fi
26419
26420 if test "$TOOLKIT" = "PM" ; then
26421 TOOLKIT_DIR="os2"
26422 else
26423 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26424 fi
26425
26426 if test "$wxUSE_UNIVERSAL" = "yes"; then
26427 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26428 WIDGET_SET=univ
26429 fi
26430
26431 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26432 DISTDIR="wx\$(TOOLKIT)"
26433 else
26434 USE_GUI=0
26435
26436 TOOLKIT_DIR="base"
26437
26438 if test "$USE_WIN32" = 1 ; then
26439 TOOLKIT="MSW"
26440 fi
26441
26442 GUIDIST="BASE_DIST"
26443 DISTDIR="wxBase"
26444 fi
26445
26446
26447
26448 if test "$wxUSE_GUI" = "yes"; then
26449 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26450 for ac_header in X11/Xlib.h
26451 do :
26452 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26453 "
26454 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26455 cat >>confdefs.h <<_ACEOF
26456 #define HAVE_X11_XLIB_H 1
26457 _ACEOF
26458
26459 fi
26460
26461 done
26462
26463 for ac_header in X11/XKBlib.h
26464 do :
26465 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26466 #if HAVE_X11_XLIB_H
26467 #include <X11/Xlib.h>
26468 #endif
26469
26470 "
26471 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26472 cat >>confdefs.h <<_ACEOF
26473 #define HAVE_X11_XKBLIB_H 1
26474 _ACEOF
26475
26476 fi
26477
26478 done
26479
26480 fi
26481 fi
26482
26483
26484
26485 USE_XINERAMA=0
26486 if test "$wxUSE_DISPLAY" = "yes"; then
26487 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26488
26489 ac_find_libraries=
26490
26491 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26492
26493
26494 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26495 if test -n "$ac_tool_prefix"; then
26496 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26497 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26499 $as_echo_n "checking for $ac_word... " >&6; }
26500 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26501 $as_echo_n "(cached) " >&6
26502 else
26503 case $PKG_CONFIG in
26504 [\\/]* | ?:[\\/]*)
26505 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26506 ;;
26507 *)
26508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26509 for as_dir in $PATH
26510 do
26511 IFS=$as_save_IFS
26512 test -z "$as_dir" && as_dir=.
26513 for ac_exec_ext in '' $ac_executable_extensions; do
26514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26515 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26517 break 2
26518 fi
26519 done
26520 done
26521 IFS=$as_save_IFS
26522
26523 ;;
26524 esac
26525 fi
26526 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26527 if test -n "$PKG_CONFIG"; then
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26529 $as_echo "$PKG_CONFIG" >&6; }
26530 else
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26532 $as_echo "no" >&6; }
26533 fi
26534
26535
26536 fi
26537 if test -z "$ac_cv_path_PKG_CONFIG"; then
26538 ac_pt_PKG_CONFIG=$PKG_CONFIG
26539 # Extract the first word of "pkg-config", so it can be a program name with args.
26540 set dummy pkg-config; ac_word=$2
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26542 $as_echo_n "checking for $ac_word... " >&6; }
26543 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26544 $as_echo_n "(cached) " >&6
26545 else
26546 case $ac_pt_PKG_CONFIG in
26547 [\\/]* | ?:[\\/]*)
26548 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26549 ;;
26550 *)
26551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26552 for as_dir in $PATH
26553 do
26554 IFS=$as_save_IFS
26555 test -z "$as_dir" && as_dir=.
26556 for ac_exec_ext in '' $ac_executable_extensions; do
26557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26558 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26560 break 2
26561 fi
26562 done
26563 done
26564 IFS=$as_save_IFS
26565
26566 ;;
26567 esac
26568 fi
26569 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26570 if test -n "$ac_pt_PKG_CONFIG"; then
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26572 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26573 else
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26575 $as_echo "no" >&6; }
26576 fi
26577
26578 if test "x$ac_pt_PKG_CONFIG" = x; then
26579 PKG_CONFIG=""
26580 else
26581 case $cross_compiling:$ac_tool_warned in
26582 yes:)
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26585 ac_tool_warned=yes ;;
26586 esac
26587 PKG_CONFIG=$ac_pt_PKG_CONFIG
26588 fi
26589 else
26590 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26591 fi
26592
26593 fi
26594 if test -n "$PKG_CONFIG"; then
26595 _pkg_min_version=0.9.0
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26597 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26598 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26600 $as_echo "yes" >&6; }
26601 else
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26603 $as_echo "no" >&6; }
26604 PKG_CONFIG=""
26605 fi
26606
26607 fi 6> /dev/null
26608
26609 pkg_failed=no
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26611 $as_echo_n "checking for Xinerama... " >&6; }
26612
26613 if test -n "$PKG_CONFIG"; then
26614 if test -n "$Xinerama_CFLAGS"; then
26615 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26616 else
26617 if test -n "$PKG_CONFIG" && \
26618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26619 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26620 ac_status=$?
26621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26622 test $ac_status = 0; }; then
26623 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26624 else
26625 pkg_failed=yes
26626 fi
26627 fi
26628 else
26629 pkg_failed=untried
26630 fi
26631 if test -n "$PKG_CONFIG"; then
26632 if test -n "$Xinerama_LIBS"; then
26633 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26634 else
26635 if test -n "$PKG_CONFIG" && \
26636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26637 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26638 ac_status=$?
26639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26640 test $ac_status = 0; }; then
26641 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26642 else
26643 pkg_failed=yes
26644 fi
26645 fi
26646 else
26647 pkg_failed=untried
26648 fi
26649
26650
26651
26652 if test $pkg_failed = yes; then
26653
26654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26655 _pkg_short_errors_supported=yes
26656 else
26657 _pkg_short_errors_supported=no
26658 fi
26659 if test $_pkg_short_errors_supported = yes; then
26660 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26661 else
26662 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26663 fi
26664 # Put the nasty error message in config.log where it belongs
26665 echo "$Xinerama_PKG_ERRORS" >&5
26666
26667
26668 if test "x$ac_find_libraries" = "x"; then
26669 if test "xXineramaQueryScreens" != "x"; then
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26671 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26672 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26673 $as_echo_n "(cached) " >&6
26674 else
26675 ac_check_lib_save_LIBS=$LIBS
26676 LIBS="-lXinerama $LIBS"
26677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26678 /* end confdefs.h. */
26679
26680 /* Override any GCC internal prototype to avoid an error.
26681 Use char because int might match the return type of a GCC
26682 builtin and then its argument prototype would still apply. */
26683 #ifdef __cplusplus
26684 extern "C"
26685 #endif
26686 char XineramaQueryScreens ();
26687 int
26688 main ()
26689 {
26690 return XineramaQueryScreens ();
26691 ;
26692 return 0;
26693 }
26694 _ACEOF
26695 if ac_fn_c_try_link "$LINENO"; then :
26696 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26697 else
26698 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26699 fi
26700 rm -f core conftest.err conftest.$ac_objext \
26701 conftest$ac_exeext conftest.$ac_ext
26702 LIBS=$ac_check_lib_save_LIBS
26703 fi
26704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26705 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26706 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26707 ac_find_libraries="std"
26708 fi
26709
26710 fi
26711 fi
26712
26713 if test "x$ac_find_libraries" = "x"; then
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26715 $as_echo_n "checking elsewhere... " >&6; }
26716
26717 ac_find_libraries=
26718 for ac_dir in $SEARCH_LIB
26719 do
26720 for ac_extension in a so sl dylib dll.a; do
26721 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26722 ac_find_libraries=$ac_dir
26723 break 2
26724 fi
26725 done
26726 done
26727
26728 if test "x$ac_find_libraries" != "x"; then
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26730 $as_echo "yes" >&6; }
26731 else
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26733 $as_echo "no" >&6; }
26734 fi
26735 fi
26736
26737 elif test $pkg_failed = untried; then
26738
26739 if test "x$ac_find_libraries" = "x"; then
26740 if test "xXineramaQueryScreens" != "x"; then
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26742 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26743 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26744 $as_echo_n "(cached) " >&6
26745 else
26746 ac_check_lib_save_LIBS=$LIBS
26747 LIBS="-lXinerama $LIBS"
26748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26749 /* end confdefs.h. */
26750
26751 /* Override any GCC internal prototype to avoid an error.
26752 Use char because int might match the return type of a GCC
26753 builtin and then its argument prototype would still apply. */
26754 #ifdef __cplusplus
26755 extern "C"
26756 #endif
26757 char XineramaQueryScreens ();
26758 int
26759 main ()
26760 {
26761 return XineramaQueryScreens ();
26762 ;
26763 return 0;
26764 }
26765 _ACEOF
26766 if ac_fn_c_try_link "$LINENO"; then :
26767 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26768 else
26769 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26770 fi
26771 rm -f core conftest.err conftest.$ac_objext \
26772 conftest$ac_exeext conftest.$ac_ext
26773 LIBS=$ac_check_lib_save_LIBS
26774 fi
26775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26776 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26777 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26778 ac_find_libraries="std"
26779 fi
26780
26781 fi
26782 fi
26783
26784 if test "x$ac_find_libraries" = "x"; then
26785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26786 $as_echo_n "checking elsewhere... " >&6; }
26787
26788 ac_find_libraries=
26789 for ac_dir in $SEARCH_LIB
26790 do
26791 for ac_extension in a so sl dylib dll.a; do
26792 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26793 ac_find_libraries=$ac_dir
26794 break 2
26795 fi
26796 done
26797 done
26798
26799 if test "x$ac_find_libraries" != "x"; then
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26801 $as_echo "yes" >&6; }
26802 else
26803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26804 $as_echo "no" >&6; }
26805 fi
26806 fi
26807
26808 else
26809 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26810 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26812 $as_echo "yes" >&6; }
26813
26814 ac_find_libraries="std"
26815
26816 eval ac_find_cflags=\$Xinerama_CFLAGS
26817 eval fl_libs=\$Xinerama_LIBS
26818
26819 for fl_path in $fl_libs
26820 do
26821 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26822 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26823 fi
26824 done
26825
26826 fi
26827
26828 if test "$ac_find_libraries" != "" ; then
26829 if test "$ac_find_libraries" != "std" ; then
26830
26831 if test "$ac_find_libraries" = "default location"; then
26832 ac_path_to_link=""
26833 else
26834 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26835 result=$?
26836 if test $result = 0; then
26837 ac_path_to_link=""
26838 else
26839 ac_path_to_link=" -L$ac_find_libraries"
26840 fi
26841 fi
26842
26843 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26844 LDFLAGS="$LDFLAGS $ac_path_to_link"
26845 fi
26846 fi
26847 USE_XINERAMA=1
26848 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26849 else
26850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26851 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26852 wxUSE_DISPLAY="no"
26853 fi
26854 elif test "$wxUSE_MSW" = 1; then
26855 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26856 "
26857 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26858
26859 fi
26860
26861
26862 fi
26863 fi
26864
26865 if test "$wxUSE_DISPLAY" = "yes"; then
26866 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26867
26868 ac_find_libraries=
26869
26870 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26871
26872
26873 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26874 if test -n "$ac_tool_prefix"; then
26875 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26876 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26878 $as_echo_n "checking for $ac_word... " >&6; }
26879 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26880 $as_echo_n "(cached) " >&6
26881 else
26882 case $PKG_CONFIG in
26883 [\\/]* | ?:[\\/]*)
26884 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26885 ;;
26886 *)
26887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26888 for as_dir in $PATH
26889 do
26890 IFS=$as_save_IFS
26891 test -z "$as_dir" && as_dir=.
26892 for ac_exec_ext in '' $ac_executable_extensions; do
26893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26894 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26896 break 2
26897 fi
26898 done
26899 done
26900 IFS=$as_save_IFS
26901
26902 ;;
26903 esac
26904 fi
26905 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26906 if test -n "$PKG_CONFIG"; then
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26908 $as_echo "$PKG_CONFIG" >&6; }
26909 else
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26911 $as_echo "no" >&6; }
26912 fi
26913
26914
26915 fi
26916 if test -z "$ac_cv_path_PKG_CONFIG"; then
26917 ac_pt_PKG_CONFIG=$PKG_CONFIG
26918 # Extract the first word of "pkg-config", so it can be a program name with args.
26919 set dummy pkg-config; ac_word=$2
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26921 $as_echo_n "checking for $ac_word... " >&6; }
26922 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26923 $as_echo_n "(cached) " >&6
26924 else
26925 case $ac_pt_PKG_CONFIG in
26926 [\\/]* | ?:[\\/]*)
26927 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26928 ;;
26929 *)
26930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26931 for as_dir in $PATH
26932 do
26933 IFS=$as_save_IFS
26934 test -z "$as_dir" && as_dir=.
26935 for ac_exec_ext in '' $ac_executable_extensions; do
26936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26937 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26939 break 2
26940 fi
26941 done
26942 done
26943 IFS=$as_save_IFS
26944
26945 ;;
26946 esac
26947 fi
26948 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26949 if test -n "$ac_pt_PKG_CONFIG"; then
26950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26951 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26952 else
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26954 $as_echo "no" >&6; }
26955 fi
26956
26957 if test "x$ac_pt_PKG_CONFIG" = x; then
26958 PKG_CONFIG=""
26959 else
26960 case $cross_compiling:$ac_tool_warned in
26961 yes:)
26962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26964 ac_tool_warned=yes ;;
26965 esac
26966 PKG_CONFIG=$ac_pt_PKG_CONFIG
26967 fi
26968 else
26969 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26970 fi
26971
26972 fi
26973 if test -n "$PKG_CONFIG"; then
26974 _pkg_min_version=0.9.0
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26976 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26977 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26979 $as_echo "yes" >&6; }
26980 else
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26982 $as_echo "no" >&6; }
26983 PKG_CONFIG=""
26984 fi
26985
26986 fi 6> /dev/null
26987
26988 pkg_failed=no
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26990 $as_echo_n "checking for Xxf86vm... " >&6; }
26991
26992 if test -n "$PKG_CONFIG"; then
26993 if test -n "$Xxf86vm_CFLAGS"; then
26994 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26995 else
26996 if test -n "$PKG_CONFIG" && \
26997 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26998 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26999 ac_status=$?
27000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27001 test $ac_status = 0; }; then
27002 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27003 else
27004 pkg_failed=yes
27005 fi
27006 fi
27007 else
27008 pkg_failed=untried
27009 fi
27010 if test -n "$PKG_CONFIG"; then
27011 if test -n "$Xxf86vm_LIBS"; then
27012 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27013 else
27014 if test -n "$PKG_CONFIG" && \
27015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27016 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27017 ac_status=$?
27018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27019 test $ac_status = 0; }; then
27020 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27021 else
27022 pkg_failed=yes
27023 fi
27024 fi
27025 else
27026 pkg_failed=untried
27027 fi
27028
27029
27030
27031 if test $pkg_failed = yes; then
27032
27033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27034 _pkg_short_errors_supported=yes
27035 else
27036 _pkg_short_errors_supported=no
27037 fi
27038 if test $_pkg_short_errors_supported = yes; then
27039 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27040 else
27041 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27042 fi
27043 # Put the nasty error message in config.log where it belongs
27044 echo "$Xxf86vm_PKG_ERRORS" >&5
27045
27046
27047 if test "x$ac_find_libraries" = "x"; then
27048 if test "xXF86VidModeQueryExtension" != "x"; then
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27050 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27051 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27052 $as_echo_n "(cached) " >&6
27053 else
27054 ac_check_lib_save_LIBS=$LIBS
27055 LIBS="-lXxf86vm $LIBS"
27056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27057 /* end confdefs.h. */
27058
27059 /* Override any GCC internal prototype to avoid an error.
27060 Use char because int might match the return type of a GCC
27061 builtin and then its argument prototype would still apply. */
27062 #ifdef __cplusplus
27063 extern "C"
27064 #endif
27065 char XF86VidModeQueryExtension ();
27066 int
27067 main ()
27068 {
27069 return XF86VidModeQueryExtension ();
27070 ;
27071 return 0;
27072 }
27073 _ACEOF
27074 if ac_fn_c_try_link "$LINENO"; then :
27075 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27076 else
27077 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27078 fi
27079 rm -f core conftest.err conftest.$ac_objext \
27080 conftest$ac_exeext conftest.$ac_ext
27081 LIBS=$ac_check_lib_save_LIBS
27082 fi
27083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27084 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27085 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27086 ac_find_libraries="std"
27087 fi
27088
27089 fi
27090 fi
27091
27092 if test "x$ac_find_libraries" = "x"; then
27093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27094 $as_echo_n "checking elsewhere... " >&6; }
27095
27096 ac_find_libraries=
27097 for ac_dir in $SEARCH_LIB
27098 do
27099 for ac_extension in a so sl dylib dll.a; do
27100 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27101 ac_find_libraries=$ac_dir
27102 break 2
27103 fi
27104 done
27105 done
27106
27107 if test "x$ac_find_libraries" != "x"; then
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27109 $as_echo "yes" >&6; }
27110 else
27111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27112 $as_echo "no" >&6; }
27113 fi
27114 fi
27115
27116 elif test $pkg_failed = untried; then
27117
27118 if test "x$ac_find_libraries" = "x"; then
27119 if test "xXF86VidModeQueryExtension" != "x"; then
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27121 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27122 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27123 $as_echo_n "(cached) " >&6
27124 else
27125 ac_check_lib_save_LIBS=$LIBS
27126 LIBS="-lXxf86vm $LIBS"
27127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27128 /* end confdefs.h. */
27129
27130 /* Override any GCC internal prototype to avoid an error.
27131 Use char because int might match the return type of a GCC
27132 builtin and then its argument prototype would still apply. */
27133 #ifdef __cplusplus
27134 extern "C"
27135 #endif
27136 char XF86VidModeQueryExtension ();
27137 int
27138 main ()
27139 {
27140 return XF86VidModeQueryExtension ();
27141 ;
27142 return 0;
27143 }
27144 _ACEOF
27145 if ac_fn_c_try_link "$LINENO"; then :
27146 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27147 else
27148 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27149 fi
27150 rm -f core conftest.err conftest.$ac_objext \
27151 conftest$ac_exeext conftest.$ac_ext
27152 LIBS=$ac_check_lib_save_LIBS
27153 fi
27154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27155 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27156 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27157 ac_find_libraries="std"
27158 fi
27159
27160 fi
27161 fi
27162
27163 if test "x$ac_find_libraries" = "x"; then
27164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27165 $as_echo_n "checking elsewhere... " >&6; }
27166
27167 ac_find_libraries=
27168 for ac_dir in $SEARCH_LIB
27169 do
27170 for ac_extension in a so sl dylib dll.a; do
27171 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27172 ac_find_libraries=$ac_dir
27173 break 2
27174 fi
27175 done
27176 done
27177
27178 if test "x$ac_find_libraries" != "x"; then
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27180 $as_echo "yes" >&6; }
27181 else
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27183 $as_echo "no" >&6; }
27184 fi
27185 fi
27186
27187 else
27188 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27189 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27191 $as_echo "yes" >&6; }
27192
27193 ac_find_libraries="std"
27194
27195 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27196 eval fl_libs=\$Xxf86vm_LIBS
27197
27198 for fl_path in $fl_libs
27199 do
27200 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27201 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27202 fi
27203 done
27204
27205 fi
27206
27207 if test "$ac_find_libraries" != "" ; then
27208 for ac_header in X11/extensions/xf86vmode.h
27209 do :
27210 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27211 #if HAVE_X11_XLIB_H
27212 #include <X11/Xlib.h>
27213 #endif
27214
27215 "
27216 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27217 cat >>confdefs.h <<_ACEOF
27218 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27219 _ACEOF
27220
27221 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27222
27223 fi
27224
27225 done
27226
27227 fi
27228 fi
27229 fi
27230
27231 if test "$wxUSE_DETECT_SM" = "yes"; then
27232 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27233
27234 ac_find_libraries=
27235
27236 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27237
27238
27239 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27240 if test -n "$ac_tool_prefix"; then
27241 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27242 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27244 $as_echo_n "checking for $ac_word... " >&6; }
27245 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27246 $as_echo_n "(cached) " >&6
27247 else
27248 case $PKG_CONFIG in
27249 [\\/]* | ?:[\\/]*)
27250 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27251 ;;
27252 *)
27253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27254 for as_dir in $PATH
27255 do
27256 IFS=$as_save_IFS
27257 test -z "$as_dir" && as_dir=.
27258 for ac_exec_ext in '' $ac_executable_extensions; do
27259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27260 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27262 break 2
27263 fi
27264 done
27265 done
27266 IFS=$as_save_IFS
27267
27268 ;;
27269 esac
27270 fi
27271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27272 if test -n "$PKG_CONFIG"; then
27273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27274 $as_echo "$PKG_CONFIG" >&6; }
27275 else
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27277 $as_echo "no" >&6; }
27278 fi
27279
27280
27281 fi
27282 if test -z "$ac_cv_path_PKG_CONFIG"; then
27283 ac_pt_PKG_CONFIG=$PKG_CONFIG
27284 # Extract the first word of "pkg-config", so it can be a program name with args.
27285 set dummy pkg-config; ac_word=$2
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27287 $as_echo_n "checking for $ac_word... " >&6; }
27288 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27289 $as_echo_n "(cached) " >&6
27290 else
27291 case $ac_pt_PKG_CONFIG in
27292 [\\/]* | ?:[\\/]*)
27293 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27294 ;;
27295 *)
27296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27297 for as_dir in $PATH
27298 do
27299 IFS=$as_save_IFS
27300 test -z "$as_dir" && as_dir=.
27301 for ac_exec_ext in '' $ac_executable_extensions; do
27302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27303 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27305 break 2
27306 fi
27307 done
27308 done
27309 IFS=$as_save_IFS
27310
27311 ;;
27312 esac
27313 fi
27314 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27315 if test -n "$ac_pt_PKG_CONFIG"; then
27316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27317 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27318 else
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27320 $as_echo "no" >&6; }
27321 fi
27322
27323 if test "x$ac_pt_PKG_CONFIG" = x; then
27324 PKG_CONFIG=""
27325 else
27326 case $cross_compiling:$ac_tool_warned in
27327 yes:)
27328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27330 ac_tool_warned=yes ;;
27331 esac
27332 PKG_CONFIG=$ac_pt_PKG_CONFIG
27333 fi
27334 else
27335 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27336 fi
27337
27338 fi
27339 if test -n "$PKG_CONFIG"; then
27340 _pkg_min_version=0.9.0
27341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27342 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27343 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27345 $as_echo "yes" >&6; }
27346 else
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27348 $as_echo "no" >&6; }
27349 PKG_CONFIG=""
27350 fi
27351
27352 fi 6> /dev/null
27353
27354 pkg_failed=no
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27356 $as_echo_n "checking for SM... " >&6; }
27357
27358 if test -n "$PKG_CONFIG"; then
27359 if test -n "$SM_CFLAGS"; then
27360 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27361 else
27362 if test -n "$PKG_CONFIG" && \
27363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27364 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27365 ac_status=$?
27366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27367 test $ac_status = 0; }; then
27368 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27369 else
27370 pkg_failed=yes
27371 fi
27372 fi
27373 else
27374 pkg_failed=untried
27375 fi
27376 if test -n "$PKG_CONFIG"; then
27377 if test -n "$SM_LIBS"; then
27378 pkg_cv_SM_LIBS="$SM_LIBS"
27379 else
27380 if test -n "$PKG_CONFIG" && \
27381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27382 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27383 ac_status=$?
27384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27385 test $ac_status = 0; }; then
27386 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27387 else
27388 pkg_failed=yes
27389 fi
27390 fi
27391 else
27392 pkg_failed=untried
27393 fi
27394
27395
27396
27397 if test $pkg_failed = yes; then
27398
27399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27400 _pkg_short_errors_supported=yes
27401 else
27402 _pkg_short_errors_supported=no
27403 fi
27404 if test $_pkg_short_errors_supported = yes; then
27405 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27406 else
27407 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27408 fi
27409 # Put the nasty error message in config.log where it belongs
27410 echo "$SM_PKG_ERRORS" >&5
27411
27412
27413 if test "x$ac_find_libraries" = "x"; then
27414 if test "xSmcOpenConnection" != "x"; then
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27416 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27417 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27418 $as_echo_n "(cached) " >&6
27419 else
27420 ac_check_lib_save_LIBS=$LIBS
27421 LIBS="-lSM $LIBS"
27422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27423 /* end confdefs.h. */
27424
27425 /* Override any GCC internal prototype to avoid an error.
27426 Use char because int might match the return type of a GCC
27427 builtin and then its argument prototype would still apply. */
27428 #ifdef __cplusplus
27429 extern "C"
27430 #endif
27431 char SmcOpenConnection ();
27432 int
27433 main ()
27434 {
27435 return SmcOpenConnection ();
27436 ;
27437 return 0;
27438 }
27439 _ACEOF
27440 if ac_fn_c_try_link "$LINENO"; then :
27441 ac_cv_lib_SM_SmcOpenConnection=yes
27442 else
27443 ac_cv_lib_SM_SmcOpenConnection=no
27444 fi
27445 rm -f core conftest.err conftest.$ac_objext \
27446 conftest$ac_exeext conftest.$ac_ext
27447 LIBS=$ac_check_lib_save_LIBS
27448 fi
27449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27450 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27451 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27452 ac_find_libraries="std"
27453 fi
27454
27455 fi
27456 fi
27457
27458 if test "x$ac_find_libraries" = "x"; then
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27460 $as_echo_n "checking elsewhere... " >&6; }
27461
27462 ac_find_libraries=
27463 for ac_dir in $SEARCH_LIB
27464 do
27465 for ac_extension in a so sl dylib dll.a; do
27466 if test -f "$ac_dir/libSM.$ac_extension"; then
27467 ac_find_libraries=$ac_dir
27468 break 2
27469 fi
27470 done
27471 done
27472
27473 if test "x$ac_find_libraries" != "x"; then
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27475 $as_echo "yes" >&6; }
27476 else
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27478 $as_echo "no" >&6; }
27479 fi
27480 fi
27481
27482 elif test $pkg_failed = untried; then
27483
27484 if test "x$ac_find_libraries" = "x"; then
27485 if test "xSmcOpenConnection" != "x"; then
27486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27487 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27488 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27489 $as_echo_n "(cached) " >&6
27490 else
27491 ac_check_lib_save_LIBS=$LIBS
27492 LIBS="-lSM $LIBS"
27493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 /* end confdefs.h. */
27495
27496 /* Override any GCC internal prototype to avoid an error.
27497 Use char because int might match the return type of a GCC
27498 builtin and then its argument prototype would still apply. */
27499 #ifdef __cplusplus
27500 extern "C"
27501 #endif
27502 char SmcOpenConnection ();
27503 int
27504 main ()
27505 {
27506 return SmcOpenConnection ();
27507 ;
27508 return 0;
27509 }
27510 _ACEOF
27511 if ac_fn_c_try_link "$LINENO"; then :
27512 ac_cv_lib_SM_SmcOpenConnection=yes
27513 else
27514 ac_cv_lib_SM_SmcOpenConnection=no
27515 fi
27516 rm -f core conftest.err conftest.$ac_objext \
27517 conftest$ac_exeext conftest.$ac_ext
27518 LIBS=$ac_check_lib_save_LIBS
27519 fi
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27521 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27522 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27523 ac_find_libraries="std"
27524 fi
27525
27526 fi
27527 fi
27528
27529 if test "x$ac_find_libraries" = "x"; then
27530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27531 $as_echo_n "checking elsewhere... " >&6; }
27532
27533 ac_find_libraries=
27534 for ac_dir in $SEARCH_LIB
27535 do
27536 for ac_extension in a so sl dylib dll.a; do
27537 if test -f "$ac_dir/libSM.$ac_extension"; then
27538 ac_find_libraries=$ac_dir
27539 break 2
27540 fi
27541 done
27542 done
27543
27544 if test "x$ac_find_libraries" != "x"; then
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27546 $as_echo "yes" >&6; }
27547 else
27548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27549 $as_echo "no" >&6; }
27550 fi
27551 fi
27552
27553 else
27554 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27555 SM_LIBS=$pkg_cv_SM_LIBS
27556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27557 $as_echo "yes" >&6; }
27558
27559 ac_find_libraries="std"
27560
27561 eval ac_find_cflags=\$SM_CFLAGS
27562 eval fl_libs=\$SM_LIBS
27563
27564 for fl_path in $fl_libs
27565 do
27566 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27567 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27568 fi
27569 done
27570
27571 fi
27572
27573 if test "$ac_find_libraries" != "" ; then
27574 if test "$ac_find_libraries" != "std" ; then
27575
27576 if test "$ac_find_libraries" = "default location"; then
27577 ac_path_to_link=""
27578 else
27579 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27580 result=$?
27581 if test $result = 0; then
27582 ac_path_to_link=""
27583 else
27584 ac_path_to_link=" -L$ac_find_libraries"
27585 fi
27586 fi
27587
27588 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27589 LDFLAGS="$LDFLAGS $ac_path_to_link"
27590 fi
27591 fi
27592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27593 else
27594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27595 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27596 wxUSE_DETECT_SM="no"
27597 fi
27598 else
27599 wxUSE_DETECT_SM="no"
27600 fi
27601 fi
27602
27603
27604
27605 USE_OPENGL=0
27606 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27607
27608
27609 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27610 OPENGL_LIBS="-framework OpenGL -framework AGL"
27611 elif test "$wxUSE_MSW" = 1; then
27612 OPENGL_LIBS="-lopengl32 -lglu32"
27613 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27614
27615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27616 $as_echo_n "checking for OpenGL headers... " >&6; }
27617
27618 ac_find_includes=
27619 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27620 do
27621 if test -f "$ac_dir/GL/gl.h"; then
27622 ac_find_includes=$ac_dir
27623 break
27624 fi
27625 done
27626
27627 if test "$ac_find_includes" != "" ; then
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27629 $as_echo "found in $ac_find_includes" >&6; }
27630
27631 if test "x$ac_find_includes" = "x/usr/include"; then
27632 ac_path_to_include=""
27633 else
27634 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27635 result=$?
27636 if test $result = 0; then
27637 ac_path_to_include=""
27638 else
27639 ac_path_to_include=" -I$ac_find_includes"
27640 fi
27641 fi
27642
27643 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27644 else
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27646 $as_echo "not found" >&6; }
27647 fi
27648
27649 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27650 "
27651 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27652
27653 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27654 "
27655 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27656
27657 found_gl=0
27658
27659
27660 ac_find_libraries=
27661
27662 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27663
27664
27665 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27666 if test -n "$ac_tool_prefix"; then
27667 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27668 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27670 $as_echo_n "checking for $ac_word... " >&6; }
27671 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27672 $as_echo_n "(cached) " >&6
27673 else
27674 case $PKG_CONFIG in
27675 [\\/]* | ?:[\\/]*)
27676 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27677 ;;
27678 *)
27679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27680 for as_dir in $PATH
27681 do
27682 IFS=$as_save_IFS
27683 test -z "$as_dir" && as_dir=.
27684 for ac_exec_ext in '' $ac_executable_extensions; do
27685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27686 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27688 break 2
27689 fi
27690 done
27691 done
27692 IFS=$as_save_IFS
27693
27694 ;;
27695 esac
27696 fi
27697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27698 if test -n "$PKG_CONFIG"; then
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27700 $as_echo "$PKG_CONFIG" >&6; }
27701 else
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27703 $as_echo "no" >&6; }
27704 fi
27705
27706
27707 fi
27708 if test -z "$ac_cv_path_PKG_CONFIG"; then
27709 ac_pt_PKG_CONFIG=$PKG_CONFIG
27710 # Extract the first word of "pkg-config", so it can be a program name with args.
27711 set dummy pkg-config; ac_word=$2
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27713 $as_echo_n "checking for $ac_word... " >&6; }
27714 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27715 $as_echo_n "(cached) " >&6
27716 else
27717 case $ac_pt_PKG_CONFIG in
27718 [\\/]* | ?:[\\/]*)
27719 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27720 ;;
27721 *)
27722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27724 do
27725 IFS=$as_save_IFS
27726 test -z "$as_dir" && as_dir=.
27727 for ac_exec_ext in '' $ac_executable_extensions; do
27728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27729 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27731 break 2
27732 fi
27733 done
27734 done
27735 IFS=$as_save_IFS
27736
27737 ;;
27738 esac
27739 fi
27740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27741 if test -n "$ac_pt_PKG_CONFIG"; then
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27743 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27744 else
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27746 $as_echo "no" >&6; }
27747 fi
27748
27749 if test "x$ac_pt_PKG_CONFIG" = x; then
27750 PKG_CONFIG=""
27751 else
27752 case $cross_compiling:$ac_tool_warned in
27753 yes:)
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27756 ac_tool_warned=yes ;;
27757 esac
27758 PKG_CONFIG=$ac_pt_PKG_CONFIG
27759 fi
27760 else
27761 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27762 fi
27763
27764 fi
27765 if test -n "$PKG_CONFIG"; then
27766 _pkg_min_version=0.9.0
27767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27768 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27769 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27771 $as_echo "yes" >&6; }
27772 else
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27774 $as_echo "no" >&6; }
27775 PKG_CONFIG=""
27776 fi
27777
27778 fi 6> /dev/null
27779
27780 pkg_failed=no
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27782 $as_echo_n "checking for GL... " >&6; }
27783
27784 if test -n "$PKG_CONFIG"; then
27785 if test -n "$GL_CFLAGS"; then
27786 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27787 else
27788 if test -n "$PKG_CONFIG" && \
27789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27790 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27791 ac_status=$?
27792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27793 test $ac_status = 0; }; then
27794 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27795 else
27796 pkg_failed=yes
27797 fi
27798 fi
27799 else
27800 pkg_failed=untried
27801 fi
27802 if test -n "$PKG_CONFIG"; then
27803 if test -n "$GL_LIBS"; then
27804 pkg_cv_GL_LIBS="$GL_LIBS"
27805 else
27806 if test -n "$PKG_CONFIG" && \
27807 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27808 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27809 ac_status=$?
27810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27811 test $ac_status = 0; }; then
27812 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27813 else
27814 pkg_failed=yes
27815 fi
27816 fi
27817 else
27818 pkg_failed=untried
27819 fi
27820
27821
27822
27823 if test $pkg_failed = yes; then
27824
27825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27826 _pkg_short_errors_supported=yes
27827 else
27828 _pkg_short_errors_supported=no
27829 fi
27830 if test $_pkg_short_errors_supported = yes; then
27831 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27832 else
27833 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27834 fi
27835 # Put the nasty error message in config.log where it belongs
27836 echo "$GL_PKG_ERRORS" >&5
27837
27838
27839 if test "x$ac_find_libraries" = "x"; then
27840 if test "xglBegin" != "x"; then
27841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27842 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27843 if ${ac_cv_lib_GL_glBegin+:} false; then :
27844 $as_echo_n "(cached) " >&6
27845 else
27846 ac_check_lib_save_LIBS=$LIBS
27847 LIBS="-lGL $LIBS"
27848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27849 /* end confdefs.h. */
27850
27851 /* Override any GCC internal prototype to avoid an error.
27852 Use char because int might match the return type of a GCC
27853 builtin and then its argument prototype would still apply. */
27854 #ifdef __cplusplus
27855 extern "C"
27856 #endif
27857 char glBegin ();
27858 int
27859 main ()
27860 {
27861 return glBegin ();
27862 ;
27863 return 0;
27864 }
27865 _ACEOF
27866 if ac_fn_c_try_link "$LINENO"; then :
27867 ac_cv_lib_GL_glBegin=yes
27868 else
27869 ac_cv_lib_GL_glBegin=no
27870 fi
27871 rm -f core conftest.err conftest.$ac_objext \
27872 conftest$ac_exeext conftest.$ac_ext
27873 LIBS=$ac_check_lib_save_LIBS
27874 fi
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27876 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27877 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27878 ac_find_libraries="std"
27879 fi
27880
27881 fi
27882 fi
27883
27884 if test "x$ac_find_libraries" = "x"; then
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27886 $as_echo_n "checking elsewhere... " >&6; }
27887
27888 ac_find_libraries=
27889 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27890 do
27891 for ac_extension in a so sl dylib dll.a; do
27892 if test -f "$ac_dir/libGL.$ac_extension"; then
27893 ac_find_libraries=$ac_dir
27894 break 2
27895 fi
27896 done
27897 done
27898
27899 if test "x$ac_find_libraries" != "x"; then
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27901 $as_echo "yes" >&6; }
27902 else
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27904 $as_echo "no" >&6; }
27905 fi
27906 fi
27907
27908 elif test $pkg_failed = untried; then
27909
27910 if test "x$ac_find_libraries" = "x"; then
27911 if test "xglBegin" != "x"; then
27912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27913 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27914 if ${ac_cv_lib_GL_glBegin+:} false; then :
27915 $as_echo_n "(cached) " >&6
27916 else
27917 ac_check_lib_save_LIBS=$LIBS
27918 LIBS="-lGL $LIBS"
27919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27920 /* end confdefs.h. */
27921
27922 /* Override any GCC internal prototype to avoid an error.
27923 Use char because int might match the return type of a GCC
27924 builtin and then its argument prototype would still apply. */
27925 #ifdef __cplusplus
27926 extern "C"
27927 #endif
27928 char glBegin ();
27929 int
27930 main ()
27931 {
27932 return glBegin ();
27933 ;
27934 return 0;
27935 }
27936 _ACEOF
27937 if ac_fn_c_try_link "$LINENO"; then :
27938 ac_cv_lib_GL_glBegin=yes
27939 else
27940 ac_cv_lib_GL_glBegin=no
27941 fi
27942 rm -f core conftest.err conftest.$ac_objext \
27943 conftest$ac_exeext conftest.$ac_ext
27944 LIBS=$ac_check_lib_save_LIBS
27945 fi
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27947 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27948 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27949 ac_find_libraries="std"
27950 fi
27951
27952 fi
27953 fi
27954
27955 if test "x$ac_find_libraries" = "x"; then
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27957 $as_echo_n "checking elsewhere... " >&6; }
27958
27959 ac_find_libraries=
27960 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27961 do
27962 for ac_extension in a so sl dylib dll.a; do
27963 if test -f "$ac_dir/libGL.$ac_extension"; then
27964 ac_find_libraries=$ac_dir
27965 break 2
27966 fi
27967 done
27968 done
27969
27970 if test "x$ac_find_libraries" != "x"; then
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27972 $as_echo "yes" >&6; }
27973 else
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27975 $as_echo "no" >&6; }
27976 fi
27977 fi
27978
27979 else
27980 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27981 GL_LIBS=$pkg_cv_GL_LIBS
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27983 $as_echo "yes" >&6; }
27984
27985 ac_find_libraries="std"
27986
27987 eval ac_find_cflags=\$GL_CFLAGS
27988 eval fl_libs=\$GL_LIBS
27989
27990 for fl_path in $fl_libs
27991 do
27992 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27993 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27994 fi
27995 done
27996
27997 fi
27998
27999 if test "$ac_find_libraries" != "" ; then
28000 if test "$ac_find_libraries" != "std" ; then
28001
28002 if test "$ac_find_libraries" = "default location"; then
28003 ac_path_to_link=""
28004 else
28005 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28006 result=$?
28007 if test $result = 0; then
28008 ac_path_to_link=""
28009 else
28010 ac_path_to_link=" -L$ac_find_libraries"
28011 fi
28012 fi
28013
28014 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28015 LDFLAGS_GL="$ac_path_to_link"
28016 fi
28017 fi
28018
28019
28020 ac_find_libraries=
28021
28022 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28023
28024
28025 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28026 if test -n "$ac_tool_prefix"; then
28027 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28028 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28030 $as_echo_n "checking for $ac_word... " >&6; }
28031 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28032 $as_echo_n "(cached) " >&6
28033 else
28034 case $PKG_CONFIG in
28035 [\\/]* | ?:[\\/]*)
28036 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28037 ;;
28038 *)
28039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28040 for as_dir in $PATH
28041 do
28042 IFS=$as_save_IFS
28043 test -z "$as_dir" && as_dir=.
28044 for ac_exec_ext in '' $ac_executable_extensions; do
28045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28046 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28048 break 2
28049 fi
28050 done
28051 done
28052 IFS=$as_save_IFS
28053
28054 ;;
28055 esac
28056 fi
28057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28058 if test -n "$PKG_CONFIG"; then
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28060 $as_echo "$PKG_CONFIG" >&6; }
28061 else
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28063 $as_echo "no" >&6; }
28064 fi
28065
28066
28067 fi
28068 if test -z "$ac_cv_path_PKG_CONFIG"; then
28069 ac_pt_PKG_CONFIG=$PKG_CONFIG
28070 # Extract the first word of "pkg-config", so it can be a program name with args.
28071 set dummy pkg-config; ac_word=$2
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28073 $as_echo_n "checking for $ac_word... " >&6; }
28074 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28075 $as_echo_n "(cached) " >&6
28076 else
28077 case $ac_pt_PKG_CONFIG in
28078 [\\/]* | ?:[\\/]*)
28079 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28080 ;;
28081 *)
28082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28083 for as_dir in $PATH
28084 do
28085 IFS=$as_save_IFS
28086 test -z "$as_dir" && as_dir=.
28087 for ac_exec_ext in '' $ac_executable_extensions; do
28088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28089 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28091 break 2
28092 fi
28093 done
28094 done
28095 IFS=$as_save_IFS
28096
28097 ;;
28098 esac
28099 fi
28100 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28101 if test -n "$ac_pt_PKG_CONFIG"; then
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28103 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28104 else
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28106 $as_echo "no" >&6; }
28107 fi
28108
28109 if test "x$ac_pt_PKG_CONFIG" = x; then
28110 PKG_CONFIG=""
28111 else
28112 case $cross_compiling:$ac_tool_warned in
28113 yes:)
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28116 ac_tool_warned=yes ;;
28117 esac
28118 PKG_CONFIG=$ac_pt_PKG_CONFIG
28119 fi
28120 else
28121 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28122 fi
28123
28124 fi
28125 if test -n "$PKG_CONFIG"; then
28126 _pkg_min_version=0.9.0
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28128 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28129 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28131 $as_echo "yes" >&6; }
28132 else
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28134 $as_echo "no" >&6; }
28135 PKG_CONFIG=""
28136 fi
28137
28138 fi 6> /dev/null
28139
28140 pkg_failed=no
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28142 $as_echo_n "checking for GLU... " >&6; }
28143
28144 if test -n "$PKG_CONFIG"; then
28145 if test -n "$GLU_CFLAGS"; then
28146 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28147 else
28148 if test -n "$PKG_CONFIG" && \
28149 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28150 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28151 ac_status=$?
28152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28153 test $ac_status = 0; }; then
28154 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28155 else
28156 pkg_failed=yes
28157 fi
28158 fi
28159 else
28160 pkg_failed=untried
28161 fi
28162 if test -n "$PKG_CONFIG"; then
28163 if test -n "$GLU_LIBS"; then
28164 pkg_cv_GLU_LIBS="$GLU_LIBS"
28165 else
28166 if test -n "$PKG_CONFIG" && \
28167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28168 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28169 ac_status=$?
28170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28171 test $ac_status = 0; }; then
28172 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28173 else
28174 pkg_failed=yes
28175 fi
28176 fi
28177 else
28178 pkg_failed=untried
28179 fi
28180
28181
28182
28183 if test $pkg_failed = yes; then
28184
28185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28186 _pkg_short_errors_supported=yes
28187 else
28188 _pkg_short_errors_supported=no
28189 fi
28190 if test $_pkg_short_errors_supported = yes; then
28191 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28192 else
28193 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28194 fi
28195 # Put the nasty error message in config.log where it belongs
28196 echo "$GLU_PKG_ERRORS" >&5
28197
28198
28199 if test "x$ac_find_libraries" = "x"; then
28200 if test "xgluBeginCurve" != "x"; then
28201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28202 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28203 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28204 $as_echo_n "(cached) " >&6
28205 else
28206 ac_check_lib_save_LIBS=$LIBS
28207 LIBS="-lGLU $LIBS"
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28210
28211 /* Override any GCC internal prototype to avoid an error.
28212 Use char because int might match the return type of a GCC
28213 builtin and then its argument prototype would still apply. */
28214 #ifdef __cplusplus
28215 extern "C"
28216 #endif
28217 char gluBeginCurve ();
28218 int
28219 main ()
28220 {
28221 return gluBeginCurve ();
28222 ;
28223 return 0;
28224 }
28225 _ACEOF
28226 if ac_fn_c_try_link "$LINENO"; then :
28227 ac_cv_lib_GLU_gluBeginCurve=yes
28228 else
28229 ac_cv_lib_GLU_gluBeginCurve=no
28230 fi
28231 rm -f core conftest.err conftest.$ac_objext \
28232 conftest$ac_exeext conftest.$ac_ext
28233 LIBS=$ac_check_lib_save_LIBS
28234 fi
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28236 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28237 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28238 ac_find_libraries="std"
28239 fi
28240
28241 fi
28242 fi
28243
28244 if test "x$ac_find_libraries" = "x"; then
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28246 $as_echo_n "checking elsewhere... " >&6; }
28247
28248 ac_find_libraries=
28249 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28250 do
28251 for ac_extension in a so sl dylib dll.a; do
28252 if test -f "$ac_dir/libGLU.$ac_extension"; then
28253 ac_find_libraries=$ac_dir
28254 break 2
28255 fi
28256 done
28257 done
28258
28259 if test "x$ac_find_libraries" != "x"; then
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28261 $as_echo "yes" >&6; }
28262 else
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28264 $as_echo "no" >&6; }
28265 fi
28266 fi
28267
28268 elif test $pkg_failed = untried; then
28269
28270 if test "x$ac_find_libraries" = "x"; then
28271 if test "xgluBeginCurve" != "x"; then
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28273 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28274 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28275 $as_echo_n "(cached) " >&6
28276 else
28277 ac_check_lib_save_LIBS=$LIBS
28278 LIBS="-lGLU $LIBS"
28279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28280 /* end confdefs.h. */
28281
28282 /* Override any GCC internal prototype to avoid an error.
28283 Use char because int might match the return type of a GCC
28284 builtin and then its argument prototype would still apply. */
28285 #ifdef __cplusplus
28286 extern "C"
28287 #endif
28288 char gluBeginCurve ();
28289 int
28290 main ()
28291 {
28292 return gluBeginCurve ();
28293 ;
28294 return 0;
28295 }
28296 _ACEOF
28297 if ac_fn_c_try_link "$LINENO"; then :
28298 ac_cv_lib_GLU_gluBeginCurve=yes
28299 else
28300 ac_cv_lib_GLU_gluBeginCurve=no
28301 fi
28302 rm -f core conftest.err conftest.$ac_objext \
28303 conftest$ac_exeext conftest.$ac_ext
28304 LIBS=$ac_check_lib_save_LIBS
28305 fi
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28307 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28308 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28309 ac_find_libraries="std"
28310 fi
28311
28312 fi
28313 fi
28314
28315 if test "x$ac_find_libraries" = "x"; then
28316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28317 $as_echo_n "checking elsewhere... " >&6; }
28318
28319 ac_find_libraries=
28320 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28321 do
28322 for ac_extension in a so sl dylib dll.a; do
28323 if test -f "$ac_dir/libGLU.$ac_extension"; then
28324 ac_find_libraries=$ac_dir
28325 break 2
28326 fi
28327 done
28328 done
28329
28330 if test "x$ac_find_libraries" != "x"; then
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28332 $as_echo "yes" >&6; }
28333 else
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28335 $as_echo "no" >&6; }
28336 fi
28337 fi
28338
28339 else
28340 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28341 GLU_LIBS=$pkg_cv_GLU_LIBS
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28343 $as_echo "yes" >&6; }
28344
28345 ac_find_libraries="std"
28346
28347 eval ac_find_cflags=\$GLU_CFLAGS
28348 eval fl_libs=\$GLU_LIBS
28349
28350 for fl_path in $fl_libs
28351 do
28352 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28353 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28354 fi
28355 done
28356
28357 fi
28358
28359 if test "$ac_find_libraries" != "" ; then
28360 if test "$ac_find_libraries" != "std" ; then
28361
28362 if test "$ac_find_libraries" = "default location"; then
28363 ac_path_to_link=""
28364 else
28365 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28366 result=$?
28367 if test $result = 0; then
28368 ac_path_to_link=""
28369 else
28370 ac_path_to_link=" -L$ac_find_libraries"
28371 fi
28372 fi
28373
28374 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28375 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28376 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28377 fi
28378 fi
28379
28380 found_gl=1
28381 OPENGL_LIBS="-lGL -lGLU"
28382 fi
28383 fi
28384
28385 if test "$found_gl" != 1; then
28386
28387 ac_find_libraries=
28388
28389 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28390
28391
28392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28393 if test -n "$ac_tool_prefix"; then
28394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28395 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28397 $as_echo_n "checking for $ac_word... " >&6; }
28398 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28399 $as_echo_n "(cached) " >&6
28400 else
28401 case $PKG_CONFIG in
28402 [\\/]* | ?:[\\/]*)
28403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28404 ;;
28405 *)
28406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28407 for as_dir in $PATH
28408 do
28409 IFS=$as_save_IFS
28410 test -z "$as_dir" && as_dir=.
28411 for ac_exec_ext in '' $ac_executable_extensions; do
28412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28415 break 2
28416 fi
28417 done
28418 done
28419 IFS=$as_save_IFS
28420
28421 ;;
28422 esac
28423 fi
28424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28425 if test -n "$PKG_CONFIG"; then
28426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28427 $as_echo "$PKG_CONFIG" >&6; }
28428 else
28429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28430 $as_echo "no" >&6; }
28431 fi
28432
28433
28434 fi
28435 if test -z "$ac_cv_path_PKG_CONFIG"; then
28436 ac_pt_PKG_CONFIG=$PKG_CONFIG
28437 # Extract the first word of "pkg-config", so it can be a program name with args.
28438 set dummy pkg-config; ac_word=$2
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28440 $as_echo_n "checking for $ac_word... " >&6; }
28441 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28442 $as_echo_n "(cached) " >&6
28443 else
28444 case $ac_pt_PKG_CONFIG in
28445 [\\/]* | ?:[\\/]*)
28446 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28447 ;;
28448 *)
28449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28450 for as_dir in $PATH
28451 do
28452 IFS=$as_save_IFS
28453 test -z "$as_dir" && as_dir=.
28454 for ac_exec_ext in '' $ac_executable_extensions; do
28455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28456 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28458 break 2
28459 fi
28460 done
28461 done
28462 IFS=$as_save_IFS
28463
28464 ;;
28465 esac
28466 fi
28467 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28468 if test -n "$ac_pt_PKG_CONFIG"; then
28469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28470 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28471 else
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28473 $as_echo "no" >&6; }
28474 fi
28475
28476 if test "x$ac_pt_PKG_CONFIG" = x; then
28477 PKG_CONFIG=""
28478 else
28479 case $cross_compiling:$ac_tool_warned in
28480 yes:)
28481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28483 ac_tool_warned=yes ;;
28484 esac
28485 PKG_CONFIG=$ac_pt_PKG_CONFIG
28486 fi
28487 else
28488 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28489 fi
28490
28491 fi
28492 if test -n "$PKG_CONFIG"; then
28493 _pkg_min_version=0.9.0
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28495 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28496 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28498 $as_echo "yes" >&6; }
28499 else
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28501 $as_echo "no" >&6; }
28502 PKG_CONFIG=""
28503 fi
28504
28505 fi 6> /dev/null
28506
28507 pkg_failed=no
28508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28509 $as_echo_n "checking for MesaGL... " >&6; }
28510
28511 if test -n "$PKG_CONFIG"; then
28512 if test -n "$MesaGL_CFLAGS"; then
28513 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28514 else
28515 if test -n "$PKG_CONFIG" && \
28516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28517 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28518 ac_status=$?
28519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28520 test $ac_status = 0; }; then
28521 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28522 else
28523 pkg_failed=yes
28524 fi
28525 fi
28526 else
28527 pkg_failed=untried
28528 fi
28529 if test -n "$PKG_CONFIG"; then
28530 if test -n "$MesaGL_LIBS"; then
28531 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28532 else
28533 if test -n "$PKG_CONFIG" && \
28534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28535 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28536 ac_status=$?
28537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28538 test $ac_status = 0; }; then
28539 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28540 else
28541 pkg_failed=yes
28542 fi
28543 fi
28544 else
28545 pkg_failed=untried
28546 fi
28547
28548
28549
28550 if test $pkg_failed = yes; then
28551
28552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28553 _pkg_short_errors_supported=yes
28554 else
28555 _pkg_short_errors_supported=no
28556 fi
28557 if test $_pkg_short_errors_supported = yes; then
28558 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28559 else
28560 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28561 fi
28562 # Put the nasty error message in config.log where it belongs
28563 echo "$MesaGL_PKG_ERRORS" >&5
28564
28565
28566 if test "x$ac_find_libraries" = "x"; then
28567 if test "xglEnable" != "x"; then
28568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28569 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28570 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28571 $as_echo_n "(cached) " >&6
28572 else
28573 ac_check_lib_save_LIBS=$LIBS
28574 LIBS="-lMesaGL $LIBS"
28575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28576 /* end confdefs.h. */
28577
28578 /* Override any GCC internal prototype to avoid an error.
28579 Use char because int might match the return type of a GCC
28580 builtin and then its argument prototype would still apply. */
28581 #ifdef __cplusplus
28582 extern "C"
28583 #endif
28584 char glEnable ();
28585 int
28586 main ()
28587 {
28588 return glEnable ();
28589 ;
28590 return 0;
28591 }
28592 _ACEOF
28593 if ac_fn_c_try_link "$LINENO"; then :
28594 ac_cv_lib_MesaGL_glEnable=yes
28595 else
28596 ac_cv_lib_MesaGL_glEnable=no
28597 fi
28598 rm -f core conftest.err conftest.$ac_objext \
28599 conftest$ac_exeext conftest.$ac_ext
28600 LIBS=$ac_check_lib_save_LIBS
28601 fi
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28603 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28604 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28605 ac_find_libraries="std"
28606 fi
28607
28608 fi
28609 fi
28610
28611 if test "x$ac_find_libraries" = "x"; then
28612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28613 $as_echo_n "checking elsewhere... " >&6; }
28614
28615 ac_find_libraries=
28616 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28617 do
28618 for ac_extension in a so sl dylib dll.a; do
28619 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28620 ac_find_libraries=$ac_dir
28621 break 2
28622 fi
28623 done
28624 done
28625
28626 if test "x$ac_find_libraries" != "x"; then
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28628 $as_echo "yes" >&6; }
28629 else
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28631 $as_echo "no" >&6; }
28632 fi
28633 fi
28634
28635 elif test $pkg_failed = untried; then
28636
28637 if test "x$ac_find_libraries" = "x"; then
28638 if test "xglEnable" != "x"; then
28639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28640 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28641 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28642 $as_echo_n "(cached) " >&6
28643 else
28644 ac_check_lib_save_LIBS=$LIBS
28645 LIBS="-lMesaGL $LIBS"
28646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h. */
28648
28649 /* Override any GCC internal prototype to avoid an error.
28650 Use char because int might match the return type of a GCC
28651 builtin and then its argument prototype would still apply. */
28652 #ifdef __cplusplus
28653 extern "C"
28654 #endif
28655 char glEnable ();
28656 int
28657 main ()
28658 {
28659 return glEnable ();
28660 ;
28661 return 0;
28662 }
28663 _ACEOF
28664 if ac_fn_c_try_link "$LINENO"; then :
28665 ac_cv_lib_MesaGL_glEnable=yes
28666 else
28667 ac_cv_lib_MesaGL_glEnable=no
28668 fi
28669 rm -f core conftest.err conftest.$ac_objext \
28670 conftest$ac_exeext conftest.$ac_ext
28671 LIBS=$ac_check_lib_save_LIBS
28672 fi
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28674 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28675 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28676 ac_find_libraries="std"
28677 fi
28678
28679 fi
28680 fi
28681
28682 if test "x$ac_find_libraries" = "x"; then
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28684 $as_echo_n "checking elsewhere... " >&6; }
28685
28686 ac_find_libraries=
28687 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28688 do
28689 for ac_extension in a so sl dylib dll.a; do
28690 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28691 ac_find_libraries=$ac_dir
28692 break 2
28693 fi
28694 done
28695 done
28696
28697 if test "x$ac_find_libraries" != "x"; then
28698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28699 $as_echo "yes" >&6; }
28700 else
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28702 $as_echo "no" >&6; }
28703 fi
28704 fi
28705
28706 else
28707 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28708 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28710 $as_echo "yes" >&6; }
28711
28712 ac_find_libraries="std"
28713
28714 eval ac_find_cflags=\$MesaGL_CFLAGS
28715 eval fl_libs=\$MesaGL_LIBS
28716
28717 for fl_path in $fl_libs
28718 do
28719 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28720 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28721 fi
28722 done
28723
28724 fi
28725
28726 if test "$ac_find_libraries" != "" ; then
28727 if test "$ac_find_libraries" != "std" ; then
28728
28729 if test "$ac_find_libraries" = "default location"; then
28730 ac_path_to_link=""
28731 else
28732 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28733 result=$?
28734 if test $result = 0; then
28735 ac_path_to_link=""
28736 else
28737 ac_path_to_link=" -L$ac_find_libraries"
28738 fi
28739 fi
28740
28741 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28742 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28743 fi
28744 fi
28745 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28746 fi
28747 fi
28748
28749 fi
28750
28751
28752
28753 fi
28754
28755
28756
28757 if test "x$OPENGL_LIBS" = "x"; then
28758 if test "$wxUSE_OPENGL" = "yes"; then
28759 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28760 else
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28762 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28763 wxUSE_OPENGL=no
28764 USE_OPENGL=0
28765 fi
28766 fi
28767 else
28768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28769 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28770 wxUSE_OPENGL="no"
28771 fi
28772
28773 if test "$wxUSE_OPENGL" = "auto"; then
28774 wxUSE_OPENGL=yes
28775 fi
28776
28777 if test "$wxUSE_OPENGL" = "yes"; then
28778 USE_OPENGL=1
28779 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28780
28781 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28782
28783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28784 fi
28785 fi
28786
28787
28788 if test -n "$TOOLKIT" ; then
28789 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28790 fi
28791
28792
28793
28794 if test "$wxUSE_SHARED" = "yes"; then
28795 case "${host}" in
28796 *-pc-msdosdjgpp )
28797 wxUSE_SHARED=no
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28799 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28800 ;;
28801 esac
28802 fi
28803
28804 if test "$wxUSE_SHARED" = "yes"; then
28805
28806
28807 case "${host}" in
28808 *-*-cygwin* | *-*-mingw* )
28809 wx_cv_version_script=no
28810 ;;
28811
28812 *)
28813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28814 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28815 if ${wx_cv_version_script+:} false; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28818
28819 echo "VER_1 { *; };" >conftest.sym
28820 echo "int main() { return 0; }" >conftest.cpp
28821
28822 if { ac_try='
28823 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28824 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28825 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28826 (eval $ac_try) 2>&5
28827 ac_status=$?
28828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28829 test $ac_status = 0; }; } ; then
28830 if test -s conftest.stderr ; then
28831 wx_cv_version_script=no
28832 else
28833 wx_cv_version_script=yes
28834 fi
28835 else
28836 wx_cv_version_script=no
28837 fi
28838
28839 if test $wx_cv_version_script = yes
28840 then
28841 echo "struct B { virtual ~B() { } }; \
28842 struct D : public B { }; \
28843 void F() { D d; }" > conftest.cpp
28844
28845 if { ac_try='
28846 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28847 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28848 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28849 (eval $ac_try) 2>&5
28850 ac_status=$?
28851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28852 test $ac_status = 0; }; } &&
28853 { ac_try='
28854 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28855 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28860 test $ac_status = 0; }; }
28861 then
28862 if { ac_try='
28863 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28864 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28865 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28866 (eval $ac_try) 2>&5
28867 ac_status=$?
28868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28869 test $ac_status = 0; }; }
28870 then
28871 wx_cv_version_script=yes
28872 else
28873 wx_cv_version_script=no
28874 fi
28875 fi
28876 fi
28877
28878 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28879 rm -f conftest1.output conftest2.output conftest3.output
28880
28881 fi
28882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28883 $as_echo "$wx_cv_version_script" >&6; }
28884
28885 if test $wx_cv_version_script = yes ; then
28886 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28887 fi
28888 ;;
28889 esac
28890
28891
28892 if test "$wxUSE_VISIBILITY" != "no"; then
28893
28894
28895 if test -n "$GCC"; then
28896 CFLAGS_VISIBILITY="-fvisibility=hidden"
28897 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28899 $as_echo_n "checking for symbols visibility support... " >&6; }
28900 if ${wx_cv_cc_visibility+:} false; then :
28901 $as_echo_n "(cached) " >&6
28902 else
28903
28904 wx_save_CXXFLAGS="$CXXFLAGS"
28905 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28906 ac_ext=cpp
28907 ac_cpp='$CXXCPP $CPPFLAGS'
28908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28911
28912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28913 /* end confdefs.h. */
28914
28915 /* we need gcc >= 4.0, older versions with visibility support
28916 didn't have class visibility: */
28917 #if defined(__GNUC__) && __GNUC__ < 4
28918 error this gcc is too old;
28919 #endif
28920
28921 /* visibility only makes sense for ELF shared libs: */
28922 #if !defined(__ELF__) && !defined(__APPLE__)
28923 error this platform has no visibility;
28924 #endif
28925
28926 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28927 #if defined(__clang__)
28928 clang compiler is still broken w.r.t. visibility;
28929 #endif
28930
28931 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28932 extern __attribute__((__visibility__("default"))) int exportedvar;
28933 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28934 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28935 class __attribute__((__visibility__("default"))) Foo {
28936 Foo() {}
28937 };
28938
28939 int
28940 main ()
28941 {
28942
28943 ;
28944 return 0;
28945 }
28946 _ACEOF
28947 if ac_fn_cxx_try_compile "$LINENO"; then :
28948 wx_cv_cc_visibility=yes
28949 else
28950 wx_cv_cc_visibility=no
28951 fi
28952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28953 ac_ext=c
28954 ac_cpp='$CPP $CPPFLAGS'
28955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28958
28959 CXXFLAGS="$wx_save_CXXFLAGS"
28960 fi
28961
28962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28963 $as_echo "$wx_cv_cc_visibility" >&6; }
28964 if test $wx_cv_cc_visibility = yes; then
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28966 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28967 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28968 $as_echo_n "(cached) " >&6
28969 else
28970
28971 wx_save_CXXFLAGS="$CXXFLAGS"
28972 wx_save_LDFLAGS="$LDFLAGS"
28973 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28974 LDFLAGS="$LDFLAGS -shared -fPIC"
28975 ac_ext=cpp
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28980
28981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28982 /* end confdefs.h. */
28983
28984 #include <string>
28985
28986 int
28987 main ()
28988 {
28989
28990 std::string s("hello");
28991 return s.length();
28992
28993 ;
28994 return 0;
28995 }
28996 _ACEOF
28997 if ac_fn_cxx_try_link "$LINENO"; then :
28998 wx_cv_cc_broken_libstdcxx_visibility=no
28999 else
29000 wx_cv_cc_broken_libstdcxx_visibility=yes
29001 fi
29002 rm -f core conftest.err conftest.$ac_objext \
29003 conftest$ac_exeext conftest.$ac_ext
29004 ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29009
29010 CXXFLAGS="$wx_save_CXXFLAGS"
29011 LDFLAGS="$wx_save_LDFLAGS"
29012 fi
29013
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29015 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29016
29017 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29019 $as_echo_n "checking whether we can work around it... " >&6; }
29020 if ${wx_cv_cc_visibility_workaround+:} false; then :
29021 $as_echo_n "(cached) " >&6
29022 else
29023
29024 ac_ext=cpp
29025 ac_cpp='$CXXCPP $CPPFLAGS'
29026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29029
29030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29031 /* end confdefs.h. */
29032
29033 #pragma GCC visibility push(default)
29034 #include <string>
29035 #pragma GCC visibility pop
29036
29037 int
29038 main ()
29039 {
29040
29041 std::string s("hello");
29042 return s.length();
29043
29044 ;
29045 return 0;
29046 }
29047 _ACEOF
29048 if ac_fn_cxx_try_link "$LINENO"; then :
29049 wx_cv_cc_visibility_workaround=no
29050 else
29051 wx_cv_cc_visibility_workaround=yes
29052 fi
29053 rm -f core conftest.err conftest.$ac_objext \
29054 conftest$ac_exeext conftest.$ac_ext
29055 ac_ext=c
29056 ac_cpp='$CPP $CPPFLAGS'
29057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29060
29061
29062 fi
29063
29064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29065 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29066
29067 if test $wx_cv_cc_visibility_workaround = no; then
29068 wx_cv_cc_visibility=no
29069 fi
29070 fi
29071 fi
29072
29073 if test $wx_cv_cc_visibility = yes; then
29074 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29075
29076 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29077 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29078
29079 fi
29080 else
29081 CFLAGS_VISIBILITY=""
29082 CXXFLAGS_VISIBILITY=""
29083 fi
29084
29085
29086 fi
29087
29088 fi
29089
29090 if test "x$SUNCXX" = xyes; then
29091 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29092 WXCONFIG_RPATH="-R\$libdir"
29093 else
29094 case "${host}" in
29095 *-*-linux* | *-*-gnu* )
29096 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29097 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29098 ;;
29099
29100 *-*-solaris2* )
29101
29102 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29103
29104 saveLdflags="$LDFLAGS"
29105 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29107 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29109 /* end confdefs.h. */
29110
29111 int
29112 main ()
29113 {
29114
29115 ;
29116 return 0;
29117 }
29118 _ACEOF
29119 if ac_fn_c_try_link "$LINENO"; then :
29120
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29122 $as_echo "yes" >&6; }
29123 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29124 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29125
29126 else
29127
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29129 $as_echo "no" >&6; }
29130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29131 $as_echo_n "checking if the linker accepts -R... " >&6; }
29132 LDFLAGS="$saveLdflags -Wl,-R,/"
29133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29134 /* end confdefs.h. */
29135
29136 int
29137 main ()
29138 {
29139
29140 ;
29141 return 0;
29142 }
29143 _ACEOF
29144 if ac_fn_c_try_link "$LINENO"; then :
29145
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29147 $as_echo "yes" >&6; }
29148 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29149 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29150
29151 else
29152
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29154 $as_echo "no" >&6; }
29155
29156 fi
29157 rm -f core conftest.err conftest.$ac_objext \
29158 conftest$ac_exeext conftest.$ac_ext
29159
29160 fi
29161 rm -f core conftest.err conftest.$ac_objext \
29162 conftest$ac_exeext conftest.$ac_ext
29163 LDFLAGS="$saveLdflags"
29164 ;;
29165
29166 *-*-darwin* )
29167 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29168 if test "$install_name_tool" -a -x "$install_name_tool"; then
29169 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29170 cat <<EOF >change-install-names
29171 #!/bin/sh
29172 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29173 for i in \${libnames} ; do
29174 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29175 for dep in \${libnames} ; do
29176 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29177 done
29178 done
29179 EOF
29180 chmod +x change-install-names
29181 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29182 fi
29183
29184 HEADER_PAD_OPTION="-headerpad_max_install_names"
29185 ;;
29186
29187 *-*-cygwin* | *-*-mingw32* )
29188 ;;
29189
29190 *-*-hpux* )
29191 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29192 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29193 ;;
29194
29195 esac
29196 fi
29197
29198 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29199
29200 if test $wxUSE_RPATH = "no"; then
29201 SAMPLES_RPATH_FLAG=''
29202 DYLIB_PATH_POSTLINK=''
29203 WXCONFIG_RPATH=''
29204 fi
29205
29206 SHARED=1
29207
29208 else
29209
29210 config_linkage_component="-static"
29211 SHARED=0
29212
29213 fi
29214
29215
29216 UNICODE=0
29217 lib_unicode_suffix=
29218 WX_CHARTYPE="ansi"
29219 if test "$wxUSE_UNICODE" = "yes"; then
29220 lib_unicode_suffix=u
29221 WX_CHARTYPE="unicode"
29222 UNICODE=1
29223 fi
29224
29225 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29226 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29227
29228 DEBUG_INFO=0
29229 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29230 DEBUG_INFO=1
29231 fi
29232
29233 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29234
29235 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29236
29237 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29238
29239
29240 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29241 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29242 else
29243 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29244 fi
29245 if test "${TOOLKIT_DIR}" = "os2"; then
29246 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29247 else
29248 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29249 fi
29250
29251
29252
29253 if test "$wxUSE_OLD_COCOA" = 1; then
29254
29255 ac_ext=c
29256 ac_cpp='$CPP $CPPFLAGS'
29257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260
29261 ac_ext=m
29262
29263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29264 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29266 /* end confdefs.h. */
29267 #include <AppKit/NSEvent.h>
29268 #include <CoreFoundation/CoreFoundation.h>
29269
29270 int
29271 main ()
29272 {
29273
29274 ;
29275 return 0;
29276 }
29277 _ACEOF
29278 if ac_fn_c_try_compile "$LINENO"; then :
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29280 $as_echo "no" >&6; }
29281 else
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29283 $as_echo "yes" >&6; }
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29285 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29287 /* end confdefs.h. */
29288 #define __Point__ 1
29289 #include <AppKit/NSEvent.h>
29290 #include <CoreFoundation/CoreFoundation.h>
29291
29292 int
29293 main ()
29294 {
29295
29296 ;
29297 return 0;
29298 }
29299 _ACEOF
29300 if ac_fn_c_try_compile "$LINENO"; then :
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29302 $as_echo "yes" >&6; }
29303 $as_echo "#define __Point__ 1" >>confdefs.h
29304
29305
29306 else
29307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29309 as_fn_error $? "no
29310 See \`config.log' for more details" "$LINENO" 5; }
29311
29312 fi
29313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29314
29315 fi
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322
29323 fi
29324
29325
29326 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29327 if test "x$ac_cv_type_mode_t" = xyes; then :
29328
29329 else
29330
29331 cat >>confdefs.h <<_ACEOF
29332 #define mode_t int
29333 _ACEOF
29334
29335 fi
29336
29337 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29338 if test "x$ac_cv_type_off_t" = xyes; then :
29339
29340 else
29341
29342 cat >>confdefs.h <<_ACEOF
29343 #define off_t long int
29344 _ACEOF
29345
29346 fi
29347
29348 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29349 if test "x$ac_cv_type_pid_t" = xyes; then :
29350
29351 else
29352
29353 cat >>confdefs.h <<_ACEOF
29354 #define pid_t int
29355 _ACEOF
29356
29357 fi
29358
29359 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29360 if test "x$ac_cv_type_size_t" = xyes; then :
29361
29362 else
29363
29364 cat >>confdefs.h <<_ACEOF
29365 #define size_t unsigned int
29366 _ACEOF
29367
29368 fi
29369
29370
29371 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29372 if test "x$ac_cv_type_ssize_t" = xyes; then :
29373
29374 cat >>confdefs.h <<_ACEOF
29375 #define HAVE_SSIZE_T 1
29376 _ACEOF
29377
29378
29379 fi
29380
29381
29382 ac_ext=cpp
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29388 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29389 if ${wx_cv_size_t_is_uint+:} false; then :
29390 $as_echo_n "(cached) " >&6
29391 else
29392
29393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h. */
29395 #include <stddef.h>
29396 int
29397 main ()
29398 {
29399
29400 return 0; }
29401
29402 struct Foo { void foo(size_t); void foo(unsigned int); };
29403
29404 int bar() {
29405
29406 ;
29407 return 0;
29408 }
29409 _ACEOF
29410 if ac_fn_cxx_try_compile "$LINENO"; then :
29411 wx_cv_size_t_is_uint=no
29412 else
29413 wx_cv_size_t_is_uint=yes
29414
29415 fi
29416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29417
29418
29419 fi
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29421 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29422
29423 if test "$wx_cv_size_t_is_uint" = "yes"; then
29424 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29425
29426 else
29427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29428 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29429 if ${wx_cv_size_t_is_ulong+:} false; then :
29430 $as_echo_n "(cached) " >&6
29431 else
29432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29434 #include <stddef.h>
29435 int
29436 main ()
29437 {
29438
29439 return 0; }
29440
29441 struct Foo { void foo(size_t); void foo(unsigned long); };
29442
29443 int bar() {
29444
29445 ;
29446 return 0;
29447 }
29448 _ACEOF
29449 if ac_fn_cxx_try_compile "$LINENO"; then :
29450 wx_cv_size_t_is_ulong=no
29451 else
29452 wx_cv_size_t_is_ulong=yes
29453
29454 fi
29455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29456
29457 fi
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29459 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29460
29461 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29462 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29463
29464 fi
29465 fi
29466
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29468 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29469 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29470 $as_echo_n "(cached) " >&6
29471 else
29472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29473 /* end confdefs.h. */
29474 #include <wchar.h>
29475 int
29476 main ()
29477 {
29478
29479 return 0; }
29480
29481 struct Foo { void foo(wchar_t);
29482 void foo(unsigned short);
29483 void foo(unsigned int);
29484 void foo(unsigned long); };
29485
29486 int bar() {
29487
29488 ;
29489 return 0;
29490 }
29491 _ACEOF
29492 if ac_fn_cxx_try_compile "$LINENO"; then :
29493 wx_cv_wchar_t_is_separate_type=yes
29494 else
29495 wx_cv_wchar_t_is_separate_type=no
29496
29497 fi
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29499
29500 fi
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29502 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29503
29504 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29505 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29506
29507 else
29508 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29509
29510 fi
29511
29512 ac_ext=c
29513 ac_cpp='$CPP $CPPFLAGS'
29514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29517
29518
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29520 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29521 if ${wx_cv_struct_pw_gecos+:} false; then :
29522 $as_echo_n "(cached) " >&6
29523 else
29524
29525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29526 /* end confdefs.h. */
29527 #include <pwd.h>
29528 int
29529 main ()
29530 {
29531
29532 char *p;
29533 struct passwd *pw;
29534 p = pw->pw_gecos;
29535
29536 ;
29537 return 0;
29538 }
29539 _ACEOF
29540 if ac_fn_c_try_compile "$LINENO"; then :
29541
29542 wx_cv_struct_pw_gecos=yes
29543
29544 else
29545
29546 wx_cv_struct_pw_gecos=no
29547
29548
29549 fi
29550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29551
29552
29553 fi
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29555 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29556
29557 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29558 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29559
29560 fi
29561
29562
29563 WCSLEN_FOUND=0
29564 WCHAR_LINK=
29565 for ac_func in wcslen
29566 do :
29567 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29568 if test "x$ac_cv_func_wcslen" = xyes; then :
29569 cat >>confdefs.h <<_ACEOF
29570 #define HAVE_WCSLEN 1
29571 _ACEOF
29572 WCSLEN_FOUND=1
29573 fi
29574 done
29575
29576
29577 if test "$WCSLEN_FOUND" = 0; then
29578 if test "$TOOLKIT" = "MSW"; then
29579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29580 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29581 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29582 $as_echo_n "(cached) " >&6
29583 else
29584 ac_check_lib_save_LIBS=$LIBS
29585 LIBS="-lmsvcrt $LIBS"
29586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29587 /* end confdefs.h. */
29588
29589 /* Override any GCC internal prototype to avoid an error.
29590 Use char because int might match the return type of a GCC
29591 builtin and then its argument prototype would still apply. */
29592 #ifdef __cplusplus
29593 extern "C"
29594 #endif
29595 char wcslen ();
29596 int
29597 main ()
29598 {
29599 return wcslen ();
29600 ;
29601 return 0;
29602 }
29603 _ACEOF
29604 if ac_fn_c_try_link "$LINENO"; then :
29605 ac_cv_lib_msvcrt_wcslen=yes
29606 else
29607 ac_cv_lib_msvcrt_wcslen=no
29608 fi
29609 rm -f core conftest.err conftest.$ac_objext \
29610 conftest$ac_exeext conftest.$ac_ext
29611 LIBS=$ac_check_lib_save_LIBS
29612 fi
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29614 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29615 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29616 WCHAR_OK=1
29617 fi
29618
29619 else
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29621 $as_echo_n "checking for wcslen in -lw... " >&6; }
29622 if ${ac_cv_lib_w_wcslen+:} false; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29625 ac_check_lib_save_LIBS=$LIBS
29626 LIBS="-lw $LIBS"
29627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29629
29630 /* Override any GCC internal prototype to avoid an error.
29631 Use char because int might match the return type of a GCC
29632 builtin and then its argument prototype would still apply. */
29633 #ifdef __cplusplus
29634 extern "C"
29635 #endif
29636 char wcslen ();
29637 int
29638 main ()
29639 {
29640 return wcslen ();
29641 ;
29642 return 0;
29643 }
29644 _ACEOF
29645 if ac_fn_c_try_link "$LINENO"; then :
29646 ac_cv_lib_w_wcslen=yes
29647 else
29648 ac_cv_lib_w_wcslen=no
29649 fi
29650 rm -f core conftest.err conftest.$ac_objext \
29651 conftest$ac_exeext conftest.$ac_ext
29652 LIBS=$ac_check_lib_save_LIBS
29653 fi
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29655 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29656 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29657
29658 WCHAR_LINK=" -lw"
29659 WCSLEN_FOUND=1
29660
29661 fi
29662
29663 fi
29664 fi
29665
29666 if test "$WCSLEN_FOUND" = 1; then
29667 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29668
29669 fi
29670
29671 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29672 do :
29673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29675 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29676 cat >>confdefs.h <<_ACEOF
29677 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29678 _ACEOF
29679
29680 fi
29681 done
29682
29683
29684 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29685 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29686 fi
29687
29688 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29689 "
29690 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29691
29692 cat >>confdefs.h <<_ACEOF
29693 #define HAVE_MBSTATE_T 1
29694 _ACEOF
29695
29696 for ac_func in wcsrtombs
29697 do :
29698 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29699 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29700 cat >>confdefs.h <<_ACEOF
29701 #define HAVE_WCSRTOMBS 1
29702 _ACEOF
29703
29704 fi
29705 done
29706
29707 fi
29708
29709
29710 for ac_func in snprintf vsnprintf vsscanf
29711 do :
29712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29714 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29715 cat >>confdefs.h <<_ACEOF
29716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29717 _ACEOF
29718
29719 fi
29720 done
29721
29722
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729 if test "$ac_cv_func_vsnprintf" = "yes"; then
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29731 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29732 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29733 $as_echo_n "(cached) " >&6
29734 else
29735
29736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29738
29739 #include <stdio.h>
29740 #include <stdarg.h>
29741
29742 int
29743 main ()
29744 {
29745
29746 char *buf;
29747 va_list ap;
29748 vsnprintf(buf, 10u, "%s", ap);
29749
29750 ;
29751 return 0;
29752 }
29753 _ACEOF
29754 if ac_fn_cxx_try_compile "$LINENO"; then :
29755 wx_cv_func_vsnprintf_decl=yes
29756 else
29757 wx_cv_func_vsnprintf_decl=no
29758
29759 fi
29760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29761
29762
29763 fi
29764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29765 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29766
29767 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29768 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29769
29770
29771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29772 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29773 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29774 $as_echo_n "(cached) " >&6
29775 else
29776
29777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29778 /* end confdefs.h. */
29779
29780 #include <stdio.h>
29781 #include <stdarg.h>
29782 #ifdef __MSL__
29783 #if __MSL__ >= 0x6000
29784 namespace std {}
29785 using namespace std;
29786 #endif
29787 #endif
29788
29789 int
29790 main ()
29791 {
29792
29793 char *buf;
29794 va_list ap;
29795 const char *fmt = "%s";
29796 vsnprintf(buf, 10u, fmt, ap);
29797
29798 ;
29799 return 0;
29800 }
29801 _ACEOF
29802 if ac_fn_cxx_try_compile "$LINENO"; then :
29803 wx_cv_func_broken_vsnprintf_decl=no
29804 else
29805 wx_cv_func_broken_vsnprintf_decl=yes
29806
29807 fi
29808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29809
29810
29811 fi
29812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29813 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29814
29815 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29816 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29817
29818 fi
29819 fi
29820 fi
29821
29822 if test "$ac_cv_func_snprintf" = "yes"; then
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29824 $as_echo_n "checking for snprintf declaration... " >&6; }
29825 if ${wx_cv_func_snprintf_decl+:} false; then :
29826 $as_echo_n "(cached) " >&6
29827 else
29828
29829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29830 /* end confdefs.h. */
29831
29832 #include <stdio.h>
29833 #include <stdarg.h>
29834 #ifdef __MSL__
29835 #if __MSL__ >= 0x6000
29836 namespace std {}
29837 using namespace std;
29838 #endif
29839 #endif
29840
29841 int
29842 main ()
29843 {
29844
29845 char *buf;
29846 snprintf(buf, 10u, "%s", "wx");
29847
29848 ;
29849 return 0;
29850 }
29851 _ACEOF
29852 if ac_fn_cxx_try_compile "$LINENO"; then :
29853 wx_cv_func_snprintf_decl=yes
29854 else
29855 wx_cv_func_snprintf_decl=no
29856
29857 fi
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29859
29860
29861 fi
29862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29863 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29864
29865 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29866 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29867
29868 fi
29869
29870 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29871
29872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29873 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29874 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29875 $as_echo_n "(cached) " >&6
29876 else
29877
29878 if test "$cross_compiling" = yes; then :
29879
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29881 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29882 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29883 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29884 wx_cv_func_snprintf_pos_params=no
29885
29886
29887 else
29888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29889 /* end confdefs.h. */
29890
29891 #include <stdio.h>
29892
29893 int main (void)
29894 {
29895 char buffer[128];
29896 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29897 if (strcmp ("2 3 1", buffer) == 0)
29898 exit (0);
29899 exit (1);
29900 }
29901
29902 _ACEOF
29903 if ac_fn_cxx_try_run "$LINENO"; then :
29904 wx_cv_func_snprintf_pos_params=no
29905 else
29906 wx_cv_func_snprintf_pos_params=yes
29907 fi
29908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29909 conftest.$ac_objext conftest.beam conftest.$ac_ext
29910 fi
29911
29912
29913
29914 fi
29915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29916 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29917
29918 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29919 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29920
29921 fi
29922 fi
29923 fi
29924
29925 if test "$ac_cv_func_vsscanf" = "yes"; then
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29927 $as_echo_n "checking for vsscanf declaration... " >&6; }
29928 if ${wx_cv_func_vsscanf_decl+:} false; then :
29929 $as_echo_n "(cached) " >&6
29930 else
29931
29932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h. */
29934
29935 #include <stdio.h>
29936 #include <stdarg.h>
29937 #ifdef __MSL__
29938 #if __MSL__ >= 0x6000
29939 namespace std {}
29940 using namespace std;
29941 #endif
29942 #endif
29943
29944 int
29945 main ()
29946 {
29947
29948 char *buf;
29949 va_list args;
29950 vsscanf(buf, "%s", args);
29951
29952 ;
29953 return 0;
29954 }
29955 _ACEOF
29956 if ac_fn_cxx_try_compile "$LINENO"; then :
29957 wx_cv_func_vsscanf_decl=yes
29958 else
29959 wx_cv_func_vsscanf_decl=no
29960
29961 fi
29962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29963
29964
29965 fi
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29967 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29968
29969 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29970 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29971
29972 fi
29973 fi
29974 ac_ext=c
29975 ac_cpp='$CPP $CPPFLAGS'
29976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29979
29980
29981 if test "$wxUSE_UNICODE" = yes; then
29982
29983 wchar_headers="#include <stdio.h>
29984 #include <wchar.h>"
29985 case "${host}" in
29986 *-*-solaris2* )
29987 for ac_header in widec.h
29988 do :
29989 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29990 "
29991 if test "x$ac_cv_header_widec_h" = xyes; then :
29992 cat >>confdefs.h <<_ACEOF
29993 #define HAVE_WIDEC_H 1
29994 _ACEOF
29995
29996 fi
29997
29998 done
29999
30000 if test "$ac_cv_header_widec_h" = "yes"; then
30001 wchar_headers="$wchar_headers
30002 #include <widec.h>"
30003 fi
30004 esac
30005
30006
30007 for wx_func in putws fputws wprintf vswprintf vswscanf
30008 do
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30010 $as_echo_n "checking for $wx_func... " >&6; }
30011 if eval \${wx_cv_func_$wx_func+:} false; then :
30012 $as_echo_n "(cached) " >&6
30013 else
30014
30015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30016 /* end confdefs.h. */
30017
30018
30019 $wchar_headers
30020 $ac_includes_default
30021
30022 int
30023 main ()
30024 {
30025
30026 #ifndef $wx_func
30027 &$wx_func;
30028 #endif
30029
30030
30031 ;
30032 return 0;
30033 }
30034
30035 _ACEOF
30036 if ac_fn_c_try_link "$LINENO"; then :
30037 eval wx_cv_func_$wx_func=yes
30038 else
30039 eval wx_cv_func_$wx_func=no
30040 fi
30041 rm -f core conftest.err conftest.$ac_objext \
30042 conftest$ac_exeext conftest.$ac_ext
30043
30044 fi
30045 eval ac_res=\$wx_cv_func_$wx_func
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30047 $as_echo "$ac_res" >&6; }
30048
30049 if eval test \$wx_cv_func_$wx_func = yes
30050 then
30051 cat >>confdefs.h <<_ACEOF
30052 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30053 _ACEOF
30054
30055
30056 else
30057 :
30058
30059 fi
30060 done
30061
30062
30063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30064 $as_echo_n "checking for _vsnwprintf... " >&6; }
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30067 #include <wchar.h>
30068 int
30069 main ()
30070 {
30071 &_vsnwprintf;
30072 ;
30073 return 0;
30074 }
30075 _ACEOF
30076 if ac_fn_c_try_compile "$LINENO"; then :
30077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30078 $as_echo "yes" >&6; }
30079 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30080
30081 else
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30083 $as_echo "no" >&6; }
30084 fi
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30086 fi
30087
30088 if test "$wxUSE_FILE" = "yes"; then
30089
30090 for wx_func in fsync
30091 do
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30093 $as_echo_n "checking for $wx_func... " >&6; }
30094 if eval \${wx_cv_func_$wx_func+:} false; then :
30095 $as_echo_n "(cached) " >&6
30096 else
30097
30098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30099 /* end confdefs.h. */
30100
30101
30102
30103 $ac_includes_default
30104
30105 int
30106 main ()
30107 {
30108
30109 #ifndef $wx_func
30110 &$wx_func;
30111 #endif
30112
30113
30114 ;
30115 return 0;
30116 }
30117
30118 _ACEOF
30119 if ac_fn_c_try_link "$LINENO"; then :
30120 eval wx_cv_func_$wx_func=yes
30121 else
30122 eval wx_cv_func_$wx_func=no
30123 fi
30124 rm -f core conftest.err conftest.$ac_objext \
30125 conftest$ac_exeext conftest.$ac_ext
30126
30127 fi
30128 eval ac_res=\$wx_cv_func_$wx_func
30129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30130 $as_echo "$ac_res" >&6; }
30131
30132 if eval test \$wx_cv_func_$wx_func = yes
30133 then
30134 cat >>confdefs.h <<_ACEOF
30135 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30136 _ACEOF
30137
30138
30139 else
30140 :
30141
30142 fi
30143 done
30144
30145 fi
30146
30147 ac_ext=cpp
30148 ac_cpp='$CXXCPP $CPPFLAGS'
30149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30152
30153
30154 for wx_func in round
30155 do
30156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30157 $as_echo_n "checking for $wx_func... " >&6; }
30158 if eval \${wx_cv_func_$wx_func+:} false; then :
30159 $as_echo_n "(cached) " >&6
30160 else
30161
30162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163 /* end confdefs.h. */
30164
30165
30166 #include <math.h>
30167 $ac_includes_default
30168
30169 int
30170 main ()
30171 {
30172
30173 #ifndef $wx_func
30174 &$wx_func;
30175 #endif
30176
30177
30178 ;
30179 return 0;
30180 }
30181
30182 _ACEOF
30183 if ac_fn_cxx_try_link "$LINENO"; then :
30184 eval wx_cv_func_$wx_func=yes
30185 else
30186 eval wx_cv_func_$wx_func=no
30187 fi
30188 rm -f core conftest.err conftest.$ac_objext \
30189 conftest$ac_exeext conftest.$ac_ext
30190
30191 fi
30192 eval ac_res=\$wx_cv_func_$wx_func
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30194 $as_echo "$ac_res" >&6; }
30195
30196 if eval test \$wx_cv_func_$wx_func = yes
30197 then
30198 cat >>confdefs.h <<_ACEOF
30199 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30200 _ACEOF
30201
30202
30203 else
30204 :
30205
30206 fi
30207 done
30208
30209 ac_ext=c
30210 ac_cpp='$CPP $CPPFLAGS'
30211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30214
30215
30216 if test "$TOOLKIT" != "MSW"; then
30217
30218 if test "$wxUSE_LIBICONV" != "no" ; then
30219
30220
30221
30222 # Check whether --with-libiconv-prefix was given.
30223 if test "${with_libiconv_prefix+set}" = set; then :
30224 withval=$with_libiconv_prefix;
30225 for dir in `echo "$withval" | tr : ' '`; do
30226 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30227 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30228 done
30229
30230 fi
30231
30232
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30234 $as_echo_n "checking for iconv... " >&6; }
30235 if ${am_cv_func_iconv+:} false; then :
30236 $as_echo_n "(cached) " >&6
30237 else
30238
30239 am_cv_func_iconv="no, consider installing GNU libiconv"
30240 am_cv_lib_iconv=no
30241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30242 /* end confdefs.h. */
30243 #include <stdlib.h>
30244 #include <iconv.h>
30245 int
30246 main ()
30247 {
30248 iconv_t cd = iconv_open("","");
30249 iconv(cd,NULL,NULL,NULL,NULL);
30250 iconv_close(cd);
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 if ac_fn_c_try_link "$LINENO"; then :
30256 am_cv_func_iconv=yes
30257 fi
30258 rm -f core conftest.err conftest.$ac_objext \
30259 conftest$ac_exeext conftest.$ac_ext
30260 if test "$am_cv_func_iconv" != yes; then
30261 am_save_LIBS="$LIBS"
30262 LIBS="$LIBS -liconv"
30263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30264 /* end confdefs.h. */
30265 #include <stdlib.h>
30266 #include <iconv.h>
30267 int
30268 main ()
30269 {
30270 iconv_t cd = iconv_open("","");
30271 iconv(cd,NULL,NULL,NULL,NULL);
30272 iconv_close(cd);
30273 ;
30274 return 0;
30275 }
30276 _ACEOF
30277 if ac_fn_c_try_link "$LINENO"; then :
30278 am_cv_lib_iconv=yes
30279 am_cv_func_iconv=yes
30280 fi
30281 rm -f core conftest.err conftest.$ac_objext \
30282 conftest$ac_exeext conftest.$ac_ext
30283 LIBS="$am_save_LIBS"
30284 fi
30285
30286 fi
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30288 $as_echo "$am_cv_func_iconv" >&6; }
30289 if test "$am_cv_func_iconv" = yes; then
30290
30291 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30292
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30294 $as_echo_n "checking if iconv needs const... " >&6; }
30295 if ${wx_cv_func_iconv_const+:} false; then :
30296 $as_echo_n "(cached) " >&6
30297 else
30298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h. */
30300
30301 #include <stdlib.h>
30302 #include <iconv.h>
30303 extern
30304 #ifdef __cplusplus
30305 "C"
30306 #endif
30307 #if defined(__STDC__) || defined(__cplusplus)
30308 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30309 #else
30310 size_t iconv();
30311 #endif
30312
30313 int
30314 main ()
30315 {
30316
30317 ;
30318 return 0;
30319 }
30320 _ACEOF
30321 if ac_fn_c_try_compile "$LINENO"; then :
30322 wx_cv_func_iconv_const="no"
30323 else
30324 wx_cv_func_iconv_const="yes"
30325
30326 fi
30327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30328
30329 fi
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30331 $as_echo "$wx_cv_func_iconv_const" >&6; }
30332
30333 iconv_const=
30334 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30335 iconv_const="const"
30336 fi
30337
30338
30339 cat >>confdefs.h <<_ACEOF
30340 #define ICONV_CONST $iconv_const
30341 _ACEOF
30342
30343 fi
30344 LIBICONV=
30345 if test "$am_cv_lib_iconv" = yes; then
30346 LIBICONV="-liconv"
30347 fi
30348
30349
30350 LIBS="$LIBICONV $LIBS"
30351 fi
30352
30353 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30354 for ac_func in sigaction
30355 do :
30356 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30357 if test "x$ac_cv_func_sigaction" = xyes; then :
30358 cat >>confdefs.h <<_ACEOF
30359 #define HAVE_SIGACTION 1
30360 _ACEOF
30361
30362 fi
30363 done
30364
30365
30366 if test "$ac_cv_func_sigaction" = "no"; then
30367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30368 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30369 wxUSE_ON_FATAL_EXCEPTION=no
30370 fi
30371
30372 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30374 $as_echo_n "checking for sa_handler type... " >&6; }
30375 if ${wx_cv_type_sa_handler+:} false; then :
30376 $as_echo_n "(cached) " >&6
30377 else
30378
30379 ac_ext=cpp
30380 ac_cpp='$CXXCPP $CPPFLAGS'
30381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30384
30385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30386 /* end confdefs.h. */
30387 #include <signal.h>
30388 int
30389 main ()
30390 {
30391
30392 extern void testSigHandler(int);
30393
30394 struct sigaction sa;
30395 sa.sa_handler = testSigHandler;
30396
30397 ;
30398 return 0;
30399 }
30400 _ACEOF
30401 if ac_fn_cxx_try_compile "$LINENO"; then :
30402
30403 wx_cv_type_sa_handler=int
30404
30405 else
30406
30407 wx_cv_type_sa_handler=void
30408
30409 fi
30410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30411 ac_ext=c
30412 ac_cpp='$CPP $CPPFLAGS'
30413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30416
30417
30418 fi
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30420 $as_echo "$wx_cv_type_sa_handler" >&6; }
30421
30422 cat >>confdefs.h <<_ACEOF
30423 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30424 _ACEOF
30425
30426 fi
30427 fi
30428
30429 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30431 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30432 if ${wx_cv_func_backtrace+:} false; then :
30433 $as_echo_n "(cached) " >&6
30434 else
30435
30436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30437 $as_echo_n "checking for library containing backtrace... " >&6; }
30438 if ${ac_cv_search_backtrace+:} false; then :
30439 $as_echo_n "(cached) " >&6
30440 else
30441 ac_func_search_save_LIBS=$LIBS
30442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30443 /* end confdefs.h. */
30444
30445 /* Override any GCC internal prototype to avoid an error.
30446 Use char because int might match the return type of a GCC
30447 builtin and then its argument prototype would still apply. */
30448 #ifdef __cplusplus
30449 extern "C"
30450 #endif
30451 char backtrace ();
30452 int
30453 main ()
30454 {
30455 return backtrace ();
30456 ;
30457 return 0;
30458 }
30459 _ACEOF
30460 for ac_lib in '' execinfo; do
30461 if test -z "$ac_lib"; then
30462 ac_res="none required"
30463 else
30464 ac_res=-l$ac_lib
30465 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30466 fi
30467 if ac_fn_c_try_link "$LINENO"; then :
30468 ac_cv_search_backtrace=$ac_res
30469 fi
30470 rm -f core conftest.err conftest.$ac_objext \
30471 conftest$ac_exeext
30472 if ${ac_cv_search_backtrace+:} false; then :
30473 break
30474 fi
30475 done
30476 if ${ac_cv_search_backtrace+:} false; then :
30477
30478 else
30479 ac_cv_search_backtrace=no
30480 fi
30481 rm conftest.$ac_ext
30482 LIBS=$ac_func_search_save_LIBS
30483 fi
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30485 $as_echo "$ac_cv_search_backtrace" >&6; }
30486 ac_res=$ac_cv_search_backtrace
30487 if test "$ac_res" != no; then :
30488 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30489
30490 ac_ext=cpp
30491 ac_cpp='$CXXCPP $CPPFLAGS'
30492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30495
30496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30497 /* end confdefs.h. */
30498 #include <execinfo.h>
30499 int
30500 main ()
30501 {
30502
30503 void *trace[1];
30504 char **messages;
30505 backtrace(trace, 1);
30506 messages = backtrace_symbols(trace, 1);
30507
30508 ;
30509 return 0;
30510 }
30511 _ACEOF
30512 if ac_fn_cxx_try_link "$LINENO"; then :
30513 wx_cv_func_backtrace=yes
30514 else
30515 wx_cv_func_backtrace=no
30516
30517 fi
30518 rm -f core conftest.err conftest.$ac_objext \
30519 conftest$ac_exeext conftest.$ac_ext
30520 ac_ext=c
30521 ac_cpp='$CPP $CPPFLAGS'
30522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525
30526
30527 else
30528 wx_cv_func_backtrace=no
30529
30530 fi
30531
30532
30533
30534 fi
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30536 $as_echo "$wx_cv_func_backtrace" >&6; }
30537
30538 if test "$wx_cv_func_backtrace" = "no"; then
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30540 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30541 wxUSE_STACKWALKER=no
30542 else
30543 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30545 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30546 if ${wx_cv_func_cxa_demangle+:} false; then :
30547 $as_echo_n "(cached) " >&6
30548 else
30549
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30555
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <cxxabi.h>
30559 int
30560 main ()
30561 {
30562
30563 int rc;
30564 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30565
30566 ;
30567 return 0;
30568 }
30569 _ACEOF
30570 if ac_fn_cxx_try_link "$LINENO"; then :
30571 wx_cv_func_cxa_demangle=yes
30572 else
30573 wx_cv_func_cxa_demangle=no
30574
30575 fi
30576 rm -f core conftest.err conftest.$ac_objext \
30577 conftest$ac_exeext conftest.$ac_ext
30578 ac_ext=c
30579 ac_cpp='$CPP $CPPFLAGS'
30580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30583
30584
30585
30586 fi
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30588 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30589 else
30590 wx_cv_func_cxa_demangle=no
30591 fi
30592
30593 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30594 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30595
30596 fi
30597 fi
30598 fi
30599
30600 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30602 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30603 wxUSE_STACKWALKER=no
30604 fi
30605
30606
30607 for ac_func in mkstemp mktemp
30608 do :
30609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30612 cat >>confdefs.h <<_ACEOF
30613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30614 _ACEOF
30615 break
30616 fi
30617 done
30618
30619
30620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30621 $as_echo_n "checking for statfs... " >&6; }
30622 if ${wx_cv_func_statfs+:} false; then :
30623 $as_echo_n "(cached) " >&6
30624 else
30625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30626 /* end confdefs.h. */
30627
30628 #if defined(__BSD__)
30629 #include <sys/param.h>
30630 #include <sys/mount.h>
30631 #else
30632 #include <sys/vfs.h>
30633 #endif
30634
30635 int
30636 main ()
30637 {
30638
30639 long l;
30640 struct statfs fs;
30641 statfs("/", &fs);
30642 l = fs.f_bsize;
30643 l += fs.f_blocks;
30644 l += fs.f_bavail;
30645
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 if ac_fn_c_try_compile "$LINENO"; then :
30651 wx_cv_func_statfs=yes
30652 else
30653 wx_cv_func_statfs=no
30654
30655 fi
30656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30657
30658 fi
30659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30660 $as_echo "$wx_cv_func_statfs" >&6; }
30661
30662 if test "$wx_cv_func_statfs" = "yes"; then
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30664 $as_echo_n "checking for statfs declaration... " >&6; }
30665 if ${wx_cv_func_statfs_decl+:} false; then :
30666 $as_echo_n "(cached) " >&6
30667 else
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30673
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676
30677 #if defined(__BSD__)
30678 #include <sys/param.h>
30679 #include <sys/mount.h>
30680 #else
30681 #include <sys/vfs.h>
30682 #endif
30683
30684 int
30685 main ()
30686 {
30687
30688 struct statfs fs;
30689 statfs("", &fs);
30690
30691 ;
30692 return 0;
30693 }
30694 _ACEOF
30695 if ac_fn_cxx_try_compile "$LINENO"; then :
30696 wx_cv_func_statfs_decl=yes
30697 else
30698 wx_cv_func_statfs_decl=no
30699
30700 fi
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702 ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707
30708
30709 fi
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30711 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30712
30713 if test "$wx_cv_func_statfs_decl" = "yes"; then
30714 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30715
30716 fi
30717
30718 wx_cv_type_statvfs_t="struct statfs"
30719 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30720
30721 else
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30723 $as_echo_n "checking for statvfs... " >&6; }
30724 if ${wx_cv_func_statvfs+:} false; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30728 /* end confdefs.h. */
30729
30730 #include <stddef.h>
30731 #include <sys/statvfs.h>
30732
30733 int
30734 main ()
30735 {
30736
30737 statvfs("/", NULL);
30738
30739 ;
30740 return 0;
30741 }
30742 _ACEOF
30743 if ac_fn_c_try_compile "$LINENO"; then :
30744 wx_cv_func_statvfs=yes
30745 else
30746 wx_cv_func_statvfs=no
30747
30748 fi
30749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30750
30751 fi
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30753 $as_echo "$wx_cv_func_statvfs" >&6; }
30754
30755 if test "$wx_cv_func_statvfs" = "yes"; then
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30757 $as_echo_n "checking for statvfs argument type... " >&6; }
30758 if ${wx_cv_type_statvfs_t+:} false; then :
30759 $as_echo_n "(cached) " >&6
30760 else
30761 ac_ext=cpp
30762 ac_cpp='$CXXCPP $CPPFLAGS'
30763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30766
30767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30768 /* end confdefs.h. */
30769
30770 #include <sys/statvfs.h>
30771
30772 int
30773 main ()
30774 {
30775
30776 long l;
30777 statvfs_t fs;
30778 statvfs("/", &fs);
30779 l = fs.f_bsize;
30780 l += fs.f_blocks;
30781 l += fs.f_bavail;
30782
30783 ;
30784 return 0;
30785 }
30786 _ACEOF
30787 if ac_fn_cxx_try_compile "$LINENO"; then :
30788 wx_cv_type_statvfs_t=statvfs_t
30789 else
30790
30791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30792 /* end confdefs.h. */
30793
30794 #include <sys/statvfs.h>
30795
30796 int
30797 main ()
30798 {
30799
30800 long l;
30801 struct statvfs fs;
30802 statvfs("/", &fs);
30803 l = fs.f_bsize;
30804 l += fs.f_blocks;
30805 l += fs.f_bavail;
30806
30807 ;
30808 return 0;
30809 }
30810 _ACEOF
30811 if ac_fn_cxx_try_compile "$LINENO"; then :
30812 wx_cv_type_statvfs_t="struct statvfs"
30813 else
30814 wx_cv_type_statvfs_t="unknown"
30815
30816 fi
30817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30818
30819
30820 fi
30821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30822 ac_ext=c
30823 ac_cpp='$CPP $CPPFLAGS'
30824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30827
30828
30829 fi
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30831 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30832
30833 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30834 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30835
30836 fi
30837 else
30838 wx_cv_type_statvfs_t="unknown"
30839 fi
30840 fi
30841
30842 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30843 cat >>confdefs.h <<_ACEOF
30844 #define WX_STATFS_T $wx_cv_type_statvfs_t
30845 _ACEOF
30846
30847 else
30848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30849 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30850 fi
30851
30852 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30853 for ac_func in fcntl flock
30854 do :
30855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30857 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30858 cat >>confdefs.h <<_ACEOF
30859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30860 _ACEOF
30861 break
30862 fi
30863 done
30864
30865
30866 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30868 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30869 wxUSE_SNGLINST_CHECKER=no
30870 fi
30871 fi
30872
30873 for ac_func in setenv putenv
30874 do :
30875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30878 cat >>confdefs.h <<_ACEOF
30879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30880 _ACEOF
30881 break
30882 fi
30883 done
30884
30885 if test "$ac_cv_func_setenv" = "yes"; then
30886 for ac_func in unsetenv
30887 do :
30888 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30889 if test "x$ac_cv_func_unsetenv" = xyes; then :
30890 cat >>confdefs.h <<_ACEOF
30891 #define HAVE_UNSETENV 1
30892 _ACEOF
30893
30894 fi
30895 done
30896
30897 fi
30898
30899 HAVE_SOME_SLEEP_FUNC=0
30900 if test "$USE_BEOS" = 1; then
30901 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30902
30903 HAVE_SOME_SLEEP_FUNC=1
30904 fi
30905
30906 if test "$USE_DARWIN" = 1; then
30907 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30908
30909 HAVE_SOME_SLEEP_FUNC=1
30910 fi
30911
30912 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30913 POSIX4_LINK=
30914 for ac_func in nanosleep
30915 do :
30916 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30917 if test "x$ac_cv_func_nanosleep" = xyes; then :
30918 cat >>confdefs.h <<_ACEOF
30919 #define HAVE_NANOSLEEP 1
30920 _ACEOF
30921 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30922
30923 else
30924
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30926 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30927 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30928 $as_echo_n "(cached) " >&6
30929 else
30930 ac_check_lib_save_LIBS=$LIBS
30931 LIBS="-lposix4 $LIBS"
30932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30933 /* end confdefs.h. */
30934
30935 /* Override any GCC internal prototype to avoid an error.
30936 Use char because int might match the return type of a GCC
30937 builtin and then its argument prototype would still apply. */
30938 #ifdef __cplusplus
30939 extern "C"
30940 #endif
30941 char nanosleep ();
30942 int
30943 main ()
30944 {
30945 return nanosleep ();
30946 ;
30947 return 0;
30948 }
30949 _ACEOF
30950 if ac_fn_c_try_link "$LINENO"; then :
30951 ac_cv_lib_posix4_nanosleep=yes
30952 else
30953 ac_cv_lib_posix4_nanosleep=no
30954 fi
30955 rm -f core conftest.err conftest.$ac_objext \
30956 conftest$ac_exeext conftest.$ac_ext
30957 LIBS=$ac_check_lib_save_LIBS
30958 fi
30959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30960 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30961 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30962
30963 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30964
30965 POSIX4_LINK=" -lposix4"
30966
30967 else
30968
30969
30970 for wx_func in usleep
30971 do
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30973 $as_echo_n "checking for $wx_func... " >&6; }
30974 if eval \${wx_cv_func_$wx_func+:} false; then :
30975 $as_echo_n "(cached) " >&6
30976 else
30977
30978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30979 /* end confdefs.h. */
30980
30981
30982
30983 $ac_includes_default
30984
30985 int
30986 main ()
30987 {
30988
30989 #ifndef $wx_func
30990 &$wx_func;
30991 #endif
30992
30993
30994 ;
30995 return 0;
30996 }
30997
30998 _ACEOF
30999 if ac_fn_c_try_link "$LINENO"; then :
31000 eval wx_cv_func_$wx_func=yes
31001 else
31002 eval wx_cv_func_$wx_func=no
31003 fi
31004 rm -f core conftest.err conftest.$ac_objext \
31005 conftest$ac_exeext conftest.$ac_ext
31006
31007 fi
31008 eval ac_res=\$wx_cv_func_$wx_func
31009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31010 $as_echo "$ac_res" >&6; }
31011
31012 if eval test \$wx_cv_func_$wx_func = yes
31013 then
31014 cat >>confdefs.h <<_ACEOF
31015 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31016 _ACEOF
31017
31018
31019 else
31020 :
31021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31022 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31023
31024 fi
31025 done
31026
31027
31028
31029 fi
31030
31031
31032
31033 fi
31034 done
31035
31036 fi
31037
31038
31039 for wx_func in uname
31040 do
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31042 $as_echo_n "checking for $wx_func... " >&6; }
31043 if eval \${wx_cv_func_$wx_func+:} false; then :
31044 $as_echo_n "(cached) " >&6
31045 else
31046
31047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31048 /* end confdefs.h. */
31049
31050
31051 #include <sys/utsname.h>
31052 $ac_includes_default
31053
31054 int
31055 main ()
31056 {
31057
31058 #ifndef $wx_func
31059 &$wx_func;
31060 #endif
31061
31062
31063 ;
31064 return 0;
31065 }
31066
31067 _ACEOF
31068 if ac_fn_c_try_link "$LINENO"; then :
31069 eval wx_cv_func_$wx_func=yes
31070 else
31071 eval wx_cv_func_$wx_func=no
31072 fi
31073 rm -f core conftest.err conftest.$ac_objext \
31074 conftest$ac_exeext conftest.$ac_ext
31075
31076 fi
31077 eval ac_res=\$wx_cv_func_$wx_func
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31079 $as_echo "$ac_res" >&6; }
31080
31081 if eval test \$wx_cv_func_$wx_func = yes
31082 then
31083 cat >>confdefs.h <<_ACEOF
31084 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31085 _ACEOF
31086
31087
31088 else
31089 :
31090
31091 fi
31092 done
31093
31094 if test "$wx_cv_func_uname" != yes; then
31095
31096 for wx_func in gethostname
31097 do
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31099 $as_echo_n "checking for $wx_func... " >&6; }
31100 if eval \${wx_cv_func_$wx_func+:} false; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31103
31104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31105 /* end confdefs.h. */
31106
31107
31108
31109 $ac_includes_default
31110
31111 int
31112 main ()
31113 {
31114
31115 #ifndef $wx_func
31116 &$wx_func;
31117 #endif
31118
31119
31120 ;
31121 return 0;
31122 }
31123
31124 _ACEOF
31125 if ac_fn_c_try_link "$LINENO"; then :
31126 eval wx_cv_func_$wx_func=yes
31127 else
31128 eval wx_cv_func_$wx_func=no
31129 fi
31130 rm -f core conftest.err conftest.$ac_objext \
31131 conftest$ac_exeext conftest.$ac_ext
31132
31133 fi
31134 eval ac_res=\$wx_cv_func_$wx_func
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31136 $as_echo "$ac_res" >&6; }
31137
31138 if eval test \$wx_cv_func_$wx_func = yes
31139 then
31140 cat >>confdefs.h <<_ACEOF
31141 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31142 _ACEOF
31143
31144
31145 else
31146 :
31147
31148 fi
31149 done
31150
31151 fi
31152
31153
31154 for wx_func in strtok_r
31155 do
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31157 $as_echo_n "checking for $wx_func... " >&6; }
31158 if eval \${wx_cv_func_$wx_func+:} false; then :
31159 $as_echo_n "(cached) " >&6
31160 else
31161
31162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31163 /* end confdefs.h. */
31164
31165
31166 #define _REENTRANT
31167 $ac_includes_default
31168
31169 int
31170 main ()
31171 {
31172
31173 #ifndef $wx_func
31174 &$wx_func;
31175 #endif
31176
31177
31178 ;
31179 return 0;
31180 }
31181
31182 _ACEOF
31183 if ac_fn_c_try_link "$LINENO"; then :
31184 eval wx_cv_func_$wx_func=yes
31185 else
31186 eval wx_cv_func_$wx_func=no
31187 fi
31188 rm -f core conftest.err conftest.$ac_objext \
31189 conftest$ac_exeext conftest.$ac_ext
31190
31191 fi
31192 eval ac_res=\$wx_cv_func_$wx_func
31193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31194 $as_echo "$ac_res" >&6; }
31195
31196 if eval test \$wx_cv_func_$wx_func = yes
31197 then
31198 cat >>confdefs.h <<_ACEOF
31199 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31200 _ACEOF
31201
31202
31203 else
31204 :
31205
31206 fi
31207 done
31208
31209
31210 INET_LINK=
31211 for ac_func in inet_addr
31212 do :
31213 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31214 if test "x$ac_cv_func_inet_addr" = xyes; then :
31215 cat >>confdefs.h <<_ACEOF
31216 #define HAVE_INET_ADDR 1
31217 _ACEOF
31218 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31219
31220 else
31221
31222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31223 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31224 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31225 $as_echo_n "(cached) " >&6
31226 else
31227 ac_check_lib_save_LIBS=$LIBS
31228 LIBS="-lnsl $LIBS"
31229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31230 /* end confdefs.h. */
31231
31232 /* Override any GCC internal prototype to avoid an error.
31233 Use char because int might match the return type of a GCC
31234 builtin and then its argument prototype would still apply. */
31235 #ifdef __cplusplus
31236 extern "C"
31237 #endif
31238 char inet_addr ();
31239 int
31240 main ()
31241 {
31242 return inet_addr ();
31243 ;
31244 return 0;
31245 }
31246 _ACEOF
31247 if ac_fn_c_try_link "$LINENO"; then :
31248 ac_cv_lib_nsl_inet_addr=yes
31249 else
31250 ac_cv_lib_nsl_inet_addr=no
31251 fi
31252 rm -f core conftest.err conftest.$ac_objext \
31253 conftest$ac_exeext conftest.$ac_ext
31254 LIBS=$ac_check_lib_save_LIBS
31255 fi
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31257 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31258 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31259 INET_LINK="nsl"
31260 else
31261
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31263 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31264 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31265 $as_echo_n "(cached) " >&6
31266 else
31267 ac_check_lib_save_LIBS=$LIBS
31268 LIBS="-lresolv $LIBS"
31269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31270 /* end confdefs.h. */
31271
31272 /* Override any GCC internal prototype to avoid an error.
31273 Use char because int might match the return type of a GCC
31274 builtin and then its argument prototype would still apply. */
31275 #ifdef __cplusplus
31276 extern "C"
31277 #endif
31278 char inet_addr ();
31279 int
31280 main ()
31281 {
31282 return inet_addr ();
31283 ;
31284 return 0;
31285 }
31286 _ACEOF
31287 if ac_fn_c_try_link "$LINENO"; then :
31288 ac_cv_lib_resolv_inet_addr=yes
31289 else
31290 ac_cv_lib_resolv_inet_addr=no
31291 fi
31292 rm -f core conftest.err conftest.$ac_objext \
31293 conftest$ac_exeext conftest.$ac_ext
31294 LIBS=$ac_check_lib_save_LIBS
31295 fi
31296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31297 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31298 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31299 INET_LINK="resolv"
31300 else
31301
31302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31303 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31304 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31305 $as_echo_n "(cached) " >&6
31306 else
31307 ac_check_lib_save_LIBS=$LIBS
31308 LIBS="-lsocket $LIBS"
31309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31310 /* end confdefs.h. */
31311
31312 /* Override any GCC internal prototype to avoid an error.
31313 Use char because int might match the return type of a GCC
31314 builtin and then its argument prototype would still apply. */
31315 #ifdef __cplusplus
31316 extern "C"
31317 #endif
31318 char inet_addr ();
31319 int
31320 main ()
31321 {
31322 return inet_addr ();
31323 ;
31324 return 0;
31325 }
31326 _ACEOF
31327 if ac_fn_c_try_link "$LINENO"; then :
31328 ac_cv_lib_socket_inet_addr=yes
31329 else
31330 ac_cv_lib_socket_inet_addr=no
31331 fi
31332 rm -f core conftest.err conftest.$ac_objext \
31333 conftest$ac_exeext conftest.$ac_ext
31334 LIBS=$ac_check_lib_save_LIBS
31335 fi
31336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31337 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31338 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31339 INET_LINK="socket"
31340
31341 fi
31342
31343
31344
31345 fi
31346
31347
31348
31349 fi
31350
31351
31352
31353 fi
31354 done
31355
31356
31357 for ac_func in inet_aton
31358 do :
31359 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31360 if test "x$ac_cv_func_inet_aton" = xyes; then :
31361 cat >>confdefs.h <<_ACEOF
31362 #define HAVE_INET_ATON 1
31363 _ACEOF
31364 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31365
31366 else
31367
31368 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31370 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31371 if eval \${$as_ac_Lib+:} false; then :
31372 $as_echo_n "(cached) " >&6
31373 else
31374 ac_check_lib_save_LIBS=$LIBS
31375 LIBS="-l$INET_LINK $LIBS"
31376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31377 /* end confdefs.h. */
31378
31379 /* Override any GCC internal prototype to avoid an error.
31380 Use char because int might match the return type of a GCC
31381 builtin and then its argument prototype would still apply. */
31382 #ifdef __cplusplus
31383 extern "C"
31384 #endif
31385 char inet_aton ();
31386 int
31387 main ()
31388 {
31389 return inet_aton ();
31390 ;
31391 return 0;
31392 }
31393 _ACEOF
31394 if ac_fn_c_try_link "$LINENO"; then :
31395 eval "$as_ac_Lib=yes"
31396 else
31397 eval "$as_ac_Lib=no"
31398 fi
31399 rm -f core conftest.err conftest.$ac_objext \
31400 conftest$ac_exeext conftest.$ac_ext
31401 LIBS=$ac_check_lib_save_LIBS
31402 fi
31403 eval ac_res=\$$as_ac_Lib
31404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31405 $as_echo "$ac_res" >&6; }
31406 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31407 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31408
31409 fi
31410
31411
31412 fi
31413 done
31414
31415
31416 if test "x$INET_LINK" != "x"; then
31417 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31418
31419 INET_LINK=" -l$INET_LINK"
31420 fi
31421
31422
31423 for wx_func in fdopen
31424 do
31425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31426 $as_echo_n "checking for $wx_func... " >&6; }
31427 if eval \${wx_cv_func_$wx_func+:} false; then :
31428 $as_echo_n "(cached) " >&6
31429 else
31430
31431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31432 /* end confdefs.h. */
31433
31434
31435
31436 $ac_includes_default
31437
31438 int
31439 main ()
31440 {
31441
31442 #ifndef $wx_func
31443 &$wx_func;
31444 #endif
31445
31446
31447 ;
31448 return 0;
31449 }
31450
31451 _ACEOF
31452 if ac_fn_c_try_link "$LINENO"; then :
31453 eval wx_cv_func_$wx_func=yes
31454 else
31455 eval wx_cv_func_$wx_func=no
31456 fi
31457 rm -f core conftest.err conftest.$ac_objext \
31458 conftest$ac_exeext conftest.$ac_ext
31459
31460 fi
31461 eval ac_res=\$wx_cv_func_$wx_func
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31463 $as_echo "$ac_res" >&6; }
31464
31465 if eval test \$wx_cv_func_$wx_func = yes
31466 then
31467 cat >>confdefs.h <<_ACEOF
31468 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31469 _ACEOF
31470
31471
31472 else
31473 :
31474
31475 fi
31476 done
31477
31478
31479 if test "$wxUSE_TARSTREAM" = "yes"; then
31480
31481 for wx_func in sysconf
31482 do
31483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31484 $as_echo_n "checking for $wx_func... " >&6; }
31485 if eval \${wx_cv_func_$wx_func+:} false; then :
31486 $as_echo_n "(cached) " >&6
31487 else
31488
31489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31490 /* end confdefs.h. */
31491
31492
31493
31494 $ac_includes_default
31495
31496 int
31497 main ()
31498 {
31499
31500 #ifndef $wx_func
31501 &$wx_func;
31502 #endif
31503
31504
31505 ;
31506 return 0;
31507 }
31508
31509 _ACEOF
31510 if ac_fn_c_try_link "$LINENO"; then :
31511 eval wx_cv_func_$wx_func=yes
31512 else
31513 eval wx_cv_func_$wx_func=no
31514 fi
31515 rm -f core conftest.err conftest.$ac_objext \
31516 conftest$ac_exeext conftest.$ac_ext
31517
31518 fi
31519 eval ac_res=\$wx_cv_func_$wx_func
31520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31521 $as_echo "$ac_res" >&6; }
31522
31523 if eval test \$wx_cv_func_$wx_func = yes
31524 then
31525 cat >>confdefs.h <<_ACEOF
31526 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31527 _ACEOF
31528
31529
31530 else
31531 :
31532
31533 fi
31534 done
31535
31536
31537
31538 for wx_func in getpwuid_r
31539 do
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31541 $as_echo_n "checking for $wx_func... " >&6; }
31542 if eval \${wx_cv_func_$wx_func+:} false; then :
31543 $as_echo_n "(cached) " >&6
31544 else
31545
31546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31547 /* end confdefs.h. */
31548
31549
31550
31551 #define _REENTRANT
31552 #include <pwd.h>
31553
31554 $ac_includes_default
31555
31556 int
31557 main ()
31558 {
31559
31560 #ifndef $wx_func
31561 &$wx_func;
31562 #endif
31563
31564 struct passwd pw, *ppw;
31565 char buf[1024];
31566 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31567
31568
31569 ;
31570 return 0;
31571 }
31572
31573 _ACEOF
31574 if ac_fn_c_try_link "$LINENO"; then :
31575 eval wx_cv_func_$wx_func=yes
31576 else
31577 eval wx_cv_func_$wx_func=no
31578 fi
31579 rm -f core conftest.err conftest.$ac_objext \
31580 conftest$ac_exeext conftest.$ac_ext
31581
31582 fi
31583 eval ac_res=\$wx_cv_func_$wx_func
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31585 $as_echo "$ac_res" >&6; }
31586
31587 if eval test \$wx_cv_func_$wx_func = yes
31588 then
31589 cat >>confdefs.h <<_ACEOF
31590 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31591 _ACEOF
31592
31593
31594 else
31595 :
31596
31597 fi
31598 done
31599
31600
31601
31602 for wx_func in getgrgid_r
31603 do
31604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31605 $as_echo_n "checking for $wx_func... " >&6; }
31606 if eval \${wx_cv_func_$wx_func+:} false; then :
31607 $as_echo_n "(cached) " >&6
31608 else
31609
31610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31611 /* end confdefs.h. */
31612
31613
31614
31615 #define _REENTRANT
31616 #include <grp.h>
31617
31618 $ac_includes_default
31619
31620 int
31621 main ()
31622 {
31623
31624 #ifndef $wx_func
31625 &$wx_func;
31626 #endif
31627
31628 struct group grp, *pgrp;
31629 char buf[1024];
31630 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31631
31632
31633 ;
31634 return 0;
31635 }
31636
31637 _ACEOF
31638 if ac_fn_c_try_link "$LINENO"; then :
31639 eval wx_cv_func_$wx_func=yes
31640 else
31641 eval wx_cv_func_$wx_func=no
31642 fi
31643 rm -f core conftest.err conftest.$ac_objext \
31644 conftest$ac_exeext conftest.$ac_ext
31645
31646 fi
31647 eval ac_res=\$wx_cv_func_$wx_func
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31649 $as_echo "$ac_res" >&6; }
31650
31651 if eval test \$wx_cv_func_$wx_func = yes
31652 then
31653 cat >>confdefs.h <<_ACEOF
31654 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31655 _ACEOF
31656
31657
31658 else
31659 :
31660
31661 fi
31662 done
31663
31664 fi
31665
31666 fi
31667
31668
31669
31670 cat >confcache <<\_ACEOF
31671 # This file is a shell script that caches the results of configure
31672 # tests run on this system so they can be shared between configure
31673 # scripts and configure runs, see configure's option --config-cache.
31674 # It is not useful on other systems. If it contains results you don't
31675 # want to keep, you may remove or edit it.
31676 #
31677 # config.status only pays attention to the cache file if you give it
31678 # the --recheck option to rerun configure.
31679 #
31680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31682 # following values.
31683
31684 _ACEOF
31685
31686 # The following way of writing the cache mishandles newlines in values,
31687 # but we know of no workaround that is simple, portable, and efficient.
31688 # So, we kill variables containing newlines.
31689 # Ultrix sh set writes to stderr and can't be redirected directly,
31690 # and sets the high bit in the cache file unless we assign to the vars.
31691 (
31692 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31693 eval ac_val=\$$ac_var
31694 case $ac_val in #(
31695 *${as_nl}*)
31696 case $ac_var in #(
31697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31699 esac
31700 case $ac_var in #(
31701 _ | IFS | as_nl) ;; #(
31702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31703 *) { eval $ac_var=; unset $ac_var;} ;;
31704 esac ;;
31705 esac
31706 done
31707
31708 (set) 2>&1 |
31709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31710 *${as_nl}ac_space=\ *)
31711 # `set' does not quote correctly, so add quotes: double-quote
31712 # substitution turns \\\\ into \\, and sed turns \\ into \.
31713 sed -n \
31714 "s/'/'\\\\''/g;
31715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31716 ;; #(
31717 *)
31718 # `set' quotes correctly as required by POSIX, so do not add quotes.
31719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31720 ;;
31721 esac |
31722 sort
31723 ) |
31724 sed '
31725 /^ac_cv_env_/b end
31726 t clear
31727 :clear
31728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31729 t end
31730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31731 :end' >>confcache
31732 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31733 if test -w "$cache_file"; then
31734 if test "x$cache_file" != "x/dev/null"; then
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31736 $as_echo "$as_me: updating cache $cache_file" >&6;}
31737 if test ! -f "$cache_file" || test -h "$cache_file"; then
31738 cat confcache >"$cache_file"
31739 else
31740 case $cache_file in #(
31741 */* | ?:*)
31742 mv -f confcache "$cache_file"$$ &&
31743 mv -f "$cache_file"$$ "$cache_file" ;; #(
31744 *)
31745 mv -f confcache "$cache_file" ;;
31746 esac
31747 fi
31748 fi
31749 else
31750 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31751 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31752 fi
31753 fi
31754 rm -f confcache
31755
31756
31757 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31758
31759
31760 THREADS_LINK=
31761 THREADS_CFLAGS=
31762
31763 if test "$wxUSE_THREADS" = "yes" ; then
31764 if test "$USE_BEOS" = 1; then
31765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31766 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31767 wxUSE_THREADS="no"
31768 fi
31769 fi
31770
31771 if test "$wxUSE_THREADS" = "yes" ; then
31772
31773
31774 THREAD_OPTS="-pthread"
31775 if test "x$SUNCXX" = xyes; then
31776 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31777 fi
31778
31779 case "${host}" in
31780 *-*-solaris2* | *-*-sunos4* )
31781 if test "x$GCC" = "xyes"; then
31782 THREAD_OPTS="-pthreads $THREAD_OPTS"
31783 fi
31784 ;;
31785 *-*-freebsd*)
31786 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31787 ;;
31788 *-*-darwin* | *-*-cygwin* )
31789 THREAD_OPTS=""
31790 ;;
31791 *-*-aix*)
31792 THREAD_OPTS="pthreads"
31793 ;;
31794 *-hp-hpux* )
31795 if test "x$GCC" = "xyes"; then
31796 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31797 THREAD_OPTS=""
31798 else
31799 THREAD_OPTS="-mt"
31800 fi
31801 ;;
31802
31803 *-*-irix* )
31804 if test "x$GCC" = "xyes"; then
31805 THREAD_OPTS=""
31806 fi
31807 ;;
31808
31809 *-*-qnx*)
31810 THREAD_OPTS=""
31811 ;;
31812
31813 *-*-*UnixWare*)
31814 if test "x$GCC" != "xyes"; then
31815 THREAD_OPTS="-Ethread"
31816 fi
31817 ;;
31818 esac
31819
31820 case "${host}" in
31821 *-*-qnx*)
31822 THREAD_OPTS="none pthread"
31823 ;;
31824
31825 *)
31826 THREAD_OPTS="$THREAD_OPTS pthread none"
31827 ;;
31828 esac
31829
31830 THREADS_OK=no
31831 for flag in $THREAD_OPTS; do
31832 case $flag in
31833 none)
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31835 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31836 ;;
31837
31838 -*)
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31840 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31841 THREADS_CFLAGS="$flag"
31842 ;;
31843
31844 *)
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31846 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31847 THREADS_LINK="-l$flag"
31848 ;;
31849 esac
31850
31851 save_LIBS="$LIBS"
31852 save_CFLAGS="$CFLAGS"
31853 LIBS="$THREADS_LINK $LIBS"
31854 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31855
31856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31857 /* end confdefs.h. */
31858 #include <pthread.h>
31859 int
31860 main ()
31861 {
31862 pthread_create(0,0,0,0);
31863 ;
31864 return 0;
31865 }
31866 _ACEOF
31867 if ac_fn_c_try_link "$LINENO"; then :
31868 THREADS_OK=yes
31869 fi
31870 rm -f core conftest.err conftest.$ac_objext \
31871 conftest$ac_exeext conftest.$ac_ext
31872
31873 LIBS="$save_LIBS"
31874 CFLAGS="$save_CFLAGS"
31875
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31877 $as_echo "$THREADS_OK" >&6; }
31878 if test "x$THREADS_OK" = "xyes"; then
31879 break;
31880 fi
31881
31882 THREADS_LINK=""
31883 THREADS_CFLAGS=""
31884 done
31885
31886 if test "x$THREADS_OK" != "xyes"; then
31887 wxUSE_THREADS=no
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31889 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31890 else
31891 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31892 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31893 LIBS="$THREADS_LINK $LIBS"
31894
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31896 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31897 flag=no
31898 case "${host}" in
31899 *-aix*)
31900 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31901 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31902 flag="-D_THREAD_SAFE"
31903 ;;
31904 *-freebsd*)
31905 flag="-D_THREAD_SAFE"
31906 ;;
31907 *-hp-hpux* )
31908 flag="-D_REENTRANT"
31909 if test "x$GCC" != "xyes"; then
31910 flag="$flag -D_RWSTD_MULTI_THREAD"
31911 fi
31912 ;;
31913 *solaris* | alpha*-osf*)
31914 flag="-D_REENTRANT"
31915 ;;
31916 esac
31917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31918 $as_echo "${flag}" >&6; }
31919 if test "x$flag" != xno; then
31920 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31921 fi
31922
31923 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31924 fi
31925 fi
31926
31927 if test "$wxUSE_THREADS" = "yes" ; then
31928 for ac_func in pthread_setconcurrency
31929 do :
31930 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31931 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31932 cat >>confdefs.h <<_ACEOF
31933 #define HAVE_PTHREAD_SETCONCURRENCY 1
31934 _ACEOF
31935 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31936
31937 else
31938
31939 for ac_func in thr_setconcurrency
31940 do :
31941 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31942 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31943 cat >>confdefs.h <<_ACEOF
31944 #define HAVE_THR_SETCONCURRENCY 1
31945 _ACEOF
31946 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31947
31948 else
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31950 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31951 fi
31952 done
31953
31954
31955 fi
31956 done
31957
31958
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31960 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31961 if ${wx_cv_func_pthread_cleanup+:} false; then :
31962 $as_echo_n "(cached) " >&6
31963 else
31964
31965 ac_ext=cpp
31966 ac_cpp='$CXXCPP $CPPFLAGS'
31967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31970
31971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31972 /* end confdefs.h. */
31973 #include <pthread.h>
31974 void ThreadCleanupFunc(void *p);
31975
31976 int
31977 main ()
31978 {
31979
31980 void *p;
31981 pthread_cleanup_push(ThreadCleanupFunc, p);
31982 pthread_cleanup_pop(0);
31983
31984 ;
31985 return 0;
31986 }
31987 _ACEOF
31988 if ac_fn_cxx_try_compile "$LINENO"; then :
31989
31990 wx_cv_func_pthread_cleanup=yes
31991
31992 else
31993
31994 wx_cv_func_pthread_cleanup=no
31995
31996
31997 fi
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31999 ac_ext=c
32000 ac_cpp='$CPP $CPPFLAGS'
32001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32004
32005
32006 fi
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32008 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32009 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32010 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32011
32012 fi
32013
32014 for ac_header in sched.h
32015 do :
32016 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32017 "
32018 if test "x$ac_cv_header_sched_h" = xyes; then :
32019 cat >>confdefs.h <<_ACEOF
32020 #define HAVE_SCHED_H 1
32021 _ACEOF
32022
32023 fi
32024
32025 done
32026
32027 if test "$ac_cv_header_sched_h" = "yes"; then
32028 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32029 if test "x$ac_cv_func_sched_yield" = xyes; then :
32030 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32031
32032 else
32033
32034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32035 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32036 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
32037 $as_echo_n "(cached) " >&6
32038 else
32039 ac_check_lib_save_LIBS=$LIBS
32040 LIBS="-lposix4 $LIBS"
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043
32044 /* Override any GCC internal prototype to avoid an error.
32045 Use char because int might match the return type of a GCC
32046 builtin and then its argument prototype would still apply. */
32047 #ifdef __cplusplus
32048 extern "C"
32049 #endif
32050 char sched_yield ();
32051 int
32052 main ()
32053 {
32054 return sched_yield ();
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 if ac_fn_c_try_link "$LINENO"; then :
32060 ac_cv_lib_posix4_sched_yield=yes
32061 else
32062 ac_cv_lib_posix4_sched_yield=no
32063 fi
32064 rm -f core conftest.err conftest.$ac_objext \
32065 conftest$ac_exeext conftest.$ac_ext
32066 LIBS=$ac_check_lib_save_LIBS
32067 fi
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32069 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32070 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32071 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32072 POSIX4_LINK=" -lposix4"
32073 else
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32075 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32076
32077 fi
32078
32079
32080
32081 fi
32082
32083 fi
32084
32085 HAVE_PRIOR_FUNCS=0
32086 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32087 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32088 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32089 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32090 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32091 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32092 HAVE_PRIOR_FUNCS=1
32093 else
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32095 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32096 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32097 $as_echo_n "(cached) " >&6
32098 else
32099 ac_check_lib_save_LIBS=$LIBS
32100 LIBS="-lposix4 $LIBS"
32101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32102 /* end confdefs.h. */
32103
32104 /* Override any GCC internal prototype to avoid an error.
32105 Use char because int might match the return type of a GCC
32106 builtin and then its argument prototype would still apply. */
32107 #ifdef __cplusplus
32108 extern "C"
32109 #endif
32110 char sched_get_priority_max ();
32111 int
32112 main ()
32113 {
32114 return sched_get_priority_max ();
32115 ;
32116 return 0;
32117 }
32118 _ACEOF
32119 if ac_fn_c_try_link "$LINENO"; then :
32120 ac_cv_lib_posix4_sched_get_priority_max=yes
32121 else
32122 ac_cv_lib_posix4_sched_get_priority_max=no
32123 fi
32124 rm -f core conftest.err conftest.$ac_objext \
32125 conftest$ac_exeext conftest.$ac_ext
32126 LIBS=$ac_check_lib_save_LIBS
32127 fi
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32129 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32130 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32131
32132 HAVE_PRIOR_FUNCS=1
32133 POSIX4_LINK=" -lposix4"
32134
32135 fi
32136
32137
32138 fi
32139
32140
32141 fi
32142
32143
32144 fi
32145
32146
32147 if test "$HAVE_PRIOR_FUNCS" = 1; then
32148 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32149
32150 else
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32152 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32153 fi
32154
32155 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32156 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32157 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32158
32159 else
32160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32161 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32162 fi
32163
32164
32165 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32166 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32167 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32168
32169 else
32170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32171 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32172 fi
32173
32174
32175 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32176 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32177 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32178
32179 fi
32180
32181
32182
32183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32184 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32185 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32186 $as_echo_n "(cached) " >&6
32187 else
32188
32189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32190 /* end confdefs.h. */
32191 #include <pthread.h>
32192 int
32193 main ()
32194 {
32195
32196 pthread_mutexattr_t attr;
32197 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32198
32199 ;
32200 return 0;
32201 }
32202 _ACEOF
32203 if ac_fn_c_try_compile "$LINENO"; then :
32204 wx_cv_type_pthread_mutexattr_t=yes
32205 else
32206 wx_cv_type_pthread_mutexattr_t=no
32207
32208 fi
32209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32210
32211 fi
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32213 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32214
32215 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32216 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32217
32218
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32220 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32221 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32222 $as_echo_n "(cached) " >&6
32223 else
32224
32225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32226 /* end confdefs.h. */
32227 #include <pthread.h>
32228 int
32229 main ()
32230 {
32231
32232 pthread_mutexattr_t attr;
32233 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32234
32235 ;
32236 return 0;
32237 }
32238 _ACEOF
32239 if ac_fn_c_try_compile "$LINENO"; then :
32240 wx_cv_func_pthread_mutexattr_settype_decl=yes
32241 else
32242 wx_cv_func_pthread_mutexattr_settype_decl=no
32243
32244 fi
32245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32246
32247 fi
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32249 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32250 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32251 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32252
32253 fi
32254 else
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32256 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32257 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32258 $as_echo_n "(cached) " >&6
32259 else
32260
32261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32262 /* end confdefs.h. */
32263 #include <pthread.h>
32264 int
32265 main ()
32266 {
32267
32268 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32269
32270 ;
32271 return 0;
32272 }
32273 _ACEOF
32274 if ac_fn_c_try_compile "$LINENO"; then :
32275
32276 wx_cv_type_pthread_rec_mutex_init=yes
32277
32278 else
32279
32280 wx_cv_type_pthread_rec_mutex_init=no
32281
32282
32283 fi
32284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32285
32286 fi
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32288 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32289 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32290 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32291
32292 else
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32294 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32295 fi
32296 fi
32297
32298 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32299 if test "$USE_NETBSD" = 1; then
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32301 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32302 wxUSE_COMPILER_TLS=no
32303 else
32304 wxUSE_COMPILER_TLS=yes
32305 fi
32306 fi
32307
32308 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32310 $as_echo_n "checking for __thread keyword... " >&6; }
32311 if ${wx_cv_cc___thread+:} false; then :
32312 $as_echo_n "(cached) " >&6
32313 else
32314
32315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32316 /* end confdefs.h. */
32317 #include <pthread.h>
32318 int
32319 main ()
32320 {
32321
32322 static __thread int n = 0;
32323 static __thread int *p = 0;
32324
32325 ;
32326 return 0;
32327 }
32328 _ACEOF
32329 if ac_fn_c_try_compile "$LINENO"; then :
32330 wx_cv_cc___thread=yes
32331 else
32332 wx_cv_cc___thread=no
32333
32334 fi
32335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32336
32337
32338 fi
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32340 $as_echo "$wx_cv_cc___thread" >&6; }
32341
32342 if test "$wx_cv_cc___thread" = "yes"; then
32343
32344 GXX_VERSION=""
32345
32346
32347
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32349 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32350
32351 if test "x$GCC" = "xyes" ; then :
32352
32353 if test -z "" ; then :
32354
32355 ax_gcc_option_test="int main()
32356 {
32357 return 0;
32358 }"
32359
32360 else
32361
32362 ax_gcc_option_test=""
32363
32364 fi
32365
32366 # Dump the test program to file
32367 cat <<EOF > conftest.c
32368 $ax_gcc_option_test
32369 EOF
32370
32371 # Dump back the file to the log, useful for debugging purposes
32372 { ac_try='cat conftest.c 1>&5'
32373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32374 (eval $ac_try) 2>&5
32375 ac_status=$?
32376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32377 test $ac_status = 0; }; }
32378
32379 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32381 (eval $ac_try) 2>&5
32382 ac_status=$?
32383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32384 test $ac_status = 0; }; } ; then :
32385
32386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32387 $as_echo "yes" >&6; }
32388
32389 ax_gcc_version_option=yes
32390
32391
32392 else
32393
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32395 $as_echo "no" >&6; }
32396
32397 ax_gcc_version_option=no
32398
32399
32400 fi
32401
32402 else
32403
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32405 $as_echo "no gcc available" >&6; }
32406
32407 fi
32408
32409 if test "x$GXX" = "xyes"; then :
32410
32411 if test "x$ax_gxx_version_option" != "no"; then :
32412
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32414 $as_echo_n "checking gxx version... " >&6; }
32415 if ${ax_cv_gxx_version+:} false; then :
32416 $as_echo_n "(cached) " >&6
32417 else
32418
32419 ax_cv_gxx_version="`$CXX -dumpversion`"
32420 if test "x$ax_cv_gxx_version" = "x"; then :
32421
32422 ax_cv_gxx_version=""
32423
32424 fi
32425
32426 fi
32427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32428 $as_echo "$ax_cv_gxx_version" >&6; }
32429 GXX_VERSION=$ax_cv_gxx_version
32430
32431 fi
32432
32433 fi
32434
32435
32436 if test -n "$ax_cv_gxx_version"; then
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32438 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32439 case "$ax_cv_gxx_version" in
32440 1.* | 2.* | 3.* )
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32442 $as_echo "no, it's broken" >&6; }
32443 wx_cv_cc___thread=no
32444 ;;
32445 *)
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32447 $as_echo "yes, it works" >&6; }
32448 ;;
32449 esac
32450 fi
32451 fi
32452
32453 if test "$wx_cv_cc___thread" = "yes"; then
32454 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32455
32456 fi
32457 fi
32458
32459 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32461 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32462 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32465
32466 ac_ext=cpp
32467 ac_cpp='$CXXCPP $CPPFLAGS'
32468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32471
32472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32473 /* end confdefs.h. */
32474 #include <cxxabi.h>
32475 int
32476 main ()
32477 {
32478
32479 void foo(abi::__forced_unwind&);
32480
32481 ;
32482 return 0;
32483 }
32484 _ACEOF
32485 if ac_fn_cxx_try_compile "$LINENO"; then :
32486 wx_cv_type_abi_forced_unwind=yes
32487 else
32488 wx_cv_type_abi_forced_unwind=no
32489
32490 fi
32491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32492 ac_ext=c
32493 ac_cpp='$CPP $CPPFLAGS'
32494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32497
32498
32499
32500 fi
32501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32502 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32503 else
32504 wx_cv_type_abi_forced_unwind=no
32505 fi
32506
32507 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32508 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32509
32510 fi
32511 fi
32512
32513 else
32514 if test "$wxUSE_THREADS" = "yes" ; then
32515 case "${host}" in
32516 x86_64-*-mingw32* )
32517 ;;
32518 *-*-mingw32* )
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32520 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32521 if ${wx_cv_cflags_mthread+:} false; then :
32522 $as_echo_n "(cached) " >&6
32523 else
32524
32525 CFLAGS_OLD="$CFLAGS"
32526 CFLAGS="-mthreads $CFLAGS"
32527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528 /* end confdefs.h. */
32529
32530 int
32531 main ()
32532 {
32533
32534 ;
32535 return 0;
32536 }
32537 _ACEOF
32538 if ac_fn_c_try_compile "$LINENO"; then :
32539 wx_cv_cflags_mthread=yes
32540 else
32541 wx_cv_cflags_mthread=no
32542
32543 fi
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545
32546
32547 fi
32548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32549 $as_echo "$wx_cv_cflags_mthread" >&6; }
32550
32551 if test "$wx_cv_cflags_mthread" = "yes"; then
32552 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32553 LDFLAGS="$LDFLAGS -mthreads"
32554 else
32555 CFLAGS="$CFLAGS_OLD"
32556 fi
32557 ;;
32558 *-pc-os2*emx )
32559 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32560 LDFLAGS="$LDFLAGS -Zmt"
32561 ;;
32562 esac
32563 fi
32564 fi
32565
32566 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32567 if test "x$ac_cv_func_localtime_r" = xyes; then :
32568 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32569
32570 fi
32571
32572 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32573 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32574 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32575
32576 fi
32577
32578
32579
32580
32581 ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32586
32587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32588 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32589
32590 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32591 $as_echo_n "(cached) " >&6
32592 else
32593
32594
32595 ################################################################
32596
32597 ac_cv_func_which_gethostbyname_r=unknown
32598
32599 #
32600 # ONE ARGUMENT (sanity check)
32601 #
32602
32603 # This should fail, as there is no variant of gethostbyname_r() that takes
32604 # a single argument. If it actually compiles, then we can assume that
32605 # netdb.h is not declaring the function, and the compiler is thereby
32606 # assuming an implicit prototype. In which case, we're out of luck.
32607 #
32608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32609 /* end confdefs.h. */
32610 #include <netdb.h>
32611 int
32612 main ()
32613 {
32614
32615 char *name = "www.gnu.org";
32616 (void)gethostbyname_r(name) /* ; */
32617
32618
32619 ;
32620 return 0;
32621 }
32622 _ACEOF
32623 if ac_fn_c_try_compile "$LINENO"; then :
32624 ac_cv_func_which_gethostbyname_r=no
32625
32626 fi
32627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32628
32629 #
32630 # SIX ARGUMENTS
32631 # (e.g. Linux)
32632 #
32633
32634 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32635
32636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32637 /* end confdefs.h. */
32638 #include <netdb.h>
32639 int
32640 main ()
32641 {
32642
32643 char *name = "www.gnu.org";
32644 struct hostent ret, *retp;
32645 char buf[1024];
32646 int buflen = 1024;
32647 int my_h_errno;
32648 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32649
32650
32651 ;
32652 return 0;
32653 }
32654 _ACEOF
32655 if ac_fn_c_try_compile "$LINENO"; then :
32656 ac_cv_func_which_gethostbyname_r=six
32657
32658 fi
32659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32660
32661 fi
32662
32663 #
32664 # FIVE ARGUMENTS
32665 # (e.g. Solaris)
32666 #
32667
32668 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32669
32670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32671 /* end confdefs.h. */
32672 #include <netdb.h>
32673 int
32674 main ()
32675 {
32676
32677 char *name = "www.gnu.org";
32678 struct hostent ret;
32679 char buf[1024];
32680 int buflen = 1024;
32681 int my_h_errno;
32682 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32683
32684
32685 ;
32686 return 0;
32687 }
32688 _ACEOF
32689 if ac_fn_c_try_compile "$LINENO"; then :
32690 ac_cv_func_which_gethostbyname_r=five
32691
32692 fi
32693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32694
32695 fi
32696
32697 #
32698 # THREE ARGUMENTS
32699 # (e.g. AIX, HP-UX, Tru64)
32700 #
32701
32702 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32703
32704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32705 /* end confdefs.h. */
32706 #include <netdb.h>
32707 int
32708 main ()
32709 {
32710
32711 char *name = "www.gnu.org";
32712 struct hostent ret;
32713 struct hostent_data data;
32714 (void)gethostbyname_r(name, &ret, &data) /* ; */
32715
32716
32717 ;
32718 return 0;
32719 }
32720 _ACEOF
32721 if ac_fn_c_try_compile "$LINENO"; then :
32722 ac_cv_func_which_gethostbyname_r=three
32723
32724 fi
32725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32726
32727 fi
32728
32729 ################################################################
32730
32731
32732 fi
32733
32734 case "$ac_cv_func_which_gethostbyname_r" in
32735 three)
32736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32737 $as_echo "three" >&6; }
32738 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32739
32740 ;;
32741
32742 five)
32743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32744 $as_echo "five" >&6; }
32745 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32746
32747 ;;
32748
32749 six)
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32751 $as_echo "six" >&6; }
32752 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32753
32754 ;;
32755
32756 no)
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32758 $as_echo "cannot find function declaration in netdb.h" >&6; }
32759 ;;
32760
32761 unknown)
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32763 $as_echo "can't tell" >&6; }
32764 ;;
32765
32766 *)
32767 as_fn_error $? "internal error" "$LINENO" 5
32768 ;;
32769 esac
32770
32771 ac_ext=c
32772 ac_cpp='$CPP $CPPFLAGS'
32773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32776
32777
32778
32779 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32780 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32781 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32782 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32783 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32784
32785 fi
32786
32787 fi
32788
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32790 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32791 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32792 $as_echo_n "(cached) " >&6
32793 else
32794
32795 ac_ext=cpp
32796 ac_cpp='$CXXCPP $CPPFLAGS'
32797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32800
32801
32802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32803 /* end confdefs.h. */
32804 #include <netdb.h>
32805 int
32806 main ()
32807 {
32808
32809 char *name;
32810 char *proto;
32811 struct servent *se, *res;
32812 char buffer[2048];
32813 int buflen = 2048;
32814 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32815
32816 ;
32817 return 0;
32818 }
32819 _ACEOF
32820 if ac_fn_cxx_try_compile "$LINENO"; then :
32821 ac_cv_func_which_getservbyname_r=six
32822 else
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;
32832 char *proto;
32833 struct servent *se;
32834 char buffer[2048];
32835 int buflen = 2048;
32836 (void) getservbyname_r(name, proto, se, buffer, buflen)
32837
32838 ;
32839 return 0;
32840 }
32841 _ACEOF
32842 if ac_fn_cxx_try_compile "$LINENO"; then :
32843 ac_cv_func_which_getservbyname_r=five
32844 else
32845
32846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32847 /* end confdefs.h. */
32848 #include <netdb.h>
32849 int
32850 main ()
32851 {
32852
32853 char *name;
32854 char *proto;
32855 struct servent *se;
32856 struct servent_data data;
32857 (void) getservbyname_r(name, proto, se, &data);
32858
32859 ;
32860 return 0;
32861 }
32862 _ACEOF
32863 if ac_fn_cxx_try_compile "$LINENO"; then :
32864 ac_cv_func_which_getservbyname_r=four
32865 else
32866 ac_cv_func_which_getservbyname_r=no
32867
32868 fi
32869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32870
32871
32872 fi
32873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32874
32875
32876 fi
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_ext=c
32879 ac_cpp='$CPP $CPPFLAGS'
32880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32883
32884
32885
32886 fi
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32888 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32889
32890 if test $ac_cv_func_which_getservbyname_r = six; then
32891 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32892
32893 elif test $ac_cv_func_which_getservbyname_r = five; then
32894 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32895
32896 elif test $ac_cv_func_which_getservbyname_r = four; then
32897 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32898
32899 fi
32900
32901
32902 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32903 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32904 for ac_func in getservbyname
32905 do :
32906 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32907 if test "x$ac_cv_func_getservbyname" = xyes; then :
32908 cat >>confdefs.h <<_ACEOF
32909 #define HAVE_GETSERVBYNAME 1
32910 _ACEOF
32911 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32912
32913 fi
32914 done
32915
32916 fi
32917
32918 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32919
32920
32921 if test "$wxUSE_THREADS" = "yes"; then
32922 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32923
32924
32925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32926 else
32927 if test "$wx_cv_func_strtok_r" = "yes"; then
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32929 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32930 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32931 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32933 $as_echo "yes" >&6; }
32934 else
32935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32936 $as_echo "no" >&6; }
32937 fi
32938 fi
32939 fi
32940
32941 if test "$WXGTK3" = 1 ; then
32942 cat >>confdefs.h <<_ACEOF
32943 #define __WXGTK3__ 1
32944 _ACEOF
32945
32946 WXGTK2=1
32947 fi
32948 if test "$WXGTK2" = 1 ; then
32949 cat >>confdefs.h <<_ACEOF
32950 #define __WXGTK20__ $WXGTK2
32951 _ACEOF
32952
32953 fi
32954
32955 if test "$WXGTK127" = 1 ; then
32956 cat >>confdefs.h <<_ACEOF
32957 #define __WXGTK127__ $WXGTK127
32958 _ACEOF
32959
32960 fi
32961
32962 if test "$WXGPE" = 1 ; then
32963 cat >>confdefs.h <<_ACEOF
32964 #define __WXGPE__ $WXGPE
32965 _ACEOF
32966
32967 fi
32968
32969 DEBUG_CFLAGS=
32970 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32972 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32973 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32974 DEBUG_CFLAGS="-g"
32975 fi
32976
32977 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32978 wxUSE_DEBUG_INFO=yes
32979 if test "$GCC" = yes; then
32980 DEBUG_CFLAGS="-ggdb"
32981 fi
32982 fi
32983
32984 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32985 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32986
32987 if test "$wxUSE_GTK" = 1 ; then
32988 if test "$WXGTK2" = 1 ; then
32989 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32990 else
32991 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32992 fi
32993 fi
32994 fi
32995
32996 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32997 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32998
32999 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33000
33001 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33002
33003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33004 fi
33005
33006 if test "$wxUSE_DMALLOC" = "yes" ; then
33007 DMALLOC_LIBS="-ldmallocthcxx"
33008 fi
33009
33010 PROFILE_FLAGS=
33011 if test "$wxUSE_PROFILE" = "yes" ; then
33012 PROFILE_FLAGS=" -pg"
33013 fi
33014
33015 if test "$GCC" = "yes" ; then
33016 if test "$wxUSE_NO_RTTI" = "yes" ; then
33017 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33018 fi
33019 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33020 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
33021 fi
33022 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
33024 fi
33025
33026 case "${host}" in
33027 powerpc*-*-aix* )
33028 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
33029 ;;
33030 *-hppa* )
33031 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
33032 ;;
33033 esac
33034 fi
33035
33036 OPTIMISE_CFLAGS=
33037 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33039 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33040 else
33041 if test "$wxUSE_OPTIMISE" = "no" ; then
33042 if test "$GCC" = yes ; then
33043 OPTIMISE_CFLAGS="-O0"
33044 fi
33045 else
33046 if test "$GCC" = yes ; then
33047 case "${host}" in
33048 *-pc-os2_emx | *-pc-os2-emx )
33049 OPTIMISE_CFLAGS="-O2"
33050 ;;
33051 *)
33052 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
33053 ;;
33054 esac
33055 else
33056 OPTIMISE_CFLAGS="-O"
33057 fi
33058 fi
33059 fi
33060
33061
33062 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33063 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33064
33065
33066 WXWIN_COMPATIBILITY_2_8="yes"
33067 fi
33068
33069 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33070 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33071
33072 fi
33073
33074
33075 if test "$wxUSE_GUI" = "yes"; then
33076 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33077
33078
33079 fi
33080
33081
33082 if test "$wxUSE_UNIX" = "yes"; then
33083 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33084
33085 fi
33086
33087
33088 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33089
33090 HAVE_DL_FUNCS=0
33091 HAVE_SHL_FUNCS=0
33092 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33093 if test "$USE_DOS" = 1; then
33094 HAVE_DL_FUNCS=0
33095 else
33096 for ac_func in dlopen
33097 do :
33098 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33099 if test "x$ac_cv_func_dlopen" = xyes; then :
33100 cat >>confdefs.h <<_ACEOF
33101 #define HAVE_DLOPEN 1
33102 _ACEOF
33103
33104 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33105
33106 HAVE_DL_FUNCS=1
33107
33108 else
33109
33110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33111 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33112 if ${ac_cv_lib_dl_dlopen+:} false; then :
33113 $as_echo_n "(cached) " >&6
33114 else
33115 ac_check_lib_save_LIBS=$LIBS
33116 LIBS="-ldl $LIBS"
33117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33118 /* end confdefs.h. */
33119
33120 /* Override any GCC internal prototype to avoid an error.
33121 Use char because int might match the return type of a GCC
33122 builtin and then its argument prototype would still apply. */
33123 #ifdef __cplusplus
33124 extern "C"
33125 #endif
33126 char dlopen ();
33127 int
33128 main ()
33129 {
33130 return dlopen ();
33131 ;
33132 return 0;
33133 }
33134 _ACEOF
33135 if ac_fn_c_try_link "$LINENO"; then :
33136 ac_cv_lib_dl_dlopen=yes
33137 else
33138 ac_cv_lib_dl_dlopen=no
33139 fi
33140 rm -f core conftest.err conftest.$ac_objext \
33141 conftest$ac_exeext conftest.$ac_ext
33142 LIBS=$ac_check_lib_save_LIBS
33143 fi
33144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33145 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33146 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33147
33148 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33149
33150 HAVE_DL_FUNCS=1
33151 DL_LINK=" -ldl$DL_LINK"
33152
33153 else
33154
33155 for ac_func in shl_load
33156 do :
33157 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33158 if test "x$ac_cv_func_shl_load" = xyes; then :
33159 cat >>confdefs.h <<_ACEOF
33160 #define HAVE_SHL_LOAD 1
33161 _ACEOF
33162
33163 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33164
33165 HAVE_SHL_FUNCS=1
33166
33167 else
33168
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33170 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33171 if ${ac_cv_lib_shl_load_dld+:} false; then :
33172 $as_echo_n "(cached) " >&6
33173 else
33174 ac_check_lib_save_LIBS=$LIBS
33175 LIBS="-lshl_load $LIBS"
33176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33177 /* end confdefs.h. */
33178
33179 /* Override any GCC internal prototype to avoid an error.
33180 Use char because int might match the return type of a GCC
33181 builtin and then its argument prototype would still apply. */
33182 #ifdef __cplusplus
33183 extern "C"
33184 #endif
33185 char dld ();
33186 int
33187 main ()
33188 {
33189 return dld ();
33190 ;
33191 return 0;
33192 }
33193 _ACEOF
33194 if ac_fn_c_try_link "$LINENO"; then :
33195 ac_cv_lib_shl_load_dld=yes
33196 else
33197 ac_cv_lib_shl_load_dld=no
33198 fi
33199 rm -f core conftest.err conftest.$ac_objext \
33200 conftest$ac_exeext conftest.$ac_ext
33201 LIBS=$ac_check_lib_save_LIBS
33202 fi
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33204 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33205 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33206
33207 HAVE_SHL_FUNCS=1
33208 DL_LINK=" -ldld$DL_LINK"
33209
33210 fi
33211
33212
33213 fi
33214 done
33215
33216
33217 fi
33218
33219
33220 fi
33221 done
33222
33223
33224 if test "$HAVE_DL_FUNCS" = 1; then
33225 for ac_func in dlerror
33226 do :
33227 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33228 if test "x$ac_cv_func_dlerror" = xyes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE_DLERROR 1
33231 _ACEOF
33232 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33233
33234 else
33235
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33237 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33238 if ${ac_cv_lib_dl_dlerror+:} false; then :
33239 $as_echo_n "(cached) " >&6
33240 else
33241 ac_check_lib_save_LIBS=$LIBS
33242 LIBS="-ldl $LIBS"
33243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33244 /* end confdefs.h. */
33245
33246 /* Override any GCC internal prototype to avoid an error.
33247 Use char because int might match the return type of a GCC
33248 builtin and then its argument prototype would still apply. */
33249 #ifdef __cplusplus
33250 extern "C"
33251 #endif
33252 char dlerror ();
33253 int
33254 main ()
33255 {
33256 return dlerror ();
33257 ;
33258 return 0;
33259 }
33260 _ACEOF
33261 if ac_fn_c_try_link "$LINENO"; then :
33262 ac_cv_lib_dl_dlerror=yes
33263 else
33264 ac_cv_lib_dl_dlerror=no
33265 fi
33266 rm -f core conftest.err conftest.$ac_objext \
33267 conftest$ac_exeext conftest.$ac_ext
33268 LIBS=$ac_check_lib_save_LIBS
33269 fi
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33271 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33272 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33273 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33274
33275 fi
33276
33277
33278
33279 fi
33280 done
33281
33282 fi
33283 fi
33284
33285 if test "$USE_DARWIN" = 1; then
33286 HAVE_DL_FUNCS=1
33287 fi
33288
33289 if test "$HAVE_DL_FUNCS" = 0; then
33290 if test "$HAVE_SHL_FUNCS" = 0; then
33291 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33293 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33294 wxUSE_DYNAMIC_LOADER=no
33295 wxUSE_DYNLIB_CLASS=no
33296 else
33297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33298 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33299 fi
33300 fi
33301 fi
33302 fi
33303 fi
33304
33305 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33306 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33307
33308 fi
33309 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33310 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33311
33312 fi
33313
33314
33315
33316 if test "$wxUSE_PLUGINS" = "yes" ; then
33317 if test "$wxUSE_SHARED" = "no" ; then
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33319 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33320 wxUSE_PLUGINS=no
33321 fi
33322 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33324 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33325 wxUSE_PLUGINS=no
33326 fi
33327 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33329 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33330 wxUSE_PLUGINS=no
33331 fi
33332 if test "$wxUSE_PLUGINS" = "yes" ; then
33333 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33334
33335 fi
33336 fi
33337
33338
33339 if test "$wxUSE_FSWATCHER" = "yes"; then
33340 if test "$wxUSE_MSW" != "1"; then
33341 if test "$wxUSE_UNIX" = "yes"; then
33342 for ac_header in sys/inotify.h
33343 do :
33344 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33345 "
33346 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33347 cat >>confdefs.h <<_ACEOF
33348 #define HAVE_SYS_INOTIFY_H 1
33349 _ACEOF
33350
33351 fi
33352
33353 done
33354
33355 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33356 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33357
33358 else
33359 for ac_header in sys/event.h
33360 do :
33361 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33362 "
33363 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33364 cat >>confdefs.h <<_ACEOF
33365 #define HAVE_SYS_EVENT_H 1
33366 _ACEOF
33367
33368 fi
33369
33370 done
33371
33372 if test "$ac_cv_header_sys_event_h" = "yes"; then
33373 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33374
33375 else
33376 wxUSE_FSWATCHER=no
33377 fi
33378 fi
33379 else
33380 wxUSE_FSWATCHER=no
33381 fi
33382 else
33383 if test "$wxUSE_THREADS" != "yes"; then
33384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33385 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33386 wxUSE_FSWATCHER=no
33387 fi
33388 fi
33389
33390 if test "$wxUSE_FSWATCHER" = "yes"; then
33391 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33392
33393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33394 else
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33396 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33397 fi
33398 fi
33399
33400
33401 if test "$wxUSE_STL" = "yes"; then
33402 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33403
33404 fi
33405
33406 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33407 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33408
33409 fi
33410
33411 if test "$wxUSE_ANY" = "yes"; then
33412 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33413
33414 fi
33415
33416 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33417 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33418
33419 fi
33420
33421 if test "$wxUSE_TIMER" = "yes"; then
33422 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33423
33424 fi
33425
33426 if test "$USE_UNIX" = 1 ; then
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33428 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33429 if ${ac_cv_header_sys_soundcard+:} false; then :
33430 $as_echo_n "(cached) " >&6
33431 else
33432
33433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33434 /* end confdefs.h. */
33435
33436 #include <sys/ioctl.h>
33437 #include <sys/soundcard.h>
33438
33439 int
33440 main ()
33441 {
33442
33443 ioctl(0, SNDCTL_DSP_SPEED, 0);
33444
33445 ;
33446 return 0;
33447 }
33448 _ACEOF
33449 if ac_fn_c_try_link "$LINENO"; then :
33450 ac_cv_header_sys_soundcard=yes
33451 else
33452
33453 saveLibs="$LIBS"
33454 LIBS="$saveLibs -lossaudio"
33455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33456 /* end confdefs.h. */
33457
33458 #include <sys/ioctl.h>
33459 #include <sys/soundcard.h>
33460
33461 int
33462 main ()
33463 {
33464
33465 ioctl(0, SNDCTL_DSP_SPEED, 0);
33466
33467 ;
33468 return 0;
33469 }
33470 _ACEOF
33471 if ac_fn_c_try_link "$LINENO"; then :
33472 ac_cv_header_sys_soundcard=yes
33473 else
33474
33475 LIBS="$saveLibs"
33476 ac_cv_header_sys_soundcard=no
33477
33478
33479 fi
33480 rm -f core conftest.err conftest.$ac_objext \
33481 conftest$ac_exeext conftest.$ac_ext
33482
33483
33484 fi
33485 rm -f core conftest.err conftest.$ac_objext \
33486 conftest$ac_exeext conftest.$ac_ext
33487
33488 fi
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33490 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33491
33492 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33493 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33494
33495 fi
33496 fi
33497
33498 WITH_PLUGIN_SDL=0
33499 if test "$wxUSE_SOUND" = "yes"; then
33500 if test "$USE_UNIX" = 1 ; then
33501 if test "$wxUSE_LIBSDL" != "no"; then
33502
33503 # Check whether --with-sdl-prefix was given.
33504 if test "${with_sdl_prefix+set}" = set; then :
33505 withval=$with_sdl_prefix; sdl_prefix="$withval"
33506 else
33507 sdl_prefix=""
33508 fi
33509
33510
33511 # Check whether --with-sdl-exec-prefix was given.
33512 if test "${with_sdl_exec_prefix+set}" = set; then :
33513 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33514 else
33515 sdl_exec_prefix=""
33516 fi
33517
33518 # Check whether --enable-sdltest was given.
33519 if test "${enable_sdltest+set}" = set; then :
33520 enableval=$enable_sdltest;
33521 else
33522 enable_sdltest=yes
33523 fi
33524
33525
33526 if test x$sdl_exec_prefix != x ; then
33527 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33528 if test x${SDL_CONFIG+set} != xset ; then
33529 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33530 fi
33531 fi
33532 if test x$sdl_prefix != x ; then
33533 sdl_args="$sdl_args --prefix=$sdl_prefix"
33534 if test x${SDL_CONFIG+set} != xset ; then
33535 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33536 fi
33537 fi
33538
33539 if test "x$prefix" != xNONE; then
33540 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33541 fi
33542 # Extract the first word of "sdl-config", so it can be a program name with args.
33543 set dummy sdl-config; ac_word=$2
33544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33545 $as_echo_n "checking for $ac_word... " >&6; }
33546 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33547 $as_echo_n "(cached) " >&6
33548 else
33549 case $SDL_CONFIG in
33550 [\\/]* | ?:[\\/]*)
33551 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33552 ;;
33553 *)
33554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33555 for as_dir in $PATH
33556 do
33557 IFS=$as_save_IFS
33558 test -z "$as_dir" && as_dir=.
33559 for ac_exec_ext in '' $ac_executable_extensions; do
33560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33561 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33563 break 2
33564 fi
33565 done
33566 done
33567 IFS=$as_save_IFS
33568
33569 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33570 ;;
33571 esac
33572 fi
33573 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33574 if test -n "$SDL_CONFIG"; then
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33576 $as_echo "$SDL_CONFIG" >&6; }
33577 else
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33579 $as_echo "no" >&6; }
33580 fi
33581
33582
33583 min_sdl_version=1.2.0
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33585 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33586 no_sdl=""
33587 if test "$SDL_CONFIG" = "no" ; then
33588 no_sdl=yes
33589 else
33590 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33591 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33592
33593 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33595 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33597 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33599 if test "x$enable_sdltest" = "xyes" ; then
33600 ac_save_CFLAGS="$CFLAGS"
33601 ac_save_CXXFLAGS="$CXXFLAGS"
33602 ac_save_LIBS="$LIBS"
33603 CFLAGS="$CFLAGS $SDL_CFLAGS"
33604 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33605 LIBS="$LIBS $SDL_LIBS"
33606 rm -f conf.sdltest
33607 if test "$cross_compiling" = yes; then :
33608 echo $ac_n "cross compiling; assumed OK... $ac_c"
33609 else
33610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33611 /* end confdefs.h. */
33612
33613 #include <stdio.h>
33614 #include <stdlib.h>
33615 #include <string.h>
33616 #include "SDL.h"
33617
33618 char*
33619 my_strdup (char *str)
33620 {
33621 char *new_str;
33622
33623 if (str)
33624 {
33625 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33626 strcpy (new_str, str);
33627 }
33628 else
33629 new_str = NULL;
33630
33631 return new_str;
33632 }
33633
33634 int main (int argc, char *argv[])
33635 {
33636 int major, minor, micro;
33637 char *tmp_version;
33638
33639 /* This hangs on some systems (?)
33640 system ("touch conf.sdltest");
33641 */
33642 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33643
33644 /* HP/UX 9 (%@#!) writes to sscanf strings */
33645 tmp_version = my_strdup("$min_sdl_version");
33646 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33647 printf("%s, bad version string\n", "$min_sdl_version");
33648 exit(1);
33649 }
33650
33651 if (($sdl_major_version > major) ||
33652 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33653 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33654 {
33655 return 0;
33656 }
33657 else
33658 {
33659 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33660 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33661 printf("*** best to upgrade to the required version.\n");
33662 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33663 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33664 printf("*** config.cache before re-running configure\n");
33665 return 1;
33666 }
33667 }
33668
33669
33670 _ACEOF
33671 if ac_fn_c_try_run "$LINENO"; then :
33672
33673 else
33674 no_sdl=yes
33675 fi
33676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33677 conftest.$ac_objext conftest.beam conftest.$ac_ext
33678 fi
33679
33680 CFLAGS="$ac_save_CFLAGS"
33681 CXXFLAGS="$ac_save_CXXFLAGS"
33682 LIBS="$ac_save_LIBS"
33683 fi
33684 fi
33685 if test "x$no_sdl" = x ; then
33686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33687 $as_echo "yes" >&6; }
33688
33689 EXTRALIBS_SDL="$SDL_LIBS"
33690 CFLAGS="$SDL_CFLAGS $CFLAGS"
33691 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33692 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33693
33694
33695 else
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33697 $as_echo "no" >&6; }
33698 if test "$SDL_CONFIG" = "no" ; then
33699 echo "*** The sdl-config script installed by SDL could not be found"
33700 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33701 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33702 echo "*** full path to sdl-config."
33703 else
33704 if test -f conf.sdltest ; then
33705 :
33706 else
33707 echo "*** Could not run SDL test program, checking why..."
33708 CFLAGS="$CFLAGS $SDL_CFLAGS"
33709 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33710 LIBS="$LIBS $SDL_LIBS"
33711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33712 /* end confdefs.h. */
33713
33714 #include <stdio.h>
33715 #include "SDL.h"
33716
33717 int main(int argc, char *argv[])
33718 { return 0; }
33719 #undef main
33720 #define main K_and_R_C_main
33721
33722 int
33723 main ()
33724 {
33725 return 0;
33726 ;
33727 return 0;
33728 }
33729 _ACEOF
33730 if ac_fn_c_try_link "$LINENO"; then :
33731 echo "*** The test program compiled, but did not run. This usually means"
33732 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33733 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33734 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33735 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33736 echo "*** is required on your system"
33737 echo "***"
33738 echo "*** If you have an old version installed, it is best to remove it, although"
33739 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33740 else
33741 echo "*** The test program failed to compile or link. See the file config.log for the"
33742 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33743 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33744 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33745 fi
33746 rm -f core conftest.err conftest.$ac_objext \
33747 conftest$ac_exeext conftest.$ac_ext
33748 CFLAGS="$ac_save_CFLAGS"
33749 CXXFLAGS="$ac_save_CXXFLAGS"
33750 LIBS="$ac_save_LIBS"
33751 fi
33752 fi
33753 SDL_CFLAGS=""
33754 SDL_LIBS=""
33755 wxUSE_LIBSDL="no"
33756 fi
33757
33758
33759 rm -f conf.sdltest
33760
33761 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33762 WITH_PLUGIN_SDL=1
33763 fi
33764 fi
33765 fi
33766 fi
33767
33768 if test "$wxUSE_SOUND" = "yes"; then
33769 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33770
33771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33772 fi
33773
33774 if test "$WXGTK2" = 1; then
33775
33776
33777 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33778 if test -n "$ac_tool_prefix"; then
33779 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33780 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33782 $as_echo_n "checking for $ac_word... " >&6; }
33783 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33784 $as_echo_n "(cached) " >&6
33785 else
33786 case $PKG_CONFIG in
33787 [\\/]* | ?:[\\/]*)
33788 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33789 ;;
33790 *)
33791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33792 for as_dir in $PATH
33793 do
33794 IFS=$as_save_IFS
33795 test -z "$as_dir" && as_dir=.
33796 for ac_exec_ext in '' $ac_executable_extensions; do
33797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33798 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33800 break 2
33801 fi
33802 done
33803 done
33804 IFS=$as_save_IFS
33805
33806 ;;
33807 esac
33808 fi
33809 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33810 if test -n "$PKG_CONFIG"; then
33811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33812 $as_echo "$PKG_CONFIG" >&6; }
33813 else
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33815 $as_echo "no" >&6; }
33816 fi
33817
33818
33819 fi
33820 if test -z "$ac_cv_path_PKG_CONFIG"; then
33821 ac_pt_PKG_CONFIG=$PKG_CONFIG
33822 # Extract the first word of "pkg-config", so it can be a program name with args.
33823 set dummy pkg-config; ac_word=$2
33824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33825 $as_echo_n "checking for $ac_word... " >&6; }
33826 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33827 $as_echo_n "(cached) " >&6
33828 else
33829 case $ac_pt_PKG_CONFIG in
33830 [\\/]* | ?:[\\/]*)
33831 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33832 ;;
33833 *)
33834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33835 for as_dir in $PATH
33836 do
33837 IFS=$as_save_IFS
33838 test -z "$as_dir" && as_dir=.
33839 for ac_exec_ext in '' $ac_executable_extensions; do
33840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33841 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33843 break 2
33844 fi
33845 done
33846 done
33847 IFS=$as_save_IFS
33848
33849 ;;
33850 esac
33851 fi
33852 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33853 if test -n "$ac_pt_PKG_CONFIG"; then
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33855 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33856 else
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33858 $as_echo "no" >&6; }
33859 fi
33860
33861 if test "x$ac_pt_PKG_CONFIG" = x; then
33862 PKG_CONFIG=""
33863 else
33864 case $cross_compiling:$ac_tool_warned in
33865 yes:)
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33868 ac_tool_warned=yes ;;
33869 esac
33870 PKG_CONFIG=$ac_pt_PKG_CONFIG
33871 fi
33872 else
33873 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33874 fi
33875
33876 fi
33877 if test -n "$PKG_CONFIG"; then
33878 _pkg_min_version=0.9.0
33879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33880 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33881 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33883 $as_echo "yes" >&6; }
33884 else
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33886 $as_echo "no" >&6; }
33887 PKG_CONFIG=""
33888 fi
33889
33890 fi
33891
33892 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33893
33894 if test "$wxUSE_GTKPRINT" = "yes" ; then
33895 if test "$WXGTK3" = 1; then
33896 gtk_unix_print="gtk+-unix-print-3.0"
33897 else
33898 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33899 fi
33900
33901 pkg_failed=no
33902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33903 $as_echo_n "checking for GTKPRINT... " >&6; }
33904
33905 if test -n "$PKG_CONFIG"; then
33906 if test -n "$GTKPRINT_CFLAGS"; then
33907 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33908 else
33909 if test -n "$PKG_CONFIG" && \
33910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33911 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33912 ac_status=$?
33913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33914 test $ac_status = 0; }; then
33915 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33916 else
33917 pkg_failed=yes
33918 fi
33919 fi
33920 else
33921 pkg_failed=untried
33922 fi
33923 if test -n "$PKG_CONFIG"; then
33924 if test -n "$GTKPRINT_LIBS"; then
33925 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33926 else
33927 if test -n "$PKG_CONFIG" && \
33928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33929 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33930 ac_status=$?
33931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33932 test $ac_status = 0; }; then
33933 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33934 else
33935 pkg_failed=yes
33936 fi
33937 fi
33938 else
33939 pkg_failed=untried
33940 fi
33941
33942
33943
33944 if test $pkg_failed = yes; then
33945
33946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33947 _pkg_short_errors_supported=yes
33948 else
33949 _pkg_short_errors_supported=no
33950 fi
33951 if test $_pkg_short_errors_supported = yes; then
33952 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33953 else
33954 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33955 fi
33956 # Put the nasty error message in config.log where it belongs
33957 echo "$GTKPRINT_PKG_ERRORS" >&5
33958
33959
33960 { $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
33961 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33962 wxUSE_GTKPRINT="no"
33963
33964
33965 elif test $pkg_failed = untried; then
33966
33967 { $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
33968 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33969 wxUSE_GTKPRINT="no"
33970
33971
33972 else
33973 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33974 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33976 $as_echo "yes" >&6; }
33977
33978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33979 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33980 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33981 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33982
33983
33984 fi
33985 fi
33986
33987 if test "$WXGTK3" = 1; then
33988 wxUSE_LIBGNOMEPRINT=no
33989 fi
33990
33991 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33992
33993
33994 pkg_failed=no
33995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33996 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33997
33998 if test -n "$PKG_CONFIG"; then
33999 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34000 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
34001 else
34002 if test -n "$PKG_CONFIG" && \
34003 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34004 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34005 ac_status=$?
34006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34007 test $ac_status = 0; }; then
34008 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34009 else
34010 pkg_failed=yes
34011 fi
34012 fi
34013 else
34014 pkg_failed=untried
34015 fi
34016 if test -n "$PKG_CONFIG"; then
34017 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34018 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
34019 else
34020 if test -n "$PKG_CONFIG" && \
34021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34022 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34023 ac_status=$?
34024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34025 test $ac_status = 0; }; then
34026 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34027 else
34028 pkg_failed=yes
34029 fi
34030 fi
34031 else
34032 pkg_failed=untried
34033 fi
34034
34035
34036
34037 if test $pkg_failed = yes; then
34038
34039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34040 _pkg_short_errors_supported=yes
34041 else
34042 _pkg_short_errors_supported=no
34043 fi
34044 if test $_pkg_short_errors_supported = yes; then
34045 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34046 else
34047 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34048 fi
34049 # Put the nasty error message in config.log where it belongs
34050 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34051
34052
34053 if test "$wxUSE_GTKPRINT" = yes; then
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34055 $as_echo "no" >&6; }
34056 else
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34058 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34059 fi
34060 wxUSE_LIBGNOMEPRINT="no"
34061
34062
34063 elif test $pkg_failed = untried; then
34064
34065 if test "$wxUSE_GTKPRINT" = yes; then
34066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34067 $as_echo "no" >&6; }
34068 else
34069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34070 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34071 fi
34072 wxUSE_LIBGNOMEPRINT="no"
34073
34074
34075 else
34076 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34077 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34079 $as_echo "yes" >&6; }
34080
34081 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34082 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34083 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34084 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34085
34086
34087 fi
34088 fi
34089 fi
34090
34091 if test "$wxUSE_MIMETYPE" = "yes" ; then
34092 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34093
34094
34095 pkg_failed=no
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34097 $as_echo_n "checking for GNOMEVFS... " >&6; }
34098
34099 if test -n "$PKG_CONFIG"; then
34100 if test -n "$GNOMEVFS_CFLAGS"; then
34101 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34102 else
34103 if test -n "$PKG_CONFIG" && \
34104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34105 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34106 ac_status=$?
34107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34108 test $ac_status = 0; }; then
34109 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34110 else
34111 pkg_failed=yes
34112 fi
34113 fi
34114 else
34115 pkg_failed=untried
34116 fi
34117 if test -n "$PKG_CONFIG"; then
34118 if test -n "$GNOMEVFS_LIBS"; then
34119 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34120 else
34121 if test -n "$PKG_CONFIG" && \
34122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34123 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34124 ac_status=$?
34125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34126 test $ac_status = 0; }; then
34127 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34128 else
34129 pkg_failed=yes
34130 fi
34131 fi
34132 else
34133 pkg_failed=untried
34134 fi
34135
34136
34137
34138 if test $pkg_failed = yes; then
34139
34140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34141 _pkg_short_errors_supported=yes
34142 else
34143 _pkg_short_errors_supported=no
34144 fi
34145 if test $_pkg_short_errors_supported = yes; then
34146 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34147 else
34148 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34149 fi
34150 # Put the nasty error message in config.log where it belongs
34151 echo "$GNOMEVFS_PKG_ERRORS" >&5
34152
34153
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34155 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34156 wxUSE_LIBGNOMEVFS="no"
34157
34158
34159 elif test $pkg_failed = untried; then
34160
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34162 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34163 wxUSE_LIBGNOMEVFS="no"
34164
34165
34166 else
34167 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34168 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34170 $as_echo "yes" >&6; }
34171
34172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34173 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34174 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34175 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34176
34177
34178 fi
34179 fi
34180 fi
34181
34182 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34183 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34184 HAVE_LIBNOTIFY=0
34185
34186 pkg_failed=no
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34188 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34189
34190 if test -n "$PKG_CONFIG"; then
34191 if test -n "$LIBNOTIFY_CFLAGS"; then
34192 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34193 else
34194 if test -n "$PKG_CONFIG" && \
34195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34196 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34197 ac_status=$?
34198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34199 test $ac_status = 0; }; then
34200 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34201 else
34202 pkg_failed=yes
34203 fi
34204 fi
34205 else
34206 pkg_failed=untried
34207 fi
34208 if test -n "$PKG_CONFIG"; then
34209 if test -n "$LIBNOTIFY_LIBS"; then
34210 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34211 else
34212 if test -n "$PKG_CONFIG" && \
34213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34214 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34215 ac_status=$?
34216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34217 test $ac_status = 0; }; then
34218 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34219 else
34220 pkg_failed=yes
34221 fi
34222 fi
34223 else
34224 pkg_failed=untried
34225 fi
34226
34227
34228
34229 if test $pkg_failed = yes; then
34230
34231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34232 _pkg_short_errors_supported=yes
34233 else
34234 _pkg_short_errors_supported=no
34235 fi
34236 if test $_pkg_short_errors_supported = yes; then
34237 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34238 else
34239 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34240 fi
34241 # Put the nasty error message in config.log where it belongs
34242 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34243
34244
34245
34246 pkg_failed=no
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34248 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34249
34250 if test -n "$PKG_CONFIG"; then
34251 if test -n "$LIBNOTIFY_CFLAGS"; then
34252 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34253 else
34254 if test -n "$PKG_CONFIG" && \
34255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34256 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34257 ac_status=$?
34258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34259 test $ac_status = 0; }; then
34260 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34261 else
34262 pkg_failed=yes
34263 fi
34264 fi
34265 else
34266 pkg_failed=untried
34267 fi
34268 if test -n "$PKG_CONFIG"; then
34269 if test -n "$LIBNOTIFY_LIBS"; then
34270 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34271 else
34272 if test -n "$PKG_CONFIG" && \
34273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34274 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34275 ac_status=$?
34276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34277 test $ac_status = 0; }; then
34278 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34279 else
34280 pkg_failed=yes
34281 fi
34282 fi
34283 else
34284 pkg_failed=untried
34285 fi
34286
34287
34288
34289 if test $pkg_failed = yes; then
34290
34291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34292 _pkg_short_errors_supported=yes
34293 else
34294 _pkg_short_errors_supported=no
34295 fi
34296 if test $_pkg_short_errors_supported = yes; then
34297 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34298 else
34299 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34300 fi
34301 # Put the nasty error message in config.log where it belongs
34302 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34303
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34305 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34306
34307 elif test $pkg_failed = untried; then
34308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34309 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34310
34311 else
34312 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34313 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34315 $as_echo "yes" >&6; }
34316 HAVE_LIBNOTIFY=1
34317 fi
34318
34319
34320 elif test $pkg_failed = untried; then
34321
34322
34323 pkg_failed=no
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34325 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34326
34327 if test -n "$PKG_CONFIG"; then
34328 if test -n "$LIBNOTIFY_CFLAGS"; then
34329 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34330 else
34331 if test -n "$PKG_CONFIG" && \
34332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34333 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34334 ac_status=$?
34335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34336 test $ac_status = 0; }; then
34337 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34338 else
34339 pkg_failed=yes
34340 fi
34341 fi
34342 else
34343 pkg_failed=untried
34344 fi
34345 if test -n "$PKG_CONFIG"; then
34346 if test -n "$LIBNOTIFY_LIBS"; then
34347 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34348 else
34349 if test -n "$PKG_CONFIG" && \
34350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34351 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34352 ac_status=$?
34353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34354 test $ac_status = 0; }; then
34355 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34356 else
34357 pkg_failed=yes
34358 fi
34359 fi
34360 else
34361 pkg_failed=untried
34362 fi
34363
34364
34365
34366 if test $pkg_failed = yes; then
34367
34368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34369 _pkg_short_errors_supported=yes
34370 else
34371 _pkg_short_errors_supported=no
34372 fi
34373 if test $_pkg_short_errors_supported = yes; then
34374 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34375 else
34376 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34377 fi
34378 # Put the nasty error message in config.log where it belongs
34379 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34380
34381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34382 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34383
34384 elif test $pkg_failed = untried; then
34385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34386 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34387
34388 else
34389 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34390 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34392 $as_echo "yes" >&6; }
34393 HAVE_LIBNOTIFY=1
34394 fi
34395
34396
34397 else
34398 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34399 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34401 $as_echo "yes" >&6; }
34402
34403 HAVE_LIBNOTIFY=1
34404 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34405
34406
34407 fi
34408
34409 if test "$HAVE_LIBNOTIFY" = "1" ; then
34410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34411 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34412 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34413 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34414
34415 fi
34416 fi
34417 fi
34418
34419 if test "$wxUSE_LIBHILDON" = "yes" ; then
34420
34421 pkg_failed=no
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34423 $as_echo_n "checking for HILDON... " >&6; }
34424
34425 if test -n "$PKG_CONFIG"; then
34426 if test -n "$HILDON_CFLAGS"; then
34427 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34428 else
34429 if test -n "$PKG_CONFIG" && \
34430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34431 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34432 ac_status=$?
34433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34434 test $ac_status = 0; }; then
34435 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34436 else
34437 pkg_failed=yes
34438 fi
34439 fi
34440 else
34441 pkg_failed=untried
34442 fi
34443 if test -n "$PKG_CONFIG"; then
34444 if test -n "$HILDON_LIBS"; then
34445 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34446 else
34447 if test -n "$PKG_CONFIG" && \
34448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34449 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34450 ac_status=$?
34451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34452 test $ac_status = 0; }; then
34453 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34454 else
34455 pkg_failed=yes
34456 fi
34457 fi
34458 else
34459 pkg_failed=untried
34460 fi
34461
34462
34463
34464 if test $pkg_failed = yes; then
34465
34466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34467 _pkg_short_errors_supported=yes
34468 else
34469 _pkg_short_errors_supported=no
34470 fi
34471 if test $_pkg_short_errors_supported = yes; then
34472 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34473 else
34474 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34475 fi
34476 # Put the nasty error message in config.log where it belongs
34477 echo "$HILDON_PKG_ERRORS" >&5
34478
34479
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34481 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34482 wxUSE_LIBHILDON="no"
34483 ac_hildon_lgpl=0
34484
34485
34486 elif test $pkg_failed = untried; then
34487
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34489 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34490 wxUSE_LIBHILDON="no"
34491 ac_hildon_lgpl=0
34492
34493
34494 else
34495 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34496 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34498 $as_echo "yes" >&6; }
34499
34500 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34501 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34502 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34503 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34504
34505 ac_hildon_lgpl=1
34506
34507 fi
34508
34509 if test "$ac_hildon_lgpl" = 0 ; then
34510
34511 pkg_failed=no
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34513 $as_echo_n "checking for HILDON2... " >&6; }
34514
34515 if test -n "$PKG_CONFIG"; then
34516 if test -n "$HILDON2_CFLAGS"; then
34517 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34518 else
34519 if test -n "$PKG_CONFIG" && \
34520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34521 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 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_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 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 "$HILDON2_LIBS"; then
34535 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34536 else
34537 if test -n "$PKG_CONFIG" && \
34538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34539 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 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_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 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 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34563 else
34564 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34565 fi
34566 # Put the nasty error message in config.log where it belongs
34567 echo "$HILDON2_PKG_ERRORS" >&5
34568
34569
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34571 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34572 wxUSE_LIBHILDON2="no"
34573
34574
34575 elif test $pkg_failed = untried; then
34576
34577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34578 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34579 wxUSE_LIBHILDON2="no"
34580
34581
34582 else
34583 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34584 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34586 $as_echo "yes" >&6; }
34587
34588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34589 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34590 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34591 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34592
34593
34594 fi
34595 fi
34596 fi
34597 fi
34598
34599 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34600 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34601
34602 fi
34603
34604 if test "$wxUSE_STOPWATCH" = "yes"; then
34605 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34606
34607 fi
34608
34609 if test "$wxUSE_DATETIME" = "yes"; then
34610 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34611
34612 fi
34613
34614 if test "$wxUSE_FILE" = "yes"; then
34615 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34616
34617 fi
34618
34619 if test "$wxUSE_FFILE" = "yes"; then
34620 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34621
34622 fi
34623
34624 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34625 if test "$wxUSE_STREAMS" != yes; then
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34627 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34628 wxUSE_ARCHIVE_STREAMS=no
34629 else
34630 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34631
34632 fi
34633 fi
34634
34635 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34636 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34638 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34639 elif test "$wxUSE_ZLIB" = "no"; then
34640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34641 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34642 else
34643 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34644
34645 fi
34646 fi
34647
34648 if test "$wxUSE_TARSTREAM" = "yes"; then
34649 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34651 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34652 else
34653 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34654
34655 fi
34656 fi
34657
34658 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34659 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34660
34661 fi
34662
34663 if test "$wxUSE_FILESYSTEM" = "yes"; then
34664 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34666 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34667 wxUSE_FILESYSTEM=no
34668 else
34669 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34670
34671 fi
34672 fi
34673
34674 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34675 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34677 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34678 else
34679 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34680
34681 fi
34682 fi
34683
34684 if test "$wxUSE_FS_ZIP" = "yes"; then
34685 if test "$wxUSE_FS_ARCHIVE" != yes; then
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34687 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34688 else
34689 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34690
34691 fi
34692 fi
34693
34694 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34695 if test "$USE_UNIX" != 1; then
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34697 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34698 wxUSE_ON_FATAL_EXCEPTION=no
34699 else
34700 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34701
34702 fi
34703 fi
34704
34705 if test "$wxUSE_STACKWALKER" = "yes"; then
34706 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34707
34708 fi
34709
34710 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34711 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34713 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34714 wxUSE_DEBUGREPORT=no
34715 else
34716 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34717
34718 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34720 fi
34721 fi
34722 fi
34723
34724 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34725 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34726
34727 fi
34728
34729 if test "$wxUSE_BUSYINFO" = "yes"; then
34730 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34731
34732 fi
34733
34734 if test "$wxUSE_HOTKEY" = "yes"; then
34735 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34737 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34738 wxUSE_HOTKEY=no
34739 fi
34740 elif test "$wxUSE_HOTKEY" = "auto"; then
34741 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34742 wxUSE_HOTKEY=yes
34743 fi
34744 fi
34745 if test "$wxUSE_HOTKEY" = "yes"; then
34746 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34747
34748 fi
34749
34750 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34751 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34752
34753 fi
34754
34755 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34756 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34757
34758 fi
34759
34760 if test "$wxUSE_STD_STRING" = "yes"; then
34761 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34762
34763 fi
34764
34765 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34766 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34767
34768 fi
34769
34770 if test "$wxUSE_STDPATHS" = "yes"; then
34771 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34772
34773 fi
34774
34775 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34776 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34777
34778 fi
34779
34780 if test "$wxUSE_TEXTFILE" = "yes"; then
34781 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34783 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34784 else
34785 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34786
34787 fi
34788 fi
34789
34790 if test "$wxUSE_CONFIG" = "yes" ; then
34791 if test "$wxUSE_TEXTFILE" != "yes"; then
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34793 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34794 else
34795 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34796
34797 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34798
34799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34800 fi
34801 fi
34802
34803 if test "$wxUSE_INTL" = "yes" ; then
34804 if test "$wxUSE_FILE" != "yes"; then
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34806 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34807 else
34808 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34809
34810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34811 GUIDIST="$GUIDIST INTL_DIST"
34812 fi
34813 fi
34814
34815 if test "$wxUSE_XLOCALE" = "yes" ; then
34816 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34817
34818 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34819 #include <locale.h>
34820 "
34821 if test "x$ac_cv_type_locale_t" = xyes; then :
34822
34823 cat >>confdefs.h <<_ACEOF
34824 #define HAVE_LOCALE_T 1
34825 _ACEOF
34826
34827
34828 fi
34829
34830 fi
34831
34832 if test "$wxUSE_LOG" = "yes"; then
34833 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34834
34835
34836 if test "$wxUSE_LOGGUI" = "yes"; then
34837 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34838
34839 fi
34840
34841 if test "$wxUSE_LOGWINDOW" = "yes"; then
34842 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34843
34844 fi
34845
34846 if test "$wxUSE_LOGDIALOG" = "yes"; then
34847 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34848
34849 fi
34850
34851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34852 fi
34853
34854 if test "$wxUSE_LONGLONG" = "yes"; then
34855 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34856
34857 fi
34858
34859 if test "$wxUSE_GEOMETRY" = "yes"; then
34860 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34861
34862 fi
34863
34864 if test "$wxUSE_BASE64" = "yes"; then
34865 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34866
34867 fi
34868
34869 if test "$wxUSE_STREAMS" = "yes" ; then
34870 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34871
34872 fi
34873
34874 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34875 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34876
34877 fi
34878
34879 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34880 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34881
34882 fi
34883
34884
34885 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34886 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34887
34888
34889 if test "$wxUSE_UNIX" = "yes"; then
34890 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34891 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34892
34893 fi
34894
34895 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34896 for ac_header in sys/epoll.h
34897 do :
34898 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34899 "
34900 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34901 cat >>confdefs.h <<_ACEOF
34902 #define HAVE_SYS_EPOLL_H 1
34903 _ACEOF
34904
34905 fi
34906
34907 done
34908
34909 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34910 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34911
34912 else
34913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34914 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34915 fi
34916 fi
34917 fi
34918 fi
34919
34920
34921 for ac_func in gettimeofday ftime
34922 do :
34923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34925 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34926 cat >>confdefs.h <<_ACEOF
34927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34928 _ACEOF
34929 break
34930 fi
34931 done
34932
34933
34934 if test "$ac_cv_func_gettimeofday" = "yes"; then
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34936 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34937 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34938 $as_echo_n "(cached) " >&6
34939 else
34940
34941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34942 /* end confdefs.h. */
34943
34944 #include <sys/time.h>
34945 #include <unistd.h>
34946
34947 int
34948 main ()
34949 {
34950
34951 struct timeval tv;
34952 gettimeofday(&tv, NULL);
34953
34954 ;
34955 return 0;
34956 }
34957 _ACEOF
34958 if ac_fn_c_try_compile "$LINENO"; then :
34959 wx_cv_func_gettimeofday_has_2_args=yes
34960 else
34961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34962 /* end confdefs.h. */
34963
34964 #include <sys/time.h>
34965 #include <unistd.h>
34966
34967 int
34968 main ()
34969 {
34970
34971 struct timeval tv;
34972 gettimeofday(&tv);
34973
34974 ;
34975 return 0;
34976 }
34977 _ACEOF
34978 if ac_fn_c_try_compile "$LINENO"; then :
34979 wx_cv_func_gettimeofday_has_2_args=no
34980 else
34981
34982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34983 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34984 wx_cv_func_gettimeofday_has_2_args=unknown
34985
34986
34987 fi
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34989
34990 fi
34991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34992
34993 fi
34994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34995 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34996
34997 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34998 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34999
35000 fi
35001 fi
35002
35003 if test "$wxUSE_DATETIME" = "yes"; then
35004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35005 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35006 if ${wx_cv_var_timezone+:} false; then :
35007 $as_echo_n "(cached) " >&6
35008 else
35009
35010 ac_ext=cpp
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015
35016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35017 /* end confdefs.h. */
35018
35019 #include <time.h>
35020
35021 int
35022 main ()
35023 {
35024
35025 int tz;
35026 tz = timezone;
35027
35028 ;
35029 return 0;
35030 }
35031 _ACEOF
35032 if ac_fn_cxx_try_compile "$LINENO"; then :
35033
35034 wx_cv_var_timezone=timezone
35035
35036 else
35037
35038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35039 /* end confdefs.h. */
35040
35041 #include <time.h>
35042
35043 int
35044 main ()
35045 {
35046
35047 int tz;
35048 tz = _timezone;
35049
35050 ;
35051 return 0;
35052 }
35053 _ACEOF
35054 if ac_fn_cxx_try_compile "$LINENO"; then :
35055
35056 wx_cv_var_timezone=_timezone
35057
35058 else
35059
35060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35061 /* end confdefs.h. */
35062
35063 #include <time.h>
35064
35065 int
35066 main ()
35067 {
35068
35069 int tz;
35070 tz = __timezone;
35071
35072 ;
35073 return 0;
35074 }
35075 _ACEOF
35076 if ac_fn_cxx_try_compile "$LINENO"; then :
35077
35078 wx_cv_var_timezone=__timezone
35079
35080 else
35081
35082 if test "$USE_DOS" = 0 ; then
35083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35084 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35085 fi
35086
35087
35088 fi
35089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090
35091
35092 fi
35093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35094
35095
35096 fi
35097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35098 ac_ext=c
35099 ac_cpp='$CPP $CPPFLAGS'
35100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35103
35104
35105
35106 fi
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35108 $as_echo "$wx_cv_var_timezone" >&6; }
35109
35110 if test "x$wx_cv_var_timezone" != x ; then
35111 cat >>confdefs.h <<_ACEOF
35112 #define WX_TIMEZONE $wx_cv_var_timezone
35113 _ACEOF
35114
35115 fi
35116
35117 for ac_func in localtime
35118 do :
35119 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35120 if test "x$ac_cv_func_localtime" = xyes; then :
35121 cat >>confdefs.h <<_ACEOF
35122 #define HAVE_LOCALTIME 1
35123 _ACEOF
35124
35125 fi
35126 done
35127
35128
35129 if test "$ac_cv_func_localtime" = "yes"; then
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35131 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35132 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35133 $as_echo_n "(cached) " >&6
35134 else
35135
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35138
35139 #include <time.h>
35140
35141 int
35142 main ()
35143 {
35144
35145 struct tm tm;
35146 tm.tm_gmtoff++;
35147
35148 ;
35149 return 0;
35150 }
35151 _ACEOF
35152 if ac_fn_c_try_compile "$LINENO"; then :
35153
35154 wx_cv_struct_tm_has_gmtoff=yes
35155
35156 else
35157 wx_cv_struct_tm_has_gmtoff=no
35158
35159 fi
35160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161
35162 fi
35163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35164 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35165 fi
35166
35167 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35168 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35169
35170 fi
35171
35172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35173 fi
35174
35175
35176 for ac_func in setpriority
35177 do :
35178 ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
35179 if test "x$ac_cv_func_setpriority" = xyes; then :
35180 cat >>confdefs.h <<_ACEOF
35181 #define HAVE_SETPRIORITY 1
35182 _ACEOF
35183
35184 fi
35185 done
35186
35187
35188
35189 if test "$wxUSE_SOCKETS" = "yes"; then
35190 if test "$TOOLKIT" != "MSW"; then
35191 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35192 if test "x$ac_cv_func_socket" = xyes; then :
35193
35194 else
35195
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35197 $as_echo_n "checking for socket in -lsocket... " >&6; }
35198 if ${ac_cv_lib_socket_socket+:} false; then :
35199 $as_echo_n "(cached) " >&6
35200 else
35201 ac_check_lib_save_LIBS=$LIBS
35202 LIBS="-lsocket $LIBS"
35203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h. */
35205
35206 /* Override any GCC internal prototype to avoid an error.
35207 Use char because int might match the return type of a GCC
35208 builtin and then its argument prototype would still apply. */
35209 #ifdef __cplusplus
35210 extern "C"
35211 #endif
35212 char socket ();
35213 int
35214 main ()
35215 {
35216 return socket ();
35217 ;
35218 return 0;
35219 }
35220 _ACEOF
35221 if ac_fn_c_try_link "$LINENO"; then :
35222 ac_cv_lib_socket_socket=yes
35223 else
35224 ac_cv_lib_socket_socket=no
35225 fi
35226 rm -f core conftest.err conftest.$ac_objext \
35227 conftest$ac_exeext conftest.$ac_ext
35228 LIBS=$ac_check_lib_save_LIBS
35229 fi
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35231 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35232 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35233 if test "$INET_LINK" != " -lsocket"; then
35234 INET_LINK="$INET_LINK -lsocket"
35235 fi
35236 else
35237
35238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35239 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35240 wxUSE_SOCKETS=no
35241
35242
35243 fi
35244
35245
35246
35247 fi
35248
35249 fi
35250 fi
35251
35252 if test "$wxUSE_SOCKETS" = "yes" ; then
35253 if test "$TOOLKIT" != "MSW"; then
35254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35255 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35256 if ${wx_cv_type_getsockname3+:} false; then :
35257 $as_echo_n "(cached) " >&6
35258 else
35259
35260 ac_ext=cpp
35261 ac_cpp='$CXXCPP $CPPFLAGS'
35262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35265
35266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35267 /* end confdefs.h. */
35268
35269 #include <sys/types.h>
35270 #include <sys/socket.h>
35271
35272 int
35273 main ()
35274 {
35275
35276 socklen_t len;
35277 getsockname(0, 0, &len);
35278
35279 ;
35280 return 0;
35281 }
35282 _ACEOF
35283 if ac_fn_cxx_try_compile "$LINENO"; then :
35284 wx_cv_type_getsockname3=socklen_t
35285 else
35286
35287 CFLAGS_OLD="$CFLAGS"
35288 if test "$GCC" = yes ; then
35289 CFLAGS="-Werror $CFLAGS"
35290 fi
35291
35292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35293 /* end confdefs.h. */
35294
35295 #include <sys/types.h>
35296 #include <sys/socket.h>
35297
35298 int
35299 main ()
35300 {
35301
35302 size_t len;
35303 getsockname(0, 0, &len);
35304
35305 ;
35306 return 0;
35307 }
35308 _ACEOF
35309 if ac_fn_cxx_try_compile "$LINENO"; then :
35310 wx_cv_type_getsockname3=size_t
35311 else
35312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35313 /* end confdefs.h. */
35314
35315 #include <sys/types.h>
35316 #include <sys/socket.h>
35317
35318 int
35319 main ()
35320 {
35321
35322 int len;
35323 getsockname(0, 0, &len);
35324
35325 ;
35326 return 0;
35327 }
35328 _ACEOF
35329 if ac_fn_cxx_try_compile "$LINENO"; then :
35330 wx_cv_type_getsockname3=int
35331 else
35332 wx_cv_type_getsockname3=unknown
35333
35334 fi
35335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35336
35337 fi
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35339
35340 CFLAGS="$CFLAGS_OLD"
35341
35342
35343 fi
35344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35345 ac_ext=c
35346 ac_cpp='$CPP $CPPFLAGS'
35347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35350
35351
35352 fi
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35354 $as_echo "$wx_cv_type_getsockname3" >&6; }
35355
35356 if test "$wx_cv_type_getsockname3" = "unknown"; then
35357 wxUSE_SOCKETS=no
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35359 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35360 else
35361 cat >>confdefs.h <<_ACEOF
35362 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35363 _ACEOF
35364
35365 fi
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35367 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35368 if ${wx_cv_type_getsockopt5+:} false; then :
35369 $as_echo_n "(cached) " >&6
35370 else
35371
35372 ac_ext=cpp
35373 ac_cpp='$CXXCPP $CPPFLAGS'
35374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35377
35378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35379 /* end confdefs.h. */
35380
35381 #include <sys/types.h>
35382 #include <sys/socket.h>
35383
35384 int
35385 main ()
35386 {
35387
35388 socklen_t len;
35389 getsockopt(0, 0, 0, 0, &len);
35390
35391 ;
35392 return 0;
35393 }
35394 _ACEOF
35395 if ac_fn_cxx_try_compile "$LINENO"; then :
35396 wx_cv_type_getsockopt5=socklen_t
35397 else
35398
35399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35400 /* end confdefs.h. */
35401
35402 #include <sys/types.h>
35403 #include <sys/socket.h>
35404
35405 int
35406 main ()
35407 {
35408
35409 size_t len;
35410 getsockopt(0, 0, 0, 0, &len);
35411
35412 ;
35413 return 0;
35414 }
35415 _ACEOF
35416 if ac_fn_cxx_try_compile "$LINENO"; then :
35417 wx_cv_type_getsockopt5=size_t
35418 else
35419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35420 /* end confdefs.h. */
35421
35422 #include <sys/types.h>
35423 #include <sys/socket.h>
35424
35425 int
35426 main ()
35427 {
35428
35429 int len;
35430 getsockopt(0, 0, 0, 0, &len);
35431
35432 ;
35433 return 0;
35434 }
35435 _ACEOF
35436 if ac_fn_cxx_try_compile "$LINENO"; then :
35437 wx_cv_type_getsockopt5=int
35438 else
35439 wx_cv_type_getsockopt5=unknown
35440
35441 fi
35442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35443
35444 fi
35445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35446
35447
35448 fi
35449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35450 ac_ext=c
35451 ac_cpp='$CPP $CPPFLAGS'
35452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35455
35456
35457 fi
35458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35459 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35460
35461 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35462 wxUSE_SOCKETS=no
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35464 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35465 else
35466 cat >>confdefs.h <<_ACEOF
35467 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35468 _ACEOF
35469
35470 fi
35471 fi
35472 fi
35473
35474 if test "$wxUSE_SOCKETS" = "yes" ; then
35475 if test "$wxUSE_IPV6" = "yes"; then
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35477 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35478 if ${wx_cv_type_sockaddr_in6+:} false; then :
35479 $as_echo_n "(cached) " >&6
35480 else
35481
35482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h. */
35484
35485 #include <sys/types.h>
35486 #include <sys/socket.h>
35487 #include <netinet/in.h>
35488
35489 int
35490 main ()
35491 {
35492
35493 struct sockaddr_in6 sa6;
35494
35495 ;
35496 return 0;
35497 }
35498 _ACEOF
35499 if ac_fn_c_try_compile "$LINENO"; then :
35500 wx_cv_type_sockaddr_in6=yes
35501 else
35502 wx_cv_type_sockaddr_in6=no
35503
35504 fi
35505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35506
35507
35508 fi
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35510 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35511
35512 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35513 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35514
35515 else
35516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35517 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35518 fi
35519 fi
35520
35521 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35522
35523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35524 fi
35525
35526 if test "$wxUSE_PROTOCOL" = "yes"; then
35527 if test "$wxUSE_SOCKETS" != "yes"; then
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35529 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35530 wxUSE_PROTOCOL=no
35531 fi
35532 fi
35533
35534 if test "$wxUSE_PROTOCOL" = "yes"; then
35535 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35536
35537
35538 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35539 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35540
35541 fi
35542 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35543 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35544
35545 fi
35546 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35547 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35548
35549 fi
35550 else
35551 if test "$wxUSE_FS_INET" = "yes"; then
35552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35553 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35554 wxUSE_FS_INET="no"
35555 fi
35556 fi
35557
35558 if test "$wxUSE_URL" = "yes"; then
35559 if test "$wxUSE_PROTOCOL" != "yes"; then
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35561 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35562 wxUSE_URL=no
35563 fi
35564 if test "$wxUSE_URL" = "yes"; then
35565 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35566
35567 fi
35568 fi
35569
35570 if test "$wxUSE_VARIANT" = "yes"; then
35571 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35572
35573 fi
35574
35575 if test "$wxUSE_FS_INET" = "yes"; then
35576 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35577
35578 fi
35579
35580
35581 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35582 wxUSE_JOYSTICK=no
35583
35584 if test "$TOOLKIT" = "MSW"; then
35585 wxUSE_JOYSTICK=yes
35586
35587 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35588 if test "$USE_DARWIN" = 1; then
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35590 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35591 ac_ext=cpp
35592 ac_cpp='$CXXCPP $CPPFLAGS'
35593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35596
35597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35598 /* end confdefs.h. */
35599 #include <IOKit/hid/IOHIDLib.h>
35600 int
35601 main ()
35602 {
35603 IOHIDQueueInterface *qi = NULL;
35604 IOHIDCallbackFunction cb = NULL;
35605 qi->setEventCallout(NULL, cb, NULL, NULL);
35606 ;
35607 return 0;
35608 }
35609 _ACEOF
35610 if ac_fn_cxx_try_compile "$LINENO"; then :
35611 wxUSE_JOYSTICK=yes
35612
35613 fi
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 ac_ext=c
35616 ac_cpp='$CPP $CPPFLAGS'
35617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35620
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35622 $as_echo "$wxUSE_JOYSTICK" >&6; }
35623 fi
35624
35625 else
35626 for ac_header in linux/joystick.h
35627 do :
35628 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35629 "
35630 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35631 cat >>confdefs.h <<_ACEOF
35632 #define HAVE_LINUX_JOYSTICK_H 1
35633 _ACEOF
35634 wxUSE_JOYSTICK=yes
35635 fi
35636
35637 done
35638
35639 fi
35640
35641 if test "$wxUSE_JOYSTICK" = "yes"; then
35642 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35643
35644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35645 else
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35647 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35648 fi
35649 fi
35650
35651
35652
35653 if test "$wxUSE_FONTENUM" = "yes" ; then
35654 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35655
35656 fi
35657
35658 if test "$wxUSE_FONTMAP" = "yes" ; then
35659 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35660
35661 fi
35662
35663 if test "$wxUSE_UNICODE" = "yes" ; then
35664 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35665
35666
35667 if test "$USE_WIN32" != 1; then
35668 wxUSE_UNICODE_MSLU=no
35669 fi
35670
35671 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35673 $as_echo_n "checking for main in -lunicows... " >&6; }
35674 if ${ac_cv_lib_unicows_main+:} false; then :
35675 $as_echo_n "(cached) " >&6
35676 else
35677 ac_check_lib_save_LIBS=$LIBS
35678 LIBS="-lunicows $LIBS"
35679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35680 /* end confdefs.h. */
35681
35682
35683 int
35684 main ()
35685 {
35686 return main ();
35687 ;
35688 return 0;
35689 }
35690 _ACEOF
35691 if ac_fn_c_try_link "$LINENO"; then :
35692 ac_cv_lib_unicows_main=yes
35693 else
35694 ac_cv_lib_unicows_main=no
35695 fi
35696 rm -f core conftest.err conftest.$ac_objext \
35697 conftest$ac_exeext conftest.$ac_ext
35698 LIBS=$ac_check_lib_save_LIBS
35699 fi
35700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35701 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35702 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35703
35704 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35705
35706
35707 else
35708
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35710 Applications will only run on Windows NT/2000/XP!" >&5
35711 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35712 Applications will only run on Windows NT/2000/XP!" >&2;}
35713 wxUSE_UNICODE_MSLU=no
35714
35715 fi
35716
35717 fi
35718 fi
35719
35720 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35721 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35722
35723
35724 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35725 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35726
35727 fi
35728 fi
35729
35730
35731 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35732 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35733
35734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35735 fi
35736
35737 if test "$wxUSE_MDI" = "yes"; then
35738 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35739
35740
35741 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35742 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35743
35744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35745 fi
35746 fi
35747
35748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35749 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35750
35751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35752 fi
35753
35754 if test "$wxUSE_HELP" = "yes"; then
35755 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35756
35757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35758
35759 if test "$wxUSE_MSW" = 1; then
35760 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35761 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35762
35763 fi
35764 fi
35765
35766 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35767 if test "$wxUSE_HTML" = "yes"; then
35768 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35769
35770 else
35771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35772 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35773 wxUSE_WXHTML_HELP=no
35774 fi
35775 fi
35776 fi
35777
35778 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35779 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35780
35781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35782 fi
35783
35784 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35785 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35786
35787 fi
35788
35789 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35790
35791
35792 if test "$wxUSE_SVG" = "yes"; then
35793 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35794
35795 fi
35796
35797
35798 if test "$wxUSE_METAFILE" = "yes"; then
35799 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35801 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35802 wxUSE_METAFILE=no
35803 fi
35804 elif test "$wxUSE_METAFILE" = "auto"; then
35805 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35806 wxUSE_METAFILE=yes
35807 fi
35808 fi
35809
35810 if test "$wxUSE_METAFILE" = "yes"; then
35811 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35812
35813 if test "$wxUSE_MSW" = 1; then
35814 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35815
35816 fi
35817 fi
35818
35819
35820 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35821 -o "$wxUSE_CLIPBOARD" = "yes" \
35822 -o "$wxUSE_OLE" = "yes" \
35823 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35824 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35825 "
35826 if test "x$ac_cv_header_ole2_h" = xyes; then :
35827
35828 fi
35829
35830
35831
35832 if test "$ac_cv_header_ole2_h" = "yes" ; then
35833 if test "$GCC" = yes ; then
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35835 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35837 /* end confdefs.h. */
35838 #include <windows.h>
35839 #include <ole2.h>
35840 int
35841 main ()
35842 {
35843
35844 ;
35845 return 0;
35846 }
35847 _ACEOF
35848 if ac_fn_c_try_compile "$LINENO"; then :
35849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35850 $as_echo "no" >&6; }
35851 else
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35853 $as_echo "yes" >&6; }
35854 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35855 fi
35856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35858 if test "$wxUSE_OLE" = "yes" ; then
35859 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35860
35861 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35862
35863 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35864
35865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35866 fi
35867 fi
35868
35869 if test "$wxUSE_DATAOBJ" = "yes" ; then
35870 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35871
35872 fi
35873 else
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35875 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35876
35877 wxUSE_CLIPBOARD=no
35878 wxUSE_DRAG_AND_DROP=no
35879 wxUSE_DATAOBJ=no
35880 wxUSE_OLE=no
35881 fi
35882 fi
35883
35884 if test "$wxUSE_IPC" = "yes"; then
35885 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35887 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35888 wxUSE_IPC=no
35889 fi
35890
35891 if test "$wxUSE_IPC" = "yes"; then
35892 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35893
35894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35895 fi
35896 fi
35897
35898 if test "$wxUSE_DATAOBJ" = "yes"; then
35899 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35900
35901 else
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35903 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35904 wxUSE_CLIPBOARD=no
35905 wxUSE_DRAG_AND_DROP=no
35906 fi
35907
35908 if test "$wxUSE_CLIPBOARD" = "yes"; then
35909 if test "$wxUSE_DFB" = 1; then
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35911 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35912 wxUSE_CLIPBOARD=no
35913 fi
35914
35915 if test "$wxUSE_CLIPBOARD" = "yes"; then
35916 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35917
35918 fi
35919 fi
35920
35921 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35922 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35924 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35925 wxUSE_DRAG_AND_DROP=no
35926 fi
35927
35928 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35929 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35930
35931 fi
35932
35933 fi
35934
35935 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35937 fi
35938
35939 if test "$wxUSE_CLIPBOARD" = "yes"; then
35940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35941 fi
35942
35943 if test "$wxUSE_SPLINES" = "yes" ; then
35944 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35945
35946 fi
35947
35948 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35949 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35950
35951 fi
35952
35953 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35954 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35955
35956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35957 fi
35958
35959 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35960 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35961
35962 fi
35963
35964
35965 USES_CONTROLS=0
35966 if test "$wxUSE_CONTROLS" = "yes"; then
35967 USES_CONTROLS=1
35968 fi
35969
35970 if test "$wxUSE_MARKUP" = "yes"; then
35971 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35972
35973 fi
35974
35975 if test "$wxUSE_ACCEL" = "yes"; then
35976 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35977
35978 USES_CONTROLS=1
35979 fi
35980
35981 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35982 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35983
35984 USES_CONTROLS=1
35985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35986 fi
35987
35988 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35989 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35990
35991 fi
35992
35993 if test "$wxUSE_BUTTON" = "yes"; then
35994 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35995
35996 USES_CONTROLS=1
35997 fi
35998
35999 if test "$wxUSE_BMPBUTTON" = "yes"; then
36000 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36001
36002 USES_CONTROLS=1
36003 fi
36004
36005 if test "$wxUSE_CALCTRL" = "yes"; then
36006 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36007
36008 USES_CONTROLS=1
36009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36010 fi
36011
36012 if test "$wxUSE_CARET" = "yes"; then
36013 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36014
36015 USES_CONTROLS=1
36016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36017 fi
36018
36019 if test "$wxUSE_COLLPANE" = "yes"; then
36020 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36021
36022 USES_CONTROLS=1
36023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
36024 fi
36025
36026 if test "$wxUSE_COMBOBOX" = "yes"; then
36027 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36028
36029 USES_CONTROLS=1
36030 fi
36031
36032 if test "$wxUSE_COMBOCTRL" = "yes"; then
36033 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36034
36035 USES_CONTROLS=1
36036 fi
36037
36038 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36039 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36040
36041 USES_CONTROLS=1
36042 fi
36043
36044 if test "$wxUSE_CHOICE" = "yes"; then
36045 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36046
36047 USES_CONTROLS=1
36048 fi
36049
36050 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36051 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36052
36053 USES_CONTROLS=1
36054 fi
36055
36056 if test "$wxUSE_CHECKBOX" = "yes"; then
36057 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36058
36059 USES_CONTROLS=1
36060 fi
36061
36062 if test "$wxUSE_CHECKLST" = "yes"; then
36063 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36064
36065 USES_CONTROLS=1
36066 fi
36067
36068 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36069 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36070
36071 USES_CONTROLS=1
36072 fi
36073
36074 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36075 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36076
36077 USES_CONTROLS=1
36078 fi
36079
36080 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36081 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36082
36083 USES_CONTROLS=1
36084 fi
36085
36086 if test "$wxUSE_FILECTRL" = "yes"; then
36087 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36088
36089 USES_CONTROLS=1
36090 fi
36091
36092 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36093 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36094
36095 USES_CONTROLS=1
36096 fi
36097
36098 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36099 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36100
36101 USES_CONTROLS=1
36102 fi
36103
36104 if test "$wxUSE_DISPLAY" = "yes"; then
36105 if test "$wxUSE_DFB" = 1; then
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36107 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36108 wxUSE_DISPLAY=no
36109 else
36110 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36111
36112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36113 fi
36114 fi
36115
36116 if test "$wxUSE_DETECT_SM" = "yes"; then
36117 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36118
36119 fi
36120
36121 if test "$wxUSE_GAUGE" = "yes"; then
36122 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36123
36124 USES_CONTROLS=1
36125 fi
36126
36127 if test "$wxUSE_GRID" = "yes"; then
36128 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36129
36130 USES_CONTROLS=1
36131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36132 fi
36133
36134 if test "$wxUSE_HEADERCTRL" = "yes"; then
36135 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36136
36137 USES_CONTROLS=1
36138 fi
36139
36140 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36141 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36142
36143 USES_CONTROLS=1
36144 fi
36145
36146 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36147 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36148
36149 USES_CONTROLS=1
36150 fi
36151
36152 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36153 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36154
36155 USES_CONTROLS=1
36156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36157 fi
36158
36159 if test "$wxUSE_IMAGLIST" = "yes"; then
36160 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36161
36162 fi
36163
36164 if test "$wxUSE_INFOBAR" = "yes"; then
36165 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36166
36167 fi
36168
36169 if test "$wxUSE_LISTBOOK" = "yes"; then
36170 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36171
36172 USES_CONTROLS=1
36173 fi
36174
36175 if test "$wxUSE_LISTBOX" = "yes"; then
36176 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36177
36178 USES_CONTROLS=1
36179 fi
36180
36181 if test "$wxUSE_LISTCTRL" = "yes"; then
36182 if test "$wxUSE_IMAGLIST" = "yes"; then
36183 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36184
36185 USES_CONTROLS=1
36186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36187 else
36188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36189 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36190 fi
36191 fi
36192
36193 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36194 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36195
36196 USES_CONTROLS=1
36197 fi
36198
36199 if test "$wxUSE_NOTEBOOK" = "yes"; then
36200 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36201
36202 USES_CONTROLS=1
36203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36204 fi
36205
36206 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36207 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36208
36209 fi
36210
36211 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36212 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36213
36214 USES_CONTROLS=1
36215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36216 fi
36217
36218 if test "$wxUSE_RADIOBOX" = "yes"; then
36219 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36220
36221 USES_CONTROLS=1
36222 fi
36223
36224 if test "$wxUSE_RADIOBTN" = "yes"; then
36225 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36226
36227 USES_CONTROLS=1
36228 fi
36229
36230 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36231 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36232
36233 fi
36234
36235 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36236 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36237
36238 fi
36239
36240 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36241 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36242
36243 fi
36244
36245 if test "$wxUSE_SASH" = "yes"; then
36246 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36247
36248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36249 fi
36250
36251 if test "$wxUSE_SCROLLBAR" = "yes"; then
36252 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36253
36254 USES_CONTROLS=1
36255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36256 fi
36257
36258 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36259 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36260
36261 USES_CONTROLS=1
36262 fi
36263
36264 if test "$wxUSE_SLIDER" = "yes"; then
36265 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36266
36267 USES_CONTROLS=1
36268 fi
36269
36270 if test "$wxUSE_SPINBTN" = "yes"; then
36271 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36272
36273 USES_CONTROLS=1
36274 fi
36275
36276 if test "$wxUSE_SPINCTRL" = "yes"; then
36277 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36278
36279 USES_CONTROLS=1
36280 fi
36281
36282 if test "$wxUSE_SPLITTER" = "yes"; then
36283 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36284
36285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36286 fi
36287
36288 if test "$wxUSE_STATBMP" = "yes"; then
36289 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36290
36291 USES_CONTROLS=1
36292 fi
36293
36294 if test "$wxUSE_STATBOX" = "yes"; then
36295 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36296
36297 USES_CONTROLS=1
36298 fi
36299
36300 if test "$wxUSE_STATTEXT" = "yes"; then
36301 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36302
36303 USES_CONTROLS=1
36304 fi
36305
36306 if test "$wxUSE_STATLINE" = "yes"; then
36307 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36308
36309 USES_CONTROLS=1
36310 fi
36311
36312 if test "$wxUSE_STATUSBAR" = "yes"; then
36313 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36314
36315 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36316
36317 USES_CONTROLS=1
36318
36319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36320 fi
36321
36322 if test "$wxUSE_TEXTCTRL" = "yes"; then
36323 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36324
36325 USES_CONTROLS=1
36326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36327
36328 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36329
36330 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36331
36332 fi
36333
36334 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36335 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36336
36337 USES_CONTROLS=1
36338 fi
36339
36340 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36341 if test "$wxUSE_OLD_COCOA" = 1 ; then
36342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36343 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36344 wxUSE_TOGGLEBTN=no
36345 fi
36346
36347 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36348 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36349
36350 USES_CONTROLS=1
36351 fi
36352 fi
36353
36354 if test "$wxUSE_TOOLBAR" = "yes"; then
36355 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36356
36357 USES_CONTROLS=1
36358
36359 if test "$wxUSE_UNIVERSAL" = "yes"; then
36360 wxUSE_TOOLBAR_NATIVE="no"
36361 else
36362 wxUSE_TOOLBAR_NATIVE="yes"
36363 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36364
36365 fi
36366
36367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36368 fi
36369
36370 if test "$wxUSE_TOOLTIPS" = "yes"; then
36371 if test "$wxUSE_MOTIF" = 1; then
36372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36373 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36374 else
36375 if test "$wxUSE_UNIVERSAL" = "yes"; then
36376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36377 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36378 else
36379 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36380
36381 fi
36382 fi
36383 fi
36384
36385 if test "$wxUSE_TREEBOOK" = "yes"; then
36386 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36387
36388 USES_CONTROLS=1
36389 fi
36390
36391 if test "$wxUSE_TOOLBOOK" = "yes"; then
36392 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36393
36394 USES_CONTROLS=1
36395 fi
36396
36397 if test "$wxUSE_TREECTRL" = "yes"; then
36398 if test "$wxUSE_IMAGLIST" = "yes"; then
36399 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36400
36401 USES_CONTROLS=1
36402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36403 else
36404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36405 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36406 fi
36407 fi
36408
36409 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36410 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36411
36412 USES_CONTROLS=1
36413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36414 fi
36415
36416 if test "$wxUSE_POPUPWIN" = "yes"; then
36417 if test "$wxUSE_OLD_COCOA" = 1 ; then
36418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36419 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36420 else
36421 if test "$wxUSE_PM" = 1; then
36422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36423 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36424 else
36425 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36426
36427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36428
36429 USES_CONTROLS=1
36430 fi
36431 fi
36432 fi
36433
36434 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36435 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36437 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36438 else
36439 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36440
36441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36442 fi
36443 fi
36444
36445 if test "$wxUSE_TIPWINDOW" = "yes"; then
36446 if test "$wxUSE_PM" = 1; then
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36448 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36449 else
36450 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36451
36452 fi
36453 fi
36454
36455 if test "$USES_CONTROLS" = 1; then
36456 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36457
36458 fi
36459
36460
36461 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36462 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36463
36464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36465 fi
36466
36467 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36468 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36469
36470 fi
36471
36472 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36473 if test "$wxUSE_GTK" != 1; then
36474 if test "$wxUSE_LIBPNG" != no -a \
36475 "$wxUSE_IMAGE" = yes -a \
36476 "$wxUSE_STREAMS" = yes; then
36477 wxUSE_ARTPROVIDER_TANGO="yes"
36478 fi
36479 fi
36480 fi
36481
36482 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36483 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36484
36485 fi
36486
36487 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36488 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36489
36490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36491 fi
36492
36493 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36494 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36496 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36497 else
36498 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36499
36500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36501 fi
36502 fi
36503
36504 USE_HTML=0
36505 if test "$wxUSE_HTML" = "yes"; then
36506 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36507
36508 USE_HTML=1
36509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36510 fi
36511 if test "$wxUSE_WEBKIT" = "yes"; then
36512 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36513 old_CPPFLAGS="$CPPFLAGS"
36514 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36515 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36516 #include <Carbon/Carbon.h>
36517 #include <WebKit/WebKit.h>
36518
36519 "
36520 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36521
36522 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36523
36524 WEBKIT_LINK="-framework WebKit"
36525
36526 else
36527
36528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36529 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36530 wxUSE_WEBKIT=no
36531
36532 fi
36533
36534
36535 CPPFLAGS="$old_CPPFLAGS"
36536 elif test "$wxUSE_OLD_COCOA" = 1; then
36537 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36538
36539 else
36540 wxUSE_WEBKIT=no
36541 fi
36542 if test "$wxUSE_WEBKIT" = "yes"; then
36543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36544 fi
36545 fi
36546
36547 USE_XRC=0
36548 if test "$wxUSE_XRC" = "yes"; then
36549 if test "$wxUSE_XML" != "yes"; then
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36551 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36552 wxUSE_XRC=no
36553 else
36554 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36555
36556 USE_XRC=1
36557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36558 fi
36559 fi
36560
36561 USE_AUI=0
36562 if test "$wxUSE_AUI" = "yes"; then
36563 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36564
36565 USE_AUI=1
36566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36567 fi
36568
36569 USE_PROPGRID=0
36570 if test "$wxUSE_PROPGRID" = "yes"; then
36571 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36572
36573 USE_PROPGRID=1
36574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36575 fi
36576
36577 USE_RIBBON=0
36578 if test "$wxUSE_RIBBON" = "yes"; then
36579 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36580
36581 USE_RIBBON=1
36582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36583 fi
36584
36585 USE_STC=0
36586 if test "$wxUSE_STC" = "yes"; then
36587 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36588
36589 USE_STC=1
36590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36591
36592 # Extract the first word of "python", so it can be a program name with args.
36593 set dummy python; ac_word=$2
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36595 $as_echo_n "checking for $ac_word... " >&6; }
36596 if ${ac_cv_path_PYTHON+:} false; then :
36597 $as_echo_n "(cached) " >&6
36598 else
36599 case $PYTHON in
36600 [\\/]* | ?:[\\/]*)
36601 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36602 ;;
36603 *)
36604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36605 for as_dir in $PATH
36606 do
36607 IFS=$as_save_IFS
36608 test -z "$as_dir" && as_dir=.
36609 for ac_exec_ext in '' $ac_executable_extensions; do
36610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36611 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36613 break 2
36614 fi
36615 done
36616 done
36617 IFS=$as_save_IFS
36618
36619 ;;
36620 esac
36621 fi
36622 PYTHON=$ac_cv_path_PYTHON
36623 if test -n "$PYTHON"; then
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36625 $as_echo "$PYTHON" >&6; }
36626 else
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36628 $as_echo "no" >&6; }
36629 fi
36630
36631
36632 if test "x$PYTHON" = "x"; then
36633 COND_PYTHON="#"
36634 fi
36635
36636 fi
36637
36638 if test "$wxUSE_MENUS" = "yes"; then
36639 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36640
36641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36642 fi
36643
36644 if test "$wxUSE_MIMETYPE" = "yes"; then
36645 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36646
36647 fi
36648
36649 if test "$wxUSE_MINIFRAME" = "yes"; then
36650 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36651
36652 fi
36653
36654 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36655 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36656
36657 fi
36658
36659 if test "$wxUSE_TASKBARICON" = "yes"; then
36660 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36661
36662 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36663
36664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36665 fi
36666
36667
36668 if test "$wxUSE_VALIDATORS" = "yes"; then
36669 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36670
36671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36672 fi
36673
36674 if test "$wxUSE_PALETTE" = "yes" ; then
36675 if test "$wxUSE_DFB" = 1; then
36676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36677 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36678 wxUSE_PALETTE=no
36679 else
36680 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36681
36682 fi
36683 fi
36684
36685 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36686 LIBS=" -lunicows $LIBS"
36687 fi
36688
36689 USE_RICHTEXT=0
36690 if test "$wxUSE_RICHTEXT" = "yes"; then
36691 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36692
36693 USE_RICHTEXT=1
36694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36695 fi
36696
36697 if test "$wxUSE_WEBVIEW" = "yes"; then
36698 USE_WEBVIEW_WEBKIT=0
36699 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36700 if test "$wxUSE_GTK" = 1; then
36701 webkitgtk=webkit-1.0
36702 if test "$WXGTK3" = 1; then
36703 webkitgtk=webkitgtk-3.0
36704 fi
36705
36706 pkg_failed=no
36707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36708 $as_echo_n "checking for WEBKIT... " >&6; }
36709
36710 if test -n "$PKG_CONFIG"; then
36711 if test -n "$WEBKIT_CFLAGS"; then
36712 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36713 else
36714 if test -n "$PKG_CONFIG" && \
36715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36716 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36717 ac_status=$?
36718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36719 test $ac_status = 0; }; then
36720 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36721 else
36722 pkg_failed=yes
36723 fi
36724 fi
36725 else
36726 pkg_failed=untried
36727 fi
36728 if test -n "$PKG_CONFIG"; then
36729 if test -n "$WEBKIT_LIBS"; then
36730 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36731 else
36732 if test -n "$PKG_CONFIG" && \
36733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36734 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36735 ac_status=$?
36736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36737 test $ac_status = 0; }; then
36738 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36739 else
36740 pkg_failed=yes
36741 fi
36742 fi
36743 else
36744 pkg_failed=untried
36745 fi
36746
36747
36748
36749 if test $pkg_failed = yes; then
36750
36751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36752 _pkg_short_errors_supported=yes
36753 else
36754 _pkg_short_errors_supported=no
36755 fi
36756 if test $_pkg_short_errors_supported = yes; then
36757 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36758 else
36759 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36760 fi
36761 # Put the nasty error message in config.log where it belongs
36762 echo "$WEBKIT_PKG_ERRORS" >&5
36763
36764
36765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36766 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36767
36768 elif test $pkg_failed = untried; then
36769
36770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36771 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36772
36773 else
36774 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36775 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36777 $as_echo "yes" >&6; }
36778
36779 USE_WEBVIEW_WEBKIT=1
36780 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36781 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36782
36783 fi
36784 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36785 old_CPPFLAGS="$CPPFLAGS"
36786 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36787 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36788 #include <Carbon/Carbon.h>
36789 #include <WebKit/WebKit.h>
36790
36791 "
36792 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36793
36794 USE_WEBVIEW_WEBKIT=1
36795 WEBKIT_LINK="-framework WebKit"
36796
36797 else
36798
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36800 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36801
36802 fi
36803
36804
36805 CPPFLAGS="$old_CPPFLAGS"
36806 fi
36807 fi
36808
36809 wxUSE_WEBVIEW="no"
36810 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36811 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36812 wxUSE_WEBVIEW="yes"
36813 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36814
36815 else
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36817 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36818 fi
36819 elif test "$wxUSE_MSW" = 1; then
36820 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36821 wxUSE_WEBVIEW="yes"
36822 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36823
36824 fi
36825 fi
36826 fi
36827
36828 if test "$wxUSE_WEBVIEW" = "yes"; then
36829 USE_WEBVIEW=1
36830 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36831
36832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36833 else
36834 USE_WEBVIEW=0
36835 fi
36836
36837
36838 if test "$wxUSE_IMAGE" = "yes" ; then
36839 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36840
36841
36842 if test "$wxUSE_GIF" = "yes" ; then
36843 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36844
36845 fi
36846
36847 if test "$wxUSE_PCX" = "yes" ; then
36848 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36849
36850 fi
36851
36852 if test "$wxUSE_TGA" = "yes" ; then
36853 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36854
36855 fi
36856
36857 if test "$wxUSE_IFF" = "yes" ; then
36858 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36859
36860 fi
36861
36862 if test "$wxUSE_PNM" = "yes" ; then
36863 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36864
36865 fi
36866
36867 if test "$wxUSE_XPM" = "yes" ; then
36868 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36869
36870 fi
36871
36872 if test "$wxUSE_ICO_CUR" = "yes" ; then
36873 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36874
36875 fi
36876 fi
36877
36878
36879 if test "$wxUSE_ABOUTDLG" = "yes"; then
36880 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36881
36882 fi
36883
36884 if test "$wxUSE_CHOICEDLG" = "yes"; then
36885 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36886
36887 fi
36888
36889 if test "$wxUSE_COLOURDLG" = "yes"; then
36890 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36891
36892 fi
36893
36894 if test "$wxUSE_FILEDLG" = "yes"; then
36895 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36896
36897 fi
36898
36899 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36900 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36901
36902 fi
36903
36904 if test "$wxUSE_FONTDLG" = "yes"; then
36905 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36906
36907 fi
36908
36909 if test "$wxUSE_DIRDLG" = "yes"; then
36910 if test "$wxUSE_TREECTRL" != "yes"; then
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36912 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36913 else
36914 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36915
36916 fi
36917 fi
36918
36919 if test "$wxUSE_MSGDLG" = "yes"; then
36920 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36921
36922 fi
36923
36924 if test "$wxUSE_NUMBERDLG" = "yes"; then
36925 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36926
36927 fi
36928
36929 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36930 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36931
36932 fi
36933
36934 if test "$wxUSE_SPLASH" = "yes"; then
36935 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36936
36937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36938 fi
36939
36940 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36941 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36942
36943 fi
36944
36945 if test "$wxUSE_TEXTDLG" = "yes"; then
36946 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36947
36948 fi
36949
36950 if test "$wxUSE_WIZARDDLG" = "yes"; then
36951 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36952
36953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36954 fi
36955
36956
36957 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36958 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36959 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36960
36961 fi
36962 fi
36963
36964
36965 if test "$wxUSE_MSW" = 1 ; then
36966
36967 if test "$wxUSE_DC_CACHEING" = "yes"; then
36968 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36969
36970 fi
36971
36972 if test "$wxUSE_DIB" = "yes"; then
36973 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36974
36975 fi
36976
36977 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36978 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36979
36980 fi
36981
36982 if test "$wxUSE_UXTHEME" = "yes"; then
36983 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36984
36985 fi
36986
36987 fi
36988
36989 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36990 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36991
36992 fi
36993
36994 if test "$USE_WIN32" = 1 ; then
36995 if test "$wxUSE_INICONF" = "yes"; then
36996 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36997
36998 fi
36999
37000 if test "$wxUSE_REGKEY" = "yes"; then
37001 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37002
37003 fi
37004 fi
37005
37006
37007 if test "$wxUSE_MAC" = 1; then
37008 wxUSE_GRAPHICS_CONTEXT="yes"
37009 fi
37010
37011 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37012 wx_has_graphics=0
37013 if test "$wxUSE_MSW" = 1; then
37014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37015 $as_echo_n "checking if GDI+ is available... " >&6; }
37016 if ${wx_cv_lib_gdiplus+:} false; then :
37017 $as_echo_n "(cached) " >&6
37018 else
37019
37020 ac_ext=cpp
37021 ac_cpp='$CXXCPP $CPPFLAGS'
37022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37025
37026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37027 /* end confdefs.h. */
37028 #include <windows.h>
37029 #include <gdiplus.h>
37030 int
37031 main ()
37032 {
37033
37034 using namespace Gdiplus;
37035
37036 ;
37037 return 0;
37038 }
37039 _ACEOF
37040 if ac_fn_cxx_try_compile "$LINENO"; then :
37041 wx_cv_lib_gdiplus=yes
37042 else
37043 wx_cv_lib_gdiplus=no
37044
37045 fi
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37047 ac_ext=c
37048 ac_cpp='$CPP $CPPFLAGS'
37049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052
37053
37054
37055 fi
37056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37057 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37058 if test "$wx_cv_lib_gdiplus" = "yes"; then
37059 wx_has_graphics=1
37060 fi
37061 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37062
37063 pkg_failed=no
37064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37065 $as_echo_n "checking for CAIRO... " >&6; }
37066
37067 if test -n "$PKG_CONFIG"; then
37068 if test -n "$CAIRO_CFLAGS"; then
37069 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
37070 else
37071 if test -n "$PKG_CONFIG" && \
37072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37073 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37074 ac_status=$?
37075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37076 test $ac_status = 0; }; then
37077 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37078 else
37079 pkg_failed=yes
37080 fi
37081 fi
37082 else
37083 pkg_failed=untried
37084 fi
37085 if test -n "$PKG_CONFIG"; then
37086 if test -n "$CAIRO_LIBS"; then
37087 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37088 else
37089 if test -n "$PKG_CONFIG" && \
37090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37091 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37092 ac_status=$?
37093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37094 test $ac_status = 0; }; then
37095 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37096 else
37097 pkg_failed=yes
37098 fi
37099 fi
37100 else
37101 pkg_failed=untried
37102 fi
37103
37104
37105
37106 if test $pkg_failed = yes; then
37107
37108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37109 _pkg_short_errors_supported=yes
37110 else
37111 _pkg_short_errors_supported=no
37112 fi
37113 if test $_pkg_short_errors_supported = yes; then
37114 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37115 else
37116 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37117 fi
37118 # Put the nasty error message in config.log where it belongs
37119 echo "$CAIRO_PKG_ERRORS" >&5
37120
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37122 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37123
37124 elif test $pkg_failed = untried; then
37125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37126 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37127
37128 else
37129 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37130 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37132 $as_echo "yes" >&6; }
37133 wx_has_graphics=1
37134 fi
37135 if test "$wx_has_graphics" = 1; then
37136 save_LIBS="$LIBS"
37137 LIBS="$LIBS $CAIRO_LIBS"
37138 for ac_func in cairo_push_group
37139 do :
37140 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37141 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37142 cat >>confdefs.h <<_ACEOF
37143 #define HAVE_CAIRO_PUSH_GROUP 1
37144 _ACEOF
37145
37146 fi
37147 done
37148
37149 LIBS="$save_LIBS"
37150 if test "$ac_cv_func_cairo_push_group" = "no"; then
37151 wx_has_graphics=0
37152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37153 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37154 else
37155 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37156
37157
37158 if test "$wxUSE_GTK" != 1; then
37159 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37160 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37161 fi
37162 fi
37163 fi
37164 else
37165 wx_has_graphics=1
37166 fi
37167
37168 if test "$wx_has_graphics" = 1; then
37169 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37170
37171 else
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37173 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37174 fi
37175 fi
37176
37177
37178 USE_MEDIA=0
37179
37180 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37181 USE_MEDIA=1
37182
37183 if test "$wxUSE_GTK" = 1; then
37184 wxUSE_GSTREAMER="no"
37185
37186 GST_VERSION_MAJOR=0
37187 GST_VERSION_MINOR=10
37188 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37189
37190 if test "$wxUSE_GSTREAMER8" = "no"; then
37191
37192 pkg_failed=no
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37194 $as_echo_n "checking for GST... " >&6; }
37195
37196 if test -n "$PKG_CONFIG"; then
37197 if test -n "$GST_CFLAGS"; then
37198 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37199 else
37200 if test -n "$PKG_CONFIG" && \
37201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37202 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37203 ac_status=$?
37204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37205 test $ac_status = 0; }; then
37206 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37207 else
37208 pkg_failed=yes
37209 fi
37210 fi
37211 else
37212 pkg_failed=untried
37213 fi
37214 if test -n "$PKG_CONFIG"; then
37215 if test -n "$GST_LIBS"; then
37216 pkg_cv_GST_LIBS="$GST_LIBS"
37217 else
37218 if test -n "$PKG_CONFIG" && \
37219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37220 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37221 ac_status=$?
37222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37223 test $ac_status = 0; }; then
37224 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37225 else
37226 pkg_failed=yes
37227 fi
37228 fi
37229 else
37230 pkg_failed=untried
37231 fi
37232
37233
37234
37235 if test $pkg_failed = yes; then
37236
37237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37238 _pkg_short_errors_supported=yes
37239 else
37240 _pkg_short_errors_supported=no
37241 fi
37242 if test $_pkg_short_errors_supported = yes; then
37243 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37244 else
37245 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37246 fi
37247 # Put the nasty error message in config.log where it belongs
37248 echo "$GST_PKG_ERRORS" >&5
37249
37250
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37252 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37253 GST_VERSION_MINOR=8
37254
37255
37256 elif test $pkg_failed = untried; then
37257
37258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37259 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37260 GST_VERSION_MINOR=8
37261
37262
37263 else
37264 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37265 GST_LIBS=$pkg_cv_GST_LIBS
37266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37267 $as_echo "yes" >&6; }
37268
37269 wxUSE_GSTREAMER="yes"
37270 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37271
37272 fi
37273 else
37274 GST_VERSION_MINOR=8
37275 fi
37276
37277 if test $GST_VERSION_MINOR = "8"; then
37278 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37279
37280 pkg_failed=no
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37282 $as_echo_n "checking for GST... " >&6; }
37283
37284 if test -n "$PKG_CONFIG"; then
37285 if test -n "$GST_CFLAGS"; then
37286 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37287 else
37288 if test -n "$PKG_CONFIG" && \
37289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37290 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37291 ac_status=$?
37292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37293 test $ac_status = 0; }; then
37294 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37295 else
37296 pkg_failed=yes
37297 fi
37298 fi
37299 else
37300 pkg_failed=untried
37301 fi
37302 if test -n "$PKG_CONFIG"; then
37303 if test -n "$GST_LIBS"; then
37304 pkg_cv_GST_LIBS="$GST_LIBS"
37305 else
37306 if test -n "$PKG_CONFIG" && \
37307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37308 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37309 ac_status=$?
37310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37311 test $ac_status = 0; }; then
37312 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37313 else
37314 pkg_failed=yes
37315 fi
37316 fi
37317 else
37318 pkg_failed=untried
37319 fi
37320
37321
37322
37323 if test $pkg_failed = yes; then
37324
37325 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37326 _pkg_short_errors_supported=yes
37327 else
37328 _pkg_short_errors_supported=no
37329 fi
37330 if test $_pkg_short_errors_supported = yes; then
37331 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37332 else
37333 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37334 fi
37335 # Put the nasty error message in config.log where it belongs
37336 echo "$GST_PKG_ERRORS" >&5
37337
37338
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37340 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37341
37342 elif test $pkg_failed = untried; then
37343
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37345 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37346
37347 else
37348 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37349 GST_LIBS=$pkg_cv_GST_LIBS
37350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37351 $as_echo "yes" >&6; }
37352 wxUSE_GSTREAMER="yes"
37353 fi
37354 fi
37355
37356
37357 if test "$wxUSE_GSTREAMER" = "yes"; then
37358 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37359 EXTRALIBS_MEDIA="$GST_LIBS"
37360
37361 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37362
37363 else
37364 USE_MEDIA=0
37365 fi
37366
37367 elif test "$wxUSE_MAC" = 1; then
37368 GST_LIBS="-framework QTKit"
37369 fi
37370
37371 if test $USE_MEDIA = 1; then
37372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37373 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37374
37375 else
37376 if test "$wxUSE_MEDIACTRL" = "yes"; then
37377 as_fn_error $? "GStreamer not available" "$LINENO" 5
37378 else
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37380 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37381 fi
37382 fi
37383 fi
37384
37385
37386 if test "$cross_compiling" != "no"; then
37387 OSINFO="\"$host\""
37388 else
37389 OSINFO=`uname -s -r -m`
37390 OSINFO="\"$OSINFO\""
37391 fi
37392
37393 cat >>confdefs.h <<_ACEOF
37394 #define WXWIN_OS_DESCRIPTION $OSINFO
37395 _ACEOF
37396
37397
37398
37399 if test "x$prefix" != "xNONE"; then
37400 wxPREFIX=$prefix
37401 else
37402 wxPREFIX=$ac_default_prefix
37403 fi
37404
37405 cat >>confdefs.h <<_ACEOF
37406 #define wxINSTALL_PREFIX "$wxPREFIX"
37407 _ACEOF
37408
37409
37410
37411
37412 STD_BASE_LIBS="base"
37413 STD_GUI_LIBS=""
37414 BUILT_WX_LIBS="base"
37415 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37416
37417 if test "$wxUSE_SOCKETS" = "yes" ; then
37418 STD_BASE_LIBS="net $STD_BASE_LIBS"
37419 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37420 fi
37421 if test "$wxUSE_XML" = "yes" ; then
37422 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37423 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37424 fi
37425
37426 if test "$wxUSE_GUI" = "yes"; then
37427 STD_GUI_LIBS="adv core"
37428 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37429
37430 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37431 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37432 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37433 fi
37434 if test "$wxUSE_HTML" = "yes" ; then
37435 STD_GUI_LIBS="html $STD_GUI_LIBS"
37436 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37437 fi
37438 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37439 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37440 fi
37441 if test "$wxUSE_OPENGL" = "yes" ; then
37442 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37443 fi
37444 if test "$wxUSE_AUI" = "yes" ; then
37445 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37446 fi
37447 if test "$wxUSE_PROPGRID" = "yes" ; then
37448 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37449 fi
37450 if test "$wxUSE_RIBBON" = "yes" ; then
37451 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37452 fi
37453 if test "$wxUSE_RICHTEXT" = "yes" ; then
37454 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37455 fi
37456 if test "$wxUSE_STC" = "yes" ; then
37457 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37458 fi
37459 if test "$wxUSE_WEBVIEW" = "yes" ; then
37460 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37461 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37462 fi
37463 if test "$wxUSE_XRC" = "yes" ; then
37464 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37465 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37466 fi
37467 fi
37468
37469
37470
37471
37472
37473
37474
37475 EXTRA_FRAMEWORKS=
37476 if test "$wxUSE_MAC" = 1 ; then
37477 if test "$USE_DARWIN" = 1; then
37478 if test "$wxUSE_OSX_IPHONE" = 1; then
37479 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37480 else
37481 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37482
37483
37484 if test "$cross_compiling" != "no"; then
37485 wx_cv_target_x86_64=no
37486 else
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37488 $as_echo_n "checking if we target only x86_64... " >&6; }
37489 if ${wx_cv_target_x86_64+:} false; then :
37490 $as_echo_n "(cached) " >&6
37491 else
37492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37493 /* end confdefs.h. */
37494 int main() { return 0; }
37495 _ACEOF
37496 if ac_fn_c_try_link "$LINENO"; then :
37497 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37498 wx_cv_target_x86_64=no
37499 else
37500 wx_cv_target_x86_64=yes
37501 fi
37502
37503 fi
37504 rm -f core conftest.err conftest.$ac_objext \
37505 conftest$ac_exeext conftest.$ac_ext
37506
37507 fi
37508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37509 $as_echo "$wx_cv_target_x86_64" >&6; }
37510 fi
37511
37512 if test "$wx_cv_target_x86_64" != "yes"; then
37513 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37514 fi
37515 fi
37516 fi
37517 fi
37518 if test "$wxUSE_OLD_COCOA" = 1 ; then
37519 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37520 if test "$wxUSE_MEDIACTRL" = "yes"; then
37521 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37522 fi
37523 fi
37524 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37525 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37526 fi
37527
37528 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37529 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37530
37531 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37532
37533 if test "$wxUSE_GUI" = "yes"; then
37534
37535
37536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37537 erase event exec font image minimal preferences render \
37538 shaped svg taborder vscroll widgets wrapsizer"
37539
37540 if test "$wxUSE_MONOLITHIC" != "yes"; then
37541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37542 fi
37543 if test "$TOOLKIT" = "MSW"; then
37544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37545 if test "$wxUSE_UNIVERSAL" != "yes"; then
37546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37547 fi
37548 fi
37549 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37551 fi
37552 else
37553 SAMPLES_SUBDIRS="console"
37554 if test "$wxUSE_SOCKETS" = "yes" ; then
37555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37556 fi
37557 if test "$wxUSE_IPC" = "yes" ; then
37558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37559 fi
37560 fi
37561
37562
37563 if test "x$INTELCC" = "xyes" ; then
37564 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37565 elif test "$GCC" = yes ; then
37566 CWARNINGS="-Wall -Wundef"
37567 fi
37568
37569 if test "x$INTELCXX" = "xyes" ; then
37570 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37571 elif test "$GXX" = yes ; then
37572 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37574 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37575 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37578 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37579
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585
37586 ac_save_CXXFLAGS="$CXXFLAGS"
37587 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37588 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37590 /* end confdefs.h. */
37591
37592 int
37593 main ()
37594 {
37595 return 0;
37596 ;
37597 return 0;
37598 }
37599 _ACEOF
37600 if ac_fn_cxx_try_compile "$LINENO"; then :
37601 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37602 fi
37603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37604 done
37605 CXXFLAGS="$ac_save_CXXFLAGS"
37606 ac_ext=c
37607 ac_cpp='$CPP $CPPFLAGS'
37608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37611
37612
37613 fi
37614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37615 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37616 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37617 .ok|.ok,*) ;;
37618 .|.no|.no,*) ;;
37619 *)
37620 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37621 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37622 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37623 ac_status=$?
37624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37625 test $ac_status = 0; }
37626 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37627 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37628 ac_status=$?
37629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37630 test $ac_status = 0; }
37631 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37632 fi
37633 ;;
37634 esac
37635
37636
37637 if test "$wxUSE_MAC" = 1 ; then
37638 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37639 fi
37640 fi
37641
37642
37643 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37644 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37645
37646
37647 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37648 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37649 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37650 $CPPFLAGS `
37651
37652 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37653 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37654 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37655 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37656 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37657
37658 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37659
37660
37661 if test "x$MWCC" = "xyes"; then
37662
37663 CC="$CC -cwd source -I-"
37664 CXX="$CXX -cwd source -I-"
37665 fi
37666
37667
37668 LIBS=`echo $LIBS`
37669 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37670 EXTRALIBS_XML="$EXPAT_LINK"
37671 EXTRALIBS_HTML="$MSPACK_LINK"
37672 EXTRALIBS_MEDIA="$GST_LIBS"
37673 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37674 if test "$wxUSE_GUI" = "yes"; then
37675 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37676 fi
37677 if test "$wxUSE_OPENGL" = "yes"; then
37678 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37679 fi
37680
37681 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37682
37683 WXCONFIG_LIBS="$LIBS"
37684
37685 if test "$wxUSE_REGEX" = "builtin" ; then
37686 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37687 fi
37688 if test "$wxUSE_EXPAT" = "builtin" ; then
37689 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37690 fi
37691 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37692 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37693 fi
37694 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37695 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37696 fi
37697 if test "$wxUSE_LIBPNG" = "builtin" ; then
37698 wxconfig_3rdparty="png $wxconfig_3rdparty"
37699 fi
37700 if test "$wxUSE_ZLIB" = "builtin" ; then
37701 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37702 fi
37703
37704 for i in $wxconfig_3rdparty ; do
37705 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37706 done
37707
37708
37709 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37710 WXUNIV=1
37711
37712 case "$wxUNIV_THEMES" in
37713 ''|all)
37714 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37715
37716 ;;
37717
37718 *)
37719 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37720 cat >>confdefs.h <<_ACEOF
37721 #define wxUSE_THEME_$t 1
37722 _ACEOF
37723
37724 done
37725 esac
37726 else
37727 WXUNIV=0
37728 fi
37729
37730
37731
37732
37733
37734
37735
37736
37737 if test $wxUSE_MONOLITHIC = "yes" ; then
37738 MONOLITHIC=1
37739 else
37740 MONOLITHIC=0
37741 fi
37742
37743 if test $wxUSE_PLUGINS = "yes" ; then
37744 USE_PLUGINS=1
37745 else
37746 USE_PLUGINS=0
37747 fi
37748
37749 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37750 USE_QA=1
37751 else
37752 USE_QA=0
37753 fi
37754
37755 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37756 OFFICIAL_BUILD=1
37757 else
37758 OFFICIAL_BUILD=0
37759 fi
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794 case "$TOOLKIT" in
37795 GTK)
37796 TOOLKIT_DESC="GTK+"
37797 if test "$WXGTK2" = 1; then
37798 if test "$WXGTK3" = 1; then
37799 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37800 else
37801 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37802 fi
37803 if test "$wxUSE_GTKPRINT" = "yes" ; then
37804 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37805 fi
37806 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37807 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37808 fi
37809 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37810 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37811 fi
37812 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37813 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37814 fi
37815 if test "$wxUSE_LIBHILDON" = "yes"; then
37816 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37817 fi
37818 if test "$wxUSE_LIBHILDON2" = "yes"; then
37819 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37820 fi
37821
37822 if test "$TOOLKIT_EXTRA" != ""; then
37823 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37824 fi
37825 fi
37826 ;;
37827
37828 ?*)
37829 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37830 ;;
37831
37832 *)
37833 TOOLKIT_DESC="base only"
37834 ;;
37835 esac
37836
37837 if test "$wxUSE_WINE" = "yes"; then
37838 BAKEFILE_FORCE_PLATFORM=win32
37839 fi
37840
37841 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37842 then
37843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37844 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37845 if ${wx_cv_gcc_pch_bug+:} false; then :
37846 $as_echo_n "(cached) " >&6
37847 else
37848
37849 echo '#include <stdio.h>
37850 const wchar_t test_var[] = L"awidetest";' > conftest.h
37851
37852 echo '#include "conftest.h"
37853 int main()
37854 {
37855 printf("%ls", test_var);
37856 return 0;
37857 }' > conftest.cpp
37858
37859 wx_cv_gcc_pch_bug="pch not supported"
37860
37861 if $CXX conftest.h >/dev/null 2>&1
37862 then
37863 wx_cv_gcc_pch_bug=
37864
37865 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37866 then
37867 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37868 grep awidetest >/dev/null
37869 then
37870 wx_cv_gcc_pch_bug=no
37871 else
37872 wx_cv_gcc_pch_bug=yes
37873 fi
37874 fi
37875 fi
37876
37877 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37878
37879 fi
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37881 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37882
37883 if test "$wx_cv_gcc_pch_bug" = yes; then
37884 bk_use_pch=no
37885 fi
37886 fi
37887
37888 # Find a good install program. We prefer a C program (faster),
37889 # so one script is as good as another. But avoid the broken or
37890 # incompatible versions:
37891 # SysV /etc/install, /usr/sbin/install
37892 # SunOS /usr/etc/install
37893 # IRIX /sbin/install
37894 # AIX /bin/install
37895 # AmigaOS /C/install, which installs bootblocks on floppy discs
37896 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37897 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37898 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37899 # OS/2's system install, which has a completely different semantic
37900 # ./install, which can be erroneously created by make from ./install.sh.
37901 # Reject install programs that cannot install multiple files.
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37903 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37904 if test -z "$INSTALL"; then
37905 if ${ac_cv_path_install+:} false; then :
37906 $as_echo_n "(cached) " >&6
37907 else
37908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37909 for as_dir in $PATH
37910 do
37911 IFS=$as_save_IFS
37912 test -z "$as_dir" && as_dir=.
37913 # Account for people who put trailing slashes in PATH elements.
37914 case $as_dir/ in #((
37915 ./ | .// | /[cC]/* | \
37916 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37917 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37918 /usr/ucb/* ) ;;
37919 *)
37920 # OSF1 and SCO ODT 3.0 have their own names for install.
37921 # Don't use installbsd from OSF since it installs stuff as root
37922 # by default.
37923 for ac_prog in ginstall scoinst install; do
37924 for ac_exec_ext in '' $ac_executable_extensions; do
37925 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37926 if test $ac_prog = install &&
37927 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37928 # AIX install. It has an incompatible calling convention.
37929 :
37930 elif test $ac_prog = install &&
37931 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37932 # program-specific install script used by HP pwplus--don't use.
37933 :
37934 else
37935 rm -rf conftest.one conftest.two conftest.dir
37936 echo one > conftest.one
37937 echo two > conftest.two
37938 mkdir conftest.dir
37939 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37940 test -s conftest.one && test -s conftest.two &&
37941 test -s conftest.dir/conftest.one &&
37942 test -s conftest.dir/conftest.two
37943 then
37944 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37945 break 3
37946 fi
37947 fi
37948 fi
37949 done
37950 done
37951 ;;
37952 esac
37953
37954 done
37955 IFS=$as_save_IFS
37956
37957 rm -rf conftest.one conftest.two conftest.dir
37958
37959 fi
37960 if test "${ac_cv_path_install+set}" = set; then
37961 INSTALL=$ac_cv_path_install
37962 else
37963 # As a last resort, use the slow shell script. Don't cache a
37964 # value for INSTALL within a source directory, because that will
37965 # break other packages using the cache if that directory is
37966 # removed, or if the value is a relative name.
37967 INSTALL=$ac_install_sh
37968 fi
37969 fi
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37971 $as_echo "$INSTALL" >&6; }
37972
37973 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37974 # It thinks the first close brace ends the variable substitution.
37975 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37976
37977 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37978
37979 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37980
37981
37982
37983
37984
37985
37986
37987 if test "x$BAKEFILE_HOST" = "x"; then
37988 if test "x${host}" = "x" ; then
37989 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37990 fi
37991
37992 BAKEFILE_HOST="${host}"
37993 fi
37994
37995 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37996
37997 if test -n "$ac_tool_prefix"; then
37998 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37999 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38001 $as_echo_n "checking for $ac_word... " >&6; }
38002 if ${ac_cv_prog_RANLIB+:} false; then :
38003 $as_echo_n "(cached) " >&6
38004 else
38005 if test -n "$RANLIB"; then
38006 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38007 else
38008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38009 for as_dir in $PATH
38010 do
38011 IFS=$as_save_IFS
38012 test -z "$as_dir" && as_dir=.
38013 for ac_exec_ext in '' $ac_executable_extensions; do
38014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38015 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38017 break 2
38018 fi
38019 done
38020 done
38021 IFS=$as_save_IFS
38022
38023 fi
38024 fi
38025 RANLIB=$ac_cv_prog_RANLIB
38026 if test -n "$RANLIB"; then
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38028 $as_echo "$RANLIB" >&6; }
38029 else
38030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38031 $as_echo "no" >&6; }
38032 fi
38033
38034
38035 fi
38036 if test -z "$ac_cv_prog_RANLIB"; then
38037 ac_ct_RANLIB=$RANLIB
38038 # Extract the first word of "ranlib", so it can be a program name with args.
38039 set dummy ranlib; ac_word=$2
38040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38041 $as_echo_n "checking for $ac_word... " >&6; }
38042 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
38043 $as_echo_n "(cached) " >&6
38044 else
38045 if test -n "$ac_ct_RANLIB"; then
38046 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38047 else
38048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38049 for as_dir in $PATH
38050 do
38051 IFS=$as_save_IFS
38052 test -z "$as_dir" && as_dir=.
38053 for ac_exec_ext in '' $ac_executable_extensions; do
38054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38055 ac_cv_prog_ac_ct_RANLIB="ranlib"
38056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38057 break 2
38058 fi
38059 done
38060 done
38061 IFS=$as_save_IFS
38062
38063 fi
38064 fi
38065 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38066 if test -n "$ac_ct_RANLIB"; then
38067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38068 $as_echo "$ac_ct_RANLIB" >&6; }
38069 else
38070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38071 $as_echo "no" >&6; }
38072 fi
38073
38074 if test "x$ac_ct_RANLIB" = x; then
38075 RANLIB=":"
38076 else
38077 case $cross_compiling:$ac_tool_warned in
38078 yes:)
38079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38081 ac_tool_warned=yes ;;
38082 esac
38083 RANLIB=$ac_ct_RANLIB
38084 fi
38085 else
38086 RANLIB="$ac_cv_prog_RANLIB"
38087 fi
38088
38089
38090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38091 $as_echo_n "checking whether ln -s works... " >&6; }
38092 LN_S=$as_ln_s
38093 if test "$LN_S" = "ln -s"; then
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38095 $as_echo "yes" >&6; }
38096 else
38097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38098 $as_echo "no, using $LN_S" >&6; }
38099 fi
38100
38101
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38103 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38104 set x ${MAKE-make}
38105 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38106 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38107 $as_echo_n "(cached) " >&6
38108 else
38109 cat >conftest.make <<\_ACEOF
38110 SHELL = /bin/sh
38111 all:
38112 @echo '@@@%%%=$(MAKE)=@@@%%%'
38113 _ACEOF
38114 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38115 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38116 *@@@%%%=?*=@@@%%%*)
38117 eval ac_cv_prog_make_${ac_make}_set=yes;;
38118 *)
38119 eval ac_cv_prog_make_${ac_make}_set=no;;
38120 esac
38121 rm -f conftest.make
38122 fi
38123 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38125 $as_echo "yes" >&6; }
38126 SET_MAKE=
38127 else
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38129 $as_echo "no" >&6; }
38130 SET_MAKE="MAKE=${MAKE-make}"
38131 fi
38132
38133
38134
38135 if test "x$SUNCXX" = "xyes"; then
38136 AR=$CXX
38137 AROPTIONS="-xar -o"
38138
38139 elif test "x$SGICC" = "xyes"; then
38140 AR=$CXX
38141 AROPTIONS="-ar -o"
38142
38143 else
38144 if test -n "$ac_tool_prefix"; then
38145 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38146 set dummy ${ac_tool_prefix}ar; ac_word=$2
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38148 $as_echo_n "checking for $ac_word... " >&6; }
38149 if ${ac_cv_prog_AR+:} false; then :
38150 $as_echo_n "(cached) " >&6
38151 else
38152 if test -n "$AR"; then
38153 ac_cv_prog_AR="$AR" # Let the user override the test.
38154 else
38155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38156 for as_dir in $PATH
38157 do
38158 IFS=$as_save_IFS
38159 test -z "$as_dir" && as_dir=.
38160 for ac_exec_ext in '' $ac_executable_extensions; do
38161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38162 ac_cv_prog_AR="${ac_tool_prefix}ar"
38163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38164 break 2
38165 fi
38166 done
38167 done
38168 IFS=$as_save_IFS
38169
38170 fi
38171 fi
38172 AR=$ac_cv_prog_AR
38173 if test -n "$AR"; then
38174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38175 $as_echo "$AR" >&6; }
38176 else
38177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38178 $as_echo "no" >&6; }
38179 fi
38180
38181
38182 fi
38183 if test -z "$ac_cv_prog_AR"; then
38184 ac_ct_AR=$AR
38185 # Extract the first word of "ar", so it can be a program name with args.
38186 set dummy ar; ac_word=$2
38187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38188 $as_echo_n "checking for $ac_word... " >&6; }
38189 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38190 $as_echo_n "(cached) " >&6
38191 else
38192 if test -n "$ac_ct_AR"; then
38193 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38194 else
38195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38196 for as_dir in $PATH
38197 do
38198 IFS=$as_save_IFS
38199 test -z "$as_dir" && as_dir=.
38200 for ac_exec_ext in '' $ac_executable_extensions; do
38201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38202 ac_cv_prog_ac_ct_AR="ar"
38203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38204 break 2
38205 fi
38206 done
38207 done
38208 IFS=$as_save_IFS
38209
38210 fi
38211 fi
38212 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38213 if test -n "$ac_ct_AR"; then
38214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38215 $as_echo "$ac_ct_AR" >&6; }
38216 else
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38218 $as_echo "no" >&6; }
38219 fi
38220
38221 if test "x$ac_ct_AR" = x; then
38222 AR="ar"
38223 else
38224 case $cross_compiling:$ac_tool_warned in
38225 yes:)
38226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38228 ac_tool_warned=yes ;;
38229 esac
38230 AR=$ac_ct_AR
38231 fi
38232 else
38233 AR="$ac_cv_prog_AR"
38234 fi
38235
38236 AROPTIONS=rcu
38237 fi
38238
38239
38240 if test -n "$ac_tool_prefix"; then
38241 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38242 set dummy ${ac_tool_prefix}strip; ac_word=$2
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38244 $as_echo_n "checking for $ac_word... " >&6; }
38245 if ${ac_cv_prog_STRIP+:} false; then :
38246 $as_echo_n "(cached) " >&6
38247 else
38248 if test -n "$STRIP"; then
38249 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38250 else
38251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38252 for as_dir in $PATH
38253 do
38254 IFS=$as_save_IFS
38255 test -z "$as_dir" && as_dir=.
38256 for ac_exec_ext in '' $ac_executable_extensions; do
38257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38258 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38260 break 2
38261 fi
38262 done
38263 done
38264 IFS=$as_save_IFS
38265
38266 fi
38267 fi
38268 STRIP=$ac_cv_prog_STRIP
38269 if test -n "$STRIP"; then
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38271 $as_echo "$STRIP" >&6; }
38272 else
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38274 $as_echo "no" >&6; }
38275 fi
38276
38277
38278 fi
38279 if test -z "$ac_cv_prog_STRIP"; then
38280 ac_ct_STRIP=$STRIP
38281 # Extract the first word of "strip", so it can be a program name with args.
38282 set dummy strip; ac_word=$2
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38284 $as_echo_n "checking for $ac_word... " >&6; }
38285 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38286 $as_echo_n "(cached) " >&6
38287 else
38288 if test -n "$ac_ct_STRIP"; then
38289 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38290 else
38291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38292 for as_dir in $PATH
38293 do
38294 IFS=$as_save_IFS
38295 test -z "$as_dir" && as_dir=.
38296 for ac_exec_ext in '' $ac_executable_extensions; do
38297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38298 ac_cv_prog_ac_ct_STRIP="strip"
38299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38300 break 2
38301 fi
38302 done
38303 done
38304 IFS=$as_save_IFS
38305
38306 fi
38307 fi
38308 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38309 if test -n "$ac_ct_STRIP"; then
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38311 $as_echo "$ac_ct_STRIP" >&6; }
38312 else
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38314 $as_echo "no" >&6; }
38315 fi
38316
38317 if test "x$ac_ct_STRIP" = x; then
38318 STRIP=":"
38319 else
38320 case $cross_compiling:$ac_tool_warned in
38321 yes:)
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38324 ac_tool_warned=yes ;;
38325 esac
38326 STRIP=$ac_ct_STRIP
38327 fi
38328 else
38329 STRIP="$ac_cv_prog_STRIP"
38330 fi
38331
38332 if test -n "$ac_tool_prefix"; then
38333 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38334 set dummy ${ac_tool_prefix}nm; ac_word=$2
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38336 $as_echo_n "checking for $ac_word... " >&6; }
38337 if ${ac_cv_prog_NM+:} false; then :
38338 $as_echo_n "(cached) " >&6
38339 else
38340 if test -n "$NM"; then
38341 ac_cv_prog_NM="$NM" # Let the user override the test.
38342 else
38343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38344 for as_dir in $PATH
38345 do
38346 IFS=$as_save_IFS
38347 test -z "$as_dir" && as_dir=.
38348 for ac_exec_ext in '' $ac_executable_extensions; do
38349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38350 ac_cv_prog_NM="${ac_tool_prefix}nm"
38351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38352 break 2
38353 fi
38354 done
38355 done
38356 IFS=$as_save_IFS
38357
38358 fi
38359 fi
38360 NM=$ac_cv_prog_NM
38361 if test -n "$NM"; then
38362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38363 $as_echo "$NM" >&6; }
38364 else
38365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38366 $as_echo "no" >&6; }
38367 fi
38368
38369
38370 fi
38371 if test -z "$ac_cv_prog_NM"; then
38372 ac_ct_NM=$NM
38373 # Extract the first word of "nm", so it can be a program name with args.
38374 set dummy nm; ac_word=$2
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38376 $as_echo_n "checking for $ac_word... " >&6; }
38377 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38378 $as_echo_n "(cached) " >&6
38379 else
38380 if test -n "$ac_ct_NM"; then
38381 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38382 else
38383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38384 for as_dir in $PATH
38385 do
38386 IFS=$as_save_IFS
38387 test -z "$as_dir" && as_dir=.
38388 for ac_exec_ext in '' $ac_executable_extensions; do
38389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38390 ac_cv_prog_ac_ct_NM="nm"
38391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38392 break 2
38393 fi
38394 done
38395 done
38396 IFS=$as_save_IFS
38397
38398 fi
38399 fi
38400 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38401 if test -n "$ac_ct_NM"; then
38402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38403 $as_echo "$ac_ct_NM" >&6; }
38404 else
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38406 $as_echo "no" >&6; }
38407 fi
38408
38409 if test "x$ac_ct_NM" = x; then
38410 NM=":"
38411 else
38412 case $cross_compiling:$ac_tool_warned in
38413 yes:)
38414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38416 ac_tool_warned=yes ;;
38417 esac
38418 NM=$ac_ct_NM
38419 fi
38420 else
38421 NM="$ac_cv_prog_NM"
38422 fi
38423
38424
38425 INSTALL_DIR="mkdir -p"
38426
38427
38428 LDFLAGS_GUI=
38429 case ${BAKEFILE_HOST} in
38430 *-*-cygwin* | *-*-mingw32* )
38431 LDFLAGS_GUI="-mwindows"
38432 esac
38433
38434
38435 fi
38436
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38438 $as_echo_n "checking if make is GNU make... " >&6; }
38439 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38440 $as_echo_n "(cached) " >&6
38441 else
38442
38443 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38444 egrep -s GNU > /dev/null); then
38445 bakefile_cv_prog_makeisgnu="yes"
38446 else
38447 bakefile_cv_prog_makeisgnu="no"
38448 fi
38449
38450 fi
38451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38452 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38453
38454 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38455 IF_GNU_MAKE=""
38456 else
38457 IF_GNU_MAKE="#"
38458 fi
38459
38460
38461
38462 PLATFORM_UNIX=0
38463 PLATFORM_WIN32=0
38464 PLATFORM_MSDOS=0
38465 PLATFORM_MAC=0
38466 PLATFORM_MACOS=0
38467 PLATFORM_MACOSX=0
38468 PLATFORM_OS2=0
38469 PLATFORM_BEOS=0
38470
38471 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38472 case "${BAKEFILE_HOST}" in
38473 *-*-mingw32* )
38474 PLATFORM_WIN32=1
38475 ;;
38476 *-pc-msdosdjgpp )
38477 PLATFORM_MSDOS=1
38478 ;;
38479 *-pc-os2_emx | *-pc-os2-emx )
38480 PLATFORM_OS2=1
38481 ;;
38482 *-*-darwin* )
38483 PLATFORM_MAC=1
38484 PLATFORM_MACOSX=1
38485 ;;
38486 *-*-beos* )
38487 PLATFORM_BEOS=1
38488 ;;
38489 powerpc-apple-macos* )
38490 PLATFORM_MAC=1
38491 PLATFORM_MACOS=1
38492 ;;
38493 * )
38494 PLATFORM_UNIX=1
38495 ;;
38496 esac
38497 else
38498 case "$BAKEFILE_FORCE_PLATFORM" in
38499 win32 )
38500 PLATFORM_WIN32=1
38501 ;;
38502 msdos )
38503 PLATFORM_MSDOS=1
38504 ;;
38505 os2 )
38506 PLATFORM_OS2=1
38507 ;;
38508 darwin )
38509 PLATFORM_MAC=1
38510 PLATFORM_MACOSX=1
38511 ;;
38512 unix )
38513 PLATFORM_UNIX=1
38514 ;;
38515 beos )
38516 PLATFORM_BEOS=1
38517 ;;
38518 * )
38519 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38520 ;;
38521 esac
38522 fi
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534 # Check whether --enable-omf was given.
38535 if test "${enable_omf+set}" = set; then :
38536 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38537 fi
38538
38539
38540 case "${BAKEFILE_HOST}" in
38541 *-*-darwin* )
38542 if test "x$GCC" = "xyes"; then
38543 CFLAGS="$CFLAGS -fno-common"
38544 CXXFLAGS="$CXXFLAGS -fno-common"
38545 fi
38546 if test "x$XLCC" = "xyes"; then
38547 CFLAGS="$CFLAGS -qnocommon"
38548 CXXFLAGS="$CXXFLAGS -qnocommon"
38549 fi
38550 ;;
38551
38552 *-pc-os2_emx | *-pc-os2-emx )
38553 if test "x$bk_os2_use_omf" = "xyes" ; then
38554 AR=emxomfar
38555 RANLIB=:
38556 LDFLAGS="-Zomf $LDFLAGS"
38557 CFLAGS="-Zomf $CFLAGS"
38558 CXXFLAGS="-Zomf $CXXFLAGS"
38559 OS2_LIBEXT="lib"
38560 else
38561 OS2_LIBEXT="a"
38562 fi
38563 ;;
38564
38565 i*86-*-beos* )
38566 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38567 ;;
38568 esac
38569
38570
38571 SO_SUFFIX="so"
38572 SO_SUFFIX_MODULE="so"
38573 EXEEXT=""
38574 LIBPREFIX="lib"
38575 LIBEXT=".a"
38576 DLLPREFIX="lib"
38577 DLLPREFIX_MODULE=""
38578 DLLIMP_SUFFIX=""
38579 dlldir="$libdir"
38580
38581 case "${BAKEFILE_HOST}" in
38582 ia64-hp-hpux* )
38583 ;;
38584 *-hp-hpux* )
38585 SO_SUFFIX="sl"
38586 SO_SUFFIX_MODULE="sl"
38587 ;;
38588 *-*-aix* )
38589 SO_SUFFIX="a"
38590 SO_SUFFIX_MODULE="a"
38591 ;;
38592 *-*-cygwin* )
38593 SO_SUFFIX="dll"
38594 SO_SUFFIX_MODULE="dll"
38595 DLLIMP_SUFFIX="dll.a"
38596 EXEEXT=".exe"
38597 DLLPREFIX="cyg"
38598 dlldir="$bindir"
38599 ;;
38600 *-*-mingw32* )
38601 SO_SUFFIX="dll"
38602 SO_SUFFIX_MODULE="dll"
38603 DLLIMP_SUFFIX="dll.a"
38604 EXEEXT=".exe"
38605 DLLPREFIX=""
38606 dlldir="$bindir"
38607 ;;
38608 *-pc-msdosdjgpp )
38609 EXEEXT=".exe"
38610 DLLPREFIX=""
38611 dlldir="$bindir"
38612 ;;
38613 *-pc-os2_emx | *-pc-os2-emx )
38614 SO_SUFFIX="dll"
38615 SO_SUFFIX_MODULE="dll"
38616 DLLIMP_SUFFIX=$OS2_LIBEXT
38617 EXEEXT=".exe"
38618 DLLPREFIX=""
38619 LIBPREFIX=""
38620 LIBEXT=".$OS2_LIBEXT"
38621 dlldir="$bindir"
38622 ;;
38623 *-*-darwin* )
38624 SO_SUFFIX="dylib"
38625 SO_SUFFIX_MODULE="bundle"
38626 ;;
38627 esac
38628
38629 if test "x$DLLIMP_SUFFIX" = "x" ; then
38630 DLLIMP_SUFFIX="$SO_SUFFIX"
38631 fi
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644 PIC_FLAG=""
38645 if test "x$GCC" = "xyes"; then
38646 PIC_FLAG="-fPIC"
38647 fi
38648
38649 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38650 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38651 WINDOWS_IMPLIB=0
38652
38653 case "${BAKEFILE_HOST}" in
38654 *-hp-hpux* )
38655 if test "x$GCC" != "xyes"; then
38656 LDFLAGS="$LDFLAGS -L/usr/lib"
38657
38658 SHARED_LD_CC="${CC} -b -o"
38659 SHARED_LD_CXX="${CXX} -b -o"
38660 PIC_FLAG="+Z"
38661 fi
38662 ;;
38663
38664 *-*-linux* )
38665 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38666 PIC_FLAG="-KPIC"
38667 elif test "x$SUNCXX" = "xyes"; then
38668 SHARED_LD_CC="${CC} -G -o"
38669 SHARED_LD_CXX="${CXX} -G -o"
38670 PIC_FLAG="-KPIC"
38671 fi
38672 ;;
38673
38674 *-*-solaris2* )
38675 if test "x$SUNCXX" = xyes ; then
38676 SHARED_LD_CC="${CC} -G -o"
38677 SHARED_LD_CXX="${CXX} -G -o"
38678 PIC_FLAG="-KPIC"
38679 fi
38680 ;;
38681
38682 *-*-darwin* )
38683
38684 D='$'
38685 cat <<EOF >shared-ld-sh
38686 #!/bin/sh
38687 #-----------------------------------------------------------------------------
38688 #-- Name: distrib/mac/shared-ld-sh
38689 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38690 #-- Author: Gilles Depeyrot
38691 #-- Copyright: (c) 2002 Gilles Depeyrot
38692 #-- Licence: any use permitted
38693 #-----------------------------------------------------------------------------
38694
38695 verbose=0
38696 args=""
38697 objects=""
38698 linking_flag="-dynamiclib"
38699 ldargs="-r -keep_private_externs -nostdlib"
38700
38701 if test "x${D}CXX" = "x"; then
38702 CXX="c++"
38703 fi
38704
38705 while test ${D}# -gt 0; do
38706 case ${D}1 in
38707
38708 -v)
38709 verbose=1
38710 ;;
38711
38712 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38713 # collect these options and values
38714 args="${D}{args} ${D}1 ${D}2"
38715 shift
38716 ;;
38717
38718 -arch|-isysroot)
38719 # collect these options and values
38720 ldargs="${D}{ldargs} ${D}1 ${D}2"
38721 shift
38722 ;;
38723
38724 -s|-Wl,*)
38725 # collect these load args
38726 ldargs="${D}{ldargs} ${D}1"
38727 ;;
38728
38729 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38730 # collect these options
38731 args="${D}{args} ${D}1"
38732 ;;
38733
38734 -dynamiclib|-bundle)
38735 linking_flag="${D}1"
38736 ;;
38737
38738 -*)
38739 echo "shared-ld: unhandled option '${D}1'"
38740 exit 1
38741 ;;
38742
38743 *.o | *.a | *.dylib)
38744 # collect object files
38745 objects="${D}{objects} ${D}1"
38746 ;;
38747
38748 *)
38749 echo "shared-ld: unhandled argument '${D}1'"
38750 exit 1
38751 ;;
38752
38753 esac
38754 shift
38755 done
38756
38757 status=0
38758
38759 #
38760 # Link one module containing all the others
38761 #
38762 if test ${D}{verbose} = 1; then
38763 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38764 fi
38765 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38766 status=${D}?
38767
38768 #
38769 # Link the shared library from the single module created, but only if the
38770 # previous command didn't fail:
38771 #
38772 if test ${D}{status} = 0; then
38773 if test ${D}{verbose} = 1; then
38774 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38775 fi
38776 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38777 status=${D}?
38778 fi
38779
38780 #
38781 # Remove intermediate module
38782 #
38783 rm -f master.${D}${D}.o
38784
38785 exit ${D}status
38786 EOF
38787
38788 chmod +x shared-ld-sh
38789
38790 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38791 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38792
38793
38794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38795 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38796 if ${bakefile_cv_gcc31+:} false; then :
38797 $as_echo_n "(cached) " >&6
38798 else
38799
38800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h. */
38802
38803 int
38804 main ()
38805 {
38806
38807 #if (__GNUC__ < 3) || \
38808 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38809 This is old gcc
38810 #endif
38811
38812 ;
38813 return 0;
38814 }
38815 _ACEOF
38816 if ac_fn_c_try_compile "$LINENO"; then :
38817
38818 bakefile_cv_gcc31=yes
38819
38820 else
38821
38822 bakefile_cv_gcc31=no
38823
38824
38825 fi
38826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38827
38828 fi
38829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38830 $as_echo "$bakefile_cv_gcc31" >&6; }
38831 if test "$bakefile_cv_gcc31" = "no"; then
38832 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38833 SHARED_LD_CXX="$SHARED_LD_CC"
38834 else
38835 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38836 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38837 fi
38838
38839 if test "x$GCC" == "xyes"; then
38840 PIC_FLAG="-dynamic -fPIC"
38841 fi
38842 if test "x$XLCC" = "xyes"; then
38843 PIC_FLAG="-dynamic -DPIC"
38844 fi
38845 ;;
38846
38847 *-*-aix* )
38848 if test "x$GCC" = "xyes"; then
38849 PIC_FLAG=""
38850
38851 case "${BAKEFILE_HOST}" in
38852 *-*-aix5* )
38853 LD_EXPFULL="-Wl,-bexpfull"
38854 ;;
38855 esac
38856
38857 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38858 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38859 else
38860 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38861 set dummy makeC++SharedLib; ac_word=$2
38862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38863 $as_echo_n "checking for $ac_word... " >&6; }
38864 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38865 $as_echo_n "(cached) " >&6
38866 else
38867 if test -n "$AIX_CXX_LD"; then
38868 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38869 else
38870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38871 for as_dir in $PATH
38872 do
38873 IFS=$as_save_IFS
38874 test -z "$as_dir" && as_dir=.
38875 for ac_exec_ext in '' $ac_executable_extensions; do
38876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38877 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38879 break 2
38880 fi
38881 done
38882 done
38883 IFS=$as_save_IFS
38884
38885 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38886 fi
38887 fi
38888 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38889 if test -n "$AIX_CXX_LD"; then
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38891 $as_echo "$AIX_CXX_LD" >&6; }
38892 else
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38894 $as_echo "no" >&6; }
38895 fi
38896
38897
38898 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38899 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38900 fi
38901 ;;
38902
38903 *-*-beos* )
38904 SHARED_LD_CC="${LD} -nostart -o"
38905 SHARED_LD_CXX="${LD} -nostart -o"
38906 ;;
38907
38908 *-*-irix* )
38909 if test "x$GCC" != "xyes"; then
38910 PIC_FLAG="-KPIC"
38911 fi
38912 ;;
38913
38914 *-*-cygwin* | *-*-mingw32* )
38915 PIC_FLAG=""
38916 SHARED_LD_CC="\$(CC) -shared -o"
38917 SHARED_LD_CXX="\$(CXX) -shared -o"
38918 WINDOWS_IMPLIB=1
38919 ;;
38920
38921 *-pc-os2_emx | *-pc-os2-emx )
38922 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38923 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38924 PIC_FLAG=""
38925
38926 D='$'
38927 cat <<EOF >dllar.sh
38928 #!/bin/sh
38929 #
38930 # dllar - a tool to build both a .dll and an .a file
38931 # from a set of object (.o) files for EMX/OS2.
38932 #
38933 # Written by Andrew Zabolotny, bit@freya.etu.ru
38934 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38935 #
38936 # This script will accept a set of files on the command line.
38937 # All the public symbols from the .o files will be exported into
38938 # a .DEF file, then linker will be run (through gcc) against them to
38939 # build a shared library consisting of all given .o files. All libraries
38940 # (.a) will be first decompressed into component .o files then act as
38941 # described above. You can optionally give a description (-d "description")
38942 # which will be put into .DLL. To see the list of accepted options (as well
38943 # as command-line format) simply run this program without options. The .DLL
38944 # is built to be imported by name (there is no guarantee that new versions
38945 # of the library you build will have same ordinals for same symbols).
38946 #
38947 # dllar is free software; you can redistribute it and/or modify
38948 # it under the terms of the GNU General Public License as published by
38949 # the Free Software Foundation; either version 2, or (at your option)
38950 # any later version.
38951 #
38952 # dllar is distributed in the hope that it will be useful,
38953 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38954 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38955 # GNU General Public License for more details.
38956 #
38957 # You should have received a copy of the GNU General Public License
38958 # along with dllar; see the file COPYING. If not, write to the Free
38959 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38960 # 02111-1307, USA.
38961
38962 # To successfuly run this program you will need:
38963 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38964 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38965 # - gcc
38966 # (used to build the .dll)
38967 # - emxexp
38968 # (used to create .def file from .o files)
38969 # - emximp
38970 # (used to create .a file from .def file)
38971 # - GNU text utilites (cat, sort, uniq)
38972 # used to process emxexp output
38973 # - GNU file utilities (mv, rm)
38974 # - GNU sed
38975 # - lxlite (optional, see flag below)
38976 # (used for general .dll cleanup)
38977 #
38978
38979 flag_USE_LXLITE=1;
38980
38981 #
38982 # helper functions
38983 # basnam, variant of basename, which does _not_ remove the path, _iff_
38984 # second argument (suffix to remove) is given
38985 basnam(){
38986 case ${D}# in
38987 1)
38988 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38989 ;;
38990 2)
38991 echo ${D}1 | sed 's/'${D}2'${D}//'
38992 ;;
38993 *)
38994 echo "error in basnam ${D}*"
38995 exit 8
38996 ;;
38997 esac
38998 }
38999
39000 # Cleanup temporary files and output
39001 CleanUp() {
39002 cd ${D}curDir
39003 for i in ${D}inputFiles ; do
39004 case ${D}i in
39005 *!)
39006 rm -rf \`basnam ${D}i !\`
39007 ;;
39008 *)
39009 ;;
39010 esac
39011 done
39012
39013 # Kill result in case of failure as there is just to many stupid make/nmake
39014 # things out there which doesn't do this.
39015 if [ ${D}# -eq 0 ]; then
39016 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39017 fi
39018 }
39019
39020 # Print usage and exit script with rc=1.
39021 PrintHelp() {
39022 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39023 echo ' [-name-mangler-script script.sh]'
39024 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39025 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39026 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39027 echo ' [*.o] [*.a]'
39028 echo '*> "output_file" should have no extension.'
39029 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39030 echo ' The import library name is derived from this and is set to "name".a,'
39031 echo ' unless overridden by -import'
39032 echo '*> "importlib_name" should have no extension.'
39033 echo ' If it has the .o, or .a extension, it is automatically removed.'
39034 echo ' This name is used as the import library name and may be longer and'
39035 echo ' more descriptive than the DLL name which has to follow the old '
39036 echo ' 8.3 convention of FAT.'
39037 echo '*> "script.sh may be given to override the output_file name by a'
39038 echo ' different name. It is mainly useful if the regular make process'
39039 echo ' of some package does not take into account OS/2 restriction of'
39040 echo ' DLL name lengths. It takes the importlib name as input and is'
39041 echo ' supposed to procude a shorter name as output. The script should'
39042 echo ' expect to get importlib_name without extension and should produce'
39043 echo ' a (max.) 8 letter name without extension.'
39044 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39045 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39046 echo ' These flags will be put at the start of GCC command line.'
39047 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39048 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39049 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39050 echo ' If the last character of a symbol is "*", all symbols beginning'
39051 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39052 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39053 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39054 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39055 echo ' C runtime DLLs.'
39056 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39057 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39058 echo ' unchanged to GCC at the end of command line.'
39059 echo '*> If you create a DLL from a library and you do not specify -o,'
39060 echo ' the basename for DLL and import library will be set to library name,'
39061 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39062 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39063 echo ' library will be renamed into gcc_s.a.'
39064 echo '--------'
39065 echo 'Example:'
39066 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39067 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39068 CleanUp
39069 exit 1
39070 }
39071
39072 # Execute a command.
39073 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39074 # @Uses Whatever CleanUp() uses.
39075 doCommand() {
39076 echo "${D}*"
39077 eval ${D}*
39078 rcCmd=${D}?
39079
39080 if [ ${D}rcCmd -ne 0 ]; then
39081 echo "command failed, exit code="${D}rcCmd
39082 CleanUp
39083 exit ${D}rcCmd
39084 fi
39085 }
39086
39087 # main routine
39088 # setup globals
39089 cmdLine=${D}*
39090 outFile=""
39091 outimpFile=""
39092 inputFiles=""
39093 renameScript=""
39094 description=""
39095 CC=gcc.exe
39096 CFLAGS="-s -Zcrtdll"
39097 EXTRA_CFLAGS=""
39098 EXPORT_BY_ORDINALS=0
39099 exclude_symbols=""
39100 library_flags=""
39101 curDir=\`pwd\`
39102 curDirS=curDir
39103 case ${D}curDirS in
39104 */)
39105 ;;
39106 *)
39107 curDirS=${D}{curDirS}"/"
39108 ;;
39109 esac
39110 # Parse commandline
39111 libsToLink=0
39112 omfLinking=0
39113 while [ ${D}1 ]; do
39114 case ${D}1 in
39115 -ord*)
39116 EXPORT_BY_ORDINALS=1;
39117 ;;
39118 -o*)
39119 shift
39120 outFile=${D}1
39121 ;;
39122 -i*)
39123 shift
39124 outimpFile=${D}1
39125 ;;
39126 -name-mangler-script)
39127 shift
39128 renameScript=${D}1
39129 ;;
39130 -d*)
39131 shift
39132 description=${D}1
39133 ;;
39134 -f*)
39135 shift
39136 CFLAGS=${D}1
39137 ;;
39138 -c*)
39139 shift
39140 CC=${D}1
39141 ;;
39142 -h*)
39143 PrintHelp
39144 ;;
39145 -ex*)
39146 shift
39147 exclude_symbols=${D}{exclude_symbols}${D}1" "
39148 ;;
39149 -libf*)
39150 shift
39151 library_flags=${D}{library_flags}${D}1" "
39152 ;;
39153 -nocrt*)
39154 CFLAGS="-s"
39155 ;;
39156 -nolxl*)
39157 flag_USE_LXLITE=0
39158 ;;
39159 -* | /*)
39160 case ${D}1 in
39161 -L* | -l*)
39162 libsToLink=1
39163 ;;
39164 -Zomf)
39165 omfLinking=1
39166 ;;
39167 *)
39168 ;;
39169 esac
39170 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39171 ;;
39172 *.dll)
39173 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39174 if [ ${D}omfLinking -eq 1 ]; then
39175 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39176 else
39177 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39178 fi
39179 ;;
39180 *)
39181 found=0;
39182 if [ ${D}libsToLink -ne 0 ]; then
39183 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39184 else
39185 for file in ${D}1 ; do
39186 if [ -f ${D}file ]; then
39187 inputFiles="${D}{inputFiles} ${D}file"
39188 found=1
39189 fi
39190 done
39191 if [ ${D}found -eq 0 ]; then
39192 echo "ERROR: No file(s) found: "${D}1
39193 exit 8
39194 fi
39195 fi
39196 ;;
39197 esac
39198 shift
39199 done # iterate cmdline words
39200
39201 #
39202 if [ -z "${D}inputFiles" ]; then
39203 echo "dllar: no input files"
39204 PrintHelp
39205 fi
39206
39207 # Now extract all .o files from .a files
39208 newInputFiles=""
39209 for file in ${D}inputFiles ; do
39210 case ${D}file in
39211 *.a | *.lib)
39212 case ${D}file in
39213 *.a)
39214 suffix=".a"
39215 AR="ar"
39216 ;;
39217 *.lib)
39218 suffix=".lib"
39219 AR="emxomfar"
39220 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39221 ;;
39222 *)
39223 ;;
39224 esac
39225 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39226 mkdir ${D}dirname
39227 if [ ${D}? -ne 0 ]; then
39228 echo "Failed to create subdirectory ./${D}dirname"
39229 CleanUp
39230 exit 8;
39231 fi
39232 # Append '!' to indicate archive
39233 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39234 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39235 cd ${D}curDir
39236 found=0;
39237 for subfile in ${D}dirname/*.o* ; do
39238 if [ -f ${D}subfile ]; then
39239 found=1
39240 if [ -s ${D}subfile ]; then
39241 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39242 newInputFiles="${D}newInputFiles ${D}subfile"
39243 fi
39244 fi
39245 done
39246 if [ ${D}found -eq 0 ]; then
39247 echo "WARNING: there are no files in archive \\'${D}file\\'"
39248 fi
39249 ;;
39250 *)
39251 newInputFiles="${D}{newInputFiles} ${D}file"
39252 ;;
39253 esac
39254 done
39255 inputFiles="${D}newInputFiles"
39256
39257 # Output filename(s).
39258 do_backup=0;
39259 if [ -z ${D}outFile ]; then
39260 do_backup=1;
39261 set outFile ${D}inputFiles; outFile=${D}2
39262 fi
39263
39264 # If it is an archive, remove the '!' and the '_%' suffixes
39265 case ${D}outFile in
39266 *_%!)
39267 outFile=\`basnam ${D}outFile _%!\`
39268 ;;
39269 *)
39270 ;;
39271 esac
39272 case ${D}outFile in
39273 *.dll)
39274 outFile=\`basnam ${D}outFile .dll\`
39275 ;;
39276 *.DLL)
39277 outFile=\`basnam ${D}outFile .DLL\`
39278 ;;
39279 *.o)
39280 outFile=\`basnam ${D}outFile .o\`
39281 ;;
39282 *.obj)
39283 outFile=\`basnam ${D}outFile .obj\`
39284 ;;
39285 *.a)
39286 outFile=\`basnam ${D}outFile .a\`
39287 ;;
39288 *.lib)
39289 outFile=\`basnam ${D}outFile .lib\`
39290 ;;
39291 *)
39292 ;;
39293 esac
39294 case ${D}outimpFile in
39295 *.a)
39296 outimpFile=\`basnam ${D}outimpFile .a\`
39297 ;;
39298 *.lib)
39299 outimpFile=\`basnam ${D}outimpFile .lib\`
39300 ;;
39301 *)
39302 ;;
39303 esac
39304 if [ -z ${D}outimpFile ]; then
39305 outimpFile=${D}outFile
39306 fi
39307 defFile="${D}{outFile}.def"
39308 arcFile="${D}{outimpFile}.a"
39309 arcFile2="${D}{outimpFile}.lib"
39310
39311 #create ${D}dllFile as something matching 8.3 restrictions,
39312 if [ -z ${D}renameScript ] ; then
39313 dllFile="${D}outFile"
39314 else
39315 dllFile=\`${D}renameScript ${D}outimpFile\`
39316 fi
39317
39318 if [ ${D}do_backup -ne 0 ] ; then
39319 if [ -f ${D}arcFile ] ; then
39320 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39321 fi
39322 if [ -f ${D}arcFile2 ] ; then
39323 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39324 fi
39325 fi
39326
39327 # Extract public symbols from all the object files.
39328 tmpdefFile=${D}{defFile}_%
39329 rm -f ${D}tmpdefFile
39330 for file in ${D}inputFiles ; do
39331 case ${D}file in
39332 *!)
39333 ;;
39334 *)
39335 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39336 ;;
39337 esac
39338 done
39339
39340 # Create the def file.
39341 rm -f ${D}defFile
39342 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39343 dllFile="${D}{dllFile}.dll"
39344 if [ ! -z ${D}description ]; then
39345 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39346 fi
39347 echo "EXPORTS" >> ${D}defFile
39348
39349 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39350 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39351
39352 # Checks if the export is ok or not.
39353 for word in ${D}exclude_symbols; do
39354 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39355 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39356 done
39357
39358
39359 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39360 sed "=" < ${D}tmpdefFile | \\
39361 sed '
39362 N
39363 : loop
39364 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39365 t loop
39366 ' > ${D}{tmpdefFile}%
39367 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39368 else
39369 rm -f ${D}{tmpdefFile}%
39370 fi
39371 cat ${D}tmpdefFile >> ${D}defFile
39372 rm -f ${D}tmpdefFile
39373
39374 # Do linking, create implib, and apply lxlite.
39375 gccCmdl="";
39376 for file in ${D}inputFiles ; do
39377 case ${D}file in
39378 *!)
39379 ;;
39380 *)
39381 gccCmdl="${D}gccCmdl ${D}file"
39382 ;;
39383 esac
39384 done
39385 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39386 touch "${D}{outFile}.dll"
39387
39388 doCommand "emximp -o ${D}arcFile ${D}defFile"
39389 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39390 add_flags="";
39391 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39392 add_flags="-ynd"
39393 fi
39394 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39395 fi
39396 doCommand "emxomf -s -l ${D}arcFile"
39397
39398 # Successful exit.
39399 CleanUp 1
39400 exit 0
39401 EOF
39402
39403 chmod +x dllar.sh
39404 ;;
39405
39406 powerpc-apple-macos* | \
39407 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39408 *-*-mirbsd* | \
39409 *-*-sunos4* | \
39410 *-*-osf* | \
39411 *-*-dgux5* | \
39412 *-*-sysv5* | \
39413 *-pc-msdosdjgpp )
39414 ;;
39415
39416 *)
39417 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39418 esac
39419
39420 if test "x$PIC_FLAG" != "x" ; then
39421 PIC_FLAG="$PIC_FLAG -DPIC"
39422 fi
39423
39424 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39425 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39426 fi
39427 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39428 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39429 fi
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439 USE_SOVERSION=0
39440 USE_SOVERLINUX=0
39441 USE_SOVERSOLARIS=0
39442 USE_SOVERCYGWIN=0
39443 USE_SOTWOSYMLINKS=0
39444 USE_MACVERSION=0
39445 SONAME_FLAG=
39446
39447 case "${BAKEFILE_HOST}" in
39448 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39449 *-*-k*bsd*-gnu | *-*-mirbsd* )
39450 if test "x$SUNCXX" = "xyes"; then
39451 SONAME_FLAG="-h "
39452 else
39453 SONAME_FLAG="-Wl,-soname,"
39454 fi
39455 USE_SOVERSION=1
39456 USE_SOVERLINUX=1
39457 USE_SOTWOSYMLINKS=1
39458 ;;
39459
39460 *-*-solaris2* )
39461 SONAME_FLAG="-h "
39462 USE_SOVERSION=1
39463 USE_SOVERSOLARIS=1
39464 ;;
39465
39466 *-*-darwin* )
39467 USE_MACVERSION=1
39468 USE_SOVERSION=1
39469 USE_SOTWOSYMLINKS=1
39470 ;;
39471
39472 *-*-cygwin* )
39473 USE_SOVERSION=1
39474 USE_SOVERCYGWIN=1
39475 ;;
39476 esac
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487 # Check whether --enable-dependency-tracking was given.
39488 if test "${enable_dependency_tracking+set}" = set; then :
39489 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39490 fi
39491
39492
39493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39494 $as_echo_n "checking for dependency tracking method... " >&6; }
39495
39496 BK_DEPS=""
39497 if test "x$bk_use_trackdeps" = "xno" ; then
39498 DEPS_TRACKING=0
39499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39500 $as_echo "disabled" >&6; }
39501 else
39502 DEPS_TRACKING=1
39503
39504 if test "x$GCC" = "xyes"; then
39505 DEPSMODE=gcc
39506 DEPSFLAG="-MMD"
39507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39508 $as_echo "gcc" >&6; }
39509 elif test "x$MWCC" = "xyes"; then
39510 DEPSMODE=mwcc
39511 DEPSFLAG="-MM"
39512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39513 $as_echo "mwcc" >&6; }
39514 elif test "x$SUNCC" = "xyes"; then
39515 DEPSMODE=unixcc
39516 DEPSFLAG="-xM1"
39517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39518 $as_echo "Sun cc" >&6; }
39519 elif test "x$SGICC" = "xyes"; then
39520 DEPSMODE=unixcc
39521 DEPSFLAG="-M"
39522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39523 $as_echo "SGI cc" >&6; }
39524 elif test "x$HPCC" = "xyes"; then
39525 DEPSMODE=unixcc
39526 DEPSFLAG="+make"
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39528 $as_echo "HP cc" >&6; }
39529 elif test "x$COMPAQCC" = "xyes"; then
39530 DEPSMODE=gcc
39531 DEPSFLAG="-MD"
39532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39533 $as_echo "Compaq cc" >&6; }
39534 else
39535 DEPS_TRACKING=0
39536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39537 $as_echo "none" >&6; }
39538 fi
39539
39540 if test $DEPS_TRACKING = 1 ; then
39541
39542 D='$'
39543 cat <<EOF >bk-deps
39544 #!/bin/sh
39545
39546 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39547 # script. It is used to track C/C++ files dependencies in portable way.
39548 #
39549 # Permission is given to use this file in any way.
39550
39551 DEPSMODE=${DEPSMODE}
39552 DEPSFLAG="${DEPSFLAG}"
39553 DEPSDIRBASE=.deps
39554
39555 if test ${D}DEPSMODE = gcc ; then
39556 ${D}* ${D}{DEPSFLAG}
39557 status=${D}?
39558
39559 # determine location of created files:
39560 while test ${D}# -gt 0; do
39561 case "${D}1" in
39562 -o )
39563 shift
39564 objfile=${D}1
39565 ;;
39566 -* )
39567 ;;
39568 * )
39569 srcfile=${D}1
39570 ;;
39571 esac
39572 shift
39573 done
39574 objfilebase=\`basename ${D}objfile\`
39575 builddir=\`dirname ${D}objfile\`
39576 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39577 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39578 depsdir=${D}builddir/${D}DEPSDIRBASE
39579 mkdir -p ${D}depsdir
39580
39581 # if the compiler failed, we're done:
39582 if test ${D}{status} != 0 ; then
39583 rm -f ${D}depfile
39584 exit ${D}{status}
39585 fi
39586
39587 # move created file to the location we want it in:
39588 if test -f ${D}depfile ; then
39589 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39590 rm -f ${D}depfile
39591 else
39592 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39593 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39594 if test ! -f ${D}depfile ; then
39595 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39596 depfile="${D}objfile.d"
39597 fi
39598 if test -f ${D}depfile ; then
39599 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39600 rm -f ${D}depfile
39601 fi
39602 fi
39603 exit 0
39604
39605 elif test ${D}DEPSMODE = mwcc ; then
39606 ${D}* || exit ${D}?
39607 # Run mwcc again with -MM and redirect into the dep file we want
39608 # NOTE: We can't use shift here because we need ${D}* to be valid
39609 prevarg=
39610 for arg in ${D}* ; do
39611 if test "${D}prevarg" = "-o"; then
39612 objfile=${D}arg
39613 else
39614 case "${D}arg" in
39615 -* )
39616 ;;
39617 * )
39618 srcfile=${D}arg
39619 ;;
39620 esac
39621 fi
39622 prevarg="${D}arg"
39623 done
39624
39625 objfilebase=\`basename ${D}objfile\`
39626 builddir=\`dirname ${D}objfile\`
39627 depsdir=${D}builddir/${D}DEPSDIRBASE
39628 mkdir -p ${D}depsdir
39629
39630 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39631 exit 0
39632
39633 elif test ${D}DEPSMODE = unixcc; then
39634 ${D}* || exit ${D}?
39635 # Run compiler again with deps flag and redirect into the dep file.
39636 # It doesn't work if the '-o FILE' option is used, but without it the
39637 # dependency file will contain the wrong name for the object. So it is
39638 # removed from the command line, and the dep file is fixed with sed.
39639 cmd=""
39640 while test ${D}# -gt 0; do
39641 case "${D}1" in
39642 -o )
39643 shift
39644 objfile=${D}1
39645 ;;
39646 * )
39647 eval arg${D}#=\\${D}1
39648 cmd="${D}cmd \\${D}arg${D}#"
39649 ;;
39650 esac
39651 shift
39652 done
39653
39654 objfilebase=\`basename ${D}objfile\`
39655 builddir=\`dirname ${D}objfile\`
39656 depsdir=${D}builddir/${D}DEPSDIRBASE
39657 mkdir -p ${D}depsdir
39658
39659 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39660 exit 0
39661
39662 else
39663 ${D}*
39664 exit ${D}?
39665 fi
39666 EOF
39667
39668 chmod +x bk-deps
39669 BK_DEPS="`pwd`/bk-deps"
39670 fi
39671 fi
39672
39673
39674
39675
39676
39677 case ${BAKEFILE_HOST} in
39678 *-*-cygwin* | *-*-mingw32* )
39679 if test -n "$ac_tool_prefix"; then
39680 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39681 set dummy ${ac_tool_prefix}windres; ac_word=$2
39682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39683 $as_echo_n "checking for $ac_word... " >&6; }
39684 if ${ac_cv_prog_WINDRES+:} false; then :
39685 $as_echo_n "(cached) " >&6
39686 else
39687 if test -n "$WINDRES"; then
39688 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39689 else
39690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39691 for as_dir in $PATH
39692 do
39693 IFS=$as_save_IFS
39694 test -z "$as_dir" && as_dir=.
39695 for ac_exec_ext in '' $ac_executable_extensions; do
39696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39697 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39699 break 2
39700 fi
39701 done
39702 done
39703 IFS=$as_save_IFS
39704
39705 fi
39706 fi
39707 WINDRES=$ac_cv_prog_WINDRES
39708 if test -n "$WINDRES"; then
39709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39710 $as_echo "$WINDRES" >&6; }
39711 else
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39713 $as_echo "no" >&6; }
39714 fi
39715
39716
39717 fi
39718 if test -z "$ac_cv_prog_WINDRES"; then
39719 ac_ct_WINDRES=$WINDRES
39720 # Extract the first word of "windres", so it can be a program name with args.
39721 set dummy windres; ac_word=$2
39722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39723 $as_echo_n "checking for $ac_word... " >&6; }
39724 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39725 $as_echo_n "(cached) " >&6
39726 else
39727 if test -n "$ac_ct_WINDRES"; then
39728 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39729 else
39730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39731 for as_dir in $PATH
39732 do
39733 IFS=$as_save_IFS
39734 test -z "$as_dir" && as_dir=.
39735 for ac_exec_ext in '' $ac_executable_extensions; do
39736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39737 ac_cv_prog_ac_ct_WINDRES="windres"
39738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39739 break 2
39740 fi
39741 done
39742 done
39743 IFS=$as_save_IFS
39744
39745 fi
39746 fi
39747 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39748 if test -n "$ac_ct_WINDRES"; then
39749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39750 $as_echo "$ac_ct_WINDRES" >&6; }
39751 else
39752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39753 $as_echo "no" >&6; }
39754 fi
39755
39756 if test "x$ac_ct_WINDRES" = x; then
39757 WINDRES=""
39758 else
39759 case $cross_compiling:$ac_tool_warned in
39760 yes:)
39761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39763 ac_tool_warned=yes ;;
39764 esac
39765 WINDRES=$ac_ct_WINDRES
39766 fi
39767 else
39768 WINDRES="$ac_cv_prog_WINDRES"
39769 fi
39770
39771 ;;
39772
39773 *-*-darwin* | powerpc-apple-macos* )
39774 # Extract the first word of "Rez", so it can be a program name with args.
39775 set dummy Rez; ac_word=$2
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39777 $as_echo_n "checking for $ac_word... " >&6; }
39778 if ${ac_cv_prog_REZ+:} false; then :
39779 $as_echo_n "(cached) " >&6
39780 else
39781 if test -n "$REZ"; then
39782 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39783 else
39784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39785 for as_dir in $PATH
39786 do
39787 IFS=$as_save_IFS
39788 test -z "$as_dir" && as_dir=.
39789 for ac_exec_ext in '' $ac_executable_extensions; do
39790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39791 ac_cv_prog_REZ="Rez"
39792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39793 break 2
39794 fi
39795 done
39796 done
39797 IFS=$as_save_IFS
39798
39799 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39800 fi
39801 fi
39802 REZ=$ac_cv_prog_REZ
39803 if test -n "$REZ"; then
39804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39805 $as_echo "$REZ" >&6; }
39806 else
39807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39808 $as_echo "no" >&6; }
39809 fi
39810
39811
39812 # Extract the first word of "SetFile", so it can be a program name with args.
39813 set dummy SetFile; ac_word=$2
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39815 $as_echo_n "checking for $ac_word... " >&6; }
39816 if ${ac_cv_prog_SETFILE+:} false; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39819 if test -n "$SETFILE"; then
39820 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39821 else
39822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39823 for as_dir in $PATH
39824 do
39825 IFS=$as_save_IFS
39826 test -z "$as_dir" && as_dir=.
39827 for ac_exec_ext in '' $ac_executable_extensions; do
39828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39829 ac_cv_prog_SETFILE="SetFile"
39830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39831 break 2
39832 fi
39833 done
39834 done
39835 IFS=$as_save_IFS
39836
39837 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39838 fi
39839 fi
39840 SETFILE=$ac_cv_prog_SETFILE
39841 if test -n "$SETFILE"; then
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39843 $as_echo "$SETFILE" >&6; }
39844 else
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39846 $as_echo "no" >&6; }
39847 fi
39848
39849
39850 ;;
39851 esac
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39862
39863
39864 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39865
39866
39867
39868 # Check whether --enable-precomp-headers was given.
39869 if test "${enable_precomp_headers+set}" = set; then :
39870 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39871 fi
39872
39873
39874 GCC_PCH=0
39875 ICC_PCH=0
39876 USE_PCH=0
39877 BK_MAKE_PCH=""
39878
39879 case ${BAKEFILE_HOST} in
39880 *-*-cygwin* )
39881 bk_use_pch="no"
39882 ;;
39883 esac
39884
39885 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39886 if test "x$GCC" = "xyes"; then
39887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39888 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39890 /* end confdefs.h. */
39891
39892 int
39893 main ()
39894 {
39895
39896 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39897 There is no PCH support
39898 #endif
39899 #if (__GNUC__ < 3)
39900 There is no PCH support
39901 #endif
39902 #if (__GNUC__ == 3) && \
39903 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39904 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39905 ( defined(__INTEL_COMPILER) )
39906 There is no PCH support
39907 #endif
39908
39909 ;
39910 return 0;
39911 }
39912 _ACEOF
39913 if ac_fn_c_try_compile "$LINENO"; then :
39914
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39916 $as_echo "yes" >&6; }
39917 GCC_PCH=1
39918
39919 else
39920
39921 if test "$INTELCXX8" = "yes"; then
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39923 $as_echo "yes" >&6; }
39924 ICC_PCH=1
39925 if test "$INTELCXX10" = "yes"; then
39926 ICC_PCH_CREATE_SWITCH="-pch-create"
39927 ICC_PCH_USE_SWITCH="-pch-use"
39928 else
39929 ICC_PCH_CREATE_SWITCH="-create-pch"
39930 ICC_PCH_USE_SWITCH="-use-pch"
39931 fi
39932 else
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39934 $as_echo "no" >&6; }
39935 fi
39936
39937 fi
39938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39939 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39940 USE_PCH=1
39941
39942 D='$'
39943 cat <<EOF >bk-make-pch
39944 #!/bin/sh
39945
39946 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39947 # script. It is used to generated precompiled headers.
39948 #
39949 # Permission is given to use this file in any way.
39950
39951 outfile="${D}{1}"
39952 header="${D}{2}"
39953 shift
39954 shift
39955
39956 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39957
39958 compiler=""
39959 headerfile=""
39960
39961 while test ${D}{#} -gt 0; do
39962 add_to_cmdline=1
39963 case "${D}{1}" in
39964 -I* )
39965 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39966 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39967 headerfile="${D}{incdir}/${D}{header}"
39968 fi
39969 ;;
39970 -use-pch|-use_pch|-pch-use )
39971 shift
39972 add_to_cmdline=0
39973 ;;
39974 esac
39975 if test ${D}add_to_cmdline = 1 ; then
39976 compiler="${D}{compiler} ${D}{1}"
39977 fi
39978 shift
39979 done
39980
39981 if test "x${D}{headerfile}" = "x" ; then
39982 echo "error: can't find header ${D}{header} in include paths" >&2
39983 else
39984 if test -f ${D}{outfile} ; then
39985 rm -f ${D}{outfile}
39986 else
39987 mkdir -p \`dirname ${D}{outfile}\`
39988 fi
39989 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39990 mkdir -p ${D}{builddir}/.deps
39991 if test "x${GCC_PCH}" = "x1" ; then
39992 # can do this because gcc is >= 3.4:
39993 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39994 elif test "x${ICC_PCH}" = "x1" ; then
39995 filename=pch_gen-${D}${D}
39996 file=${D}{filename}.c
39997 dfile=${D}{filename}.d
39998 cat > ${D}file <<EOT
39999 #include "${D}header"
40000 EOT
40001 # using -MF icc complains about differing command lines in creation/use
40002 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40003 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40004 rm -f ${D}file ${D}dfile ${D}{filename}.o
40005 fi
40006 exit ${D}{?}
40007 fi
40008 EOF
40009
40010 chmod +x bk-make-pch
40011 BK_MAKE_PCH="`pwd`/bk-make-pch"
40012 fi
40013 fi
40014 fi
40015
40016
40017
40018
40019
40020
40021
40022 COND_BUILD_DEBUG="#"
40023 if test "x$BUILD" = "xdebug" ; then
40024 COND_BUILD_DEBUG=""
40025 fi
40026
40027 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40028 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40029 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40030 fi
40031
40032 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40033 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40034 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40035 fi
40036
40037 COND_BUILD_DEBUG_UNICODE_0="#"
40038 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40039 COND_BUILD_DEBUG_UNICODE_0=""
40040 fi
40041
40042 COND_BUILD_DEBUG_UNICODE_1="#"
40043 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40044 COND_BUILD_DEBUG_UNICODE_1=""
40045 fi
40046
40047 COND_BUILD_RELEASE="#"
40048 if test "x$BUILD" = "xrelease" ; then
40049 COND_BUILD_RELEASE=""
40050 fi
40051
40052 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40053 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40054 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40055 fi
40056
40057 COND_BUILD_RELEASE_UNICODE_0="#"
40058 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40059 COND_BUILD_RELEASE_UNICODE_0=""
40060 fi
40061
40062 COND_BUILD_RELEASE_UNICODE_1="#"
40063 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40064 COND_BUILD_RELEASE_UNICODE_1=""
40065 fi
40066
40067 COND_BUILD_debug="#"
40068 if test "x$BUILD" = "xdebug" ; then
40069 COND_BUILD_debug=""
40070 fi
40071
40072 COND_BUILD_debug_DEBUG_FLAG_default="#"
40073 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40074 COND_BUILD_debug_DEBUG_FLAG_default=""
40075 fi
40076
40077 COND_BUILD_debug_DEBUG_INFO_default="#"
40078 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40079 COND_BUILD_debug_DEBUG_INFO_default=""
40080 fi
40081
40082 COND_BUILD_debug_UNICODE_0="#"
40083 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40084 COND_BUILD_debug_UNICODE_0=""
40085 fi
40086
40087 COND_BUILD_debug_UNICODE_1="#"
40088 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40089 COND_BUILD_debug_UNICODE_1=""
40090 fi
40091
40092 COND_BUILD_release="#"
40093 if test "x$BUILD" = "xrelease" ; then
40094 COND_BUILD_release=""
40095 fi
40096
40097 COND_BUILD_release_DEBUG_INFO_default="#"
40098 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40099 COND_BUILD_release_DEBUG_INFO_default=""
40100 fi
40101
40102 COND_BUILD_release_UNICODE_0="#"
40103 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40104 COND_BUILD_release_UNICODE_0=""
40105 fi
40106
40107 COND_BUILD_release_UNICODE_1="#"
40108 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40109 COND_BUILD_release_UNICODE_1=""
40110 fi
40111
40112 COND_DEBUG_FLAG_0="#"
40113 if test "x$DEBUG_FLAG" = "x0" ; then
40114 COND_DEBUG_FLAG_0=""
40115 fi
40116
40117 COND_DEBUG_FLAG_1="#"
40118 if test "x$DEBUG_FLAG" = "x1" ; then
40119 COND_DEBUG_FLAG_1=""
40120 fi
40121
40122 COND_DEBUG_INFO_0="#"
40123 if test "x$DEBUG_INFO" = "x0" ; then
40124 COND_DEBUG_INFO_0=""
40125 fi
40126
40127 COND_DEBUG_INFO_1="#"
40128 if test "x$DEBUG_INFO" = "x1" ; then
40129 COND_DEBUG_INFO_1=""
40130 fi
40131
40132 COND_DEPS_TRACKING_0="#"
40133 if test "x$DEPS_TRACKING" = "x0" ; then
40134 COND_DEPS_TRACKING_0=""
40135 fi
40136
40137 COND_DEPS_TRACKING_1="#"
40138 if test "x$DEPS_TRACKING" = "x1" ; then
40139 COND_DEPS_TRACKING_1=""
40140 fi
40141
40142 COND_GCC_PCH_1="#"
40143 if test "x$GCC_PCH" = "x1" ; then
40144 COND_GCC_PCH_1=""
40145 fi
40146
40147 COND_ICC_PCH_1="#"
40148 if test "x$ICC_PCH" = "x1" ; then
40149 COND_ICC_PCH_1=""
40150 fi
40151
40152 COND_MONOLITHIC_0="#"
40153 if test "x$MONOLITHIC" = "x0" ; then
40154 COND_MONOLITHIC_0=""
40155 fi
40156
40157 COND_MONOLITHIC_0_SHARED_0="#"
40158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40159 COND_MONOLITHIC_0_SHARED_0=""
40160 fi
40161
40162 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40163 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40164 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40165 fi
40166
40167 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40168 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40169 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40170 fi
40171
40172 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40173 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40174 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40175 fi
40176
40177 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40178 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40179 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40180 fi
40181
40182 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40183 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40184 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40185 fi
40186
40187 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40188 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40189 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40190 fi
40191
40192 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40193 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40194 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40195 fi
40196
40197 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40199 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40200 fi
40201
40202 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40204 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40205 fi
40206
40207 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40209 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40210 fi
40211
40212 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40214 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40215 fi
40216
40217 COND_MONOLITHIC_0_SHARED_1="#"
40218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40219 COND_MONOLITHIC_0_SHARED_1=""
40220 fi
40221
40222 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40224 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40225 fi
40226
40227 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40229 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40230 fi
40231
40232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40234 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40235 fi
40236
40237 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40239 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40240 fi
40241
40242 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40244 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40245 fi
40246
40247 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40249 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40250 fi
40251
40252 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40254 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40255 fi
40256
40257 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40259 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40260 fi
40261
40262 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40264 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40265 fi
40266
40267 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40269 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40270 fi
40271
40272 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40274 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40275 fi
40276
40277 COND_MONOLITHIC_0_USE_AUI_1="#"
40278 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40279 COND_MONOLITHIC_0_USE_AUI_1=""
40280 fi
40281
40282 COND_MONOLITHIC_0_USE_GUI_1="#"
40283 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40284 COND_MONOLITHIC_0_USE_GUI_1=""
40285 fi
40286
40287 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40288 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40289 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40290 fi
40291
40292 COND_MONOLITHIC_0_USE_HTML_1="#"
40293 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40294 COND_MONOLITHIC_0_USE_HTML_1=""
40295 fi
40296
40297 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40298 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40299 COND_MONOLITHIC_0_USE_MEDIA_1=""
40300 fi
40301
40302 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40303 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40304 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40305 fi
40306
40307 COND_MONOLITHIC_0_USE_QA_1="#"
40308 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40309 COND_MONOLITHIC_0_USE_QA_1=""
40310 fi
40311
40312 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40313 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40314 COND_MONOLITHIC_0_USE_RIBBON_1=""
40315 fi
40316
40317 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40318 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40319 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40320 fi
40321
40322 COND_MONOLITHIC_0_USE_STC_1="#"
40323 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40324 COND_MONOLITHIC_0_USE_STC_1=""
40325 fi
40326
40327 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40328 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40329 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40330 fi
40331
40332 COND_MONOLITHIC_0_USE_XRC_1="#"
40333 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40334 COND_MONOLITHIC_0_USE_XRC_1=""
40335 fi
40336
40337 COND_MONOLITHIC_1="#"
40338 if test "x$MONOLITHIC" = "x1" ; then
40339 COND_MONOLITHIC_1=""
40340 fi
40341
40342 COND_MONOLITHIC_1_SHARED_0="#"
40343 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40344 COND_MONOLITHIC_1_SHARED_0=""
40345 fi
40346
40347 COND_MONOLITHIC_1_SHARED_1="#"
40348 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40349 COND_MONOLITHIC_1_SHARED_1=""
40350 fi
40351
40352 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40353 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40354 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40355 fi
40356
40357 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40358 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40359 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40360 fi
40361
40362 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40363 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40364 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40365 fi
40366
40367 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40368 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40369 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40370 fi
40371
40372 COND_PLATFORM_MACOSX_1="#"
40373 if test "x$PLATFORM_MACOSX" = "x1" ; then
40374 COND_PLATFORM_MACOSX_1=""
40375 fi
40376
40377 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40378 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40379 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40380 fi
40381
40382 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40383 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40384 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40385 fi
40386
40387 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40388 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40389 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40390 fi
40391
40392 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40393 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40394 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40395 fi
40396
40397 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40398 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40399 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40400 fi
40401
40402 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40404 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40405 fi
40406
40407 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40409 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40410 fi
40411
40412 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40414 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40415 fi
40416
40417 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40419 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40420 fi
40421
40422 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40424 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40425 fi
40426
40427 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40429 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40430 fi
40431
40432 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40434 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40435 fi
40436
40437 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40439 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40440 fi
40441
40442 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40444 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40445 fi
40446
40447 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40448 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40449 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40450 fi
40451
40452 COND_PLATFORM_MACOS_1="#"
40453 if test "x$PLATFORM_MACOS" = "x1" ; then
40454 COND_PLATFORM_MACOS_1=""
40455 fi
40456
40457 COND_PLATFORM_MAC_0="#"
40458 if test "x$PLATFORM_MAC" = "x0" ; then
40459 COND_PLATFORM_MAC_0=""
40460 fi
40461
40462 COND_PLATFORM_MAC_1="#"
40463 if test "x$PLATFORM_MAC" = "x1" ; then
40464 COND_PLATFORM_MAC_1=""
40465 fi
40466
40467 COND_PLATFORM_MSDOS_0="#"
40468 if test "x$PLATFORM_MSDOS" = "x0" ; then
40469 COND_PLATFORM_MSDOS_0=""
40470 fi
40471
40472 COND_PLATFORM_MSDOS_1="#"
40473 if test "x$PLATFORM_MSDOS" = "x1" ; then
40474 COND_PLATFORM_MSDOS_1=""
40475 fi
40476
40477 COND_PLATFORM_OS2_1="#"
40478 if test "x$PLATFORM_OS2" = "x1" ; then
40479 COND_PLATFORM_OS2_1=""
40480 fi
40481
40482 COND_PLATFORM_UNIX_0="#"
40483 if test "x$PLATFORM_UNIX" = "x0" ; then
40484 COND_PLATFORM_UNIX_0=""
40485 fi
40486
40487 COND_PLATFORM_UNIX_1="#"
40488 if test "x$PLATFORM_UNIX" = "x1" ; then
40489 COND_PLATFORM_UNIX_1=""
40490 fi
40491
40492 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40493 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40494 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40495 fi
40496
40497 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40498 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40499 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40500 fi
40501
40502 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40503 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40504 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40505 fi
40506
40507 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40508 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40509 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40510 fi
40511
40512 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40513 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40514 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40515 fi
40516
40517 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40518 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40519 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40520 fi
40521
40522 COND_PLATFORM_WIN32_0="#"
40523 if test "x$PLATFORM_WIN32" = "x0" ; then
40524 COND_PLATFORM_WIN32_0=""
40525 fi
40526
40527 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40528 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40529 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40530 fi
40531
40532 COND_PLATFORM_WIN32_1="#"
40533 if test "x$PLATFORM_WIN32" = "x1" ; then
40534 COND_PLATFORM_WIN32_1=""
40535 fi
40536
40537 COND_PLATFORM_WIN32_1_SHARED_0="#"
40538 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40539 COND_PLATFORM_WIN32_1_SHARED_0=""
40540 fi
40541
40542 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40543 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40544 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40545 fi
40546
40547 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40548 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40549 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40550 fi
40551
40552 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40553 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40554 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40555 fi
40556
40557 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40558 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40559 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40560 fi
40561
40562 COND_SHARED_0="#"
40563 if test "x$SHARED" = "x0" ; then
40564 COND_SHARED_0=""
40565 fi
40566
40567 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40568 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40569 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40570 fi
40571
40572 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40573 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40574 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40575 fi
40576
40577 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40578 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40579 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40580 fi
40581
40582 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40583 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40584 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40585 fi
40586
40587 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40588 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40589 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40590 fi
40591
40592 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40593 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40594 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40595 fi
40596
40597 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40598 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40599 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40600 fi
40601
40602 COND_SHARED_0_USE_STC_1="#"
40603 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40604 COND_SHARED_0_USE_STC_1=""
40605 fi
40606
40607 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40608 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40609 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40610 fi
40611
40612 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40613 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40614 COND_SHARED_0_wxUSE_REGEX_builtin=""
40615 fi
40616
40617 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40618 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40619 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40620 fi
40621
40622 COND_SHARED_1="#"
40623 if test "x$SHARED" = "x1" ; then
40624 COND_SHARED_1=""
40625 fi
40626
40627 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40628 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40629 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40630 fi
40631
40632 COND_TOOLKIT_="#"
40633 if test "x$TOOLKIT" = "x" ; then
40634 COND_TOOLKIT_=""
40635 fi
40636
40637 COND_TOOLKIT_COCOA="#"
40638 if test "x$TOOLKIT" = "xCOCOA" ; then
40639 COND_TOOLKIT_COCOA=""
40640 fi
40641
40642 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40643 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40644 COND_TOOLKIT_COCOA_USE_GUI_1=""
40645 fi
40646
40647 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40648 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40649 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40650 fi
40651
40652 COND_TOOLKIT_DFB="#"
40653 if test "x$TOOLKIT" = "xDFB" ; then
40654 COND_TOOLKIT_DFB=""
40655 fi
40656
40657 COND_TOOLKIT_DFB_USE_GUI_1="#"
40658 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40659 COND_TOOLKIT_DFB_USE_GUI_1=""
40660 fi
40661
40662 COND_TOOLKIT_GTK="#"
40663 if test "x$TOOLKIT" = "xGTK" ; then
40664 COND_TOOLKIT_GTK=""
40665 fi
40666
40667 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40668 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40669 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40670 fi
40671
40672 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40673 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40674 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40675 fi
40676
40677 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40678 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40679 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40680 fi
40681
40682 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40683 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40684 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40685 fi
40686
40687 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
40688 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40689 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
40690 fi
40691
40692 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40693 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40694 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40695 fi
40696
40697 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
40698 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40699 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
40700 fi
40701
40702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40703 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40705 fi
40706
40707 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40708 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40709 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40710 fi
40711
40712 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40713 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40714 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40715 fi
40716
40717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40718 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40720 fi
40721
40722 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40723 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40725 fi
40726
40727 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40728 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40729 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40730 fi
40731
40732 COND_TOOLKIT_GTK_USE_GUI_1="#"
40733 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40734 COND_TOOLKIT_GTK_USE_GUI_1=""
40735 fi
40736
40737 COND_TOOLKIT_MAC="#"
40738 if test "x$TOOLKIT" = "xMAC" ; then
40739 COND_TOOLKIT_MAC=""
40740 fi
40741
40742 COND_TOOLKIT_MOTIF="#"
40743 if test "x$TOOLKIT" = "xMOTIF" ; then
40744 COND_TOOLKIT_MOTIF=""
40745 fi
40746
40747 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40748 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40749 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40750 fi
40751
40752 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40753 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40754 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40755 fi
40756
40757 COND_TOOLKIT_MSW="#"
40758 if test "x$TOOLKIT" = "xMSW" ; then
40759 COND_TOOLKIT_MSW=""
40760 fi
40761
40762 COND_TOOLKIT_MSW_USE_GUI_1="#"
40763 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40764 COND_TOOLKIT_MSW_USE_GUI_1=""
40765 fi
40766
40767 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40768 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40769 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40770 fi
40771
40772 COND_TOOLKIT_MSW_WXUNIV_0="#"
40773 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40774 COND_TOOLKIT_MSW_WXUNIV_0=""
40775 fi
40776
40777 COND_TOOLKIT_OSX_CARBON="#"
40778 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40779 COND_TOOLKIT_OSX_CARBON=""
40780 fi
40781
40782 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40783 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40784 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40785 fi
40786
40787 COND_TOOLKIT_OSX_COCOA="#"
40788 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40789 COND_TOOLKIT_OSX_COCOA=""
40790 fi
40791
40792 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40793 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40794 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40795 fi
40796
40797 COND_TOOLKIT_OSX_IPHONE="#"
40798 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40799 COND_TOOLKIT_OSX_IPHONE=""
40800 fi
40801
40802 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40803 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40804 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40805 fi
40806
40807 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40808 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40809 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40810 fi
40811
40812 COND_TOOLKIT_PM="#"
40813 if test "x$TOOLKIT" = "xPM" ; then
40814 COND_TOOLKIT_PM=""
40815 fi
40816
40817 COND_TOOLKIT_PM_USE_GUI_1="#"
40818 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40819 COND_TOOLKIT_PM_USE_GUI_1=""
40820 fi
40821
40822 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40823 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40824 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40825 fi
40826
40827 COND_TOOLKIT_WINCE="#"
40828 if test "x$TOOLKIT" = "xWINCE" ; then
40829 COND_TOOLKIT_WINCE=""
40830 fi
40831
40832 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40833 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40834 COND_TOOLKIT_WINCE_USE_GUI_1=""
40835 fi
40836
40837 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40838 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40839 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40840 fi
40841
40842 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40843 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40844 COND_TOOLKIT_WINCE_WXUNIV_0=""
40845 fi
40846
40847 COND_TOOLKIT_X11="#"
40848 if test "x$TOOLKIT" = "xX11" ; then
40849 COND_TOOLKIT_X11=""
40850 fi
40851
40852 COND_TOOLKIT_X11_USE_GUI_1="#"
40853 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40854 COND_TOOLKIT_X11_USE_GUI_1=""
40855 fi
40856
40857 COND_UNICODE_1="#"
40858 if test "x$UNICODE" = "x1" ; then
40859 COND_UNICODE_1=""
40860 fi
40861
40862 COND_USE_CAIRO_1="#"
40863 if test "x$USE_CAIRO" = "x1" ; then
40864 COND_USE_CAIRO_1=""
40865 fi
40866
40867 COND_USE_EXCEPTIONS_0="#"
40868 if test "x$USE_EXCEPTIONS" = "x0" ; then
40869 COND_USE_EXCEPTIONS_0=""
40870 fi
40871
40872 COND_USE_EXCEPTIONS_1="#"
40873 if test "x$USE_EXCEPTIONS" = "x1" ; then
40874 COND_USE_EXCEPTIONS_1=""
40875 fi
40876
40877 COND_USE_GUI_0="#"
40878 if test "x$USE_GUI" = "x0" ; then
40879 COND_USE_GUI_0=""
40880 fi
40881
40882 COND_USE_GUI_1="#"
40883 if test "x$USE_GUI" = "x1" ; then
40884 COND_USE_GUI_1=""
40885 fi
40886
40887 COND_USE_GUI_1_USE_OPENGL_1="#"
40888 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40889 COND_USE_GUI_1_USE_OPENGL_1=""
40890 fi
40891
40892 COND_USE_GUI_1_WXUNIV_0="#"
40893 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40894 COND_USE_GUI_1_WXUNIV_0=""
40895 fi
40896
40897 COND_USE_GUI_1_WXUNIV_1="#"
40898 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40899 COND_USE_GUI_1_WXUNIV_1=""
40900 fi
40901
40902 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40903 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40904 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40905 fi
40906
40907 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40908 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40909 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40910 fi
40911
40912 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40913 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40914 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40915 fi
40916
40917 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40918 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40919 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40920 fi
40921
40922 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40923 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40924 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40925 fi
40926
40927 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40928 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40929 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40930 fi
40931
40932 COND_USE_OPENGL_1="#"
40933 if test "x$USE_OPENGL" = "x1" ; then
40934 COND_USE_OPENGL_1=""
40935 fi
40936
40937 COND_USE_PCH_1="#"
40938 if test "x$USE_PCH" = "x1" ; then
40939 COND_USE_PCH_1=""
40940 fi
40941
40942 COND_USE_PLUGINS_0="#"
40943 if test "x$USE_PLUGINS" = "x0" ; then
40944 COND_USE_PLUGINS_0=""
40945 fi
40946
40947 COND_USE_RTTI_0="#"
40948 if test "x$USE_RTTI" = "x0" ; then
40949 COND_USE_RTTI_0=""
40950 fi
40951
40952 COND_USE_RTTI_1="#"
40953 if test "x$USE_RTTI" = "x1" ; then
40954 COND_USE_RTTI_1=""
40955 fi
40956
40957 COND_USE_SOTWOSYMLINKS_1="#"
40958 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40959 COND_USE_SOTWOSYMLINKS_1=""
40960 fi
40961
40962 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40963 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40964 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40965 fi
40966
40967 COND_USE_SOVERLINUX_1="#"
40968 if test "x$USE_SOVERLINUX" = "x1" ; then
40969 COND_USE_SOVERLINUX_1=""
40970 fi
40971
40972 COND_USE_SOVERSION_0="#"
40973 if test "x$USE_SOVERSION" = "x0" ; then
40974 COND_USE_SOVERSION_0=""
40975 fi
40976
40977 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40978 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40979 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40980 fi
40981
40982 COND_USE_SOVERSOLARIS_1="#"
40983 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40984 COND_USE_SOVERSOLARIS_1=""
40985 fi
40986
40987 COND_USE_STC_1="#"
40988 if test "x$USE_STC" = "x1" ; then
40989 COND_USE_STC_1=""
40990 fi
40991
40992 COND_USE_THREADS_0="#"
40993 if test "x$USE_THREADS" = "x0" ; then
40994 COND_USE_THREADS_0=""
40995 fi
40996
40997 COND_USE_THREADS_1="#"
40998 if test "x$USE_THREADS" = "x1" ; then
40999 COND_USE_THREADS_1=""
41000 fi
41001
41002 COND_USE_XRC_1="#"
41003 if test "x$USE_XRC" = "x1" ; then
41004 COND_USE_XRC_1=""
41005 fi
41006
41007 COND_WINDOWS_IMPLIB_1="#"
41008 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41009 COND_WINDOWS_IMPLIB_1=""
41010 fi
41011
41012 COND_WITH_PLUGIN_SDL_1="#"
41013 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41014 COND_WITH_PLUGIN_SDL_1=""
41015 fi
41016
41017 COND_WXUNIV_0="#"
41018 if test "x$WXUNIV" = "x0" ; then
41019 COND_WXUNIV_0=""
41020 fi
41021
41022 COND_WXUNIV_1="#"
41023 if test "x$WXUNIV" = "x1" ; then
41024 COND_WXUNIV_1=""
41025 fi
41026
41027 COND_WXUSE_EXPAT_BUILTIN="#"
41028 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41029 COND_WXUSE_EXPAT_BUILTIN=""
41030 fi
41031
41032 COND_WXUSE_LIBJPEG_BUILTIN="#"
41033 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41034 COND_WXUSE_LIBJPEG_BUILTIN=""
41035 fi
41036
41037 COND_WXUSE_LIBPNG_BUILTIN="#"
41038 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41039 COND_WXUSE_LIBPNG_BUILTIN=""
41040 fi
41041
41042 COND_WXUSE_LIBTIFF_BUILTIN="#"
41043 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41044 COND_WXUSE_LIBTIFF_BUILTIN=""
41045 fi
41046
41047 COND_WXUSE_REGEX_BUILTIN="#"
41048 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41049 COND_WXUSE_REGEX_BUILTIN=""
41050 fi
41051
41052 COND_WXUSE_ZLIB_BUILTIN="#"
41053 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41054 COND_WXUSE_ZLIB_BUILTIN=""
41055 fi
41056
41057 COND_wxUSE_EXPAT_builtin="#"
41058 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41059 COND_wxUSE_EXPAT_builtin=""
41060 fi
41061
41062 COND_wxUSE_LIBJPEG_builtin="#"
41063 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41064 COND_wxUSE_LIBJPEG_builtin=""
41065 fi
41066
41067 COND_wxUSE_LIBPNG_builtin="#"
41068 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41069 COND_wxUSE_LIBPNG_builtin=""
41070 fi
41071
41072 COND_wxUSE_LIBTIFF_builtin="#"
41073 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41074 COND_wxUSE_LIBTIFF_builtin=""
41075 fi
41076
41077 COND_wxUSE_REGEX_builtin="#"
41078 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41079 COND_wxUSE_REGEX_builtin=""
41080 fi
41081
41082 COND_wxUSE_ZLIB_builtin="#"
41083 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41084 COND_wxUSE_ZLIB_builtin=""
41085 fi
41086
41087
41088
41089 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41090 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
41091 fi
41092
41093 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41094 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
41095 fi
41096
41097
41098 case ${INSTALL} in
41099 /* ) # Absolute
41100 ;;
41101 ?:* ) # Drive letter, considered as absolute.
41102 ;;
41103 *)
41104 INSTALL=`pwd`/${INSTALL} ;;
41105 esac
41106
41107 if test "$wxUSE_GUI" = "yes"; then
41108
41109 if test "$wxUSE_MSW" = 1 ; then
41110 if test "x$WINDRES" = "x"; then
41111 as_fn_error $? "Required windres program not found" "$LINENO" 5
41112 fi
41113
41114 RESCOMP="$WINDRES"
41115 fi
41116
41117 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41118 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41119 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41120
41121 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41122
41123 # Extract the first word of "DeRez", so it can be a program name with args.
41124 set dummy DeRez; ac_word=$2
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41126 $as_echo_n "checking for $ac_word... " >&6; }
41127 if ${ac_cv_prog_DEREZ+:} false; then :
41128 $as_echo_n "(cached) " >&6
41129 else
41130 if test -n "$DEREZ"; then
41131 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41132 else
41133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41134 for as_dir in $PATH
41135 do
41136 IFS=$as_save_IFS
41137 test -z "$as_dir" && as_dir=.
41138 for ac_exec_ext in '' $ac_executable_extensions; do
41139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41140 ac_cv_prog_DEREZ="DeRez"
41141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41142 break 2
41143 fi
41144 done
41145 done
41146 IFS=$as_save_IFS
41147
41148 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41149 fi
41150 fi
41151 DEREZ=$ac_cv_prog_DEREZ
41152 if test -n "$DEREZ"; then
41153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41154 $as_echo "$DEREZ" >&6; }
41155 else
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41157 $as_echo "no" >&6; }
41158 fi
41159
41160
41161
41162 MACSETFILE="\$(SETFILE)"
41163
41164 if test "$wxUSE_OSX_CARBON" = 1; then
41165 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41166 RESCOMP="$REZ"
41167 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41168 else
41169 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41170 RESCOMP="cat /dev/null \| $REZ"
41171 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41172 fi
41173
41174 else
41175 MACSETFILE="@true"
41176
41177 if test "$wxUSE_PM" = 1; then
41178 RESCOMP="emxbind"
41179 WXCONFIG_RESFLAGS="-ep"
41180
41181 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41182 else
41183 POSTLINK_COMMAND="@true"
41184 fi
41185 fi
41186
41187 fi
41188
41189
41190 if test $GCC_PCH = 1
41191 then
41192 if test "$wx_cv_gcc_pch_bug" = yes; then
41193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41194 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41196 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41198 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41199 fi
41200
41201 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41202 # the headers that benefit from precompilation are mostly C++ headers.
41203 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41204 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41205 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41206 fi
41207
41208
41209 if test "$wxUSE_MAC" = 1 ; then
41210 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41211 if test "x$disable_macosx_deps" = "xyes"; then
41212 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41213 mv temp bk-deps
41214 chmod +x bk-deps
41215 fi
41216 fi
41217 fi
41218
41219 if test "$wxUSE_SHARED" = "yes"; then
41220 case "${host}" in
41221 *-pc-os2_emx | *-pc-os2-emx )
41222 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41223 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41224 cp -p ${srcdir}/src/os2/dllnames.sh .
41225 cp -p ${srcdir}/src/os2/dllar.sh .
41226 ;;
41227 esac
41228 fi
41229 if test "$wxUSE_OMF" = "yes"; then
41230 case "${host}" in
41231 *-pc-os2_emx | *-pc-os2-emx )
41232 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41233 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41234 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41235 ;;
41236 esac
41237 fi
41238
41239 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41240
41241
41242 case "${host}" in
41243 *-*-solaris2* )
41244 if test "$GCC" = yes; then
41245 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41246 LIBS=`echo $LIBS | sed 's/-mt//g'`
41247 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41248 fi
41249 ;;
41250
41251 *-*-linux* )
41252 if test "x$SUNCXX" = xyes; then
41253 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41254 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41255 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41256 fi
41257 ;;
41258 esac
41259
41260 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41261 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41262 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41263 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41264
41265 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41327 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41328 set x ${MAKE-make}
41329 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41330 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41331 $as_echo_n "(cached) " >&6
41332 else
41333 cat >conftest.make <<\_ACEOF
41334 SHELL = /bin/sh
41335 all:
41336 @echo '@@@%%%=$(MAKE)=@@@%%%'
41337 _ACEOF
41338 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41339 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41340 *@@@%%%=?*=@@@%%%*)
41341 eval ac_cv_prog_make_${ac_make}_set=yes;;
41342 *)
41343 eval ac_cv_prog_make_${ac_make}_set=no;;
41344 esac
41345 rm -f conftest.make
41346 fi
41347 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41349 $as_echo "yes" >&6; }
41350 SET_MAKE=
41351 else
41352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41353 $as_echo "no" >&6; }
41354 SET_MAKE="MAKE=${MAKE-make}"
41355 fi
41356
41357
41358
41359 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41360
41361
41362 if test "$USE_WIN32" = 1; then
41363 ac_config_commands="$ac_config_commands rcdefs.h"
41364
41365 fi
41366
41367 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41368
41369
41370 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41371
41372
41373 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41374
41375
41376 if test "$wx_cv_version_script" = "yes"; then
41377 ac_config_files="$ac_config_files version-script"
41378
41379 fi
41380 ac_config_files="$ac_config_files Makefile"
41381
41382
41383 ac_config_commands="$ac_config_commands wx-config"
41384
41385
41386
41387 if test "$wxWITH_SUBDIRS" != "no"; then
41388 if test "$wxUSE_GUI" = "yes"; then
41389 SUBDIRS="samples demos utils"
41390 else
41391 SUBDIRS="samples utils"
41392 fi
41393
41394
41395
41396 # Check whether --with-cppunit-prefix was given.
41397 if test "${with_cppunit_prefix+set}" = set; then :
41398 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41399 else
41400 cppunit_config_prefix=""
41401 fi
41402
41403
41404 # Check whether --with-cppunit-exec-prefix was given.
41405 if test "${with_cppunit_exec_prefix+set}" = set; then :
41406 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41407 else
41408 cppunit_config_exec_prefix=""
41409 fi
41410
41411
41412 if test x$cppunit_config_exec_prefix != x ; then
41413 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41414 if test x${CPPUNIT_CONFIG+set} != xset ; then
41415 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41416 fi
41417 fi
41418 if test x$cppunit_config_prefix != x ; then
41419 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41420 if test x${CPPUNIT_CONFIG+set} != xset ; then
41421 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41422 fi
41423 fi
41424
41425 # Extract the first word of "cppunit-config", so it can be a program name with args.
41426 set dummy cppunit-config; ac_word=$2
41427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41428 $as_echo_n "checking for $ac_word... " >&6; }
41429 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41430 $as_echo_n "(cached) " >&6
41431 else
41432 case $CPPUNIT_CONFIG in
41433 [\\/]* | ?:[\\/]*)
41434 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41435 ;;
41436 *)
41437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41438 for as_dir in $PATH
41439 do
41440 IFS=$as_save_IFS
41441 test -z "$as_dir" && as_dir=.
41442 for ac_exec_ext in '' $ac_executable_extensions; do
41443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41444 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41446 break 2
41447 fi
41448 done
41449 done
41450 IFS=$as_save_IFS
41451
41452 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41453 ;;
41454 esac
41455 fi
41456 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41457 if test -n "$CPPUNIT_CONFIG"; then
41458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41459 $as_echo "$CPPUNIT_CONFIG" >&6; }
41460 else
41461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41462 $as_echo "no" >&6; }
41463 fi
41464
41465
41466 cppunit_version_min=1.8.0
41467
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41469 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41470 no_cppunit=""
41471 if test "$CPPUNIT_CONFIG" = "no" ; then
41472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41473 $as_echo "no" >&6; }
41474 no_cppunit=yes
41475 else
41476 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41477 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41478 cppunit_version=`$CPPUNIT_CONFIG --version`
41479
41480 cppunit_major_version=`echo $cppunit_version | \
41481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41482 cppunit_minor_version=`echo $cppunit_version | \
41483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41484 cppunit_micro_version=`echo $cppunit_version | \
41485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41486
41487 cppunit_major_min=`echo $cppunit_version_min | \
41488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41489 cppunit_minor_min=`echo $cppunit_version_min | \
41490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41491 cppunit_micro_min=`echo $cppunit_version_min | \
41492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41493
41494 cppunit_version_proper=`expr \
41495 $cppunit_major_version \> $cppunit_major_min \| \
41496 $cppunit_major_version \= $cppunit_major_min \& \
41497 $cppunit_minor_version \> $cppunit_minor_min \| \
41498 $cppunit_major_version \= $cppunit_major_min \& \
41499 $cppunit_minor_version \= $cppunit_minor_min \& \
41500 $cppunit_micro_version \>= $cppunit_micro_min `
41501
41502 if test "$cppunit_version_proper" = "1" ; then
41503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41504 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41505 else
41506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41507 $as_echo "no" >&6; }
41508 no_cppunit=yes
41509 fi
41510 fi
41511
41512 if test "x$no_cppunit" = x ; then
41513 SUBDIRS="$SUBDIRS tests"
41514 else
41515 CPPUNIT_CFLAGS=""
41516 CPPUNIT_LIBS=""
41517 :
41518 fi
41519
41520
41521
41522
41523
41524 for subdir in $SUBDIRS; do
41525 if test -d ${srcdir}/${subdir} ; then
41526 if test "$wxUSE_GUI" = "yes"; then
41527 if test ${subdir} = "samples"; then
41528 makefiles="samples/Makefile.in $makefiles"
41529 for sample in $SAMPLES_SUBDIRS; do
41530 if test -d $srcdir/samples/$sample; then
41531 makefiles="samples/$sample/Makefile.in $makefiles"
41532 fi
41533 done
41534 else
41535 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41536 eval "disabled=\$$disabled_var"
41537 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41538 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41539 fi
41540 else
41541 if test ${subdir} = "samples"; then
41542 makefiles="samples/Makefile.in $makefiles"
41543 for sample in `echo $SAMPLES_SUBDIRS`; do
41544 if test -d $srcdir/samples/$sample; then
41545 makefiles="samples/$sample/Makefile.in $makefiles"
41546 fi
41547 done
41548 elif test ${subdir} = "utils"; then
41549 makefiles=""
41550 for util in ifacecheck ; do
41551 if test -d $srcdir/utils/$util ; then
41552 makefiles="utils/$util/src/Makefile.in \
41553 $makefiles"
41554 fi
41555 done
41556 else
41557 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41558 fi
41559 fi
41560
41561 for mkin in $makefiles ; do
41562 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41563 ac_config_files="$ac_config_files $mk"
41564
41565 done
41566 fi
41567 done
41568 fi
41569 cat >confcache <<\_ACEOF
41570 # This file is a shell script that caches the results of configure
41571 # tests run on this system so they can be shared between configure
41572 # scripts and configure runs, see configure's option --config-cache.
41573 # It is not useful on other systems. If it contains results you don't
41574 # want to keep, you may remove or edit it.
41575 #
41576 # config.status only pays attention to the cache file if you give it
41577 # the --recheck option to rerun configure.
41578 #
41579 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41580 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41581 # following values.
41582
41583 _ACEOF
41584
41585 # The following way of writing the cache mishandles newlines in values,
41586 # but we know of no workaround that is simple, portable, and efficient.
41587 # So, we kill variables containing newlines.
41588 # Ultrix sh set writes to stderr and can't be redirected directly,
41589 # and sets the high bit in the cache file unless we assign to the vars.
41590 (
41591 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41592 eval ac_val=\$$ac_var
41593 case $ac_val in #(
41594 *${as_nl}*)
41595 case $ac_var in #(
41596 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41597 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41598 esac
41599 case $ac_var in #(
41600 _ | IFS | as_nl) ;; #(
41601 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41602 *) { eval $ac_var=; unset $ac_var;} ;;
41603 esac ;;
41604 esac
41605 done
41606
41607 (set) 2>&1 |
41608 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41609 *${as_nl}ac_space=\ *)
41610 # `set' does not quote correctly, so add quotes: double-quote
41611 # substitution turns \\\\ into \\, and sed turns \\ into \.
41612 sed -n \
41613 "s/'/'\\\\''/g;
41614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41615 ;; #(
41616 *)
41617 # `set' quotes correctly as required by POSIX, so do not add quotes.
41618 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41619 ;;
41620 esac |
41621 sort
41622 ) |
41623 sed '
41624 /^ac_cv_env_/b end
41625 t clear
41626 :clear
41627 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41628 t end
41629 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41630 :end' >>confcache
41631 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41632 if test -w "$cache_file"; then
41633 if test "x$cache_file" != "x/dev/null"; then
41634 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41635 $as_echo "$as_me: updating cache $cache_file" >&6;}
41636 if test ! -f "$cache_file" || test -h "$cache_file"; then
41637 cat confcache >"$cache_file"
41638 else
41639 case $cache_file in #(
41640 */* | ?:*)
41641 mv -f confcache "$cache_file"$$ &&
41642 mv -f "$cache_file"$$ "$cache_file" ;; #(
41643 *)
41644 mv -f confcache "$cache_file" ;;
41645 esac
41646 fi
41647 fi
41648 else
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41650 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41651 fi
41652 fi
41653 rm -f confcache
41654
41655 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41656 # Let make expand exec_prefix.
41657 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41658
41659 DEFS=-DHAVE_CONFIG_H
41660
41661 ac_libobjs=
41662 ac_ltlibobjs=
41663 U=
41664 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41665 # 1. Remove the extension, and $U if already installed.
41666 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41667 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41668 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41669 # will be set to the directory where LIBOBJS objects are built.
41670 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41671 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41672 done
41673 LIBOBJS=$ac_libobjs
41674
41675 LTLIBOBJS=$ac_ltlibobjs
41676
41677
41678
41679 : "${CONFIG_STATUS=./config.status}"
41680 ac_write_fail=0
41681 ac_clean_files_save=$ac_clean_files
41682 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41684 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41685 as_write_fail=0
41686 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41687 #! $SHELL
41688 # Generated by $as_me.
41689 # Run this file to recreate the current configuration.
41690 # Compiler output produced by configure, useful for debugging
41691 # configure, is in config.log if it exists.
41692
41693 debug=false
41694 ac_cs_recheck=false
41695 ac_cs_silent=false
41696
41697 SHELL=\${CONFIG_SHELL-$SHELL}
41698 export SHELL
41699 _ASEOF
41700 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41701 ## -------------------- ##
41702 ## M4sh Initialization. ##
41703 ## -------------------- ##
41704
41705 # Be more Bourne compatible
41706 DUALCASE=1; export DUALCASE # for MKS sh
41707 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41708 emulate sh
41709 NULLCMD=:
41710 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41711 # is contrary to our usage. Disable this feature.
41712 alias -g '${1+"$@"}'='"$@"'
41713 setopt NO_GLOB_SUBST
41714 else
41715 case `(set -o) 2>/dev/null` in #(
41716 *posix*) :
41717 set -o posix ;; #(
41718 *) :
41719 ;;
41720 esac
41721 fi
41722
41723
41724 as_nl='
41725 '
41726 export as_nl
41727 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41728 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41730 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41731 # Prefer a ksh shell builtin over an external printf program on Solaris,
41732 # but without wasting forks for bash or zsh.
41733 if test -z "$BASH_VERSION$ZSH_VERSION" \
41734 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41735 as_echo='print -r --'
41736 as_echo_n='print -rn --'
41737 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41738 as_echo='printf %s\n'
41739 as_echo_n='printf %s'
41740 else
41741 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41742 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41743 as_echo_n='/usr/ucb/echo -n'
41744 else
41745 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41746 as_echo_n_body='eval
41747 arg=$1;
41748 case $arg in #(
41749 *"$as_nl"*)
41750 expr "X$arg" : "X\\(.*\\)$as_nl";
41751 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41752 esac;
41753 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41754 '
41755 export as_echo_n_body
41756 as_echo_n='sh -c $as_echo_n_body as_echo'
41757 fi
41758 export as_echo_body
41759 as_echo='sh -c $as_echo_body as_echo'
41760 fi
41761
41762 # The user is always right.
41763 if test "${PATH_SEPARATOR+set}" != set; then
41764 PATH_SEPARATOR=:
41765 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41766 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41767 PATH_SEPARATOR=';'
41768 }
41769 fi
41770
41771
41772 # IFS
41773 # We need space, tab and new line, in precisely that order. Quoting is
41774 # there to prevent editors from complaining about space-tab.
41775 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41776 # splitting by setting IFS to empty value.)
41777 IFS=" "" $as_nl"
41778
41779 # Find who we are. Look in the path if we contain no directory separator.
41780 as_myself=
41781 case $0 in #((
41782 *[\\/]* ) as_myself=$0 ;;
41783 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41784 for as_dir in $PATH
41785 do
41786 IFS=$as_save_IFS
41787 test -z "$as_dir" && as_dir=.
41788 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41789 done
41790 IFS=$as_save_IFS
41791
41792 ;;
41793 esac
41794 # We did not find ourselves, most probably we were run as `sh COMMAND'
41795 # in which case we are not to be found in the path.
41796 if test "x$as_myself" = x; then
41797 as_myself=$0
41798 fi
41799 if test ! -f "$as_myself"; then
41800 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41801 exit 1
41802 fi
41803
41804 # Unset variables that we do not need and which cause bugs (e.g. in
41805 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41806 # suppresses any "Segmentation fault" message there. '((' could
41807 # trigger a bug in pdksh 5.2.14.
41808 for as_var in BASH_ENV ENV MAIL MAILPATH
41809 do eval test x\${$as_var+set} = xset \
41810 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41811 done
41812 PS1='$ '
41813 PS2='> '
41814 PS4='+ '
41815
41816 # NLS nuisances.
41817 LC_ALL=C
41818 export LC_ALL
41819 LANGUAGE=C
41820 export LANGUAGE
41821
41822 # CDPATH.
41823 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41824
41825
41826 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41827 # ----------------------------------------
41828 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41829 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41830 # script with STATUS, using 1 if that was 0.
41831 as_fn_error ()
41832 {
41833 as_status=$1; test $as_status -eq 0 && as_status=1
41834 if test "$4"; then
41835 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41836 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41837 fi
41838 $as_echo "$as_me: error: $2" >&2
41839 as_fn_exit $as_status
41840 } # as_fn_error
41841
41842
41843 # as_fn_set_status STATUS
41844 # -----------------------
41845 # Set $? to STATUS, without forking.
41846 as_fn_set_status ()
41847 {
41848 return $1
41849 } # as_fn_set_status
41850
41851 # as_fn_exit STATUS
41852 # -----------------
41853 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41854 as_fn_exit ()
41855 {
41856 set +e
41857 as_fn_set_status $1
41858 exit $1
41859 } # as_fn_exit
41860
41861 # as_fn_unset VAR
41862 # ---------------
41863 # Portably unset VAR.
41864 as_fn_unset ()
41865 {
41866 { eval $1=; unset $1;}
41867 }
41868 as_unset=as_fn_unset
41869 # as_fn_append VAR VALUE
41870 # ----------------------
41871 # Append the text in VALUE to the end of the definition contained in VAR. Take
41872 # advantage of any shell optimizations that allow amortized linear growth over
41873 # repeated appends, instead of the typical quadratic growth present in naive
41874 # implementations.
41875 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41876 eval 'as_fn_append ()
41877 {
41878 eval $1+=\$2
41879 }'
41880 else
41881 as_fn_append ()
41882 {
41883 eval $1=\$$1\$2
41884 }
41885 fi # as_fn_append
41886
41887 # as_fn_arith ARG...
41888 # ------------------
41889 # Perform arithmetic evaluation on the ARGs, and store the result in the
41890 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41891 # must be portable across $(()) and expr.
41892 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41893 eval 'as_fn_arith ()
41894 {
41895 as_val=$(( $* ))
41896 }'
41897 else
41898 as_fn_arith ()
41899 {
41900 as_val=`expr "$@" || test $? -eq 1`
41901 }
41902 fi # as_fn_arith
41903
41904
41905 if expr a : '\(a\)' >/dev/null 2>&1 &&
41906 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41907 as_expr=expr
41908 else
41909 as_expr=false
41910 fi
41911
41912 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41913 as_basename=basename
41914 else
41915 as_basename=false
41916 fi
41917
41918 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41919 as_dirname=dirname
41920 else
41921 as_dirname=false
41922 fi
41923
41924 as_me=`$as_basename -- "$0" ||
41925 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41926 X"$0" : 'X\(//\)$' \| \
41927 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41928 $as_echo X/"$0" |
41929 sed '/^.*\/\([^/][^/]*\)\/*$/{
41930 s//\1/
41931 q
41932 }
41933 /^X\/\(\/\/\)$/{
41934 s//\1/
41935 q
41936 }
41937 /^X\/\(\/\).*/{
41938 s//\1/
41939 q
41940 }
41941 s/.*/./; q'`
41942
41943 # Avoid depending upon Character Ranges.
41944 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41945 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41946 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41947 as_cr_digits='0123456789'
41948 as_cr_alnum=$as_cr_Letters$as_cr_digits
41949
41950 ECHO_C= ECHO_N= ECHO_T=
41951 case `echo -n x` in #(((((
41952 -n*)
41953 case `echo 'xy\c'` in
41954 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41955 xy) ECHO_C='\c';;
41956 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41957 ECHO_T=' ';;
41958 esac;;
41959 *)
41960 ECHO_N='-n';;
41961 esac
41962
41963 rm -f conf$$ conf$$.exe conf$$.file
41964 if test -d conf$$.dir; then
41965 rm -f conf$$.dir/conf$$.file
41966 else
41967 rm -f conf$$.dir
41968 mkdir conf$$.dir 2>/dev/null
41969 fi
41970 if (echo >conf$$.file) 2>/dev/null; then
41971 if ln -s conf$$.file conf$$ 2>/dev/null; then
41972 as_ln_s='ln -s'
41973 # ... but there are two gotchas:
41974 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41975 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41976 # In both cases, we have to default to `cp -pR'.
41977 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41978 as_ln_s='cp -pR'
41979 elif ln conf$$.file conf$$ 2>/dev/null; then
41980 as_ln_s=ln
41981 else
41982 as_ln_s='cp -pR'
41983 fi
41984 else
41985 as_ln_s='cp -pR'
41986 fi
41987 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41988 rmdir conf$$.dir 2>/dev/null
41989
41990
41991 # as_fn_mkdir_p
41992 # -------------
41993 # Create "$as_dir" as a directory, including parents if necessary.
41994 as_fn_mkdir_p ()
41995 {
41996
41997 case $as_dir in #(
41998 -*) as_dir=./$as_dir;;
41999 esac
42000 test -d "$as_dir" || eval $as_mkdir_p || {
42001 as_dirs=
42002 while :; do
42003 case $as_dir in #(
42004 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42005 *) as_qdir=$as_dir;;
42006 esac
42007 as_dirs="'$as_qdir' $as_dirs"
42008 as_dir=`$as_dirname -- "$as_dir" ||
42009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42010 X"$as_dir" : 'X\(//\)[^/]' \| \
42011 X"$as_dir" : 'X\(//\)$' \| \
42012 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42013 $as_echo X"$as_dir" |
42014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42015 s//\1/
42016 q
42017 }
42018 /^X\(\/\/\)[^/].*/{
42019 s//\1/
42020 q
42021 }
42022 /^X\(\/\/\)$/{
42023 s//\1/
42024 q
42025 }
42026 /^X\(\/\).*/{
42027 s//\1/
42028 q
42029 }
42030 s/.*/./; q'`
42031 test -d "$as_dir" && break
42032 done
42033 test -z "$as_dirs" || eval "mkdir $as_dirs"
42034 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
42035
42036
42037 } # as_fn_mkdir_p
42038 if mkdir -p . 2>/dev/null; then
42039 as_mkdir_p='mkdir -p "$as_dir"'
42040 else
42041 test -d ./-p && rmdir ./-p
42042 as_mkdir_p=false
42043 fi
42044
42045
42046 # as_fn_executable_p FILE
42047 # -----------------------
42048 # Test if FILE is an executable regular file.
42049 as_fn_executable_p ()
42050 {
42051 test -f "$1" && test -x "$1"
42052 } # as_fn_executable_p
42053 as_test_x='test -x'
42054 as_executable_p=as_fn_executable_p
42055
42056 # Sed expression to map a string onto a valid CPP name.
42057 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42058
42059 # Sed expression to map a string onto a valid variable name.
42060 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42061
42062
42063 exec 6>&1
42064 ## ----------------------------------- ##
42065 ## Main body of $CONFIG_STATUS script. ##
42066 ## ----------------------------------- ##
42067 _ASEOF
42068 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
42069
42070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42071 # Save the log message, to keep $0 and so on meaningful, and to
42072 # report actual input values of CONFIG_FILES etc. instead of their
42073 # values after options handling.
42074 ac_log="
42075 This file was extended by wxWidgets $as_me 2.9.5, which was
42076 generated by GNU Autoconf 2.69. Invocation command line was
42077
42078 CONFIG_FILES = $CONFIG_FILES
42079 CONFIG_HEADERS = $CONFIG_HEADERS
42080 CONFIG_LINKS = $CONFIG_LINKS
42081 CONFIG_COMMANDS = $CONFIG_COMMANDS
42082 $ $0 $@
42083
42084 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42085 "
42086
42087 _ACEOF
42088
42089 case $ac_config_files in *"
42090 "*) set x $ac_config_files; shift; ac_config_files=$*;;
42091 esac
42092
42093 case $ac_config_headers in *"
42094 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
42095 esac
42096
42097
42098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42099 # Files that config.status was made for.
42100 config_files="$ac_config_files"
42101 config_headers="$ac_config_headers"
42102 config_commands="$ac_config_commands"
42103
42104 _ACEOF
42105
42106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42107 ac_cs_usage="\
42108 \`$as_me' instantiates files and other configuration actions
42109 from templates according to the current configuration. Unless the files
42110 and actions are specified as TAGs, all are instantiated by default.
42111
42112 Usage: $0 [OPTION]... [TAG]...
42113
42114 -h, --help print this help, then exit
42115 -V, --version print version number and configuration settings, then exit
42116 --config print configuration, then exit
42117 -q, --quiet, --silent
42118 do not print progress messages
42119 -d, --debug don't remove temporary files
42120 --recheck update $as_me by reconfiguring in the same conditions
42121 --file=FILE[:TEMPLATE]
42122 instantiate the configuration file FILE
42123 --header=FILE[:TEMPLATE]
42124 instantiate the configuration header FILE
42125
42126 Configuration files:
42127 $config_files
42128
42129 Configuration headers:
42130 $config_headers
42131
42132 Configuration commands:
42133 $config_commands
42134
42135 Report bugs to <wx-dev@lists.wxwidgets.org>."
42136
42137 _ACEOF
42138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42139 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42140 ac_cs_version="\\
42141 wxWidgets config.status 2.9.5
42142 configured by $0, generated by GNU Autoconf 2.69,
42143 with options \\"\$ac_cs_config\\"
42144
42145 Copyright (C) 2012 Free Software Foundation, Inc.
42146 This config.status script is free software; the Free Software Foundation
42147 gives unlimited permission to copy, distribute and modify it."
42148
42149 ac_pwd='$ac_pwd'
42150 srcdir='$srcdir'
42151 INSTALL='$INSTALL'
42152 test -n "\$AWK" || AWK=awk
42153 _ACEOF
42154
42155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42156 # The default lists apply if the user does not specify any file.
42157 ac_need_defaults=:
42158 while test $# != 0
42159 do
42160 case $1 in
42161 --*=?*)
42162 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42163 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42164 ac_shift=:
42165 ;;
42166 --*=)
42167 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42168 ac_optarg=
42169 ac_shift=:
42170 ;;
42171 *)
42172 ac_option=$1
42173 ac_optarg=$2
42174 ac_shift=shift
42175 ;;
42176 esac
42177
42178 case $ac_option in
42179 # Handling of the options.
42180 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42181 ac_cs_recheck=: ;;
42182 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42183 $as_echo "$ac_cs_version"; exit ;;
42184 --config | --confi | --conf | --con | --co | --c )
42185 $as_echo "$ac_cs_config"; exit ;;
42186 --debug | --debu | --deb | --de | --d | -d )
42187 debug=: ;;
42188 --file | --fil | --fi | --f )
42189 $ac_shift
42190 case $ac_optarg in
42191 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42192 '') as_fn_error $? "missing file argument" ;;
42193 esac
42194 as_fn_append CONFIG_FILES " '$ac_optarg'"
42195 ac_need_defaults=false;;
42196 --header | --heade | --head | --hea )
42197 $ac_shift
42198 case $ac_optarg in
42199 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42200 esac
42201 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42202 ac_need_defaults=false;;
42203 --he | --h)
42204 # Conflict between --help and --header
42205 as_fn_error $? "ambiguous option: \`$1'
42206 Try \`$0 --help' for more information.";;
42207 --help | --hel | -h )
42208 $as_echo "$ac_cs_usage"; exit ;;
42209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42210 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42211 ac_cs_silent=: ;;
42212
42213 # This is an error.
42214 -*) as_fn_error $? "unrecognized option: \`$1'
42215 Try \`$0 --help' for more information." ;;
42216
42217 *) as_fn_append ac_config_targets " $1"
42218 ac_need_defaults=false ;;
42219
42220 esac
42221 shift
42222 done
42223
42224 ac_configure_extra_args=
42225
42226 if $ac_cs_silent; then
42227 exec 6>/dev/null
42228 ac_configure_extra_args="$ac_configure_extra_args --silent"
42229 fi
42230
42231 _ACEOF
42232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42233 if \$ac_cs_recheck; then
42234 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42235 shift
42236 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42237 CONFIG_SHELL='$SHELL'
42238 export CONFIG_SHELL
42239 exec "\$@"
42240 fi
42241
42242 _ACEOF
42243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42244 exec 5>>config.log
42245 {
42246 echo
42247 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42248 ## Running $as_me. ##
42249 _ASBOX
42250 $as_echo "$ac_log"
42251 } >&5
42252
42253 _ACEOF
42254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42255 #
42256 # INIT-COMMANDS
42257 #
42258
42259 CPP="$CPP"
42260 infile="$srcdir/include/wx/msw/genrcdefs.h"
42261 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42262
42263
42264 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42265 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42266 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42267 LN_S="${LN_S}"
42268
42269
42270 _ACEOF
42271
42272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42273
42274 # Handling of arguments.
42275 for ac_config_target in $ac_config_targets
42276 do
42277 case $ac_config_target in
42278 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42279 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42280 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42281 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42282 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42283 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42284 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42285 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42286 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42287
42288 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42289 esac
42290 done
42291
42292
42293 # If the user did not use the arguments to specify the items to instantiate,
42294 # then the envvar interface is used. Set only those that are not.
42295 # We use the long form for the default assignment because of an extremely
42296 # bizarre bug on SunOS 4.1.3.
42297 if $ac_need_defaults; then
42298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42299 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42301 fi
42302
42303 # Have a temporary directory for convenience. Make it in the build tree
42304 # simply because there is no reason against having it here, and in addition,
42305 # creating and moving files from /tmp can sometimes cause problems.
42306 # Hook for its removal unless debugging.
42307 # Note that there is a small window in which the directory will not be cleaned:
42308 # after its creation but before its name has been assigned to `$tmp'.
42309 $debug ||
42310 {
42311 tmp= ac_tmp=
42312 trap 'exit_status=$?
42313 : "${ac_tmp:=$tmp}"
42314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42315 ' 0
42316 trap 'as_fn_exit 1' 1 2 13 15
42317 }
42318 # Create a (secure) tmp directory for tmp files.
42319
42320 {
42321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42322 test -d "$tmp"
42323 } ||
42324 {
42325 tmp=./conf$$-$RANDOM
42326 (umask 077 && mkdir "$tmp")
42327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42328 ac_tmp=$tmp
42329
42330 # Set up the scripts for CONFIG_FILES section.
42331 # No need to generate them if there are no CONFIG_FILES.
42332 # This happens for instance with `./config.status config.h'.
42333 if test -n "$CONFIG_FILES"; then
42334
42335
42336 ac_cr=`echo X | tr X '\015'`
42337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42338 # But we know of no other shell where ac_cr would be empty at this
42339 # point, so we can use a bashism as a fallback.
42340 if test "x$ac_cr" = x; then
42341 eval ac_cr=\$\'\\r\'
42342 fi
42343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42345 ac_cs_awk_cr='\\r'
42346 else
42347 ac_cs_awk_cr=$ac_cr
42348 fi
42349
42350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42351 _ACEOF
42352
42353
42354 {
42355 echo "cat >conf$$subs.awk <<_ACEOF" &&
42356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42357 echo "_ACEOF"
42358 } >conf$$subs.sh ||
42359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42361 ac_delim='%!_!# '
42362 for ac_last_try in false false false false false :; do
42363 . ./conf$$subs.sh ||
42364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42365
42366 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42367 if test $ac_delim_n = $ac_delim_num; then
42368 break
42369 elif $ac_last_try; then
42370 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42371 else
42372 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42373 fi
42374 done
42375 rm -f conf$$subs.sh
42376
42377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42378 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42379 _ACEOF
42380 sed -n '
42381 h
42382 s/^/S["/; s/!.*/"]=/
42383 p
42384 g
42385 s/^[^!]*!//
42386 :repl
42387 t repl
42388 s/'"$ac_delim"'$//
42389 t delim
42390 :nl
42391 h
42392 s/\(.\{148\}\)..*/\1/
42393 t more1
42394 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42395 p
42396 n
42397 b repl
42398 :more1
42399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42400 p
42401 g
42402 s/.\{148\}//
42403 t nl
42404 :delim
42405 h
42406 s/\(.\{148\}\)..*/\1/
42407 t more2
42408 s/["\\]/\\&/g; s/^/"/; s/$/"/
42409 p
42410 b
42411 :more2
42412 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42413 p
42414 g
42415 s/.\{148\}//
42416 t delim
42417 ' <conf$$subs.awk | sed '
42418 /^[^""]/{
42419 N
42420 s/\n//
42421 }
42422 ' >>$CONFIG_STATUS || ac_write_fail=1
42423 rm -f conf$$subs.awk
42424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42425 _ACAWK
42426 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42427 for (key in S) S_is_set[key] = 1
42428 FS = "\a"
42429
42430 }
42431 {
42432 line = $ 0
42433 nfields = split(line, field, "@")
42434 substed = 0
42435 len = length(field[1])
42436 for (i = 2; i < nfields; i++) {
42437 key = field[i]
42438 keylen = length(key)
42439 if (S_is_set[key]) {
42440 value = S[key]
42441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42442 len += length(value) + length(field[++i])
42443 substed = 1
42444 } else
42445 len += 1 + keylen
42446 }
42447
42448 print line
42449 }
42450
42451 _ACAWK
42452 _ACEOF
42453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42454 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42455 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42456 else
42457 cat
42458 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42459 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42460 _ACEOF
42461
42462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42464 # trailing colons and then remove the whole line if VPATH becomes empty
42465 # (actually we leave an empty line to preserve line numbers).
42466 if test "x$srcdir" = x.; then
42467 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42468 h
42469 s///
42470 s/^/:/
42471 s/[ ]*$/:/
42472 s/:\$(srcdir):/:/g
42473 s/:\${srcdir}:/:/g
42474 s/:@srcdir@:/:/g
42475 s/^:*//
42476 s/:*$//
42477 x
42478 s/\(=[ ]*\).*/\1/
42479 G
42480 s/\n//
42481 s/^[^=]*=[ ]*$//
42482 }'
42483 fi
42484
42485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42486 fi # test -n "$CONFIG_FILES"
42487
42488 # Set up the scripts for CONFIG_HEADERS section.
42489 # No need to generate them if there are no CONFIG_HEADERS.
42490 # This happens for instance with `./config.status Makefile'.
42491 if test -n "$CONFIG_HEADERS"; then
42492 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42493 BEGIN {
42494 _ACEOF
42495
42496 # Transform confdefs.h into an awk script `defines.awk', embedded as
42497 # here-document in config.status, that substitutes the proper values into
42498 # config.h.in to produce config.h.
42499
42500 # Create a delimiter string that does not exist in confdefs.h, to ease
42501 # handling of long lines.
42502 ac_delim='%!_!# '
42503 for ac_last_try in false false :; do
42504 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42505 if test -z "$ac_tt"; then
42506 break
42507 elif $ac_last_try; then
42508 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42509 else
42510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42511 fi
42512 done
42513
42514 # For the awk script, D is an array of macro values keyed by name,
42515 # likewise P contains macro parameters if any. Preserve backslash
42516 # newline sequences.
42517
42518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42519 sed -n '
42520 s/.\{148\}/&'"$ac_delim"'/g
42521 t rset
42522 :rset
42523 s/^[ ]*#[ ]*define[ ][ ]*/ /
42524 t def
42525 d
42526 :def
42527 s/\\$//
42528 t bsnl
42529 s/["\\]/\\&/g
42530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42531 D["\1"]=" \3"/p
42532 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42533 d
42534 :bsnl
42535 s/["\\]/\\&/g
42536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42537 D["\1"]=" \3\\\\\\n"\\/p
42538 t cont
42539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42540 t cont
42541 d
42542 :cont
42543 n
42544 s/.\{148\}/&'"$ac_delim"'/g
42545 t clear
42546 :clear
42547 s/\\$//
42548 t bsnlc
42549 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42550 d
42551 :bsnlc
42552 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42553 b cont
42554 ' <confdefs.h | sed '
42555 s/'"$ac_delim"'/"\\\
42556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42557
42558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42559 for (key in D) D_is_set[key] = 1
42560 FS = "\a"
42561 }
42562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42563 line = \$ 0
42564 split(line, arg, " ")
42565 if (arg[1] == "#") {
42566 defundef = arg[2]
42567 mac1 = arg[3]
42568 } else {
42569 defundef = substr(arg[1], 2)
42570 mac1 = arg[2]
42571 }
42572 split(mac1, mac2, "(") #)
42573 macro = mac2[1]
42574 prefix = substr(line, 1, index(line, defundef) - 1)
42575 if (D_is_set[macro]) {
42576 # Preserve the white space surrounding the "#".
42577 print prefix "define", macro P[macro] D[macro]
42578 next
42579 } else {
42580 # Replace #undef with comments. This is necessary, for example,
42581 # in the case of _POSIX_SOURCE, which is predefined and required
42582 # on some systems where configure will not decide to define it.
42583 if (defundef == "undef") {
42584 print "/*", prefix defundef, macro, "*/"
42585 next
42586 }
42587 }
42588 }
42589 { print }
42590 _ACAWK
42591 _ACEOF
42592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42593 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42594 fi # test -n "$CONFIG_HEADERS"
42595
42596
42597 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42598 shift
42599 for ac_tag
42600 do
42601 case $ac_tag in
42602 :[FHLC]) ac_mode=$ac_tag; continue;;
42603 esac
42604 case $ac_mode$ac_tag in
42605 :[FHL]*:*);;
42606 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42607 :[FH]-) ac_tag=-:-;;
42608 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42609 esac
42610 ac_save_IFS=$IFS
42611 IFS=:
42612 set x $ac_tag
42613 IFS=$ac_save_IFS
42614 shift
42615 ac_file=$1
42616 shift
42617
42618 case $ac_mode in
42619 :L) ac_source=$1;;
42620 :[FH])
42621 ac_file_inputs=
42622 for ac_f
42623 do
42624 case $ac_f in
42625 -) ac_f="$ac_tmp/stdin";;
42626 *) # Look for the file first in the build tree, then in the source tree
42627 # (if the path is not absolute). The absolute path cannot be DOS-style,
42628 # because $ac_f cannot contain `:'.
42629 test -f "$ac_f" ||
42630 case $ac_f in
42631 [\\/$]*) false;;
42632 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42633 esac ||
42634 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42635 esac
42636 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42637 as_fn_append ac_file_inputs " '$ac_f'"
42638 done
42639
42640 # Let's still pretend it is `configure' which instantiates (i.e., don't
42641 # use $as_me), people would be surprised to read:
42642 # /* config.h. Generated by config.status. */
42643 configure_input='Generated from '`
42644 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42645 `' by configure.'
42646 if test x"$ac_file" != x-; then
42647 configure_input="$ac_file. $configure_input"
42648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42649 $as_echo "$as_me: creating $ac_file" >&6;}
42650 fi
42651 # Neutralize special characters interpreted by sed in replacement strings.
42652 case $configure_input in #(
42653 *\&* | *\|* | *\\* )
42654 ac_sed_conf_input=`$as_echo "$configure_input" |
42655 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42656 *) ac_sed_conf_input=$configure_input;;
42657 esac
42658
42659 case $ac_tag in
42660 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42662 esac
42663 ;;
42664 esac
42665
42666 ac_dir=`$as_dirname -- "$ac_file" ||
42667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42668 X"$ac_file" : 'X\(//\)[^/]' \| \
42669 X"$ac_file" : 'X\(//\)$' \| \
42670 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42671 $as_echo X"$ac_file" |
42672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42673 s//\1/
42674 q
42675 }
42676 /^X\(\/\/\)[^/].*/{
42677 s//\1/
42678 q
42679 }
42680 /^X\(\/\/\)$/{
42681 s//\1/
42682 q
42683 }
42684 /^X\(\/\).*/{
42685 s//\1/
42686 q
42687 }
42688 s/.*/./; q'`
42689 as_dir="$ac_dir"; as_fn_mkdir_p
42690 ac_builddir=.
42691
42692 case "$ac_dir" in
42693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42694 *)
42695 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42696 # A ".." for each directory in $ac_dir_suffix.
42697 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42698 case $ac_top_builddir_sub in
42699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42701 esac ;;
42702 esac
42703 ac_abs_top_builddir=$ac_pwd
42704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42705 # for backward compatibility:
42706 ac_top_builddir=$ac_top_build_prefix
42707
42708 case $srcdir in
42709 .) # We are building in place.
42710 ac_srcdir=.
42711 ac_top_srcdir=$ac_top_builddir_sub
42712 ac_abs_top_srcdir=$ac_pwd ;;
42713 [\\/]* | ?:[\\/]* ) # Absolute name.
42714 ac_srcdir=$srcdir$ac_dir_suffix;
42715 ac_top_srcdir=$srcdir
42716 ac_abs_top_srcdir=$srcdir ;;
42717 *) # Relative name.
42718 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42719 ac_top_srcdir=$ac_top_build_prefix$srcdir
42720 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42721 esac
42722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42723
42724
42725 case $ac_mode in
42726 :F)
42727 #
42728 # CONFIG_FILE
42729 #
42730
42731 case $INSTALL in
42732 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42733 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42734 esac
42735 _ACEOF
42736
42737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42738 # If the template does not know about datarootdir, expand it.
42739 # FIXME: This hack should be removed a few years after 2.60.
42740 ac_datarootdir_hack=; ac_datarootdir_seen=
42741 ac_sed_dataroot='
42742 /datarootdir/ {
42743 p
42744 q
42745 }
42746 /@datadir@/p
42747 /@docdir@/p
42748 /@infodir@/p
42749 /@localedir@/p
42750 /@mandir@/p'
42751 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42752 *datarootdir*) ac_datarootdir_seen=yes;;
42753 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42755 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42756 _ACEOF
42757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42758 ac_datarootdir_hack='
42759 s&@datadir@&$datadir&g
42760 s&@docdir@&$docdir&g
42761 s&@infodir@&$infodir&g
42762 s&@localedir@&$localedir&g
42763 s&@mandir@&$mandir&g
42764 s&\\\${datarootdir}&$datarootdir&g' ;;
42765 esac
42766 _ACEOF
42767
42768 # Neutralize VPATH when `$srcdir' = `.'.
42769 # Shell code in configure.ac might set extrasub.
42770 # FIXME: do we really want to maintain this feature?
42771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42772 ac_sed_extra="$ac_vpsub
42773 $extrasub
42774 _ACEOF
42775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42776 :t
42777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42778 s|@configure_input@|$ac_sed_conf_input|;t t
42779 s&@top_builddir@&$ac_top_builddir_sub&;t t
42780 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42781 s&@srcdir@&$ac_srcdir&;t t
42782 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42783 s&@top_srcdir@&$ac_top_srcdir&;t t
42784 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42785 s&@builddir@&$ac_builddir&;t t
42786 s&@abs_builddir@&$ac_abs_builddir&;t t
42787 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42788 s&@INSTALL@&$ac_INSTALL&;t t
42789 $ac_datarootdir_hack
42790 "
42791 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42792 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42793
42794 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42795 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42796 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42797 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42799 which seems to be undefined. Please make sure it is defined" >&5
42800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42801 which seems to be undefined. Please make sure it is defined" >&2;}
42802
42803 rm -f "$ac_tmp/stdin"
42804 case $ac_file in
42805 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42806 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42807 esac \
42808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42809 ;;
42810 :H)
42811 #
42812 # CONFIG_HEADER
42813 #
42814 if test x"$ac_file" != x-; then
42815 {
42816 $as_echo "/* $configure_input */" \
42817 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42818 } >"$ac_tmp/config.h" \
42819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42820 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42822 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42823 else
42824 rm -f "$ac_file"
42825 mv "$ac_tmp/config.h" "$ac_file" \
42826 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42827 fi
42828 else
42829 $as_echo "/* $configure_input */" \
42830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42831 || as_fn_error $? "could not create -" "$LINENO" 5
42832 fi
42833 ;;
42834
42835 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42836 $as_echo "$as_me: executing $ac_file commands" >&6;}
42837 ;;
42838 esac
42839
42840
42841 case $ac_file$ac_mode in
42842 "rcdefs.h":C)
42843 mkdir -p $outdir &&
42844 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42845 ;;
42846 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42847 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42848 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42849 "wx-config":C) rm -f wx-config
42850 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42851 ;;
42852
42853 esac
42854 done # for ac_tag
42855
42856
42857 as_fn_exit 0
42858 _ACEOF
42859 ac_clean_files=$ac_clean_files_save
42860
42861 test $ac_write_fail = 0 ||
42862 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42863
42864
42865 # configure is writing to config.log, and then calls config.status.
42866 # config.status does its own redirection, appending to config.log.
42867 # Unfortunately, on DOS this fails, as config.log is still kept open
42868 # by configure, so config.status won't be able to write to it; its
42869 # output is simply discarded. So we exec the FD to /dev/null,
42870 # effectively closing config.log, so it can be properly (re)opened and
42871 # appended to by config.status. When coming back to configure, we
42872 # need to make the FD available again.
42873 if test "$no_create" != yes; then
42874 ac_cs_success=:
42875 ac_config_status_args=
42876 test "$silent" = yes &&
42877 ac_config_status_args="$ac_config_status_args --quiet"
42878 exec 5>/dev/null
42879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42880 exec 5>>config.log
42881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42882 # would make configure fail if this is the last instruction.
42883 $ac_cs_success || as_fn_exit 1
42884 fi
42885
42886 #
42887 # CONFIG_SUBDIRS section.
42888 #
42889 if test "$no_recursion" != yes; then
42890
42891 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42892 # so they do not pile up.
42893 ac_sub_configure_args=
42894 ac_prev=
42895 eval "set x $ac_configure_args"
42896 shift
42897 for ac_arg
42898 do
42899 if test -n "$ac_prev"; then
42900 ac_prev=
42901 continue
42902 fi
42903 case $ac_arg in
42904 -cache-file | --cache-file | --cache-fil | --cache-fi \
42905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42906 ac_prev=cache_file ;;
42907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42909 | --c=*)
42910 ;;
42911 --config-cache | -C)
42912 ;;
42913 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42914 ac_prev=srcdir ;;
42915 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42916 ;;
42917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42918 ac_prev=prefix ;;
42919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42920 ;;
42921 --disable-option-checking)
42922 ;;
42923 *)
42924 case $ac_arg in
42925 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42926 esac
42927 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42928 esac
42929 done
42930
42931 # Always prepend --prefix to ensure using the same prefix
42932 # in subdir configurations.
42933 ac_arg="--prefix=$prefix"
42934 case $ac_arg in
42935 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42936 esac
42937 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42938
42939 # Pass --silent
42940 if test "$silent" = yes; then
42941 ac_sub_configure_args="--silent $ac_sub_configure_args"
42942 fi
42943
42944 # Always prepend --disable-option-checking to silence warnings, since
42945 # different subdirs can have different --enable and --with options.
42946 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42947
42948 ac_popdir=`pwd`
42949 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42950
42951 # Do not complain, so a configure script can configure whichever
42952 # parts of a large source tree are present.
42953 test -d "$srcdir/$ac_dir" || continue
42954
42955 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42956 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42957 $as_echo "$ac_msg" >&6
42958 as_dir="$ac_dir"; as_fn_mkdir_p
42959 ac_builddir=.
42960
42961 case "$ac_dir" in
42962 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42963 *)
42964 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42965 # A ".." for each directory in $ac_dir_suffix.
42966 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42967 case $ac_top_builddir_sub in
42968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42970 esac ;;
42971 esac
42972 ac_abs_top_builddir=$ac_pwd
42973 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42974 # for backward compatibility:
42975 ac_top_builddir=$ac_top_build_prefix
42976
42977 case $srcdir in
42978 .) # We are building in place.
42979 ac_srcdir=.
42980 ac_top_srcdir=$ac_top_builddir_sub
42981 ac_abs_top_srcdir=$ac_pwd ;;
42982 [\\/]* | ?:[\\/]* ) # Absolute name.
42983 ac_srcdir=$srcdir$ac_dir_suffix;
42984 ac_top_srcdir=$srcdir
42985 ac_abs_top_srcdir=$srcdir ;;
42986 *) # Relative name.
42987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42988 ac_top_srcdir=$ac_top_build_prefix$srcdir
42989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42990 esac
42991 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42992
42993
42994 cd "$ac_dir"
42995
42996 # Check for guested configure; otherwise get Cygnus style configure.
42997 if test -f "$ac_srcdir/configure.gnu"; then
42998 ac_sub_configure=$ac_srcdir/configure.gnu
42999 elif test -f "$ac_srcdir/configure"; then
43000 ac_sub_configure=$ac_srcdir/configure
43001 elif test -f "$ac_srcdir/configure.in"; then
43002 # This should be Cygnus configure.
43003 ac_sub_configure=$ac_aux_dir/configure
43004 else
43005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43006 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43007 ac_sub_configure=
43008 fi
43009
43010 # The recursion is here.
43011 if test -n "$ac_sub_configure"; then
43012 # Make the cache file name correct relative to the subdirectory.
43013 case $cache_file in
43014 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43015 *) # Relative name.
43016 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
43017 esac
43018
43019 { $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
43020 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43021 # The eval makes quoting arguments work.
43022 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43023 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43024 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43025 fi
43026
43027 cd "$ac_popdir"
43028 done
43029 fi
43030 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43032 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43033 fi
43034
43035
43036 echo
43037 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43038 echo ""
43039 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43040 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43041 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43042 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43043 if test "$wxUSE_UNICODE" = "yes"; then
43044 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43045 echo " (using UTF-8)"
43046 else
43047 echo " (using wchar_t)"
43048 fi
43049 else
43050 echo
43051 fi
43052
43053 echo " What level of wxWidgets compatibility should be enabled?"
43054 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43055 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43056
43057 echo " Which libraries should wxWidgets use?"
43058 echo " STL ${wxUSE_STL}"
43059 echo " jpeg ${wxUSE_LIBJPEG-none}"
43060 echo " png ${wxUSE_LIBPNG-none}"
43061 echo " regex ${wxUSE_REGEX}"
43062 echo " tiff ${wxUSE_LIBTIFF-none}"
43063 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43064 echo " xpm ${wxUSE_LIBXPM-none}"
43065 fi
43066 echo " zlib ${wxUSE_ZLIB}"
43067 echo " expat ${wxUSE_EXPAT}"
43068 echo " libmspack ${wxUSE_LIBMSPACK}"
43069 echo " sdl ${wxUSE_LIBSDL}"
43070
43071 echo ""
43072