]> git.saurik.com Git - wxWidgets.git/blob - configure
bracing 10.7+ constant
[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_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
754 COND_TOOLKIT_GTK
755 COND_TOOLKIT_DFB_USE_GUI_1
756 COND_TOOLKIT_DFB
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
759 COND_TOOLKIT_COCOA
760 COND_TOOLKIT_
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
774 COND_SHARED_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
784 COND_PLATFORM_UNIX_1
785 COND_PLATFORM_UNIX_0
786 COND_PLATFORM_OS2_1
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
789 COND_PLATFORM_MAC_1
790 COND_PLATFORM_MAC_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
814 COND_MONOLITHIC_1
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
851 COND_MONOLITHIC_0
852 COND_ICC_PCH_1
853 COND_GCC_PCH_1
854 COND_DEPS_TRACKING_1
855 COND_DEPS_TRACKING_0
856 COND_DEBUG_INFO_1
857 COND_DEBUG_INFO_0
858 COND_DEBUG_FLAG_1
859 COND_DEBUG_FLAG_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
863 COND_BUILD_release
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
868 COND_BUILD_debug
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
872 COND_BUILD_RELEASE
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
877 COND_BUILD_DEBUG
878 BK_MAKE_PCH
879 ICC_PCH_USE_SWITCH
880 ICC_PCH_CREATE_SWITCH
881 ICC_PCH
882 GCC_PCH
883 OBJCXXFLAGS
884 SETFILE
885 REZ
886 WINDRES
887 BK_DEPS
888 DEPS_TRACKING
889 SONAME_FLAG
890 USE_SOTWOSYMLINKS
891 USE_MACVERSION
892 USE_SOVERCYGWIN
893 USE_SOVERSOLARIS
894 USE_SOVERLINUX
895 USE_SOVERSION
896 WINDOWS_IMPLIB
897 PIC_FLAG
898 SHARED_LD_MODULE_CXX
899 SHARED_LD_MODULE_CC
900 SHARED_LD_CXX
901 SHARED_LD_CC
902 AIX_CXX_LD
903 dlldir
904 DLLPREFIX_MODULE
905 DLLPREFIX
906 LIBEXT
907 LIBPREFIX
908 DLLIMP_SUFFIX
909 SO_SUFFIX_MODULE
910 SO_SUFFIX
911 PLATFORM_BEOS
912 PLATFORM_OS2
913 PLATFORM_MACOSX
914 PLATFORM_MACOS
915 PLATFORM_MAC
916 PLATFORM_MSDOS
917 PLATFORM_WIN32
918 PLATFORM_UNIX
919 IF_GNU_MAKE
920 LDFLAGS_GUI
921 INSTALL_DIR
922 NM
923 STRIP
924 AROPTIONS
925 MAKE_SET
926 SET_MAKE
927 LN_S
928 INSTALL_DATA
929 INSTALL_SCRIPT
930 INSTALL_PROGRAM
931 RANLIB
932 CPPUNIT_LIBS
933 CPPUNIT_CFLAGS
934 HOST_SUFFIX
935 HEADER_PAD_OPTION
936 SAMPLES_RPATH_FLAG
937 DYLIB_RPATH_POSTLINK
938 DYLIB_RPATH_INSTALL
939 TOOLKIT_VERSION
940 TOOLKIT_LOWERCASE
941 DEBUG_FLAG
942 DEBUG_INFO
943 UNICODE
944 WITH_PLUGIN_SDL
945 EXTRALIBS_STC
946 EXTRALIBS_SDL
947 EXTRALIBS_OPENGL
948 EXTRALIBS_GUI
949 EXTRALIBS_MEDIA
950 EXTRALIBS_HTML
951 EXTRALIBS_XML
952 EXTRALIBS
953 CXXWARNINGS
954 USE_PLUGINS
955 MONOLITHIC
956 WXUNIV
957 WX_LIB_FLAVOUR
958 WX_FLAVOUR
959 OFFICIAL_BUILD
960 VENDOR
961 wxUSE_LIBTIFF
962 wxUSE_LIBPNG
963 wxUSE_LIBJPEG
964 wxUSE_EXPAT
965 wxUSE_REGEX
966 wxUSE_ZLIB
967 STD_GUI_LIBS
968 STD_BASE_LIBS
969 BUILT_WX_LIBS
970 ALL_WX_LIBS
971 GST_LIBS
972 GST_CFLAGS
973 CAIRO_LIBS
974 CAIRO_CFLAGS
975 WEBKIT_LIBS
976 WEBKIT_CFLAGS
977 COND_PYTHON
978 PYTHON
979 HILDON2_LIBS
980 HILDON2_CFLAGS
981 HILDON_LIBS
982 HILDON_CFLAGS
983 LIBNOTIFY_LIBS
984 LIBNOTIFY_CFLAGS
985 GNOMEVFS_LIBS
986 GNOMEVFS_CFLAGS
987 LIBGNOMEPRINTUI_LIBS
988 LIBGNOMEPRINTUI_CFLAGS
989 GTKPRINT_LIBS
990 GTKPRINT_CFLAGS
991 SDL_LIBS
992 SDL_CFLAGS
993 SDL_CONFIG
994 GXX_VERSION
995 LIBICONV
996 CXXFLAGS_VISIBILITY
997 CFLAGS_VISIBILITY
998 MesaGL_LIBS
999 MesaGL_CFLAGS
1000 GLU_LIBS
1001 GLU_CFLAGS
1002 GL_LIBS
1003 GL_CFLAGS
1004 SM_LIBS
1005 SM_CFLAGS
1006 Xxf86vm_LIBS
1007 Xxf86vm_CFLAGS
1008 Xinerama_LIBS
1009 Xinerama_CFLAGS
1010 PANGOXFT_LIBS
1011 PANGOXFT_CFLAGS
1012 PANGOFT2_LIBS
1013 PANGOFT2_CFLAGS
1014 PANGOX_LIBS
1015 PANGOX_CFLAGS
1016 X_EXTRA_LIBS
1017 X_LIBS
1018 X_PRE_LIBS
1019 X_CFLAGS
1020 XMKMF
1021 DIRECTFB_LIBS
1022 DIRECTFB_CFLAGS
1023 GTK_CONFIG
1024 GTK_LIBS
1025 GTK_CFLAGS
1026 PKG_CONFIG
1027 subdirs
1028 CXXCPP
1029 AR
1030 ac_ct_CXX
1031 CXXFLAGS
1032 CXX
1033 EGREP
1034 GREP
1035 CPP
1036 OBJEXT
1037 EXEEXT
1038 ac_ct_CC
1039 CPPFLAGS
1040 LDFLAGS
1041 CFLAGS
1042 CC
1043 wx_top_builddir
1044 host_os
1045 host_vendor
1046 host_cpu
1047 host
1048 build_os
1049 build_vendor
1050 build_cpu
1051 build
1052 target_alias
1053 host_alias
1054 build_alias
1055 LIBS
1056 ECHO_T
1057 ECHO_N
1058 ECHO_C
1059 DEFS
1060 mandir
1061 localedir
1062 libdir
1063 psdir
1064 pdfdir
1065 dvidir
1066 htmldir
1067 infodir
1068 docdir
1069 oldincludedir
1070 includedir
1071 localstatedir
1072 sharedstatedir
1073 sysconfdir
1074 datadir
1075 datarootdir
1076 libexecdir
1077 sbindir
1078 bindir
1079 program_transform_name
1080 prefix
1081 exec_prefix
1082 PACKAGE_URL
1083 PACKAGE_BUGREPORT
1084 PACKAGE_STRING
1085 PACKAGE_VERSION
1086 PACKAGE_TARNAME
1087 PACKAGE_NAME
1088 PATH_SEPARATOR
1089 SHELL'
1090 ac_subst_files=''
1091 ac_user_opts='
1092 enable_option_checking
1093 enable_gui
1094 enable_monolithic
1095 enable_plugins
1096 with_subdirs
1097 with_flavour
1098 enable_official_build
1099 enable_vendor
1100 enable_all_features
1101 enable_universal
1102 with_themes
1103 with_gtk
1104 with_motif
1105 with_osx_carbon
1106 with_osx_cocoa
1107 with_osx_iphone
1108 with_osx
1109 with_carbon
1110 with_cocoa
1111 with_iphone
1112 with_mac
1113 with_old_cocoa
1114 with_wine
1115 with_msw
1116 with_pm
1117 with_directfb
1118 with_microwin
1119 with_x11
1120 enable_nanox
1121 enable_gpe
1122 with_libpng
1123 with_libjpeg
1124 with_libtiff
1125 with_libxpm
1126 with_libiconv
1127 with_libmspack
1128 with_gtkprint
1129 with_gnomeprint
1130 with_gnomevfs
1131 with_libnotify
1132 with_hildon
1133 with_opengl
1134 with_dmalloc
1135 with_sdl
1136 with_regex
1137 with_zlib
1138 with_expat
1139 with_macosx_sdk
1140 with_macosx_version_min
1141 enable_debug
1142 enable_debug_flag
1143 enable_debug_info
1144 enable_debug_gdb
1145 enable_debug_cntxt
1146 enable_mem_tracing
1147 enable_shared
1148 enable_stl
1149 enable_std_containers
1150 enable_std_iostreams
1151 enable_std_string
1152 enable_std_string_conv_in_wxstring
1153 enable_unicode
1154 enable_mslu
1155 enable_utf8
1156 enable_utf8only
1157 enable_extended_rtti
1158 enable_omf
1159 enable_optimise
1160 enable_profile
1161 enable_no_rtti
1162 enable_no_exceptions
1163 enable_permissive
1164 enable_no_deps
1165 enable_vararg_macros
1166 enable_universal_binary
1167 enable_macosx_arch
1168 enable_compat26
1169 enable_compat28
1170 enable_rpath
1171 enable_objc_uniquifying
1172 enable_visibility
1173 enable_tls
1174 enable_intl
1175 enable_xlocale
1176 enable_config
1177 enable_protocols
1178 enable_ftp
1179 enable_http
1180 enable_fileproto
1181 enable_sockets
1182 enable_ipv6
1183 enable_ole
1184 enable_dataobj
1185 enable_ipc
1186 enable_baseevtloop
1187 enable_epollloop
1188 enable_selectloop
1189 enable_any
1190 enable_apple_ieee
1191 enable_arcstream
1192 enable_base64
1193 enable_backtrace
1194 enable_catch_segvs
1195 enable_cmdline
1196 enable_datetime
1197 enable_debugreport
1198 enable_dialupman
1199 enable_dynlib
1200 enable_dynamicloader
1201 enable_exceptions
1202 enable_ffile
1203 enable_file
1204 enable_filehistory
1205 enable_filesystem
1206 enable_fontenum
1207 enable_fontmap
1208 enable_fs_archive
1209 enable_fs_inet
1210 enable_fs_zip
1211 enable_fswatcher
1212 enable_geometry
1213 enable_log
1214 enable_longlong
1215 enable_mimetype
1216 enable_printfposparam
1217 enable_snglinst
1218 enable_sound
1219 enable_stdpaths
1220 enable_stopwatch
1221 enable_streams
1222 enable_sysoptions
1223 enable_tarstream
1224 enable_textbuf
1225 enable_textfile
1226 enable_timer
1227 enable_variant
1228 enable_zipstream
1229 enable_url
1230 enable_protocol
1231 enable_protocol_http
1232 enable_protocol_ftp
1233 enable_protocol_file
1234 enable_threads
1235 enable_iniconf
1236 enable_regkey
1237 enable_docview
1238 enable_help
1239 enable_mshtmlhelp
1240 enable_html
1241 enable_htmlhelp
1242 enable_xrc
1243 enable_aui
1244 enable_propgrid
1245 enable_ribbon
1246 enable_stc
1247 enable_constraints
1248 enable_loggui
1249 enable_logwin
1250 enable_logdialog
1251 enable_mdi
1252 enable_mdidoc
1253 enable_mediactrl
1254 enable_gstreamer8
1255 enable_richtext
1256 enable_postscript
1257 enable_printarch
1258 enable_svg
1259 enable_webkit
1260 enable_webview
1261 enable_graphics_ctx
1262 enable_clipboard
1263 enable_dnd
1264 enable_controls
1265 enable_markup
1266 enable_accel
1267 enable_animatectrl
1268 enable_bannerwindow
1269 enable_artstd
1270 enable_arttango
1271 enable_bmpbutton
1272 enable_bmpcombobox
1273 enable_button
1274 enable_calendar
1275 enable_caret
1276 enable_checkbox
1277 enable_checklst
1278 enable_choice
1279 enable_choicebook
1280 enable_collpane
1281 enable_colourpicker
1282 enable_combobox
1283 enable_comboctrl
1284 enable_commandlinkbutton
1285 enable_dataviewctrl
1286 enable_datepick
1287 enable_detect_sm
1288 enable_dirpicker
1289 enable_display
1290 enable_editablebox
1291 enable_filectrl
1292 enable_filepicker
1293 enable_fontpicker
1294 enable_gauge
1295 enable_grid
1296 enable_headerctrl
1297 enable_hyperlink
1298 enable_imaglist
1299 enable_infobar
1300 enable_listbook
1301 enable_listbox
1302 enable_listctrl
1303 enable_notebook
1304 enable_notifmsg
1305 enable_odcombobox
1306 enable_popupwin
1307 enable_radiobox
1308 enable_radiobtn
1309 enable_richmsgdlg
1310 enable_richtooltip
1311 enable_rearrangectrl
1312 enable_sash
1313 enable_scrollbar
1314 enable_searchctrl
1315 enable_slider
1316 enable_spinbtn
1317 enable_spinctrl
1318 enable_splitter
1319 enable_statbmp
1320 enable_statbox
1321 enable_statline
1322 enable_stattext
1323 enable_statusbar
1324 enable_taskbaricon
1325 enable_tbarnative
1326 enable_textctrl
1327 enable_tipwindow
1328 enable_togglebtn
1329 enable_toolbar
1330 enable_toolbook
1331 enable_treebook
1332 enable_treectrl
1333 enable_treelist
1334 enable_commondlg
1335 enable_aboutdlg
1336 enable_choicedlg
1337 enable_coldlg
1338 enable_filedlg
1339 enable_finddlg
1340 enable_fontdlg
1341 enable_dirdlg
1342 enable_msgdlg
1343 enable_numberdlg
1344 enable_splash
1345 enable_textdlg
1346 enable_tipdlg
1347 enable_progressdlg
1348 enable_wizarddlg
1349 enable_menus
1350 enable_miniframe
1351 enable_tooltips
1352 enable_splines
1353 enable_mousewheel
1354 enable_validators
1355 enable_busyinfo
1356 enable_hotkey
1357 enable_joystick
1358 enable_metafile
1359 enable_dragimage
1360 enable_accessibility
1361 enable_uiactionsim
1362 enable_dctransform
1363 enable_webviewwebkit
1364 enable_palette
1365 enable_image
1366 enable_gif
1367 enable_pcx
1368 enable_tga
1369 enable_iff
1370 enable_pnm
1371 enable_xpm
1372 enable_ico_cur
1373 enable_dccache
1374 enable_ps_in_msw
1375 enable_ownerdrawn
1376 enable_uxtheme
1377 enable_wxdib
1378 enable_webviewie
1379 enable_autoidman
1380 enable_largefile
1381 enable_gtktest
1382 with_gtk_prefix
1383 with_gtk_exec_prefix
1384 with_x
1385 with_libiconv_prefix
1386 with_sdl_prefix
1387 with_sdl_exec_prefix
1388 enable_sdltest
1389 enable_dependency_tracking
1390 enable_precomp_headers
1391 with_cppunit_prefix
1392 with_cppunit_exec_prefix
1393 '
1394 ac_precious_vars='build_alias
1395 host_alias
1396 target_alias
1397 CC
1398 CFLAGS
1399 LDFLAGS
1400 LIBS
1401 CPPFLAGS
1402 CPP
1403 CXX
1404 CXXFLAGS
1405 CCC
1406 CXXCPP
1407 PKG_CONFIG
1408 DIRECTFB_CFLAGS
1409 DIRECTFB_LIBS
1410 XMKMF
1411 PANGOX_CFLAGS
1412 PANGOX_LIBS
1413 PANGOFT2_CFLAGS
1414 PANGOFT2_LIBS
1415 PANGOXFT_CFLAGS
1416 PANGOXFT_LIBS
1417 Xinerama_CFLAGS
1418 Xinerama_LIBS
1419 Xxf86vm_CFLAGS
1420 Xxf86vm_LIBS
1421 SM_CFLAGS
1422 SM_LIBS
1423 GL_CFLAGS
1424 GL_LIBS
1425 GLU_CFLAGS
1426 GLU_LIBS
1427 MesaGL_CFLAGS
1428 MesaGL_LIBS
1429 GTKPRINT_CFLAGS
1430 GTKPRINT_LIBS
1431 LIBGNOMEPRINTUI_CFLAGS
1432 LIBGNOMEPRINTUI_LIBS
1433 GNOMEVFS_CFLAGS
1434 GNOMEVFS_LIBS
1435 LIBNOTIFY_CFLAGS
1436 LIBNOTIFY_LIBS
1437 HILDON_CFLAGS
1438 HILDON_LIBS
1439 HILDON2_CFLAGS
1440 HILDON2_LIBS
1441 WEBKIT_CFLAGS
1442 WEBKIT_LIBS
1443 CAIRO_CFLAGS
1444 CAIRO_LIBS
1445 GST_CFLAGS
1446 GST_LIBS'
1447 ac_subdirs_all='src/tiff
1448 src/expat'
1449
1450 # Initialize some variables set by options.
1451 ac_init_help=
1452 ac_init_version=false
1453 ac_unrecognized_opts=
1454 ac_unrecognized_sep=
1455 # The variables have the same names as the options, with
1456 # dashes changed to underlines.
1457 cache_file=/dev/null
1458 exec_prefix=NONE
1459 no_create=
1460 no_recursion=
1461 prefix=NONE
1462 program_prefix=NONE
1463 program_suffix=NONE
1464 program_transform_name=s,x,x,
1465 silent=
1466 site=
1467 srcdir=
1468 verbose=
1469 x_includes=NONE
1470 x_libraries=NONE
1471
1472 # Installation directory options.
1473 # These are left unexpanded so users can "make install exec_prefix=/foo"
1474 # and all the variables that are supposed to be based on exec_prefix
1475 # by default will actually change.
1476 # Use braces instead of parens because sh, perl, etc. also accept them.
1477 # (The list follows the same order as the GNU Coding Standards.)
1478 bindir='${exec_prefix}/bin'
1479 sbindir='${exec_prefix}/sbin'
1480 libexecdir='${exec_prefix}/libexec'
1481 datarootdir='${prefix}/share'
1482 datadir='${datarootdir}'
1483 sysconfdir='${prefix}/etc'
1484 sharedstatedir='${prefix}/com'
1485 localstatedir='${prefix}/var'
1486 includedir='${prefix}/include'
1487 oldincludedir='/usr/include'
1488 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1489 infodir='${datarootdir}/info'
1490 htmldir='${docdir}'
1491 dvidir='${docdir}'
1492 pdfdir='${docdir}'
1493 psdir='${docdir}'
1494 libdir='${exec_prefix}/lib'
1495 localedir='${datarootdir}/locale'
1496 mandir='${datarootdir}/man'
1497
1498 ac_prev=
1499 ac_dashdash=
1500 for ac_option
1501 do
1502 # If the previous option needs an argument, assign it.
1503 if test -n "$ac_prev"; then
1504 eval $ac_prev=\$ac_option
1505 ac_prev=
1506 continue
1507 fi
1508
1509 case $ac_option in
1510 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1511 *=) ac_optarg= ;;
1512 *) ac_optarg=yes ;;
1513 esac
1514
1515 # Accept the important Cygnus configure options, so we can diagnose typos.
1516
1517 case $ac_dashdash$ac_option in
1518 --)
1519 ac_dashdash=yes ;;
1520
1521 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1522 ac_prev=bindir ;;
1523 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1524 bindir=$ac_optarg ;;
1525
1526 -build | --build | --buil | --bui | --bu)
1527 ac_prev=build_alias ;;
1528 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1529 build_alias=$ac_optarg ;;
1530
1531 -cache-file | --cache-file | --cache-fil | --cache-fi \
1532 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1533 ac_prev=cache_file ;;
1534 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1535 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1536 cache_file=$ac_optarg ;;
1537
1538 --config-cache | -C)
1539 cache_file=config.cache ;;
1540
1541 -datadir | --datadir | --datadi | --datad)
1542 ac_prev=datadir ;;
1543 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1544 datadir=$ac_optarg ;;
1545
1546 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1547 | --dataroo | --dataro | --datar)
1548 ac_prev=datarootdir ;;
1549 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1550 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1551 datarootdir=$ac_optarg ;;
1552
1553 -disable-* | --disable-*)
1554 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1555 # Reject names that are not valid shell variable names.
1556 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1557 as_fn_error $? "invalid feature name: $ac_useropt"
1558 ac_useropt_orig=$ac_useropt
1559 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1560 case $ac_user_opts in
1561 *"
1562 "enable_$ac_useropt"
1563 "*) ;;
1564 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1565 ac_unrecognized_sep=', ';;
1566 esac
1567 eval enable_$ac_useropt=no ;;
1568
1569 -docdir | --docdir | --docdi | --doc | --do)
1570 ac_prev=docdir ;;
1571 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1572 docdir=$ac_optarg ;;
1573
1574 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1575 ac_prev=dvidir ;;
1576 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1577 dvidir=$ac_optarg ;;
1578
1579 -enable-* | --enable-*)
1580 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1583 as_fn_error $? "invalid feature name: $ac_useropt"
1584 ac_useropt_orig=$ac_useropt
1585 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1587 *"
1588 "enable_$ac_useropt"
1589 "*) ;;
1590 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1591 ac_unrecognized_sep=', ';;
1592 esac
1593 eval enable_$ac_useropt=\$ac_optarg ;;
1594
1595 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1596 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1597 | --exec | --exe | --ex)
1598 ac_prev=exec_prefix ;;
1599 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1600 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1601 | --exec=* | --exe=* | --ex=*)
1602 exec_prefix=$ac_optarg ;;
1603
1604 -gas | --gas | --ga | --g)
1605 # Obsolete; use --with-gas.
1606 with_gas=yes ;;
1607
1608 -help | --help | --hel | --he | -h)
1609 ac_init_help=long ;;
1610 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1611 ac_init_help=recursive ;;
1612 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1613 ac_init_help=short ;;
1614
1615 -host | --host | --hos | --ho)
1616 ac_prev=host_alias ;;
1617 -host=* | --host=* | --hos=* | --ho=*)
1618 host_alias=$ac_optarg ;;
1619
1620 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1621 ac_prev=htmldir ;;
1622 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1623 | --ht=*)
1624 htmldir=$ac_optarg ;;
1625
1626 -includedir | --includedir | --includedi | --included | --include \
1627 | --includ | --inclu | --incl | --inc)
1628 ac_prev=includedir ;;
1629 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1630 | --includ=* | --inclu=* | --incl=* | --inc=*)
1631 includedir=$ac_optarg ;;
1632
1633 -infodir | --infodir | --infodi | --infod | --info | --inf)
1634 ac_prev=infodir ;;
1635 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1636 infodir=$ac_optarg ;;
1637
1638 -libdir | --libdir | --libdi | --libd)
1639 ac_prev=libdir ;;
1640 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1641 libdir=$ac_optarg ;;
1642
1643 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1644 | --libexe | --libex | --libe)
1645 ac_prev=libexecdir ;;
1646 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1647 | --libexe=* | --libex=* | --libe=*)
1648 libexecdir=$ac_optarg ;;
1649
1650 -localedir | --localedir | --localedi | --localed | --locale)
1651 ac_prev=localedir ;;
1652 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1653 localedir=$ac_optarg ;;
1654
1655 -localstatedir | --localstatedir | --localstatedi | --localstated \
1656 | --localstate | --localstat | --localsta | --localst | --locals)
1657 ac_prev=localstatedir ;;
1658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1659 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1660 localstatedir=$ac_optarg ;;
1661
1662 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1663 ac_prev=mandir ;;
1664 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1665 mandir=$ac_optarg ;;
1666
1667 -nfp | --nfp | --nf)
1668 # Obsolete; use --without-fp.
1669 with_fp=no ;;
1670
1671 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1672 | --no-cr | --no-c | -n)
1673 no_create=yes ;;
1674
1675 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1676 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1677 no_recursion=yes ;;
1678
1679 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1680 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1681 | --oldin | --oldi | --old | --ol | --o)
1682 ac_prev=oldincludedir ;;
1683 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1684 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1685 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1686 oldincludedir=$ac_optarg ;;
1687
1688 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1689 ac_prev=prefix ;;
1690 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1691 prefix=$ac_optarg ;;
1692
1693 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1694 | --program-pre | --program-pr | --program-p)
1695 ac_prev=program_prefix ;;
1696 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1697 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1698 program_prefix=$ac_optarg ;;
1699
1700 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1701 | --program-suf | --program-su | --program-s)
1702 ac_prev=program_suffix ;;
1703 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1704 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1705 program_suffix=$ac_optarg ;;
1706
1707 -program-transform-name | --program-transform-name \
1708 | --program-transform-nam | --program-transform-na \
1709 | --program-transform-n | --program-transform- \
1710 | --program-transform | --program-transfor \
1711 | --program-transfo | --program-transf \
1712 | --program-trans | --program-tran \
1713 | --progr-tra | --program-tr | --program-t)
1714 ac_prev=program_transform_name ;;
1715 -program-transform-name=* | --program-transform-name=* \
1716 | --program-transform-nam=* | --program-transform-na=* \
1717 | --program-transform-n=* | --program-transform-=* \
1718 | --program-transform=* | --program-transfor=* \
1719 | --program-transfo=* | --program-transf=* \
1720 | --program-trans=* | --program-tran=* \
1721 | --progr-tra=* | --program-tr=* | --program-t=*)
1722 program_transform_name=$ac_optarg ;;
1723
1724 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1725 ac_prev=pdfdir ;;
1726 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1727 pdfdir=$ac_optarg ;;
1728
1729 -psdir | --psdir | --psdi | --psd | --ps)
1730 ac_prev=psdir ;;
1731 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1732 psdir=$ac_optarg ;;
1733
1734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735 | -silent | --silent | --silen | --sile | --sil)
1736 silent=yes ;;
1737
1738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1739 ac_prev=sbindir ;;
1740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1741 | --sbi=* | --sb=*)
1742 sbindir=$ac_optarg ;;
1743
1744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1746 | --sharedst | --shareds | --shared | --share | --shar \
1747 | --sha | --sh)
1748 ac_prev=sharedstatedir ;;
1749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1752 | --sha=* | --sh=*)
1753 sharedstatedir=$ac_optarg ;;
1754
1755 -site | --site | --sit)
1756 ac_prev=site ;;
1757 -site=* | --site=* | --sit=*)
1758 site=$ac_optarg ;;
1759
1760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1761 ac_prev=srcdir ;;
1762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1763 srcdir=$ac_optarg ;;
1764
1765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1766 | --syscon | --sysco | --sysc | --sys | --sy)
1767 ac_prev=sysconfdir ;;
1768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1770 sysconfdir=$ac_optarg ;;
1771
1772 -target | --target | --targe | --targ | --tar | --ta | --t)
1773 ac_prev=target_alias ;;
1774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1775 target_alias=$ac_optarg ;;
1776
1777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1778 verbose=yes ;;
1779
1780 -version | --version | --versio | --versi | --vers | -V)
1781 ac_init_version=: ;;
1782
1783 -with-* | --with-*)
1784 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1785 # Reject names that are not valid shell variable names.
1786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1787 as_fn_error $? "invalid package name: $ac_useropt"
1788 ac_useropt_orig=$ac_useropt
1789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1790 case $ac_user_opts in
1791 *"
1792 "with_$ac_useropt"
1793 "*) ;;
1794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1795 ac_unrecognized_sep=', ';;
1796 esac
1797 eval with_$ac_useropt=\$ac_optarg ;;
1798
1799 -without-* | --without-*)
1800 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1801 # Reject names that are not valid shell variable names.
1802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1803 as_fn_error $? "invalid package name: $ac_useropt"
1804 ac_useropt_orig=$ac_useropt
1805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1806 case $ac_user_opts in
1807 *"
1808 "with_$ac_useropt"
1809 "*) ;;
1810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1811 ac_unrecognized_sep=', ';;
1812 esac
1813 eval with_$ac_useropt=no ;;
1814
1815 --x)
1816 # Obsolete; use --with-x.
1817 with_x=yes ;;
1818
1819 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1820 | --x-incl | --x-inc | --x-in | --x-i)
1821 ac_prev=x_includes ;;
1822 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1823 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1824 x_includes=$ac_optarg ;;
1825
1826 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1827 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1828 ac_prev=x_libraries ;;
1829 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1830 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1831 x_libraries=$ac_optarg ;;
1832
1833 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1834 Try \`$0 --help' for more information"
1835 ;;
1836
1837 *=*)
1838 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1839 # Reject names that are not valid shell variable names.
1840 case $ac_envvar in #(
1841 '' | [0-9]* | *[!_$as_cr_alnum]* )
1842 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1843 esac
1844 eval $ac_envvar=\$ac_optarg
1845 export $ac_envvar ;;
1846
1847 *)
1848 # FIXME: should be removed in autoconf 3.0.
1849 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1850 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1851 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1852 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1853 ;;
1854
1855 esac
1856 done
1857
1858 if test -n "$ac_prev"; then
1859 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1860 as_fn_error $? "missing argument to $ac_option"
1861 fi
1862
1863 if test -n "$ac_unrecognized_opts"; then
1864 case $enable_option_checking in
1865 no) ;;
1866 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1867 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1868 esac
1869 fi
1870
1871 # Check all directory arguments for consistency.
1872 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1873 datadir sysconfdir sharedstatedir localstatedir includedir \
1874 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1875 libdir localedir mandir
1876 do
1877 eval ac_val=\$$ac_var
1878 # Remove trailing slashes.
1879 case $ac_val in
1880 */ )
1881 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1882 eval $ac_var=\$ac_val;;
1883 esac
1884 # Be sure to have absolute directory names.
1885 case $ac_val in
1886 [\\/$]* | ?:[\\/]* ) continue;;
1887 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1888 esac
1889 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1890 done
1891
1892 # There might be people who depend on the old broken behavior: `$host'
1893 # used to hold the argument of --host etc.
1894 # FIXME: To remove some day.
1895 build=$build_alias
1896 host=$host_alias
1897 target=$target_alias
1898
1899 # FIXME: To remove some day.
1900 if test "x$host_alias" != x; then
1901 if test "x$build_alias" = x; then
1902 cross_compiling=maybe
1903 elif test "x$build_alias" != "x$host_alias"; then
1904 cross_compiling=yes
1905 fi
1906 fi
1907
1908 ac_tool_prefix=
1909 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1910
1911 test "$silent" = yes && exec 6>/dev/null
1912
1913
1914 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1915 ac_ls_di=`ls -di .` &&
1916 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1917 as_fn_error $? "working directory cannot be determined"
1918 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1919 as_fn_error $? "pwd does not report name of working directory"
1920
1921
1922 # Find the source files, if location was not specified.
1923 if test -z "$srcdir"; then
1924 ac_srcdir_defaulted=yes
1925 # Try the directory containing this script, then the parent directory.
1926 ac_confdir=`$as_dirname -- "$as_myself" ||
1927 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1928 X"$as_myself" : 'X\(//\)[^/]' \| \
1929 X"$as_myself" : 'X\(//\)$' \| \
1930 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1931 $as_echo X"$as_myself" |
1932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1933 s//\1/
1934 q
1935 }
1936 /^X\(\/\/\)[^/].*/{
1937 s//\1/
1938 q
1939 }
1940 /^X\(\/\/\)$/{
1941 s//\1/
1942 q
1943 }
1944 /^X\(\/\).*/{
1945 s//\1/
1946 q
1947 }
1948 s/.*/./; q'`
1949 srcdir=$ac_confdir
1950 if test ! -r "$srcdir/$ac_unique_file"; then
1951 srcdir=..
1952 fi
1953 else
1954 ac_srcdir_defaulted=no
1955 fi
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1957 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1958 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1959 fi
1960 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1961 ac_abs_confdir=`(
1962 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1963 pwd)`
1964 # When building in place, set srcdir=.
1965 if test "$ac_abs_confdir" = "$ac_pwd"; then
1966 srcdir=.
1967 fi
1968 # Remove unnecessary trailing slashes from srcdir.
1969 # Double slashes in file names in object file debugging info
1970 # mess up M-x gdb in Emacs.
1971 case $srcdir in
1972 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1973 esac
1974 for ac_var in $ac_precious_vars; do
1975 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1976 eval ac_env_${ac_var}_value=\$${ac_var}
1977 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1978 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1979 done
1980
1981 #
1982 # Report the --help message.
1983 #
1984 if test "$ac_init_help" = "long"; then
1985 # Omit some internal or obsolete options to make the list less imposing.
1986 # This message is too long to be a string in the A/UX 3.1 sh.
1987 cat <<_ACEOF
1988 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1989
1990 Usage: $0 [OPTION]... [VAR=VALUE]...
1991
1992 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1993 VAR=VALUE. See below for descriptions of some of the useful variables.
1994
1995 Defaults for the options are specified in brackets.
1996
1997 Configuration:
1998 -h, --help display this help and exit
1999 --help=short display options specific to this package
2000 --help=recursive display the short help of all the included packages
2001 -V, --version display version information and exit
2002 -q, --quiet, --silent do not print \`checking ...' messages
2003 --cache-file=FILE cache test results in FILE [disabled]
2004 -C, --config-cache alias for \`--cache-file=config.cache'
2005 -n, --no-create do not create output files
2006 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2007
2008 Installation directories:
2009 --prefix=PREFIX install architecture-independent files in PREFIX
2010 [$ac_default_prefix]
2011 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2012 [PREFIX]
2013
2014 By default, \`make install' will install all the files in
2015 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2016 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2017 for instance \`--prefix=\$HOME'.
2018
2019 For better control, use the options below.
2020
2021 Fine tuning of the installation directories:
2022 --bindir=DIR user executables [EPREFIX/bin]
2023 --sbindir=DIR system admin executables [EPREFIX/sbin]
2024 --libexecdir=DIR program executables [EPREFIX/libexec]
2025 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2026 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2027 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2028 --libdir=DIR object code libraries [EPREFIX/lib]
2029 --includedir=DIR C header files [PREFIX/include]
2030 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2031 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2032 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2033 --infodir=DIR info documentation [DATAROOTDIR/info]
2034 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2035 --mandir=DIR man documentation [DATAROOTDIR/man]
2036 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2037 --htmldir=DIR html documentation [DOCDIR]
2038 --dvidir=DIR dvi documentation [DOCDIR]
2039 --pdfdir=DIR pdf documentation [DOCDIR]
2040 --psdir=DIR ps documentation [DOCDIR]
2041 _ACEOF
2042
2043 cat <<\_ACEOF
2044
2045 X features:
2046 --x-includes=DIR X include files are in DIR
2047 --x-libraries=DIR X library files are in DIR
2048
2049 System types:
2050 --build=BUILD configure for building on BUILD [guessed]
2051 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2052 _ACEOF
2053 fi
2054
2055 if test -n "$ac_init_help"; then
2056 case $ac_init_help in
2057 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2058 esac
2059 cat <<\_ACEOF
2060
2061 Optional Features:
2062 --disable-option-checking ignore unrecognized --enable/--with options
2063 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2064 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2065 --disable-gui don't build GUI parts of the library
2066 --enable-monolithic build wxWidgets as single library
2067 --enable-plugins build parts of wxWidgets as loadable components
2068 --enable-official_build official build of wxWidgets (win32 DLL only)
2069 --enable-vendor=VENDOR vendor name (win32 DLL only)
2070 --disable-all-features disable all optional features to build minimal library
2071 --enable-universal use wxWidgets GUI controls instead of native ones
2072 --enable-nanox use NanoX
2073 --enable-gpe use GNOME PDA Environment features if possible
2074 --enable-debug build library for debugging
2075 --disable-debug_flag disable all debugging support
2076 --enable-debug_info generate debug information
2077 --enable-debug_gdb create code with extra GDB debugging information
2078 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2079 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2080 --disable-shared create static library instead of shared
2081 --enable-stl use standard C++ classes for everything
2082 --enable-std_containers use standard C++ container classes
2083 --enable-std_iostreams use standard C++ stream classes
2084 --enable-std_string use standard C++ string classes
2085 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2086 --disable-unicode compile without Unicode support
2087 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2088 --enable-utf8 use UTF-8 representation for strings (Unix only)
2089 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2090 --enable-extended_rtti use extended RTTI (XTI)
2091 --enable-omf use OMF object format
2092 --disable-optimise compile without optimisations
2093 --enable-profile create code with profiling information
2094 --enable-no_rtti create code without RTTI information
2095 --enable-no_exceptions create code without C++ exceptions handling
2096 --enable-permissive compile code disregarding strict ANSI
2097 --enable-no_deps create code without dependency information
2098 --disable-vararg_macros don't use vararg macros, even if they are supported
2099 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2100 --enable-macosx_arch=ARCH build for just the specified architecture
2101 --enable-compat26 enable wxWidgets 2.6 compatibility
2102 --disable-compat28 disable wxWidgets 2.8 compatibility
2103 --disable-rpath disable use of rpath for uninstalled builds
2104 --enable-objc_uniquifying enable Objective-C class name uniquifying
2105 --disable-visibility disable use of ELF symbols visibility even if supported
2106 --disable-tls disable use of compiler TLS support
2107 --enable-intl use internationalization system
2108 --enable-xlocale use x-locale support (requires wxLocale)
2109 --enable-config use wxConfig (and derived) classes
2110 --enable-protocols use wxProtocol and derived classes
2111 --enable-ftp use wxFTP (requires wxProtocol
2112 --enable-http use wxHTTP (requires wxProtocol
2113 --enable-fileproto use wxFileProto class (requires wxProtocol
2114 --enable-sockets use socket/network classes
2115 --enable-ipv6 enable IPv6 support in wxSocket
2116 --enable-ole use OLE classes (Win32 only)
2117 --enable-dataobj use data object classes
2118 --enable-ipc use interprocess communication (wxSocket etc.)
2119 --enable-baseevtloop use event loop in console programs too
2120 --enable-epollloop use wxEpollDispatcher class (Linux only)
2121 --enable-selectloop use wxSelectDispatcher class
2122 --enable-any use wxAny class
2123 --enable-apple_ieee use the Apple IEEE codec
2124 --enable-arcstream use wxArchive streams
2125 --enable-base64 use base64 encoding/decoding functions
2126 --enable-backtrace use wxStackWalker class for getting backtraces
2127 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2128 --enable-cmdline use wxCmdLineParser class
2129 --enable-datetime use wxDateTime class
2130 --enable-debugreport use wxDebugReport class
2131 --enable-dialupman use dialup network classes
2132 --enable-dynlib use wxLibrary class for DLL loading
2133 --enable-dynamicloader use (new) wxDynamicLibrary class
2134 --enable-exceptions build exception-safe library
2135 --enable-ffile use wxFFile class
2136 --enable-file use wxFile class
2137 --enable-filehistory use wxFileHistory class
2138 --enable-filesystem use virtual file systems classes
2139 --enable-fontenum use wxFontEnumerator class
2140 --enable-fontmap use font encodings conversion classes
2141 --enable-fs_archive use virtual archive filesystems
2142 --enable-fs_inet use virtual HTTP/FTP filesystems
2143 --enable-fs_zip now replaced by fs_archive
2144 --enable-fswatcher use wxFileSystemWatcher class
2145 --enable-geometry use geometry class
2146 --enable-log use logging system
2147 --enable-longlong use wxLongLong class
2148 --enable-mimetype use wxMimeTypesManager
2149 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2150 --enable-snglinst use wxSingleInstanceChecker class
2151 --enable-sound use wxSound class
2152 --enable-stdpaths use wxStandardPaths class
2153 --enable-stopwatch use wxStopWatch class
2154 --enable-streams use wxStream etc classes
2155 --enable-sysoptions use wxSystemOptions
2156 --enable-tarstream use wxTar streams
2157 --enable-textbuf use wxTextBuffer class
2158 --enable-textfile use wxTextFile class
2159 --enable-timer use wxTimer class
2160 --enable-variant use wxVariant class
2161 --enable-zipstream use wxZip streams
2162 --enable-url use wxURL class
2163 --enable-protocol use wxProtocol class
2164 --enable-protocol-http HTTP support in wxProtocol
2165 --enable-protocol-ftp FTP support in wxProtocol
2166 --enable-protocol-file FILE support in wxProtocol
2167 --enable-threads use threads
2168 --enable-iniconf use wxIniConfig (Win32 only)
2169 --enable-regkey use wxRegKey class (Win32 only)
2170 --enable-docview use document view architecture
2171 --enable-help use help subsystem
2172 --enable-mshtmlhelp use MS HTML Help (win32)
2173 --enable-html use wxHTML sub-library
2174 --enable-htmlhelp use wxHTML-based help
2175 --enable-xrc use XRC resources sub-library
2176 --enable-aui use AUI docking library
2177 --enable-propgrid use wxPropertyGrid library
2178 --enable-ribbon use wxRibbon library
2179 --enable-stc use wxStyledTextCtrl library
2180 --enable-constraints use layout-constraints system
2181 --enable-loggui use standard GUI logger
2182 --enable-logwin use wxLogWindow
2183 --enable-logdialog use wxLogDialog
2184 --enable-mdi use multiple document interface architecture
2185 --enable-mdidoc use docview architecture with MDI
2186 --enable-mediactrl use wxMediaCtrl class
2187 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2188 --enable-richtext use wxRichTextCtrl
2189 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2190 --enable-printarch use printing architecture
2191 --enable-svg use wxSVGFileDC device context
2192 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2193 --enable-webview use wxWebView library
2194 --enable-graphics_ctx use graphics context 2D drawing API
2195 --enable-clipboard use wxClipboard class
2196 --enable-dnd use Drag'n'Drop classes
2197 --disable-controls disable compilation of all standard controls
2198 --enable-markup support wxControl::SetLabelMarkup
2199 --enable-accel use accelerators
2200 --enable-animatectrl use wxAnimationCtrl class
2201 --enable-bannerwindow use wxBannerWindow class
2202 --enable-artstd use standard XPM icons in wxArtProvider
2203 --enable-arttango use Tango icons in wxArtProvider
2204 --enable-bmpbutton use wxBitmapButton class
2205 --enable-bmpcombobox use wxBitmapComboBox class
2206 --enable-button use wxButton class
2207 --enable-calendar use wxCalendarCtrl class
2208 --enable-caret use wxCaret class
2209 --enable-checkbox use wxCheckBox class
2210 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2211 --enable-choice use wxChoice class
2212 --enable-choicebook use wxChoicebook class
2213 --enable-collpane use wxCollapsiblePane class
2214 --enable-colourpicker use wxColourPickerCtrl class
2215 --enable-combobox use wxComboBox class
2216 --enable-comboctrl use wxComboCtrl class
2217 --enable-commandlinkbutton use wxCommmandLinkButton class
2218 --enable-dataviewctrl use wxDataViewCtrl class
2219 --enable-datepick use wxDatePickerCtrl class
2220 --enable-detect_sm use code to detect X11 session manager
2221 --enable-dirpicker use wxDirPickerCtrl class
2222 --enable-display use wxDisplay class
2223 --enable-editablebox use wxEditableListBox class
2224 --enable-filectrl use wxFileCtrl class
2225 --enable-filepicker use wxFilePickerCtrl class
2226 --enable-fontpicker use wxFontPickerCtrl class
2227 --enable-gauge use wxGauge class
2228 --enable-grid use wxGrid class
2229 --enable-headerctrl use wxHeaderCtrl class
2230 --enable-hyperlink use wxHyperlinkCtrl class
2231 --enable-imaglist use wxImageList class
2232 --enable-infobar use wxInfoBar class
2233 --enable-listbook use wxListbook class
2234 --enable-listbox use wxListBox class
2235 --enable-listctrl use wxListCtrl class
2236 --enable-notebook use wxNotebook class
2237 --enable-notifmsg use wxNotificationMessage class
2238 --enable-odcombobox use wxOwnerDrawnComboBox class
2239 --enable-popupwin use wxPopUpWindow class
2240 --enable-radiobox use wxRadioBox class
2241 --enable-radiobtn use wxRadioButton class
2242 --enable-richmsgdlg use wxRichMessageDialog class
2243 --enable-richtooltip use wxRichToolTip class
2244 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2245 --enable-sash use wxSashWindow class
2246 --enable-scrollbar use wxScrollBar class and scrollable windows
2247 --enable-searchctrl use wxSearchCtrl class
2248 --enable-slider use wxSlider class
2249 --enable-spinbtn use wxSpinButton class
2250 --enable-spinctrl use wxSpinCtrl class
2251 --enable-splitter use wxSplitterWindow class
2252 --enable-statbmp use wxStaticBitmap class
2253 --enable-statbox use wxStaticBox class
2254 --enable-statline use wxStaticLine class
2255 --enable-stattext use wxStaticText class
2256 --enable-statusbar use wxStatusBar class
2257 --enable-taskbaricon use wxTaskBarIcon class
2258 --enable-tbarnative use native wxToolBar class
2259 --enable-textctrl use wxTextCtrl class
2260 --enable-timepick use wxTimePickerCtrl class
2261 --enable-tipwindow use wxTipWindow class
2262 --enable-togglebtn use wxToggleButton class
2263 --enable-toolbar use wxToolBar class
2264 --enable-toolbook use wxToolbook class
2265 --enable-treebook use wxTreebook class
2266 --enable-treectrl use wxTreeCtrl class
2267 --enable-treelist use wxTreeListCtrl class
2268 --enable-commondlg use all common dialogs
2269 --enable-aboutdlg use wxAboutBox
2270 --enable-choicedlg use wxChoiceDialog
2271 --enable-coldlg use wxColourDialog
2272 --enable-filedlg use wxFileDialog
2273 --enable-finddlg use wxFindReplaceDialog
2274 --enable-fontdlg use wxFontDialog
2275 --enable-dirdlg use wxDirDialog
2276 --enable-msgdlg use wxMessageDialog
2277 --enable-numberdlg use wxNumberEntryDialog
2278 --enable-splash use wxSplashScreen
2279 --enable-textdlg use wxTextDialog
2280 --enable-tipdlg use startup tips
2281 --enable-progressdlg use wxProgressDialog
2282 --enable-wizarddlg use wxWizard
2283 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2284 --enable-miniframe use wxMiniFrame class
2285 --enable-tooltips use wxToolTip class
2286 --enable-splines use spline drawing code
2287 --enable-mousewheel use mousewheel
2288 --enable-validators use wxValidator and derived classes
2289 --enable-busyinfo use wxBusyInfo
2290 --enable-hotkey use wxWindow::RegisterHotKey()
2291 --enable-joystick use wxJoystick
2292 --enable-metafiles use wxMetaFile
2293 --enable-dragimage use wxDragImage
2294 --enable-accessibility enable accessibility support
2295 --enable-uiactionsim use wxUIActionSimulator (experimental)
2296 --enable-dctransform use wxDC::SetTransformMatrix and related
2297 --enable-webview_webkit use wxWebView WebKit backend
2298 --enable-palette use wxPalette class
2299 --enable-image use wxImage class
2300 --enable-gif use gif images (GIF file format)
2301 --enable-pcx use pcx images (PCX file format)
2302 --enable-tga use tga images (TGA file format)
2303 --enable-iff use iff images (IFF file format)
2304 --enable-pnm use pnm images (PNM file format)
2305 --enable-xpm use xpm images (XPM file format)
2306 --enable-ico_cur use Windows ICO and CUR formats
2307 --enable-dccache cache temporary wxDC objects (Win32 only)
2308 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2309 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2310 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2311 --enable-wxdib use wxDIB class (Win32 only)
2312 --enable-webview_ie use wxWebView IE backend (Win32 only)
2313 --enable-autoidman use automatic ids management
2314 --disable-largefile omit support for large files
2315 --disable-gtktest do not try to compile and run a test GTK+ program
2316 --disable-gtktest Do not try to compile and run a test GTK program
2317 --disable-sdltest Do not try to compile and run a test SDL program
2318 --enable-omf use OMF object format (OS/2)
2319 --disable-dependency-tracking
2320 don't use dependency tracking even if the compiler
2321 can
2322 --disable-precomp-headers
2323 don't use precompiled headers even if compiler can
2324
2325 Optional Packages:
2326 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2327 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2328 --without-subdirs don't generate makefiles for samples/demos/...
2329 --with-flavour=NAME specify a name to identify this build
2330 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2331 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2332 --with-motif use Motif/Lesstif
2333 --with-osx_carbon use Mac OS X (Carbon)
2334 --with-osx_cocoa use Mac OS X (Cocoa)
2335 --with-osx_iphone use iPhone OS X port
2336 --with-osx use Mac OS X (default port, currently Carbon)
2337 --with-carbon same as --with-osx_carbon
2338 --with-cocoa same as --with-osx_cocoa
2339 --with-iphone same as --with-osx_iphone
2340 --with-mac same as --with-osx
2341 --with-old_cocoa use old, deprecated, Cocoa port
2342 --with-wine use Wine
2343 --with-msw use MS-Windows
2344 --with-pm use OS/2 Presentation Manager
2345 --with-directfb use DirectFB
2346 --with-microwin use MicroWindows
2347 --with-x11 use X11
2348 --with-libpng use libpng (PNG image format)
2349 --with-libjpeg use libjpeg (JPEG file format)
2350 --with-libtiff use libtiff (TIFF file format)
2351 --with-libxpm use libxpm (XPM file format)
2352 --with-libiconv use libiconv (character conversion)
2353 --with-libmspack use libmspack (CHM help files loading)
2354 --without-gtkprint don't use GTK printing support
2355 --without-gnomeprint don't use GNOME printing libraries
2356 --with-gnomevfs use GNOME VFS for associating MIME types
2357 --with-libnotify use libnotify for notifications
2358 --with-hildon use Hildon framework for Nokia 770/800/810
2359 --with-opengl use OpenGL (or Mesa)
2360 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2361 --with-sdl use SDL for audio on Unix
2362 --with-regex enable support for wxRegEx class
2363 --with-zlib use zlib for LZW compression
2364 --with-expat enable XML support using expat parser
2365 --with-macosx-sdk=PATH use an OS X SDK at PATH
2366 --with-macosx-version-min=VER build binaries which require at least this OS X version
2367 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2368 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2369 --with-x use the X Window System
2370 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2371 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2372 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2373 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2374 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2375
2376 Some influential environment variables:
2377 CC C compiler command
2378 CFLAGS C compiler flags
2379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2380 nonstandard directory <lib dir>
2381 LIBS libraries to pass to the linker, e.g. -l<library>
2382 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2383 you have headers in a nonstandard directory <include dir>
2384 CPP C preprocessor
2385 CXX C++ compiler command
2386 CXXFLAGS C++ compiler flags
2387 CXXCPP C++ preprocessor
2388 PKG_CONFIG path to pkg-config utility
2389 DIRECTFB_CFLAGS
2390 C compiler flags for DIRECTFB, overriding pkg-config
2391 DIRECTFB_LIBS
2392 linker flags for DIRECTFB, overriding pkg-config
2393 XMKMF Path to xmkmf, Makefile generator for X Window System
2394 PANGOX_CFLAGS
2395 C compiler flags for PANGOX, overriding pkg-config
2396 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2397 PANGOFT2_CFLAGS
2398 C compiler flags for PANGOFT2, overriding pkg-config
2399 PANGOFT2_LIBS
2400 linker flags for PANGOFT2, overriding pkg-config
2401 PANGOXFT_CFLAGS
2402 C compiler flags for PANGOXFT, overriding pkg-config
2403 PANGOXFT_LIBS
2404 linker flags for PANGOXFT, overriding pkg-config
2405 Xinerama_CFLAGS
2406 C compiler flags for Xinerama, overriding pkg-config
2407 Xinerama_LIBS
2408 linker flags for Xinerama, overriding pkg-config
2409 Xxf86vm_CFLAGS
2410 C compiler flags for Xxf86vm, overriding pkg-config
2411 Xxf86vm_LIBS
2412 linker flags for Xxf86vm, overriding pkg-config
2413 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2414 SM_LIBS linker flags for SM, overriding pkg-config
2415 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2416 GL_LIBS linker flags for GL, overriding pkg-config
2417 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2418 GLU_LIBS linker flags for GLU, overriding pkg-config
2419 MesaGL_CFLAGS
2420 C compiler flags for MesaGL, overriding pkg-config
2421 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2422 GTKPRINT_CFLAGS
2423 C compiler flags for GTKPRINT, overriding pkg-config
2424 GTKPRINT_LIBS
2425 linker flags for GTKPRINT, overriding pkg-config
2426 LIBGNOMEPRINTUI_CFLAGS
2427 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2428 LIBGNOMEPRINTUI_LIBS
2429 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2430 GNOMEVFS_CFLAGS
2431 C compiler flags for GNOMEVFS, overriding pkg-config
2432 GNOMEVFS_LIBS
2433 linker flags for GNOMEVFS, overriding pkg-config
2434 LIBNOTIFY_CFLAGS
2435 C compiler flags for LIBNOTIFY, overriding pkg-config
2436 LIBNOTIFY_LIBS
2437 linker flags for LIBNOTIFY, overriding pkg-config
2438 HILDON_CFLAGS
2439 C compiler flags for HILDON, overriding pkg-config
2440 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2441 HILDON2_CFLAGS
2442 C compiler flags for HILDON2, overriding pkg-config
2443 HILDON2_LIBS
2444 linker flags for HILDON2, overriding pkg-config
2445 WEBKIT_CFLAGS
2446 C compiler flags for WEBKIT, overriding pkg-config
2447 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2448 CAIRO_CFLAGS
2449 C compiler flags for CAIRO, overriding pkg-config
2450 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2451 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2452 GST_LIBS linker flags for GST, overriding pkg-config
2453
2454 Use these variables to override the choices made by `configure' or to help
2455 it to find libraries and programs with nonstandard names/locations.
2456
2457 Report bugs to <wx-dev@lists.wxwidgets.org>.
2458 _ACEOF
2459 ac_status=$?
2460 fi
2461
2462 if test "$ac_init_help" = "recursive"; then
2463 # If there are subdirs, report their specific --help.
2464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2465 test -d "$ac_dir" ||
2466 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2467 continue
2468 ac_builddir=.
2469
2470 case "$ac_dir" in
2471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2472 *)
2473 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2474 # A ".." for each directory in $ac_dir_suffix.
2475 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2476 case $ac_top_builddir_sub in
2477 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2478 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2479 esac ;;
2480 esac
2481 ac_abs_top_builddir=$ac_pwd
2482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2483 # for backward compatibility:
2484 ac_top_builddir=$ac_top_build_prefix
2485
2486 case $srcdir in
2487 .) # We are building in place.
2488 ac_srcdir=.
2489 ac_top_srcdir=$ac_top_builddir_sub
2490 ac_abs_top_srcdir=$ac_pwd ;;
2491 [\\/]* | ?:[\\/]* ) # Absolute name.
2492 ac_srcdir=$srcdir$ac_dir_suffix;
2493 ac_top_srcdir=$srcdir
2494 ac_abs_top_srcdir=$srcdir ;;
2495 *) # Relative name.
2496 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2497 ac_top_srcdir=$ac_top_build_prefix$srcdir
2498 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2499 esac
2500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2501
2502 cd "$ac_dir" || { ac_status=$?; continue; }
2503 # Check for guested configure.
2504 if test -f "$ac_srcdir/configure.gnu"; then
2505 echo &&
2506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2507 elif test -f "$ac_srcdir/configure"; then
2508 echo &&
2509 $SHELL "$ac_srcdir/configure" --help=recursive
2510 else
2511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2512 fi || ac_status=$?
2513 cd "$ac_pwd" || { ac_status=$?; break; }
2514 done
2515 fi
2516
2517 test -n "$ac_init_help" && exit $ac_status
2518 if $ac_init_version; then
2519 cat <<\_ACEOF
2520 wxWidgets configure 2.9.5
2521 generated by GNU Autoconf 2.69
2522
2523 Copyright (C) 2012 Free Software Foundation, Inc.
2524 This configure script is free software; the Free Software Foundation
2525 gives unlimited permission to copy, distribute and modify it.
2526 _ACEOF
2527 exit
2528 fi
2529
2530 ## ------------------------ ##
2531 ## Autoconf initialization. ##
2532 ## ------------------------ ##
2533
2534 # ac_fn_c_try_compile LINENO
2535 # --------------------------
2536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2537 ac_fn_c_try_compile ()
2538 {
2539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2540 rm -f conftest.$ac_objext
2541 if { { ac_try="$ac_compile"
2542 case "(($ac_try" in
2543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544 *) ac_try_echo=$ac_try;;
2545 esac
2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2547 $as_echo "$ac_try_echo"; } >&5
2548 (eval "$ac_compile") 2>conftest.err
2549 ac_status=$?
2550 if test -s conftest.err; then
2551 grep -v '^ *+' conftest.err >conftest.er1
2552 cat conftest.er1 >&5
2553 mv -f conftest.er1 conftest.err
2554 fi
2555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2556 test $ac_status = 0; } && {
2557 test -z "$ac_c_werror_flag" ||
2558 test ! -s conftest.err
2559 } && test -s conftest.$ac_objext; then :
2560 ac_retval=0
2561 else
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2564
2565 ac_retval=1
2566 fi
2567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568 as_fn_set_status $ac_retval
2569
2570 } # ac_fn_c_try_compile
2571
2572 # ac_fn_c_try_cpp LINENO
2573 # ----------------------
2574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2575 ac_fn_c_try_cpp ()
2576 {
2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578 if { { ac_try="$ac_cpp conftest.$ac_ext"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2586 ac_status=$?
2587 if test -s conftest.err; then
2588 grep -v '^ *+' conftest.err >conftest.er1
2589 cat conftest.er1 >&5
2590 mv -f conftest.er1 conftest.err
2591 fi
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } > conftest.i && {
2594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2595 test ! -s conftest.err
2596 }; then :
2597 ac_retval=0
2598 else
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2601
2602 ac_retval=1
2603 fi
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status $ac_retval
2606
2607 } # ac_fn_c_try_cpp
2608
2609 # ac_fn_cxx_try_compile LINENO
2610 # ----------------------------
2611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_cxx_try_compile ()
2613 {
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 rm -f conftest.$ac_objext
2616 if { { ac_try="$ac_compile"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_compile") 2>conftest.err
2624 ac_status=$?
2625 if test -s conftest.err; then
2626 grep -v '^ *+' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 mv -f conftest.er1 conftest.err
2629 fi
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } && {
2632 test -z "$ac_cxx_werror_flag" ||
2633 test ! -s conftest.err
2634 } && test -s conftest.$ac_objext; then :
2635 ac_retval=0
2636 else
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2639
2640 ac_retval=1
2641 fi
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 as_fn_set_status $ac_retval
2644
2645 } # ac_fn_cxx_try_compile
2646
2647 # ac_fn_c_try_link LINENO
2648 # -----------------------
2649 # Try to link conftest.$ac_ext, and return whether this succeeded.
2650 ac_fn_c_try_link ()
2651 {
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 rm -f conftest.$ac_objext conftest$ac_exeext
2654 if { { ac_try="$ac_link"
2655 case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>conftest.err
2662 ac_status=$?
2663 if test -s conftest.err; then
2664 grep -v '^ *+' conftest.err >conftest.er1
2665 cat conftest.er1 >&5
2666 mv -f conftest.er1 conftest.err
2667 fi
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; } && {
2670 test -z "$ac_c_werror_flag" ||
2671 test ! -s conftest.err
2672 } && test -s conftest$ac_exeext && {
2673 test "$cross_compiling" = yes ||
2674 test -x conftest$ac_exeext
2675 }; then :
2676 ac_retval=0
2677 else
2678 $as_echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2680
2681 ac_retval=1
2682 fi
2683 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2684 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2685 # interfere with the next link command; also delete a directory that is
2686 # left behind by Apple's compiler. We do this before executing the actions.
2687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 as_fn_set_status $ac_retval
2690
2691 } # ac_fn_c_try_link
2692
2693 # ac_fn_cxx_try_link LINENO
2694 # -------------------------
2695 # Try to link conftest.$ac_ext, and return whether this succeeded.
2696 ac_fn_cxx_try_link ()
2697 {
2698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2699 rm -f conftest.$ac_objext conftest$ac_exeext
2700 if { { ac_try="$ac_link"
2701 case "(($ac_try" in
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2704 esac
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_link") 2>conftest.err
2708 ac_status=$?
2709 if test -s conftest.err; then
2710 grep -v '^ *+' conftest.err >conftest.er1
2711 cat conftest.er1 >&5
2712 mv -f conftest.er1 conftest.err
2713 fi
2714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2715 test $ac_status = 0; } && {
2716 test -z "$ac_cxx_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest$ac_exeext && {
2719 test "$cross_compiling" = yes ||
2720 test -x conftest$ac_exeext
2721 }; then :
2722 ac_retval=0
2723 else
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2726
2727 ac_retval=1
2728 fi
2729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2731 # interfere with the next link command; also delete a directory that is
2732 # left behind by Apple's compiler. We do this before executing the actions.
2733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 as_fn_set_status $ac_retval
2736
2737 } # ac_fn_cxx_try_link
2738
2739 # ac_fn_c_try_run LINENO
2740 # ----------------------
2741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2742 # that executables *can* be run.
2743 ac_fn_c_try_run ()
2744 {
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 if { { ac_try="$ac_link"
2747 case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>&5
2754 ac_status=$?
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2757 { { case "(($ac_try" in
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2760 esac
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_try") 2>&5
2764 ac_status=$?
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; }; }; then :
2767 ac_retval=0
2768 else
2769 $as_echo "$as_me: program exited with status $ac_status" >&5
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2772
2773 ac_retval=$ac_status
2774 fi
2775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 as_fn_set_status $ac_retval
2778
2779 } # ac_fn_c_try_run
2780
2781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2782 # -------------------------------------------------------
2783 # Tests whether HEADER exists and can be compiled using the include files in
2784 # INCLUDES, setting the cache variable VAR accordingly.
2785 ac_fn_c_check_header_compile ()
2786 {
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2789 $as_echo_n "checking for $2... " >&6; }
2790 if eval \${$3+:} false; then :
2791 $as_echo_n "(cached) " >&6
2792 else
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2795 $4
2796 #include <$2>
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799 eval "$3=yes"
2800 else
2801 eval "$3=no"
2802 fi
2803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 fi
2805 eval ac_res=\$$3
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2807 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809
2810 } # ac_fn_c_check_header_compile
2811
2812 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2813 # --------------------------------------------
2814 # Tries to find the compile-time value of EXPR in a program that includes
2815 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2816 # computed
2817 ac_fn_c_compute_int ()
2818 {
2819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2820 if test "$cross_compiling" = yes; then
2821 # Depending upon the size, compute the lo and hi bounds.
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2824 $4
2825 int
2826 main ()
2827 {
2828 static int test_array [1 - 2 * !(($2) >= 0)];
2829 test_array [0] = 0;
2830 return test_array [0];
2831
2832 ;
2833 return 0;
2834 }
2835 _ACEOF
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 ac_lo=0 ac_mid=0
2838 while :; do
2839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2840 /* end confdefs.h. */
2841 $4
2842 int
2843 main ()
2844 {
2845 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2846 test_array [0] = 0;
2847 return test_array [0];
2848
2849 ;
2850 return 0;
2851 }
2852 _ACEOF
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 ac_hi=$ac_mid; break
2855 else
2856 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2857 if test $ac_lo -le $ac_mid; then
2858 ac_lo= ac_hi=
2859 break
2860 fi
2861 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2862 fi
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 done
2865 else
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2868 $4
2869 int
2870 main ()
2871 {
2872 static int test_array [1 - 2 * !(($2) < 0)];
2873 test_array [0] = 0;
2874 return test_array [0];
2875
2876 ;
2877 return 0;
2878 }
2879 _ACEOF
2880 if ac_fn_c_try_compile "$LINENO"; then :
2881 ac_hi=-1 ac_mid=-1
2882 while :; do
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2885 $4
2886 int
2887 main ()
2888 {
2889 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2890 test_array [0] = 0;
2891 return test_array [0];
2892
2893 ;
2894 return 0;
2895 }
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 ac_lo=$ac_mid; break
2899 else
2900 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2901 if test $ac_mid -le $ac_hi; then
2902 ac_lo= ac_hi=
2903 break
2904 fi
2905 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2906 fi
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 done
2909 else
2910 ac_lo= ac_hi=
2911 fi
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 fi
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 # Binary search between lo and hi bounds.
2916 while test "x$ac_lo" != "x$ac_hi"; do
2917 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2920 $4
2921 int
2922 main ()
2923 {
2924 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2925 test_array [0] = 0;
2926 return test_array [0];
2927
2928 ;
2929 return 0;
2930 }
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 ac_hi=$ac_mid
2934 else
2935 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2936 fi
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 done
2939 case $ac_lo in #((
2940 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2941 '') ac_retval=1 ;;
2942 esac
2943 else
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 $4
2947 static long int longval () { return $2; }
2948 static unsigned long int ulongval () { return $2; }
2949 #include <stdio.h>
2950 #include <stdlib.h>
2951 int
2952 main ()
2953 {
2954
2955 FILE *f = fopen ("conftest.val", "w");
2956 if (! f)
2957 return 1;
2958 if (($2) < 0)
2959 {
2960 long int i = longval ();
2961 if (i != ($2))
2962 return 1;
2963 fprintf (f, "%ld", i);
2964 }
2965 else
2966 {
2967 unsigned long int i = ulongval ();
2968 if (i != ($2))
2969 return 1;
2970 fprintf (f, "%lu", i);
2971 }
2972 /* Do not output a trailing newline, as this causes \r\n confusion
2973 on some platforms. */
2974 return ferror (f) || fclose (f) != 0;
2975
2976 ;
2977 return 0;
2978 }
2979 _ACEOF
2980 if ac_fn_c_try_run "$LINENO"; then :
2981 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2982 else
2983 ac_retval=1
2984 fi
2985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2986 conftest.$ac_objext conftest.beam conftest.$ac_ext
2987 rm -f conftest.val
2988
2989 fi
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 as_fn_set_status $ac_retval
2992
2993 } # ac_fn_c_compute_int
2994
2995 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2996 # ---------------------------------------------------------
2997 # Tests whether HEADER exists and can be compiled using the include files in
2998 # INCLUDES, setting the cache variable VAR accordingly.
2999 ac_fn_cxx_check_header_compile ()
3000 {
3001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3003 $as_echo_n "checking for $2... " >&6; }
3004 if eval \${$3+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3009 $4
3010 #include <$2>
3011 _ACEOF
3012 if ac_fn_cxx_try_compile "$LINENO"; then :
3013 eval "$3=yes"
3014 else
3015 eval "$3=no"
3016 fi
3017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018 fi
3019 eval ac_res=\$$3
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3021 $as_echo "$ac_res" >&6; }
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023
3024 } # ac_fn_cxx_check_header_compile
3025
3026 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3027 # ---------------------------------------------
3028 # Tests whether TYPE exists after having included INCLUDES, setting cache
3029 # variable VAR accordingly.
3030 ac_fn_cxx_check_type ()
3031 {
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 eval "$3=no"
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3041 $4
3042 int
3043 main ()
3044 {
3045 if (sizeof ($2))
3046 return 0;
3047 ;
3048 return 0;
3049 }
3050 _ACEOF
3051 if ac_fn_cxx_try_compile "$LINENO"; then :
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3054 $4
3055 int
3056 main ()
3057 {
3058 if (sizeof (($2)))
3059 return 0;
3060 ;
3061 return 0;
3062 }
3063 _ACEOF
3064 if ac_fn_cxx_try_compile "$LINENO"; then :
3065
3066 else
3067 eval "$3=yes"
3068 fi
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 fi
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 fi
3073 eval ac_res=\$$3
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3075 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3077
3078 } # ac_fn_cxx_check_type
3079
3080 # ac_fn_cxx_try_cpp LINENO
3081 # ------------------------
3082 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3083 ac_fn_cxx_try_cpp ()
3084 {
3085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086 if { { ac_try="$ac_cpp conftest.$ac_ext"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3094 ac_status=$?
3095 if test -s conftest.err; then
3096 grep -v '^ *+' conftest.err >conftest.er1
3097 cat conftest.er1 >&5
3098 mv -f conftest.er1 conftest.err
3099 fi
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; } > conftest.i && {
3102 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3103 test ! -s conftest.err
3104 }; then :
3105 ac_retval=0
3106 else
3107 $as_echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3109
3110 ac_retval=1
3111 fi
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 as_fn_set_status $ac_retval
3114
3115 } # ac_fn_cxx_try_cpp
3116
3117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3118 # ---------------------------------------------------------
3119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3120 # the include files in INCLUDES and setting the cache variable VAR
3121 # accordingly.
3122 ac_fn_cxx_check_header_mongrel ()
3123 {
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 if eval \${$3+:} false; then :
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3127 $as_echo_n "checking for $2... " >&6; }
3128 if eval \${$3+:} false; then :
3129 $as_echo_n "(cached) " >&6
3130 fi
3131 eval ac_res=\$$3
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3133 $as_echo "$ac_res" >&6; }
3134 else
3135 # Is the header compilable?
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3137 $as_echo_n "checking $2 usability... " >&6; }
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3140 $4
3141 #include <$2>
3142 _ACEOF
3143 if ac_fn_cxx_try_compile "$LINENO"; then :
3144 ac_header_compiler=yes
3145 else
3146 ac_header_compiler=no
3147 fi
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3150 $as_echo "$ac_header_compiler" >&6; }
3151
3152 # Is the header present?
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3154 $as_echo_n "checking $2 presence... " >&6; }
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3157 #include <$2>
3158 _ACEOF
3159 if ac_fn_cxx_try_cpp "$LINENO"; then :
3160 ac_header_preproc=yes
3161 else
3162 ac_header_preproc=no
3163 fi
3164 rm -f conftest.err conftest.i conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3166 $as_echo "$ac_header_preproc" >&6; }
3167
3168 # So? What about this header?
3169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3170 yes:no: )
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ;;
3176 no:yes:* )
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3180 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3184 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3187 ( $as_echo "## ----------------------------------------- ##
3188 ## Report this to wx-dev@lists.wxwidgets.org ##
3189 ## ----------------------------------------- ##"
3190 ) | sed "s/^/$as_me: WARNING: /" >&2
3191 ;;
3192 esac
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3194 $as_echo_n "checking for $2... " >&6; }
3195 if eval \${$3+:} false; then :
3196 $as_echo_n "(cached) " >&6
3197 else
3198 eval "$3=\$ac_header_compiler"
3199 fi
3200 eval ac_res=\$$3
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3202 $as_echo "$ac_res" >&6; }
3203 fi
3204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3205
3206 } # ac_fn_cxx_check_header_mongrel
3207
3208 # ac_fn_c_check_func LINENO FUNC VAR
3209 # ----------------------------------
3210 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3211 ac_fn_c_check_func ()
3212 {
3213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3215 $as_echo_n "checking for $2... " >&6; }
3216 if eval \${$3+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3221 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3223 #define $2 innocuous_$2
3224
3225 /* System header to define __stub macros and hopefully few prototypes,
3226 which can conflict with char $2 (); below.
3227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 <limits.h> exists even on freestanding compilers. */
3229
3230 #ifdef __STDC__
3231 # include <limits.h>
3232 #else
3233 # include <assert.h>
3234 #endif
3235
3236 #undef $2
3237
3238 /* Override any GCC internal prototype to avoid an error.
3239 Use char because int might match the return type of a GCC
3240 builtin and then its argument prototype would still apply. */
3241 #ifdef __cplusplus
3242 extern "C"
3243 #endif
3244 char $2 ();
3245 /* The GNU C library defines this for functions which it implements
3246 to always fail with ENOSYS. Some functions are actually named
3247 something starting with __ and the normal name is an alias. */
3248 #if defined __stub_$2 || defined __stub___$2
3249 choke me
3250 #endif
3251
3252 int
3253 main ()
3254 {
3255 return $2 ();
3256 ;
3257 return 0;
3258 }
3259 _ACEOF
3260 if ac_fn_c_try_link "$LINENO"; then :
3261 eval "$3=yes"
3262 else
3263 eval "$3=no"
3264 fi
3265 rm -f core conftest.err conftest.$ac_objext \
3266 conftest$ac_exeext conftest.$ac_ext
3267 fi
3268 eval ac_res=\$$3
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3270 $as_echo "$ac_res" >&6; }
3271 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3272
3273 } # ac_fn_c_check_func
3274
3275 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3276 # -------------------------------------------
3277 # Tests whether TYPE exists after having included INCLUDES, setting cache
3278 # variable VAR accordingly.
3279 ac_fn_c_check_type ()
3280 {
3281 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3283 $as_echo_n "checking for $2... " >&6; }
3284 if eval \${$3+:} false; then :
3285 $as_echo_n "(cached) " >&6
3286 else
3287 eval "$3=no"
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3290 $4
3291 int
3292 main ()
3293 {
3294 if (sizeof ($2))
3295 return 0;
3296 ;
3297 return 0;
3298 }
3299 _ACEOF
3300 if ac_fn_c_try_compile "$LINENO"; then :
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3303 $4
3304 int
3305 main ()
3306 {
3307 if (sizeof (($2)))
3308 return 0;
3309 ;
3310 return 0;
3311 }
3312 _ACEOF
3313 if ac_fn_c_try_compile "$LINENO"; then :
3314
3315 else
3316 eval "$3=yes"
3317 fi
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 fi
3320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 fi
3322 eval ac_res=\$$3
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3324 $as_echo "$ac_res" >&6; }
3325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3326
3327 } # ac_fn_c_check_type
3328
3329 # ac_fn_cxx_try_run LINENO
3330 # ------------------------
3331 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3332 # that executables *can* be run.
3333 ac_fn_cxx_try_run ()
3334 {
3335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3336 if { { ac_try="$ac_link"
3337 case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3340 esac
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_link") 2>&5
3344 ac_status=$?
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3347 { { case "(($ac_try" in
3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3349 *) ac_try_echo=$ac_try;;
3350 esac
3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3352 $as_echo "$ac_try_echo"; } >&5
3353 (eval "$ac_try") 2>&5
3354 ac_status=$?
3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3356 test $ac_status = 0; }; }; then :
3357 ac_retval=0
3358 else
3359 $as_echo "$as_me: program exited with status $ac_status" >&5
3360 $as_echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3362
3363 ac_retval=$ac_status
3364 fi
3365 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3367 as_fn_set_status $ac_retval
3368
3369 } # ac_fn_cxx_try_run
3370 cat >config.log <<_ACEOF
3371 This file contains any messages produced by compilers while
3372 running configure, to aid debugging if configure makes a mistake.
3373
3374 It was created by wxWidgets $as_me 2.9.5, which was
3375 generated by GNU Autoconf 2.69. Invocation command line was
3376
3377 $ $0 $@
3378
3379 _ACEOF
3380 exec 5>>config.log
3381 {
3382 cat <<_ASUNAME
3383 ## --------- ##
3384 ## Platform. ##
3385 ## --------- ##
3386
3387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3392
3393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3395
3396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3403
3404 _ASUNAME
3405
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3408 do
3409 IFS=$as_save_IFS
3410 test -z "$as_dir" && as_dir=.
3411 $as_echo "PATH: $as_dir"
3412 done
3413 IFS=$as_save_IFS
3414
3415 } >&5
3416
3417 cat >&5 <<_ACEOF
3418
3419
3420 ## ----------- ##
3421 ## Core tests. ##
3422 ## ----------- ##
3423
3424 _ACEOF
3425
3426
3427 # Keep a trace of the command line.
3428 # Strip out --no-create and --no-recursion so they do not pile up.
3429 # Strip out --silent because we don't want to record it for future runs.
3430 # Also quote any args containing shell meta-characters.
3431 # Make two passes to allow for proper duplicate-argument suppression.
3432 ac_configure_args=
3433 ac_configure_args0=
3434 ac_configure_args1=
3435 ac_must_keep_next=false
3436 for ac_pass in 1 2
3437 do
3438 for ac_arg
3439 do
3440 case $ac_arg in
3441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3443 | -silent | --silent | --silen | --sile | --sil)
3444 continue ;;
3445 *\'*)
3446 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3447 esac
3448 case $ac_pass in
3449 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3450 2)
3451 as_fn_append ac_configure_args1 " '$ac_arg'"
3452 if test $ac_must_keep_next = true; then
3453 ac_must_keep_next=false # Got value, back to normal.
3454 else
3455 case $ac_arg in
3456 *=* | --config-cache | -C | -disable-* | --disable-* \
3457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3459 | -with-* | --with-* | -without-* | --without-* | --x)
3460 case "$ac_configure_args0 " in
3461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3462 esac
3463 ;;
3464 -* ) ac_must_keep_next=true ;;
3465 esac
3466 fi
3467 as_fn_append ac_configure_args " '$ac_arg'"
3468 ;;
3469 esac
3470 done
3471 done
3472 { ac_configure_args0=; unset ac_configure_args0;}
3473 { ac_configure_args1=; unset ac_configure_args1;}
3474
3475 # When interrupted or exit'd, cleanup temporary files, and complete
3476 # config.log. We remove comments because anyway the quotes in there
3477 # would cause problems or look ugly.
3478 # WARNING: Use '\'' to represent an apostrophe within the trap.
3479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3480 trap 'exit_status=$?
3481 # Save into config.log some information that might help in debugging.
3482 {
3483 echo
3484
3485 $as_echo "## ---------------- ##
3486 ## Cache variables. ##
3487 ## ---------------- ##"
3488 echo
3489 # The following way of writing the cache mishandles newlines in values,
3490 (
3491 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3492 eval ac_val=\$$ac_var
3493 case $ac_val in #(
3494 *${as_nl}*)
3495 case $ac_var in #(
3496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3498 esac
3499 case $ac_var in #(
3500 _ | IFS | as_nl) ;; #(
3501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3502 *) { eval $ac_var=; unset $ac_var;} ;;
3503 esac ;;
3504 esac
3505 done
3506 (set) 2>&1 |
3507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3508 *${as_nl}ac_space=\ *)
3509 sed -n \
3510 "s/'\''/'\''\\\\'\'''\''/g;
3511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3512 ;; #(
3513 *)
3514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3515 ;;
3516 esac |
3517 sort
3518 )
3519 echo
3520
3521 $as_echo "## ----------------- ##
3522 ## Output variables. ##
3523 ## ----------------- ##"
3524 echo
3525 for ac_var in $ac_subst_vars
3526 do
3527 eval ac_val=\$$ac_var
3528 case $ac_val in
3529 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3530 esac
3531 $as_echo "$ac_var='\''$ac_val'\''"
3532 done | sort
3533 echo
3534
3535 if test -n "$ac_subst_files"; then
3536 $as_echo "## ------------------- ##
3537 ## File substitutions. ##
3538 ## ------------------- ##"
3539 echo
3540 for ac_var in $ac_subst_files
3541 do
3542 eval ac_val=\$$ac_var
3543 case $ac_val in
3544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3545 esac
3546 $as_echo "$ac_var='\''$ac_val'\''"
3547 done | sort
3548 echo
3549 fi
3550
3551 if test -s confdefs.h; then
3552 $as_echo "## ----------- ##
3553 ## confdefs.h. ##
3554 ## ----------- ##"
3555 echo
3556 cat confdefs.h
3557 echo
3558 fi
3559 test "$ac_signal" != 0 &&
3560 $as_echo "$as_me: caught signal $ac_signal"
3561 $as_echo "$as_me: exit $exit_status"
3562 } >&5
3563 rm -f core *.core core.conftest.* &&
3564 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3565 exit $exit_status
3566 ' 0
3567 for ac_signal in 1 2 13 15; do
3568 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3569 done
3570 ac_signal=0
3571
3572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3573 rm -f -r conftest* confdefs.h
3574
3575 $as_echo "/* confdefs.h */" > confdefs.h
3576
3577 # Predefined preprocessor variables.
3578
3579 cat >>confdefs.h <<_ACEOF
3580 #define PACKAGE_NAME "$PACKAGE_NAME"
3581 _ACEOF
3582
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3585 _ACEOF
3586
3587 cat >>confdefs.h <<_ACEOF
3588 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3589 _ACEOF
3590
3591 cat >>confdefs.h <<_ACEOF
3592 #define PACKAGE_STRING "$PACKAGE_STRING"
3593 _ACEOF
3594
3595 cat >>confdefs.h <<_ACEOF
3596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3597 _ACEOF
3598
3599 cat >>confdefs.h <<_ACEOF
3600 #define PACKAGE_URL "$PACKAGE_URL"
3601 _ACEOF
3602
3603
3604 # Let the site file select an alternate cache file if it wants to.
3605 # Prefer an explicitly selected file to automatically selected ones.
3606 ac_site_file1=NONE
3607 ac_site_file2=NONE
3608 if test -n "$CONFIG_SITE"; then
3609 # We do not want a PATH search for config.site.
3610 case $CONFIG_SITE in #((
3611 -*) ac_site_file1=./$CONFIG_SITE;;
3612 */*) ac_site_file1=$CONFIG_SITE;;
3613 *) ac_site_file1=./$CONFIG_SITE;;
3614 esac
3615 elif test "x$prefix" != xNONE; then
3616 ac_site_file1=$prefix/share/config.site
3617 ac_site_file2=$prefix/etc/config.site
3618 else
3619 ac_site_file1=$ac_default_prefix/share/config.site
3620 ac_site_file2=$ac_default_prefix/etc/config.site
3621 fi
3622 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3623 do
3624 test "x$ac_site_file" = xNONE && continue
3625 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3627 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3628 sed 's/^/| /' "$ac_site_file" >&5
3629 . "$ac_site_file" \
3630 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $? "failed to load site script $ac_site_file
3633 See \`config.log' for more details" "$LINENO" 5; }
3634 fi
3635 done
3636
3637 if test -r "$cache_file"; then
3638 # Some versions of bash will fail to source /dev/null (special files
3639 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3640 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3642 $as_echo "$as_me: loading cache $cache_file" >&6;}
3643 case $cache_file in
3644 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3645 *) . "./$cache_file";;
3646 esac
3647 fi
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3650 $as_echo "$as_me: creating cache $cache_file" >&6;}
3651 >$cache_file
3652 fi
3653
3654 # Check that the precious variables saved in the cache have kept the same
3655 # value.
3656 ac_cache_corrupted=false
3657 for ac_var in $ac_precious_vars; do
3658 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3659 eval ac_new_set=\$ac_env_${ac_var}_set
3660 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3661 eval ac_new_val=\$ac_env_${ac_var}_value
3662 case $ac_old_set,$ac_new_set in
3663 set,)
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3665 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3666 ac_cache_corrupted=: ;;
3667 ,set)
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3669 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3670 ac_cache_corrupted=: ;;
3671 ,);;
3672 *)
3673 if test "x$ac_old_val" != "x$ac_new_val"; then
3674 # differences in whitespace do not lead to failure.
3675 ac_old_val_w=`echo x $ac_old_val`
3676 ac_new_val_w=`echo x $ac_new_val`
3677 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3679 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3680 ac_cache_corrupted=:
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3683 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3684 eval $ac_var=\$ac_old_val
3685 fi
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3687 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3689 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3690 fi;;
3691 esac
3692 # Pass precious variables to config.status.
3693 if test "$ac_new_set" = set; then
3694 case $ac_new_val in
3695 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3696 *) ac_arg=$ac_var=$ac_new_val ;;
3697 esac
3698 case " $ac_configure_args " in
3699 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3700 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3701 esac
3702 fi
3703 done
3704 if $ac_cache_corrupted; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3708 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3709 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3710 fi
3711 ## -------------------- ##
3712 ## Main body of script. ##
3713 ## -------------------- ##
3714
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720
3721
3722
3723
3724
3725 ac_aux_dir=
3726 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3727 if test -f "$ac_dir/install-sh"; then
3728 ac_aux_dir=$ac_dir
3729 ac_install_sh="$ac_aux_dir/install-sh -c"
3730 break
3731 elif test -f "$ac_dir/install.sh"; then
3732 ac_aux_dir=$ac_dir
3733 ac_install_sh="$ac_aux_dir/install.sh -c"
3734 break
3735 elif test -f "$ac_dir/shtool"; then
3736 ac_aux_dir=$ac_dir
3737 ac_install_sh="$ac_aux_dir/shtool install -c"
3738 break
3739 fi
3740 done
3741 if test -z "$ac_aux_dir"; then
3742 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3743 fi
3744
3745 # These three variables are undocumented and unsupported,
3746 # and are intended to be withdrawn in a future Autoconf release.
3747 # They can cause serious problems if a builder's source tree is in a directory
3748 # whose full name contains unusual characters.
3749 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3750 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3751 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3752
3753
3754 # Make sure we can run config.sub.
3755 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3756 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3757
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3759 $as_echo_n "checking build system type... " >&6; }
3760 if ${ac_cv_build+:} false; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 ac_build_alias=$build_alias
3764 test "x$ac_build_alias" = x &&
3765 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3766 test "x$ac_build_alias" = x &&
3767 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3768 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3769 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3770
3771 fi
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3773 $as_echo "$ac_cv_build" >&6; }
3774 case $ac_cv_build in
3775 *-*-*) ;;
3776 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3777 esac
3778 build=$ac_cv_build
3779 ac_save_IFS=$IFS; IFS='-'
3780 set x $ac_cv_build
3781 shift
3782 build_cpu=$1
3783 build_vendor=$2
3784 shift; shift
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3787 build_os=$*
3788 IFS=$ac_save_IFS
3789 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3790
3791
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3793 $as_echo_n "checking host system type... " >&6; }
3794 if ${ac_cv_host+:} false; then :
3795 $as_echo_n "(cached) " >&6
3796 else
3797 if test "x$host_alias" = x; then
3798 ac_cv_host=$ac_cv_build
3799 else
3800 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3801 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3802 fi
3803
3804 fi
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3806 $as_echo "$ac_cv_host" >&6; }
3807 case $ac_cv_host in
3808 *-*-*) ;;
3809 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3810 esac
3811 host=$ac_cv_host
3812 ac_save_IFS=$IFS; IFS='-'
3813 set x $ac_cv_host
3814 shift
3815 host_cpu=$1
3816 host_vendor=$2
3817 shift; shift
3818 # Remember, the first character of IFS is used to create $*,
3819 # except with old shells:
3820 host_os=$*
3821 IFS=$ac_save_IFS
3822 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3823
3824
3825
3826 if test "$cross_compiling" != "no"; then
3827 HOST_PREFIX="${host_alias}-"
3828 HOST_SUFFIX="-$host_alias"
3829 else
3830 HOST_PREFIX=
3831 HOST_SUFFIX=
3832 fi
3833
3834
3835 wx_major_version_number=2
3836 wx_minor_version_number=9
3837 wx_release_number=5
3838 wx_subrelease_number=0
3839
3840 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3841 WX_VERSION=$WX_RELEASE.$wx_release_number
3842 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3843
3844 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3845
3846
3847 wx_top_builddir="`pwd`"
3848
3849
3850
3851
3852 USE_UNIX=1
3853 USE_OS2=0
3854 USE_WIN32=0
3855 USE_DOS=0
3856 USE_BEOS=0
3857 USE_MAC=0
3858
3859 USE_AIX=
3860 USE_BSD= USE_DARWIN= USE_FREEBSD=
3861 USE_GNU= USE_HPUX=
3862 USE_LINUX=
3863 USE_NETBSD=
3864 USE_OPENBSD=
3865 USE_OSF= USE_SGI=
3866 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3867 USE_ULTRIX=
3868 USE_UNIXWARE=
3869
3870 USE_ALPHA=
3871
3872 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3873
3874 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3875
3876 DEFAULT_wxUSE_OLD_COCOA=0
3877 DEFAULT_wxUSE_GTK=0
3878 DEFAULT_wxUSE_OSX_CARBON=0
3879 DEFAULT_wxUSE_OSX_COCOA=0
3880 DEFAULT_wxUSE_OSX_IPHONE=0
3881 DEFAULT_wxUSE_MICROWIN=0
3882 DEFAULT_wxUSE_MOTIF=0
3883 DEFAULT_wxUSE_MSW=0
3884 DEFAULT_wxUSE_PM=0
3885 DEFAULT_wxUSE_X11=0
3886 DEFAULT_wxUSE_DFB=0
3887
3888 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3889 DEFAULT_DEFAULT_wxUSE_GTK=0
3890 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3891 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3892 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3893 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3894 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3895 DEFAULT_DEFAULT_wxUSE_MSW=0
3896 DEFAULT_DEFAULT_wxUSE_PM=0
3897 DEFAULT_DEFAULT_wxUSE_X11=0
3898 DEFAULT_DEFAULT_wxUSE_DFB=0
3899
3900 PROGRAM_EXT=
3901 SAMPLES_RPATH_FLAG=
3902 DYLIB_RPATH_INSTALL=
3903 DYLIB_RPATH_POSTLINK=
3904
3905 DEFAULT_STD_FLAG=yes
3906
3907 case "${host}" in
3908 *-hp-hpux* )
3909 USE_HPUX=1
3910 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3911 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3912 $as_echo "#define __HPUX__ 1" >>confdefs.h
3913
3914
3915 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3916 ;;
3917 *-*-linux* )
3918 USE_LINUX=1
3919 $as_echo "#define __LINUX__ 1" >>confdefs.h
3920
3921 TMP=`uname -m`
3922 if test "x$TMP" = "xalpha"; then
3923 USE_ALPHA=1
3924 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3925
3926 fi
3927 DEFAULT_DEFAULT_wxUSE_GTK=1
3928 ;;
3929 *-*-gnu* | *-*-k*bsd*-gnu )
3930 USE_GNU=1
3931 TMP=`uname -m`
3932 if test "x$TMP" = "xalpha"; then
3933 USE_ALPHA=1
3934 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3935
3936 fi
3937 DEFAULT_DEFAULT_wxUSE_GTK=1
3938 ;;
3939 *-*-irix5* | *-*-irix6* )
3940 USE_SGI=1
3941 USE_SVR4=1
3942 $as_echo "#define __SGI__ 1" >>confdefs.h
3943
3944 $as_echo "#define __SVR4__ 1" >>confdefs.h
3945
3946 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3947 ;;
3948 *-*-qnx*)
3949 USE_QNX=1
3950 $as_echo "#define __QNX__ 1" >>confdefs.h
3951
3952 DEFAULT_DEFAULT_wxUSE_X11=1
3953 ;;
3954 *-*-solaris2* )
3955 USE_SUN=1
3956 USE_SOLARIS=1
3957 USE_SVR4=1
3958 $as_echo "#define __SUN__ 1" >>confdefs.h
3959
3960 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3961
3962 $as_echo "#define __SVR4__ 1" >>confdefs.h
3963
3964 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3965 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3966 ;;
3967 *-*-sunos4* )
3968 USE_SUN=1
3969 USE_SUNOS=1
3970 USE_BSD=1
3971 $as_echo "#define __SUN__ 1" >>confdefs.h
3972
3973 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3974
3975 $as_echo "#define __BSD__ 1" >>confdefs.h
3976
3977 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3978 ;;
3979 *-*-freebsd*)
3980 USE_BSD=1
3981 USE_FREEBSD=1
3982 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3983
3984 $as_echo "#define __BSD__ 1" >>confdefs.h
3985
3986 DEFAULT_DEFAULT_wxUSE_GTK=1
3987 ;;
3988 *-*-openbsd*|*-*-mirbsd*)
3989 USE_BSD=1
3990 USE_OPENBSD=1
3991 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3992
3993 $as_echo "#define __BSD__ 1" >>confdefs.h
3994
3995 DEFAULT_DEFAULT_wxUSE_GTK=1
3996 ;;
3997 *-*-netbsd*)
3998 USE_BSD=1
3999 USE_NETBSD=1
4000 $as_echo "#define __NETBSD__ 1" >>confdefs.h
4001
4002 $as_echo "#define __BSD__ 1" >>confdefs.h
4003
4004 DEFAULT_DEFAULT_wxUSE_GTK=1
4005 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4006
4007 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4008 ;;
4009 *-*-osf* )
4010 USE_ALPHA=1
4011 USE_OSF=1
4012 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4013
4014 $as_echo "#define __OSF__ 1" >>confdefs.h
4015
4016 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4017 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4018 ;;
4019 *-*-dgux5* )
4020 USE_ALPHA=1
4021 USE_SVR4=1
4022 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4023
4024 $as_echo "#define __SVR4__ 1" >>confdefs.h
4025
4026 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4027 ;;
4028 *-*-sysv5* )
4029 USE_SYSV=1
4030 USE_SVR4=1
4031 $as_echo "#define __SYSV__ 1" >>confdefs.h
4032
4033 $as_echo "#define __SVR4__ 1" >>confdefs.h
4034
4035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4036 ;;
4037 *-*-aix* )
4038 USE_AIX=1
4039 USE_SYSV=1
4040 USE_SVR4=1
4041 $as_echo "#define __AIX__ 1" >>confdefs.h
4042
4043 $as_echo "#define __SYSV__ 1" >>confdefs.h
4044
4045 $as_echo "#define __SVR4__ 1" >>confdefs.h
4046
4047 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4048 ;;
4049
4050 *-*-*UnixWare*)
4051 USE_SYSV=1
4052 USE_SVR4=1
4053 USE_UNIXWARE=1
4054 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4055
4056 ;;
4057
4058 *-*-cygwin* | *-*-mingw32* )
4059 PROGRAM_EXT=".exe"
4060 DEFAULT_DEFAULT_wxUSE_MSW=1
4061 ;;
4062
4063 *-pc-msdosdjgpp )
4064 USE_UNIX=0
4065 USE_DOS=1
4066 $as_echo "#define __DOS__ 1" >>confdefs.h
4067
4068 PROGRAM_EXT=".exe"
4069 ;;
4070
4071 *-pc-os2_emx | *-pc-os2-emx )
4072 $as_echo "#define __EMX__ 1" >>confdefs.h
4073
4074 USE_OS2=1
4075 $as_echo "#define __OS2__ 1" >>confdefs.h
4076
4077 PROGRAM_EXT=".exe"
4078 DEFAULT_DEFAULT_wxUSE_PM=1
4079 CXX=gcc
4080 LDFLAGS="$LDFLAGS -Zcrtdll"
4081 ac_executable_extensions=".exe"
4082 export ac_executable_extensions
4083 ac_save_IFS="$IFS"
4084 IFS='\\'
4085 ac_TEMP_PATH=
4086 for ac_dir in $PATH; do
4087 IFS=$ac_save_IFS
4088 if test -z "$ac_TEMP_PATH"; then
4089 ac_TEMP_PATH="$ac_dir"
4090 else
4091 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4092 fi
4093 done
4094 export PATH="$ac_TEMP_PATH"
4095 unset ac_TEMP_PATH
4096 DEFAULT_STD_FLAG=no
4097 ;;
4098
4099 arm-apple-darwin*)
4100 USE_BSD=1
4101 USE_DARWIN=1
4102 $as_echo "#define __BSD__ 1" >>confdefs.h
4103
4104 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4105
4106 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4107 ;;
4108
4109 *-*-darwin* )
4110 USE_BSD=1
4111 USE_DARWIN=1
4112 $as_echo "#define __BSD__ 1" >>confdefs.h
4113
4114 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4115
4116 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4117
4118 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4119 ;;
4120
4121 *-*-beos* )
4122 USE_BEOS=1
4123 $as_echo "#define __BEOS__ 1" >>confdefs.h
4124
4125 ;;
4126
4127 *)
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4129 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4131 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4132
4133 DEFAULT_DEFAULT_wxUSE_X11=1
4134 DEFAULT_wxUSE_SHARED=no
4135 esac
4136
4137
4138
4139 DEFAULT_wxUSE_ALL_FEATURES=yes
4140
4141 DEFAULT_wxUSE_STD_CONTAINERS=no
4142 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4143 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4144
4145 DEFAULT_wxUSE_DMALLOC=no
4146 DEFAULT_wxUSE_LIBGNOMEVFS=no
4147 DEFAULT_wxUSE_LIBHILDON=no
4148 DEFAULT_wxUSE_LIBHILDON2=no
4149 DEFAULT_wxUSE_LIBMSPACK=no
4150 DEFAULT_wxUSE_LIBSDL=no
4151
4152 DEFAULT_wxUSE_ACCESSIBILITY=no
4153 DEFAULT_wxUSE_IPV6=no
4154 DEFAULT_wxUSE_GSTREAMER8=no
4155 DEFAULT_wxUSE_UNICODE_UTF8=no
4156 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4157
4158 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4159 DEFAULT_wxUSE_OPENGL=auto
4160 DEFAULT_wxUSE_MEDIACTRL=auto
4161 DEFAULT_wxUSE_COMPILER_TLS=auto
4162 DEFAULT_wxUSE_HOTKEY=auto
4163 DEFAULT_wxUSE_METAFILE=auto
4164
4165 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4166 DEFAULT_wxUSE_MAC_ARCH=no
4167
4168 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4169
4170 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4171
4172
4173
4174
4175
4176 enablestring=disable
4177 defaultval=
4178 if test -z "$defaultval"; then
4179 if test x"$enablestring" = xdisable; then
4180 defaultval=yes
4181 else
4182 defaultval=no
4183 fi
4184 fi
4185
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4187 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4188 # Check whether --enable-gui was given.
4189 if test "${enable_gui+set}" = set; then :
4190 enableval=$enable_gui;
4191 if test "$enableval" = yes; then
4192 wx_cv_use_gui='wxUSE_GUI=yes'
4193 else
4194 wx_cv_use_gui='wxUSE_GUI=no'
4195 fi
4196
4197 else
4198
4199 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4200
4201 fi
4202
4203
4204 eval "$wx_cv_use_gui"
4205
4206 if test x"$enablestring" = xdisable; then
4207 if test $wxUSE_GUI = no; then
4208 result=yes
4209 else
4210 result=no
4211 fi
4212 else
4213 result=$wxUSE_GUI
4214 fi
4215
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4217 $as_echo "$result" >&6; }
4218
4219
4220 enablestring=
4221 defaultval=
4222 if test -z "$defaultval"; then
4223 if test x"$enablestring" = xdisable; then
4224 defaultval=yes
4225 else
4226 defaultval=no
4227 fi
4228 fi
4229
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4231 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4232 # Check whether --enable-monolithic was given.
4233 if test "${enable_monolithic+set}" = set; then :
4234 enableval=$enable_monolithic;
4235 if test "$enableval" = yes; then
4236 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4237 else
4238 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4239 fi
4240
4241 else
4242
4243 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4244
4245 fi
4246
4247
4248 eval "$wx_cv_use_monolithic"
4249
4250 if test x"$enablestring" = xdisable; then
4251 if test $wxUSE_MONOLITHIC = no; then
4252 result=yes
4253 else
4254 result=no
4255 fi
4256 else
4257 result=$wxUSE_MONOLITHIC
4258 fi
4259
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4261 $as_echo "$result" >&6; }
4262
4263
4264 enablestring=
4265 defaultval=
4266 if test -z "$defaultval"; then
4267 if test x"$enablestring" = xdisable; then
4268 defaultval=yes
4269 else
4270 defaultval=no
4271 fi
4272 fi
4273
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4275 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4276 # Check whether --enable-plugins was given.
4277 if test "${enable_plugins+set}" = set; then :
4278 enableval=$enable_plugins;
4279 if test "$enableval" = yes; then
4280 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4281 else
4282 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4283 fi
4284
4285 else
4286
4287 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4288
4289 fi
4290
4291
4292 eval "$wx_cv_use_plugins"
4293
4294 if test x"$enablestring" = xdisable; then
4295 if test $wxUSE_PLUGINS = no; then
4296 result=yes
4297 else
4298 result=no
4299 fi
4300 else
4301 result=$wxUSE_PLUGINS
4302 fi
4303
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4305 $as_echo "$result" >&6; }
4306
4307
4308 withstring=without
4309 defaultval=$wxUSE_ALL_FEATURES
4310 if test -z "$defaultval"; then
4311 if test x"$withstring" = xwithout; then
4312 defaultval=yes
4313 else
4314 defaultval=no
4315 fi
4316 fi
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4318 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4319
4320 # Check whether --with-subdirs was given.
4321 if test "${with_subdirs+set}" = set; then :
4322 withval=$with_subdirs;
4323 if test "$withval" = yes; then
4324 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4325 else
4326 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4327 fi
4328
4329 else
4330
4331 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4332
4333 fi
4334
4335
4336 eval "$wx_cv_use_subdirs"
4337
4338 if test x"$withstring" = xwithout; then
4339 if test $wxWITH_SUBDIRS = yes; then
4340 result=no
4341 else
4342 result=yes
4343 fi
4344 else
4345 result=$wxWITH_SUBDIRS
4346 fi
4347
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4349 $as_echo "$result" >&6; }
4350
4351
4352 # Check whether --with-flavour was given.
4353 if test "${with_flavour+set}" = set; then :
4354 withval=$with_flavour; WX_FLAVOUR="$withval"
4355 fi
4356
4357
4358 enablestring=
4359 defaultval=
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4362 defaultval=yes
4363 else
4364 defaultval=no
4365 fi
4366 fi
4367
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4369 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4370 # Check whether --enable-official_build was given.
4371 if test "${enable_official_build+set}" = set; then :
4372 enableval=$enable_official_build;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4375 else
4376 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4377 fi
4378
4379 else
4380
4381 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4382
4383 fi
4384
4385
4386 eval "$wx_cv_use_official_build"
4387
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_OFFICIAL_BUILD = no; then
4390 result=yes
4391 else
4392 result=no
4393 fi
4394 else
4395 result=$wxUSE_OFFICIAL_BUILD
4396 fi
4397
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4399 $as_echo "$result" >&6; }
4400
4401 # Check whether --enable-vendor was given.
4402 if test "${enable_vendor+set}" = set; then :
4403 enableval=$enable_vendor; VENDOR="$enableval"
4404 fi
4405
4406 if test "x$VENDOR" = "x"; then
4407 VENDOR="custom"
4408 fi
4409
4410
4411 enablestring=disable
4412 defaultval=
4413 if test -z "$defaultval"; then
4414 if test x"$enablestring" = xdisable; then
4415 defaultval=yes
4416 else
4417 defaultval=no
4418 fi
4419 fi
4420
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4422 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4423 # Check whether --enable-all-features was given.
4424 if test "${enable_all_features+set}" = set; then :
4425 enableval=$enable_all_features;
4426 if test "$enableval" = yes; then
4427 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4428 else
4429 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4430 fi
4431
4432 else
4433
4434 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4435
4436 fi
4437
4438
4439 eval "$wx_cv_use_all_features"
4440
4441 if test x"$enablestring" = xdisable; then
4442 if test $wxUSE_ALL_FEATURES = no; then
4443 result=yes
4444 else
4445 result=no
4446 fi
4447 else
4448 result=$wxUSE_ALL_FEATURES
4449 fi
4450
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4452 $as_echo "$result" >&6; }
4453
4454
4455 if test "$wxUSE_ALL_FEATURES" = "no"; then
4456 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4457 DEFAULT_wxUSE_MEDIACTRL=no
4458 fi
4459
4460
4461 if test "$wxUSE_GUI" = "yes"; then
4462
4463
4464 enablestring=
4465 defaultval=
4466 if test -z "$defaultval"; then
4467 if test x"$enablestring" = xdisable; then
4468 defaultval=yes
4469 else
4470 defaultval=no
4471 fi
4472 fi
4473
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4475 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4476 # Check whether --enable-universal was given.
4477 if test "${enable_universal+set}" = set; then :
4478 enableval=$enable_universal;
4479 if test "$enableval" = yes; then
4480 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4481 else
4482 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4483 fi
4484
4485 else
4486
4487 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4488
4489 fi
4490
4491
4492 eval "$wx_cv_use_universal"
4493
4494 if test x"$enablestring" = xdisable; then
4495 if test $wxUSE_UNIVERSAL = no; then
4496 result=yes
4497 else
4498 result=no
4499 fi
4500 else
4501 result=$wxUSE_UNIVERSAL
4502 fi
4503
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4505 $as_echo "$result" >&6; }
4506
4507 if test "$wxUSE_UNIVERSAL" = "yes"; then
4508
4509 # Check whether --with-themes was given.
4510 if test "${with_themes+set}" = set; then :
4511 withval=$with_themes; wxUNIV_THEMES="$withval"
4512 fi
4513
4514 fi
4515
4516
4517 # Check whether --with-gtk was given.
4518 if test "${with_gtk+set}" = set; then :
4519 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4520 fi
4521
4522
4523 # Check whether --with-motif was given.
4524 if test "${with_motif+set}" = set; then :
4525 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4526 fi
4527
4528
4529 # Check whether --with-osx_carbon was given.
4530 if test "${with_osx_carbon+set}" = set; then :
4531 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4532 fi
4533
4534
4535 # Check whether --with-osx_cocoa was given.
4536 if test "${with_osx_cocoa+set}" = set; then :
4537 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4538 fi
4539
4540
4541 # Check whether --with-osx_iphone was given.
4542 if test "${with_osx_iphone+set}" = set; then :
4543 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4544 fi
4545
4546
4547 # Check whether --with-osx was given.
4548 if test "${with_osx+set}" = set; then :
4549 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4550 fi
4551
4552
4553 # Check whether --with-carbon was given.
4554 if test "${with_carbon+set}" = set; then :
4555 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4556 fi
4557
4558
4559 # Check whether --with-cocoa was given.
4560 if test "${with_cocoa+set}" = set; then :
4561 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4562 fi
4563
4564
4565 # Check whether --with-iphone was given.
4566 if test "${with_iphone+set}" = set; then :
4567 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4568 fi
4569
4570
4571 # Check whether --with-mac was given.
4572 if test "${with_mac+set}" = set; then :
4573 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4574 fi
4575
4576
4577 # Check whether --with-old_cocoa was given.
4578 if test "${with_old_cocoa+set}" = set; then :
4579 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4580 fi
4581
4582
4583 # Check whether --with-wine was given.
4584 if test "${with_wine+set}" = set; then :
4585 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4586 fi
4587
4588
4589 # Check whether --with-msw was given.
4590 if test "${with_msw+set}" = set; then :
4591 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4592 fi
4593
4594
4595 # Check whether --with-pm was given.
4596 if test "${with_pm+set}" = set; then :
4597 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4598 fi
4599
4600
4601 # Check whether --with-directfb was given.
4602 if test "${with_directfb+set}" = set; then :
4603 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4604 fi
4605
4606
4607 # Check whether --with-microwin was given.
4608 if test "${with_microwin+set}" = set; then :
4609 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4610 fi
4611
4612
4613 # Check whether --with-x11 was given.
4614 if test "${with_x11+set}" = set; then :
4615 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4616 fi
4617
4618
4619 enablestring=
4620 defaultval=
4621 if test -z "$defaultval"; then
4622 if test x"$enablestring" = xdisable; then
4623 defaultval=yes
4624 else
4625 defaultval=no
4626 fi
4627 fi
4628
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4630 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4631 # Check whether --enable-nanox was given.
4632 if test "${enable_nanox+set}" = set; then :
4633 enableval=$enable_nanox;
4634 if test "$enableval" = yes; then
4635 wx_cv_use_nanox='wxUSE_NANOX=yes'
4636 else
4637 wx_cv_use_nanox='wxUSE_NANOX=no'
4638 fi
4639
4640 else
4641
4642 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4643
4644 fi
4645
4646
4647 eval "$wx_cv_use_nanox"
4648
4649 if test x"$enablestring" = xdisable; then
4650 if test $wxUSE_NANOX = no; then
4651 result=yes
4652 else
4653 result=no
4654 fi
4655 else
4656 result=$wxUSE_NANOX
4657 fi
4658
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4660 $as_echo "$result" >&6; }
4661
4662
4663 enablestring=
4664 defaultval=
4665 if test -z "$defaultval"; then
4666 if test x"$enablestring" = xdisable; then
4667 defaultval=yes
4668 else
4669 defaultval=no
4670 fi
4671 fi
4672
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4674 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4675 # Check whether --enable-gpe was given.
4676 if test "${enable_gpe+set}" = set; then :
4677 enableval=$enable_gpe;
4678 if test "$enableval" = yes; then
4679 wx_cv_use_gpe='wxUSE_GPE=yes'
4680 else
4681 wx_cv_use_gpe='wxUSE_GPE=no'
4682 fi
4683
4684 else
4685
4686 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4687
4688 fi
4689
4690
4691 eval "$wx_cv_use_gpe"
4692
4693 if test x"$enablestring" = xdisable; then
4694 if test $wxUSE_GPE = no; then
4695 result=yes
4696 else
4697 result=no
4698 fi
4699 else
4700 result=$wxUSE_GPE
4701 fi
4702
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4704 $as_echo "$result" >&6; }
4705
4706
4707
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4709 $as_echo_n "checking for toolkit... " >&6; }
4710
4711
4712
4713 # In Wine, we need to default to MSW, not GTK or MOTIF
4714 if test "$wxUSE_WINE" = "yes"; then
4715 DEFAULT_DEFAULT_wxUSE_GTK=0
4716 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4717 DEFAULT_DEFAULT_wxUSE_MSW=1
4718 wxUSE_SHARED=no
4719 CC=${CC:-winegcc}
4720 CXX=${CXX:-wineg++}
4721 fi
4722
4723
4724 if test "$wxUSE_GUI" = "yes"; then
4725
4726 if test "$USE_BEOS" = 1; then
4727 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4728 fi
4729
4730 if test "$TOOLKIT_GIVEN" = 1; then
4731 for toolkit in $ALL_TOOLKITS; do
4732 var=wxUSE_$toolkit
4733 eval "value=\$${var}"
4734 if test "x$value" = "xno"; then
4735 eval "$var=0"
4736 elif test "x$value" != "x"; then
4737 eval "$var=1"
4738 fi
4739
4740 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4741 eval "wx${toolkit}_VERSION=$value"
4742 fi
4743 done
4744 else
4745 for toolkit in $ALL_TOOLKITS; do
4746 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4747 eval "wxUSE_$toolkit=\$${var}"
4748 done
4749 fi
4750
4751 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4752 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4753 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4754
4755 case "${host}" in
4756 *-pc-os2_emx | *-pc-os2-emx )
4757 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4758 esac
4759
4760 case "$NUM_TOOLKITS" in
4761 1)
4762 ;;
4763 0)
4764 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4765 ;;
4766 *)
4767 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4768 esac
4769
4770 for toolkit in $ALL_TOOLKITS; do
4771 var=wxUSE_$toolkit
4772 eval "value=\$${var}"
4773 if test "$value" = 1; then
4774 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4776 $as_echo "$toolkit_echo" >&6; }
4777 fi
4778 done
4779 else
4780 if test "x$host_alias" != "x"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4782 $as_echo "base ($host_alias hosted) only" >&6; }
4783 else
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4785 $as_echo "base only" >&6; }
4786 fi
4787 fi
4788
4789 wxUSE_MAC=0
4790 if test "$wxUSE_OSX_CARBON" = 1 \
4791 -o "$wxUSE_OSX_COCOA" = 1 \
4792 -o "$wxUSE_OSX_IPHONE" = 1; then
4793 wxUSE_MAC=1
4794 fi
4795
4796
4797
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4799 $as_echo_n "checking for --with-libpng... " >&6; }
4800
4801 # Check whether --with-libpng was given.
4802 if test "${with_libpng+set}" = set; then :
4803 withval=$with_libpng;
4804 if test "$withval" = yes; then
4805 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4806 elif test "$withval" = no; then
4807 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4808 elif test "$withval" = sys; then
4809 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4810 elif test "$withval" = builtin; then
4811 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4812 else
4813 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4814 fi
4815
4816 else
4817
4818 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4819
4820 fi
4821
4822
4823 eval "$wx_cv_use_libpng"
4824
4825 if test "$wxUSE_LIBPNG" = yes; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4828 elif test "$wxUSE_LIBPNG" = no; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831 elif test "$wxUSE_LIBPNG" = sys; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4833 $as_echo "system version" >&6; }
4834 elif test "$wxUSE_LIBPNG" = builtin; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4836 $as_echo "builtin version" >&6; }
4837 else
4838 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4839 fi
4840
4841
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4843 $as_echo_n "checking for --with-libjpeg... " >&6; }
4844
4845 # Check whether --with-libjpeg was given.
4846 if test "${with_libjpeg+set}" = set; then :
4847 withval=$with_libjpeg;
4848 if test "$withval" = yes; then
4849 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4850 elif test "$withval" = no; then
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4852 elif test "$withval" = sys; then
4853 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4854 elif test "$withval" = builtin; then
4855 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4856 else
4857 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4858 fi
4859
4860 else
4861
4862 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4863
4864 fi
4865
4866
4867 eval "$wx_cv_use_libjpeg"
4868
4869 if test "$wxUSE_LIBJPEG" = yes; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4871 $as_echo "yes" >&6; }
4872 elif test "$wxUSE_LIBJPEG" = no; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4875 elif test "$wxUSE_LIBJPEG" = sys; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4877 $as_echo "system version" >&6; }
4878 elif test "$wxUSE_LIBJPEG" = builtin; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4880 $as_echo "builtin version" >&6; }
4881 else
4882 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4883 fi
4884
4885
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4887 $as_echo_n "checking for --with-libtiff... " >&6; }
4888
4889 # Check whether --with-libtiff was given.
4890 if test "${with_libtiff+set}" = set; then :
4891 withval=$with_libtiff;
4892 if test "$withval" = yes; then
4893 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4894 elif test "$withval" = no; then
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4896 elif test "$withval" = sys; then
4897 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4898 elif test "$withval" = builtin; then
4899 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4900 else
4901 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4902 fi
4903
4904 else
4905
4906 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4907
4908 fi
4909
4910
4911 eval "$wx_cv_use_libtiff"
4912
4913 if test "$wxUSE_LIBTIFF" = yes; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4916 elif test "$wxUSE_LIBTIFF" = no; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4919 elif test "$wxUSE_LIBTIFF" = sys; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4921 $as_echo "system version" >&6; }
4922 elif test "$wxUSE_LIBTIFF" = builtin; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4924 $as_echo "builtin version" >&6; }
4925 else
4926 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4927 fi
4928
4929
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4931 $as_echo_n "checking for --with-libxpm... " >&6; }
4932
4933 # Check whether --with-libxpm was given.
4934 if test "${with_libxpm+set}" = set; then :
4935 withval=$with_libxpm;
4936 if test "$withval" = yes; then
4937 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4938 elif test "$withval" = no; then
4939 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4940 elif test "$withval" = sys; then
4941 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4942 elif test "$withval" = builtin; then
4943 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4944 else
4945 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4946 fi
4947
4948 else
4949
4950 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4951
4952 fi
4953
4954
4955 eval "$wx_cv_use_libxpm"
4956
4957 if test "$wxUSE_LIBXPM" = yes; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4959 $as_echo "yes" >&6; }
4960 elif test "$wxUSE_LIBXPM" = no; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 elif test "$wxUSE_LIBXPM" = sys; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4965 $as_echo "system version" >&6; }
4966 elif test "$wxUSE_LIBXPM" = builtin; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4968 $as_echo "builtin version" >&6; }
4969 else
4970 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4971 fi
4972
4973
4974 withstring=
4975 defaultval=$wxUSE_ALL_FEATURES
4976 if test -z "$defaultval"; then
4977 if test x"$withstring" = xwithout; then
4978 defaultval=yes
4979 else
4980 defaultval=no
4981 fi
4982 fi
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4984 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4985
4986 # Check whether --with-libiconv was given.
4987 if test "${with_libiconv+set}" = set; then :
4988 withval=$with_libiconv;
4989 if test "$withval" = yes; then
4990 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4991 else
4992 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4993 fi
4994
4995 else
4996
4997 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4998
4999 fi
5000
5001
5002 eval "$wx_cv_use_libiconv"
5003
5004 if test x"$withstring" = xwithout; then
5005 if test $wxUSE_LIBICONV = yes; then
5006 result=no
5007 else
5008 result=yes
5009 fi
5010 else
5011 result=$wxUSE_LIBICONV
5012 fi
5013
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5015 $as_echo "$result" >&6; }
5016
5017
5018 withstring=
5019 defaultval=$wxUSE_ALL_FEATURES
5020 if test -z "$defaultval"; then
5021 if test x"$withstring" = xwithout; then
5022 defaultval=yes
5023 else
5024 defaultval=no
5025 fi
5026 fi
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5028 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5029
5030 # Check whether --with-libmspack was given.
5031 if test "${with_libmspack+set}" = set; then :
5032 withval=$with_libmspack;
5033 if test "$withval" = yes; then
5034 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5035 else
5036 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5037 fi
5038
5039 else
5040
5041 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5042
5043 fi
5044
5045
5046 eval "$wx_cv_use_libmspack"
5047
5048 if test x"$withstring" = xwithout; then
5049 if test $wxUSE_LIBMSPACK = yes; then
5050 result=no
5051 else
5052 result=yes
5053 fi
5054 else
5055 result=$wxUSE_LIBMSPACK
5056 fi
5057
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5059 $as_echo "$result" >&6; }
5060
5061
5062 withstring=without
5063 defaultval=$wxUSE_ALL_FEATURES
5064 if test -z "$defaultval"; then
5065 if test x"$withstring" = xwithout; then
5066 defaultval=yes
5067 else
5068 defaultval=no
5069 fi
5070 fi
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5072 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5073
5074 # Check whether --with-gtkprint was given.
5075 if test "${with_gtkprint+set}" = set; then :
5076 withval=$with_gtkprint;
5077 if test "$withval" = yes; then
5078 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5079 else
5080 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5081 fi
5082
5083 else
5084
5085 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5086
5087 fi
5088
5089
5090 eval "$wx_cv_use_gtkprint"
5091
5092 if test x"$withstring" = xwithout; then
5093 if test $wxUSE_GTKPRINT = yes; then
5094 result=no
5095 else
5096 result=yes
5097 fi
5098 else
5099 result=$wxUSE_GTKPRINT
5100 fi
5101
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5103 $as_echo "$result" >&6; }
5104
5105
5106 withstring=without
5107 defaultval=$wxUSE_ALL_FEATURES
5108 if test -z "$defaultval"; then
5109 if test x"$withstring" = xwithout; then
5110 defaultval=yes
5111 else
5112 defaultval=no
5113 fi
5114 fi
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5116 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5117
5118 # Check whether --with-gnomeprint was given.
5119 if test "${with_gnomeprint+set}" = set; then :
5120 withval=$with_gnomeprint;
5121 if test "$withval" = yes; then
5122 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5123 else
5124 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5125 fi
5126
5127 else
5128
5129 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5130
5131 fi
5132
5133
5134 eval "$wx_cv_use_gnomeprint"
5135
5136 if test x"$withstring" = xwithout; then
5137 if test $wxUSE_LIBGNOMEPRINT = yes; then
5138 result=no
5139 else
5140 result=yes
5141 fi
5142 else
5143 result=$wxUSE_LIBGNOMEPRINT
5144 fi
5145
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5147 $as_echo "$result" >&6; }
5148
5149
5150 withstring=
5151 defaultval=$wxUSE_ALL_FEATURES
5152 if test -z "$defaultval"; then
5153 if test x"$withstring" = xwithout; then
5154 defaultval=yes
5155 else
5156 defaultval=no
5157 fi
5158 fi
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5160 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5161
5162 # Check whether --with-gnomevfs was given.
5163 if test "${with_gnomevfs+set}" = set; then :
5164 withval=$with_gnomevfs;
5165 if test "$withval" = yes; then
5166 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5167 else
5168 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5169 fi
5170
5171 else
5172
5173 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5174
5175 fi
5176
5177
5178 eval "$wx_cv_use_gnomevfs"
5179
5180 if test x"$withstring" = xwithout; then
5181 if test $wxUSE_LIBGNOMEVFS = yes; then
5182 result=no
5183 else
5184 result=yes
5185 fi
5186 else
5187 result=$wxUSE_LIBGNOMEVFS
5188 fi
5189
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5191 $as_echo "$result" >&6; }
5192
5193
5194 withstring=
5195 defaultval=$wxUSE_ALL_FEATURES
5196 if test -z "$defaultval"; then
5197 if test x"$withstring" = xwithout; then
5198 defaultval=yes
5199 else
5200 defaultval=no
5201 fi
5202 fi
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5204 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5205
5206 # Check whether --with-libnotify was given.
5207 if test "${with_libnotify+set}" = set; then :
5208 withval=$with_libnotify;
5209 if test "$withval" = yes; then
5210 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5211 else
5212 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5213 fi
5214
5215 else
5216
5217 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5218
5219 fi
5220
5221
5222 eval "$wx_cv_use_libnotify"
5223
5224 if test x"$withstring" = xwithout; then
5225 if test $wxUSE_LIBNOTIFY = yes; then
5226 result=no
5227 else
5228 result=yes
5229 fi
5230 else
5231 result=$wxUSE_LIBNOTIFY
5232 fi
5233
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5235 $as_echo "$result" >&6; }
5236
5237
5238 withstring=
5239 defaultval=$wxUSE_ALL_FEATURES
5240 if test -z "$defaultval"; then
5241 if test x"$withstring" = xwithout; then
5242 defaultval=yes
5243 else
5244 defaultval=no
5245 fi
5246 fi
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5248 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5249
5250 # Check whether --with-hildon was given.
5251 if test "${with_hildon+set}" = set; then :
5252 withval=$with_hildon;
5253 if test "$withval" = yes; then
5254 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5255 else
5256 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5257 fi
5258
5259 else
5260
5261 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5262
5263 fi
5264
5265
5266 eval "$wx_cv_use_hildon"
5267
5268 if test x"$withstring" = xwithout; then
5269 if test $wxUSE_LIBHILDON = yes; then
5270 result=no
5271 else
5272 result=yes
5273 fi
5274 else
5275 result=$wxUSE_LIBHILDON
5276 fi
5277
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5279 $as_echo "$result" >&6; }
5280
5281
5282 withstring=
5283 defaultval=$wxUSE_ALL_FEATURES
5284 if test -z "$defaultval"; then
5285 if test x"$withstring" = xwithout; then
5286 defaultval=yes
5287 else
5288 defaultval=no
5289 fi
5290 fi
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5292 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5293
5294 # Check whether --with-opengl was given.
5295 if test "${with_opengl+set}" = set; then :
5296 withval=$with_opengl;
5297 if test "$withval" = yes; then
5298 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5299 else
5300 wx_cv_use_opengl='wxUSE_OPENGL=no'
5301 fi
5302
5303 else
5304
5305 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5306
5307 fi
5308
5309
5310 eval "$wx_cv_use_opengl"
5311
5312 if test x"$withstring" = xwithout; then
5313 if test $wxUSE_OPENGL = yes; then
5314 result=no
5315 else
5316 result=yes
5317 fi
5318 else
5319 result=$wxUSE_OPENGL
5320 fi
5321
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5323 $as_echo "$result" >&6; }
5324
5325
5326 fi
5327
5328
5329 withstring=
5330 defaultval=$wxUSE_ALL_FEATURES
5331 if test -z "$defaultval"; then
5332 if test x"$withstring" = xwithout; then
5333 defaultval=yes
5334 else
5335 defaultval=no
5336 fi
5337 fi
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5339 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5340
5341 # Check whether --with-dmalloc was given.
5342 if test "${with_dmalloc+set}" = set; then :
5343 withval=$with_dmalloc;
5344 if test "$withval" = yes; then
5345 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5346 else
5347 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5348 fi
5349
5350 else
5351
5352 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5353
5354 fi
5355
5356
5357 eval "$wx_cv_use_dmalloc"
5358
5359 if test x"$withstring" = xwithout; then
5360 if test $wxUSE_DMALLOC = yes; then
5361 result=no
5362 else
5363 result=yes
5364 fi
5365 else
5366 result=$wxUSE_DMALLOC
5367 fi
5368
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5370 $as_echo "$result" >&6; }
5371
5372
5373 withstring=
5374 defaultval=$wxUSE_ALL_FEATURES
5375 if test -z "$defaultval"; then
5376 if test x"$withstring" = xwithout; then
5377 defaultval=yes
5378 else
5379 defaultval=no
5380 fi
5381 fi
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5383 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5384
5385 # Check whether --with-sdl was given.
5386 if test "${with_sdl+set}" = set; then :
5387 withval=$with_sdl;
5388 if test "$withval" = yes; then
5389 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5390 else
5391 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5392 fi
5393
5394 else
5395
5396 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5397
5398 fi
5399
5400
5401 eval "$wx_cv_use_sdl"
5402
5403 if test x"$withstring" = xwithout; then
5404 if test $wxUSE_LIBSDL = yes; then
5405 result=no
5406 else
5407 result=yes
5408 fi
5409 else
5410 result=$wxUSE_LIBSDL
5411 fi
5412
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5414 $as_echo "$result" >&6; }
5415
5416
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5418 $as_echo_n "checking for --with-regex... " >&6; }
5419
5420 # Check whether --with-regex was given.
5421 if test "${with_regex+set}" = set; then :
5422 withval=$with_regex;
5423 if test "$withval" = yes; then
5424 wx_cv_use_regex='wxUSE_REGEX=yes'
5425 elif test "$withval" = no; then
5426 wx_cv_use_regex='wxUSE_REGEX=no'
5427 elif test "$withval" = sys; then
5428 wx_cv_use_regex='wxUSE_REGEX=sys'
5429 elif test "$withval" = builtin; then
5430 wx_cv_use_regex='wxUSE_REGEX=builtin'
5431 else
5432 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5433 fi
5434
5435 else
5436
5437 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5438
5439 fi
5440
5441
5442 eval "$wx_cv_use_regex"
5443
5444 if test "$wxUSE_REGEX" = yes; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5447 elif test "$wxUSE_REGEX" = no; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5450 elif test "$wxUSE_REGEX" = sys; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5452 $as_echo "system version" >&6; }
5453 elif test "$wxUSE_REGEX" = builtin; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5455 $as_echo "builtin version" >&6; }
5456 else
5457 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5458 fi
5459
5460
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5462 $as_echo_n "checking for --with-zlib... " >&6; }
5463
5464 # Check whether --with-zlib was given.
5465 if test "${with_zlib+set}" = set; then :
5466 withval=$with_zlib;
5467 if test "$withval" = yes; then
5468 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5469 elif test "$withval" = no; then
5470 wx_cv_use_zlib='wxUSE_ZLIB=no'
5471 elif test "$withval" = sys; then
5472 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5473 elif test "$withval" = builtin; then
5474 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5475 else
5476 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5477 fi
5478
5479 else
5480
5481 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5482
5483 fi
5484
5485
5486 eval "$wx_cv_use_zlib"
5487
5488 if test "$wxUSE_ZLIB" = yes; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5490 $as_echo "yes" >&6; }
5491 elif test "$wxUSE_ZLIB" = no; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5494 elif test "$wxUSE_ZLIB" = sys; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5496 $as_echo "system version" >&6; }
5497 elif test "$wxUSE_ZLIB" = builtin; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5499 $as_echo "builtin version" >&6; }
5500 else
5501 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5502 fi
5503
5504
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5506 $as_echo_n "checking for --with-expat... " >&6; }
5507
5508 # Check whether --with-expat was given.
5509 if test "${with_expat+set}" = set; then :
5510 withval=$with_expat;
5511 if test "$withval" = yes; then
5512 wx_cv_use_expat='wxUSE_EXPAT=yes'
5513 elif test "$withval" = no; then
5514 wx_cv_use_expat='wxUSE_EXPAT=no'
5515 elif test "$withval" = sys; then
5516 wx_cv_use_expat='wxUSE_EXPAT=sys'
5517 elif test "$withval" = builtin; then
5518 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5519 else
5520 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5521 fi
5522
5523 else
5524
5525 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5526
5527 fi
5528
5529
5530 eval "$wx_cv_use_expat"
5531
5532 if test "$wxUSE_EXPAT" = yes; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5534 $as_echo "yes" >&6; }
5535 elif test "$wxUSE_EXPAT" = no; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 elif test "$wxUSE_EXPAT" = sys; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5540 $as_echo "system version" >&6; }
5541 elif test "$wxUSE_EXPAT" = builtin; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5543 $as_echo "builtin version" >&6; }
5544 else
5545 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5546 fi
5547
5548
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5550 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5551
5552 # Check whether --with-macosx-sdk was given.
5553 if test "${with_macosx_sdk+set}" = set; then :
5554 withval=$with_macosx_sdk;
5555 wxUSE_MACOSX_SDK=$withval
5556 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5557
5558 fi
5559
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5561 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5562
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5564 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5565
5566 # Check whether --with-macosx-version-min was given.
5567 if test "${with_macosx_version_min+set}" = set; then :
5568 withval=$with_macosx_version_min;
5569 wxUSE_MACOSX_VERSION_MIN=$withval
5570 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5571
5572 fi
5573
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5575 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5576
5577
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5579 $as_echo_n "checking for --enable-debug... " >&6; }
5580 # Check whether --enable-debug was given.
5581 if test "${enable_debug+set}" = set; then :
5582 enableval=$enable_debug;
5583 if test "$enableval" = yes; then
5584 wxUSE_DEBUG=yes
5585 elif test "$enableval" = no; then
5586 wxUSE_DEBUG=no
5587 elif test "$enableval" = max; then
5588 wxUSE_DEBUG=yes
5589 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5590 else
5591 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5592 fi
5593
5594 else
5595 wxUSE_DEBUG=default
5596
5597 fi
5598
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5600 $as_echo "${enable_debug-default}" >&6; }
5601
5602 case "$wxUSE_DEBUG" in
5603 yes)
5604 DEFAULT_wxUSE_DEBUG_FLAG=yes
5605 DEFAULT_wxUSE_DEBUG_INFO=yes
5606
5607 DEFAULT_wxUSE_OPTIMISE=no
5608 ;;
5609
5610 no)
5611 DEFAULT_wxUSE_DEBUG_FLAG=no
5612 DEFAULT_wxUSE_DEBUG_INFO=no
5613 ;;
5614
5615 default)
5616 DEFAULT_wxUSE_DEBUG_FLAG=yes
5617 DEFAULT_wxUSE_DEBUG_INFO=no
5618 ;;
5619 esac
5620
5621
5622 enablestring=disable
5623 defaultval=
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5633 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5634 # Check whether --enable-debug_flag was given.
5635 if test "${enable_debug_flag+set}" = set; then :
5636 enableval=$enable_debug_flag;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5639 else
5640 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5641 fi
5642
5643 else
5644
5645 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5646
5647 fi
5648
5649
5650 eval "$wx_cv_use_debug_flag"
5651
5652 if test x"$enablestring" = xdisable; then
5653 if test $wxUSE_DEBUG_FLAG = no; then
5654 result=yes
5655 else
5656 result=no
5657 fi
5658 else
5659 result=$wxUSE_DEBUG_FLAG
5660 fi
5661
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5663 $as_echo "$result" >&6; }
5664
5665
5666 enablestring=
5667 defaultval=
5668 if test -z "$defaultval"; then
5669 if test x"$enablestring" = xdisable; then
5670 defaultval=yes
5671 else
5672 defaultval=no
5673 fi
5674 fi
5675
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5677 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5678 # Check whether --enable-debug_info was given.
5679 if test "${enable_debug_info+set}" = set; then :
5680 enableval=$enable_debug_info;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5683 else
5684 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5685 fi
5686
5687 else
5688
5689 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5690
5691 fi
5692
5693
5694 eval "$wx_cv_use_debug_info"
5695
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_DEBUG_INFO = no; then
5698 result=yes
5699 else
5700 result=no
5701 fi
5702 else
5703 result=$wxUSE_DEBUG_INFO
5704 fi
5705
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5707 $as_echo "$result" >&6; }
5708
5709
5710
5711
5712 enablestring=
5713 defaultval=
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5716 defaultval=yes
5717 else
5718 defaultval=no
5719 fi
5720 fi
5721
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5723 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5724 # Check whether --enable-debug_gdb was given.
5725 if test "${enable_debug_gdb+set}" = set; then :
5726 enableval=$enable_debug_gdb;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5729 else
5730 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5731 fi
5732
5733 else
5734
5735 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5736
5737 fi
5738
5739
5740 eval "$wx_cv_use_debug_gdb"
5741
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_DEBUG_GDB = no; then
5744 result=yes
5745 else
5746 result=no
5747 fi
5748 else
5749 result=$wxUSE_DEBUG_GDB
5750 fi
5751
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5753 $as_echo "$result" >&6; }
5754
5755
5756 enablestring=
5757 defaultval=
5758 if test -z "$defaultval"; then
5759 if test x"$enablestring" = xdisable; then
5760 defaultval=yes
5761 else
5762 defaultval=no
5763 fi
5764 fi
5765
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5767 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5768 # Check whether --enable-debug_cntxt was given.
5769 if test "${enable_debug_cntxt+set}" = set; then :
5770 enableval=$enable_debug_cntxt;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5773 else
5774 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5775 fi
5776
5777 else
5778
5779 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5780
5781 fi
5782
5783
5784 eval "$wx_cv_use_debug_cntxt"
5785
5786 if test x"$enablestring" = xdisable; then
5787 if test $wxUSE_DEBUG_CONTEXT = no; then
5788 result=yes
5789 else
5790 result=no
5791 fi
5792 else
5793 result=$wxUSE_DEBUG_CONTEXT
5794 fi
5795
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5797 $as_echo "$result" >&6; }
5798
5799
5800 enablestring=
5801 defaultval=
5802 if test -z "$defaultval"; then
5803 if test x"$enablestring" = xdisable; then
5804 defaultval=yes
5805 else
5806 defaultval=no
5807 fi
5808 fi
5809
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5811 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5812 # Check whether --enable-mem_tracing was given.
5813 if test "${enable_mem_tracing+set}" = set; then :
5814 enableval=$enable_mem_tracing;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5817 else
5818 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5819 fi
5820
5821 else
5822
5823 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5824
5825 fi
5826
5827
5828 eval "$wx_cv_use_mem_tracing"
5829
5830 if test x"$enablestring" = xdisable; then
5831 if test $wxUSE_MEM_TRACING = no; then
5832 result=yes
5833 else
5834 result=no
5835 fi
5836 else
5837 result=$wxUSE_MEM_TRACING
5838 fi
5839
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5841 $as_echo "$result" >&6; }
5842
5843
5844
5845
5846 enablestring=disable
5847 defaultval=
5848 if test -z "$defaultval"; then
5849 if test x"$enablestring" = xdisable; then
5850 defaultval=yes
5851 else
5852 defaultval=no
5853 fi
5854 fi
5855
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5857 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5858 # Check whether --enable-shared was given.
5859 if test "${enable_shared+set}" = set; then :
5860 enableval=$enable_shared;
5861 if test "$enableval" = yes; then
5862 wx_cv_use_shared='wxUSE_SHARED=yes'
5863 else
5864 wx_cv_use_shared='wxUSE_SHARED=no'
5865 fi
5866
5867 else
5868
5869 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5870
5871 fi
5872
5873
5874 eval "$wx_cv_use_shared"
5875
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_SHARED = no; then
5878 result=yes
5879 else
5880 result=no
5881 fi
5882 else
5883 result=$wxUSE_SHARED
5884 fi
5885
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5887 $as_echo "$result" >&6; }
5888
5889
5890 enablestring=
5891 defaultval=
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5894 defaultval=yes
5895 else
5896 defaultval=no
5897 fi
5898 fi
5899
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5901 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5902 # Check whether --enable-stl was given.
5903 if test "${enable_stl+set}" = set; then :
5904 enableval=$enable_stl;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_stl='wxUSE_STL=yes'
5907 else
5908 wx_cv_use_stl='wxUSE_STL=no'
5909 fi
5910
5911 else
5912
5913 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5914
5915 fi
5916
5917
5918 eval "$wx_cv_use_stl"
5919
5920 if test x"$enablestring" = xdisable; then
5921 if test $wxUSE_STL = no; then
5922 result=yes
5923 else
5924 result=no
5925 fi
5926 else
5927 result=$wxUSE_STL
5928 fi
5929
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5931 $as_echo "$result" >&6; }
5932
5933 if test "$wxUSE_STL" = "yes"; then
5934 DEFAULT_wxUSE_STD_CONTAINERS=yes
5935 DEFAULT_wxUSE_STD_IOSTREAM=yes
5936 DEFAULT_wxUSE_STD_STRING=yes
5937 fi
5938
5939 enablestring=
5940 defaultval=
5941 if test -z "$defaultval"; then
5942 if test x"$enablestring" = xdisable; then
5943 defaultval=yes
5944 else
5945 defaultval=no
5946 fi
5947 fi
5948
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5950 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5951 # Check whether --enable-std_containers was given.
5952 if test "${enable_std_containers+set}" = set; then :
5953 enableval=$enable_std_containers;
5954 if test "$enableval" = yes; then
5955 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5956 else
5957 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5958 fi
5959
5960 else
5961
5962 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5963
5964 fi
5965
5966
5967 eval "$wx_cv_use_std_containers"
5968
5969 if test x"$enablestring" = xdisable; then
5970 if test $wxUSE_STD_CONTAINERS = no; then
5971 result=yes
5972 else
5973 result=no
5974 fi
5975 else
5976 result=$wxUSE_STD_CONTAINERS
5977 fi
5978
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5980 $as_echo "$result" >&6; }
5981
5982
5983 enablestring=
5984 defaultval=
5985 if test -z "$defaultval"; then
5986 if test x"$enablestring" = xdisable; then
5987 defaultval=yes
5988 else
5989 defaultval=no
5990 fi
5991 fi
5992
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5994 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5995 # Check whether --enable-std_iostreams was given.
5996 if test "${enable_std_iostreams+set}" = set; then :
5997 enableval=$enable_std_iostreams;
5998 if test "$enableval" = yes; then
5999 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6000 else
6001 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6002 fi
6003
6004 else
6005
6006 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6007
6008 fi
6009
6010
6011 eval "$wx_cv_use_std_iostreams"
6012
6013 if test x"$enablestring" = xdisable; then
6014 if test $wxUSE_STD_IOSTREAM = no; then
6015 result=yes
6016 else
6017 result=no
6018 fi
6019 else
6020 result=$wxUSE_STD_IOSTREAM
6021 fi
6022
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6024 $as_echo "$result" >&6; }
6025
6026
6027 enablestring=
6028 defaultval=
6029 if test -z "$defaultval"; then
6030 if test x"$enablestring" = xdisable; then
6031 defaultval=yes
6032 else
6033 defaultval=no
6034 fi
6035 fi
6036
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6038 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6039 # Check whether --enable-std_string was given.
6040 if test "${enable_std_string+set}" = set; then :
6041 enableval=$enable_std_string;
6042 if test "$enableval" = yes; then
6043 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6044 else
6045 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6046 fi
6047
6048 else
6049
6050 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6051
6052 fi
6053
6054
6055 eval "$wx_cv_use_std_string"
6056
6057 if test x"$enablestring" = xdisable; then
6058 if test $wxUSE_STD_STRING = no; then
6059 result=yes
6060 else
6061 result=no
6062 fi
6063 else
6064 result=$wxUSE_STD_STRING
6065 fi
6066
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6068 $as_echo "$result" >&6; }
6069
6070
6071 enablestring=
6072 defaultval=
6073 if test -z "$defaultval"; then
6074 if test x"$enablestring" = xdisable; then
6075 defaultval=yes
6076 else
6077 defaultval=no
6078 fi
6079 fi
6080
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6082 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6083 # Check whether --enable-std_string_conv_in_wxstring was given.
6084 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6085 enableval=$enable_std_string_conv_in_wxstring;
6086 if test "$enableval" = yes; then
6087 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6088 else
6089 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6090 fi
6091
6092 else
6093
6094 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6095
6096 fi
6097
6098
6099 eval "$wx_cv_use_std_string_conv_in_wxstring"
6100
6101 if test x"$enablestring" = xdisable; then
6102 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6103 result=yes
6104 else
6105 result=no
6106 fi
6107 else
6108 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6109 fi
6110
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6112 $as_echo "$result" >&6; }
6113
6114
6115 enablestring=disable
6116 defaultval=
6117 if test -z "$defaultval"; then
6118 if test x"$enablestring" = xdisable; then
6119 defaultval=yes
6120 else
6121 defaultval=no
6122 fi
6123 fi
6124
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6126 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6127 # Check whether --enable-unicode was given.
6128 if test "${enable_unicode+set}" = set; then :
6129 enableval=$enable_unicode;
6130 if test "$enableval" = yes; then
6131 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6132 else
6133 wx_cv_use_unicode='wxUSE_UNICODE=no'
6134 fi
6135
6136 else
6137
6138 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6139
6140 fi
6141
6142
6143 eval "$wx_cv_use_unicode"
6144
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_UNICODE = no; then
6147 result=yes
6148 else
6149 result=no
6150 fi
6151 else
6152 result=$wxUSE_UNICODE
6153 fi
6154
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6156 $as_echo "$result" >&6; }
6157
6158
6159 enablestring=
6160 defaultval=
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6163 defaultval=yes
6164 else
6165 defaultval=no
6166 fi
6167 fi
6168
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6170 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6171 # Check whether --enable-mslu was given.
6172 if test "${enable_mslu+set}" = set; then :
6173 enableval=$enable_mslu;
6174 if test "$enableval" = yes; then
6175 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6176 else
6177 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6178 fi
6179
6180 else
6181
6182 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6183
6184 fi
6185
6186
6187 eval "$wx_cv_use_mslu"
6188
6189 if test x"$enablestring" = xdisable; then
6190 if test $wxUSE_UNICODE_MSLU = no; then
6191 result=yes
6192 else
6193 result=no
6194 fi
6195 else
6196 result=$wxUSE_UNICODE_MSLU
6197 fi
6198
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6200 $as_echo "$result" >&6; }
6201
6202
6203 enablestring=
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6205 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6206 # Check whether --enable-utf8 was given.
6207 if test "${enable_utf8+set}" = set; then :
6208 enableval=$enable_utf8;
6209 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6210
6211 else
6212
6213 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6214
6215 fi
6216
6217
6218 eval "$wx_cv_use_utf8"
6219
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6221 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6222
6223
6224 enablestring=
6225 defaultval=
6226 if test -z "$defaultval"; then
6227 if test x"$enablestring" = xdisable; then
6228 defaultval=yes
6229 else
6230 defaultval=no
6231 fi
6232 fi
6233
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6235 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6236 # Check whether --enable-utf8only was given.
6237 if test "${enable_utf8only+set}" = set; then :
6238 enableval=$enable_utf8only;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6241 else
6242 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6243 fi
6244
6245 else
6246
6247 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6248
6249 fi
6250
6251
6252 eval "$wx_cv_use_utf8only"
6253
6254 if test x"$enablestring" = xdisable; then
6255 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6256 result=yes
6257 else
6258 result=no
6259 fi
6260 else
6261 result=$wxUSE_UNICODE_UTF8_LOCALE
6262 fi
6263
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6265 $as_echo "$result" >&6; }
6266
6267
6268 enablestring=
6269 defaultval=
6270 if test -z "$defaultval"; then
6271 if test x"$enablestring" = xdisable; then
6272 defaultval=yes
6273 else
6274 defaultval=no
6275 fi
6276 fi
6277
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6279 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6280 # Check whether --enable-extended_rtti was given.
6281 if test "${enable_extended_rtti+set}" = set; then :
6282 enableval=$enable_extended_rtti;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6285 else
6286 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6287 fi
6288
6289 else
6290
6291 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6292
6293 fi
6294
6295
6296 eval "$wx_cv_use_extended_rtti"
6297
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_EXTENDED_RTTI = no; then
6300 result=yes
6301 else
6302 result=no
6303 fi
6304 else
6305 result=$wxUSE_EXTENDED_RTTI
6306 fi
6307
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6309 $as_echo "$result" >&6; }
6310
6311 if test "$USE_OS2" = 1; then
6312 DEFAULT_wxUSE_OMF=no
6313
6314 enablestring=
6315 defaultval=
6316 if test -z "$defaultval"; then
6317 if test x"$enablestring" = xdisable; then
6318 defaultval=yes
6319 else
6320 defaultval=no
6321 fi
6322 fi
6323
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6325 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6326 # Check whether --enable-omf was given.
6327 if test "${enable_omf+set}" = set; then :
6328 enableval=$enable_omf;
6329 if test "$enableval" = yes; then
6330 wx_cv_use_omf='wxUSE_OMF=yes'
6331 else
6332 wx_cv_use_omf='wxUSE_OMF=no'
6333 fi
6334
6335 else
6336
6337 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6338
6339 fi
6340
6341
6342 eval "$wx_cv_use_omf"
6343
6344 if test x"$enablestring" = xdisable; then
6345 if test $wxUSE_OMF = no; then
6346 result=yes
6347 else
6348 result=no
6349 fi
6350 else
6351 result=$wxUSE_OMF
6352 fi
6353
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6355 $as_echo "$result" >&6; }
6356
6357 fi
6358
6359
6360 enablestring=disable
6361 defaultval=
6362 if test -z "$defaultval"; then
6363 if test x"$enablestring" = xdisable; then
6364 defaultval=yes
6365 else
6366 defaultval=no
6367 fi
6368 fi
6369
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6371 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6372 # Check whether --enable-optimise was given.
6373 if test "${enable_optimise+set}" = set; then :
6374 enableval=$enable_optimise;
6375 if test "$enableval" = yes; then
6376 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6377 else
6378 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6379 fi
6380
6381 else
6382
6383 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6384
6385 fi
6386
6387
6388 eval "$wx_cv_use_optimise"
6389
6390 if test x"$enablestring" = xdisable; then
6391 if test $wxUSE_OPTIMISE = no; then
6392 result=yes
6393 else
6394 result=no
6395 fi
6396 else
6397 result=$wxUSE_OPTIMISE
6398 fi
6399
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6401 $as_echo "$result" >&6; }
6402
6403
6404
6405 enablestring=
6406 defaultval=
6407 if test -z "$defaultval"; then
6408 if test x"$enablestring" = xdisable; then
6409 defaultval=yes
6410 else
6411 defaultval=no
6412 fi
6413 fi
6414
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6416 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6417 # Check whether --enable-profile was given.
6418 if test "${enable_profile+set}" = set; then :
6419 enableval=$enable_profile;
6420 if test "$enableval" = yes; then
6421 wx_cv_use_profile='wxUSE_PROFILE=yes'
6422 else
6423 wx_cv_use_profile='wxUSE_PROFILE=no'
6424 fi
6425
6426 else
6427
6428 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6429
6430 fi
6431
6432
6433 eval "$wx_cv_use_profile"
6434
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_PROFILE = no; then
6437 result=yes
6438 else
6439 result=no
6440 fi
6441 else
6442 result=$wxUSE_PROFILE
6443 fi
6444
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6446 $as_echo "$result" >&6; }
6447
6448
6449 enablestring=
6450 defaultval=
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6453 defaultval=yes
6454 else
6455 defaultval=no
6456 fi
6457 fi
6458
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6460 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6461 # Check whether --enable-no_rtti was given.
6462 if test "${enable_no_rtti+set}" = set; then :
6463 enableval=$enable_no_rtti;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6466 else
6467 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6468 fi
6469
6470 else
6471
6472 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6473
6474 fi
6475
6476
6477 eval "$wx_cv_use_no_rtti"
6478
6479 if test x"$enablestring" = xdisable; then
6480 if test $wxUSE_NO_RTTI = no; then
6481 result=yes
6482 else
6483 result=no
6484 fi
6485 else
6486 result=$wxUSE_NO_RTTI
6487 fi
6488
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6490 $as_echo "$result" >&6; }
6491
6492
6493 enablestring=
6494 defaultval=
6495 if test -z "$defaultval"; then
6496 if test x"$enablestring" = xdisable; then
6497 defaultval=yes
6498 else
6499 defaultval=no
6500 fi
6501 fi
6502
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6504 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6505 # Check whether --enable-no_exceptions was given.
6506 if test "${enable_no_exceptions+set}" = set; then :
6507 enableval=$enable_no_exceptions;
6508 if test "$enableval" = yes; then
6509 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6510 else
6511 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6512 fi
6513
6514 else
6515
6516 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6517
6518 fi
6519
6520
6521 eval "$wx_cv_use_no_exceptions"
6522
6523 if test x"$enablestring" = xdisable; then
6524 if test $wxUSE_NO_EXCEPTIONS = no; then
6525 result=yes
6526 else
6527 result=no
6528 fi
6529 else
6530 result=$wxUSE_NO_EXCEPTIONS
6531 fi
6532
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6534 $as_echo "$result" >&6; }
6535
6536
6537 enablestring=
6538 defaultval=
6539 if test -z "$defaultval"; then
6540 if test x"$enablestring" = xdisable; then
6541 defaultval=yes
6542 else
6543 defaultval=no
6544 fi
6545 fi
6546
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6548 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6549 # Check whether --enable-permissive was given.
6550 if test "${enable_permissive+set}" = set; then :
6551 enableval=$enable_permissive;
6552 if test "$enableval" = yes; then
6553 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6554 else
6555 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6556 fi
6557
6558 else
6559
6560 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6561
6562 fi
6563
6564
6565 eval "$wx_cv_use_permissive"
6566
6567 if test x"$enablestring" = xdisable; then
6568 if test $wxUSE_PERMISSIVE = no; then
6569 result=yes
6570 else
6571 result=no
6572 fi
6573 else
6574 result=$wxUSE_PERMISSIVE
6575 fi
6576
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6578 $as_echo "$result" >&6; }
6579
6580
6581 enablestring=
6582 defaultval=
6583 if test -z "$defaultval"; then
6584 if test x"$enablestring" = xdisable; then
6585 defaultval=yes
6586 else
6587 defaultval=no
6588 fi
6589 fi
6590
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6592 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6593 # Check whether --enable-no_deps was given.
6594 if test "${enable_no_deps+set}" = set; then :
6595 enableval=$enable_no_deps;
6596 if test "$enableval" = yes; then
6597 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6598 else
6599 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6600 fi
6601
6602 else
6603
6604 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6605
6606 fi
6607
6608
6609 eval "$wx_cv_use_no_deps"
6610
6611 if test x"$enablestring" = xdisable; then
6612 if test $wxUSE_NO_DEPS = no; then
6613 result=yes
6614 else
6615 result=no
6616 fi
6617 else
6618 result=$wxUSE_NO_DEPS
6619 fi
6620
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6622 $as_echo "$result" >&6; }
6623
6624
6625 enablestring=disable
6626 defaultval=
6627 if test -z "$defaultval"; then
6628 if test x"$enablestring" = xdisable; then
6629 defaultval=yes
6630 else
6631 defaultval=no
6632 fi
6633 fi
6634
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6636 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6637 # Check whether --enable-vararg_macros was given.
6638 if test "${enable_vararg_macros+set}" = set; then :
6639 enableval=$enable_vararg_macros;
6640 if test "$enableval" = yes; then
6641 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6642 else
6643 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6644 fi
6645
6646 else
6647
6648 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6649
6650 fi
6651
6652
6653 eval "$wx_cv_use_vararg_macros"
6654
6655 if test x"$enablestring" = xdisable; then
6656 if test $wxUSE_VARARG_MACROS = no; then
6657 result=yes
6658 else
6659 result=no
6660 fi
6661 else
6662 result=$wxUSE_VARARG_MACROS
6663 fi
6664
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6666 $as_echo "$result" >&6; }
6667
6668
6669
6670 enablestring=
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6672 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6673 # Check whether --enable-universal_binary was given.
6674 if test "${enable_universal_binary+set}" = set; then :
6675 enableval=$enable_universal_binary;
6676 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6677
6678 else
6679
6680 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6681
6682 fi
6683
6684
6685 eval "$wx_cv_use_universal_binary"
6686
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6688 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6689
6690
6691 enablestring=
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6693 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6694 # Check whether --enable-macosx_arch was given.
6695 if test "${enable_macosx_arch+set}" = set; then :
6696 enableval=$enable_macosx_arch;
6697 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6698
6699 else
6700
6701 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6702
6703 fi
6704
6705
6706 eval "$wx_cv_use_macosx_arch"
6707
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6709 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6710
6711
6712
6713 enablestring=
6714 defaultval=
6715 if test -z "$defaultval"; then
6716 if test x"$enablestring" = xdisable; then
6717 defaultval=yes
6718 else
6719 defaultval=no
6720 fi
6721 fi
6722
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6724 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6725 # Check whether --enable-compat26 was given.
6726 if test "${enable_compat26+set}" = set; then :
6727 enableval=$enable_compat26;
6728 if test "$enableval" = yes; then
6729 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6730 else
6731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6732 fi
6733
6734 else
6735
6736 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6737
6738 fi
6739
6740
6741 eval "$wx_cv_use_compat26"
6742
6743 if test x"$enablestring" = xdisable; then
6744 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6745 result=yes
6746 else
6747 result=no
6748 fi
6749 else
6750 result=$WXWIN_COMPATIBILITY_2_6
6751 fi
6752
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6754 $as_echo "$result" >&6; }
6755
6756
6757 enablestring=disable
6758 defaultval=
6759 if test -z "$defaultval"; then
6760 if test x"$enablestring" = xdisable; then
6761 defaultval=yes
6762 else
6763 defaultval=no
6764 fi
6765 fi
6766
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6768 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6769 # Check whether --enable-compat28 was given.
6770 if test "${enable_compat28+set}" = set; then :
6771 enableval=$enable_compat28;
6772 if test "$enableval" = yes; then
6773 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6774 else
6775 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6776 fi
6777
6778 else
6779
6780 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6781
6782 fi
6783
6784
6785 eval "$wx_cv_use_compat28"
6786
6787 if test x"$enablestring" = xdisable; then
6788 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6789 result=yes
6790 else
6791 result=no
6792 fi
6793 else
6794 result=$WXWIN_COMPATIBILITY_2_8
6795 fi
6796
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6798 $as_echo "$result" >&6; }
6799
6800
6801
6802 enablestring=disable
6803 defaultval=
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6806 defaultval=yes
6807 else
6808 defaultval=no
6809 fi
6810 fi
6811
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6813 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6814 # Check whether --enable-rpath was given.
6815 if test "${enable_rpath+set}" = set; then :
6816 enableval=$enable_rpath;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_rpath='wxUSE_RPATH=yes'
6819 else
6820 wx_cv_use_rpath='wxUSE_RPATH=no'
6821 fi
6822
6823 else
6824
6825 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6826
6827 fi
6828
6829
6830 eval "$wx_cv_use_rpath"
6831
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_RPATH = no; then
6834 result=yes
6835 else
6836 result=no
6837 fi
6838 else
6839 result=$wxUSE_RPATH
6840 fi
6841
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6843 $as_echo "$result" >&6; }
6844
6845
6846
6847 enablestring=
6848 defaultval=
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6851 defaultval=yes
6852 else
6853 defaultval=no
6854 fi
6855 fi
6856
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6858 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6859 # Check whether --enable-objc_uniquifying was given.
6860 if test "${enable_objc_uniquifying+set}" = set; then :
6861 enableval=$enable_objc_uniquifying;
6862 if test "$enableval" = yes; then
6863 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6864 else
6865 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6866 fi
6867
6868 else
6869
6870 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6871
6872 fi
6873
6874
6875 eval "$wx_cv_use_objc_uniquifying"
6876
6877 if test x"$enablestring" = xdisable; then
6878 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6879 result=yes
6880 else
6881 result=no
6882 fi
6883 else
6884 result=$wxUSE_OBJC_UNIQUIFYING
6885 fi
6886
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6888 $as_echo "$result" >&6; }
6889
6890
6891
6892 enablestring=disable
6893 defaultval=
6894 if test -z "$defaultval"; then
6895 if test x"$enablestring" = xdisable; then
6896 defaultval=yes
6897 else
6898 defaultval=no
6899 fi
6900 fi
6901
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6903 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6904 # Check whether --enable-visibility was given.
6905 if test "${enable_visibility+set}" = set; then :
6906 enableval=$enable_visibility;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6909 else
6910 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6911 fi
6912
6913 else
6914
6915 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6916
6917 fi
6918
6919
6920 eval "$wx_cv_use_visibility"
6921
6922 if test x"$enablestring" = xdisable; then
6923 if test $wxUSE_VISIBILITY = no; then
6924 result=yes
6925 else
6926 result=no
6927 fi
6928 else
6929 result=$wxUSE_VISIBILITY
6930 fi
6931
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6933 $as_echo "$result" >&6; }
6934
6935
6936 enablestring=disable
6937 defaultval=
6938 if test -z "$defaultval"; then
6939 if test x"$enablestring" = xdisable; then
6940 defaultval=yes
6941 else
6942 defaultval=no
6943 fi
6944 fi
6945
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6947 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6948 # Check whether --enable-tls was given.
6949 if test "${enable_tls+set}" = set; then :
6950 enableval=$enable_tls;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6953 else
6954 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6955 fi
6956
6957 else
6958
6959 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6960
6961 fi
6962
6963
6964 eval "$wx_cv_use_tls"
6965
6966 if test x"$enablestring" = xdisable; then
6967 if test $wxUSE_COMPILER_TLS = no; then
6968 result=yes
6969 else
6970 result=no
6971 fi
6972 else
6973 result=$wxUSE_COMPILER_TLS
6974 fi
6975
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6977 $as_echo "$result" >&6; }
6978
6979
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6993 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6994 # Check whether --enable-intl was given.
6995 if test "${enable_intl+set}" = set; then :
6996 enableval=$enable_intl;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_intl='wxUSE_INTL=yes'
6999 else
7000 wx_cv_use_intl='wxUSE_INTL=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_intl"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_INTL = no; then
7014 result=yes
7015 else
7016 result=no
7017 fi
7018 else
7019 result=$wxUSE_INTL
7020 fi
7021
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7023 $as_echo "$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7037 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7038 # Check whether --enable-xlocale was given.
7039 if test "${enable_xlocale+set}" = set; then :
7040 enableval=$enable_xlocale;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7043 else
7044 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_xlocale"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_XLOCALE = no; then
7058 result=yes
7059 else
7060 result=no
7061 fi
7062 else
7063 result=$wxUSE_XLOCALE
7064 fi
7065
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7067 $as_echo "$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7081 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7082 # Check whether --enable-config was given.
7083 if test "${enable_config+set}" = set; then :
7084 enableval=$enable_config;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_config='wxUSE_CONFIG=yes'
7087 else
7088 wx_cv_use_config='wxUSE_CONFIG=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_config"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_CONFIG = no; then
7102 result=yes
7103 else
7104 result=no
7105 fi
7106 else
7107 result=$wxUSE_CONFIG
7108 fi
7109
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7111 $as_echo "$result" >&6; }
7112
7113
7114
7115 enablestring=
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7119 defaultval=yes
7120 else
7121 defaultval=no
7122 fi
7123 fi
7124
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7126 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7127 # Check whether --enable-protocols was given.
7128 if test "${enable_protocols+set}" = set; then :
7129 enableval=$enable_protocols;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7132 else
7133 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7134 fi
7135
7136 else
7137
7138 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7139
7140 fi
7141
7142
7143 eval "$wx_cv_use_protocols"
7144
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_PROTOCOL = no; then
7147 result=yes
7148 else
7149 result=no
7150 fi
7151 else
7152 result=$wxUSE_PROTOCOL
7153 fi
7154
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7156 $as_echo "$result" >&6; }
7157
7158
7159 enablestring=
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7163 defaultval=yes
7164 else
7165 defaultval=no
7166 fi
7167 fi
7168
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7170 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7171 # Check whether --enable-ftp was given.
7172 if test "${enable_ftp+set}" = set; then :
7173 enableval=$enable_ftp;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7176 else
7177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7178 fi
7179
7180 else
7181
7182 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7183
7184 fi
7185
7186
7187 eval "$wx_cv_use_ftp"
7188
7189 if test x"$enablestring" = xdisable; then
7190 if test $wxUSE_PROTOCOL_FTP = no; then
7191 result=yes
7192 else
7193 result=no
7194 fi
7195 else
7196 result=$wxUSE_PROTOCOL_FTP
7197 fi
7198
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7200 $as_echo "$result" >&6; }
7201
7202
7203 enablestring=
7204 defaultval=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x"$enablestring" = xdisable; then
7207 defaultval=yes
7208 else
7209 defaultval=no
7210 fi
7211 fi
7212
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7214 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7215 # Check whether --enable-http was given.
7216 if test "${enable_http+set}" = set; then :
7217 enableval=$enable_http;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7220 else
7221 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7222 fi
7223
7224 else
7225
7226 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7227
7228 fi
7229
7230
7231 eval "$wx_cv_use_http"
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_PROTOCOL_HTTP = no; then
7235 result=yes
7236 else
7237 result=no
7238 fi
7239 else
7240 result=$wxUSE_PROTOCOL_HTTP
7241 fi
7242
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7244 $as_echo "$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7258 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7259 # Check whether --enable-fileproto was given.
7260 if test "${enable_fileproto+set}" = set; then :
7261 enableval=$enable_fileproto;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7264 else
7265 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7266 fi
7267
7268 else
7269
7270 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7271
7272 fi
7273
7274
7275 eval "$wx_cv_use_fileproto"
7276
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_PROTOCOL_FILE = no; then
7279 result=yes
7280 else
7281 result=no
7282 fi
7283 else
7284 result=$wxUSE_PROTOCOL_FILE
7285 fi
7286
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7288 $as_echo "$result" >&6; }
7289
7290
7291 enablestring=
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7295 defaultval=yes
7296 else
7297 defaultval=no
7298 fi
7299 fi
7300
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7302 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7303 # Check whether --enable-sockets was given.
7304 if test "${enable_sockets+set}" = set; then :
7305 enableval=$enable_sockets;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7308 else
7309 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7310 fi
7311
7312 else
7313
7314 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7315
7316 fi
7317
7318
7319 eval "$wx_cv_use_sockets"
7320
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_SOCKETS = no; then
7323 result=yes
7324 else
7325 result=no
7326 fi
7327 else
7328 result=$wxUSE_SOCKETS
7329 fi
7330
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7332 $as_echo "$result" >&6; }
7333
7334
7335 enablestring=
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7339 defaultval=yes
7340 else
7341 defaultval=no
7342 fi
7343 fi
7344
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7346 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7347 # Check whether --enable-ipv6 was given.
7348 if test "${enable_ipv6+set}" = set; then :
7349 enableval=$enable_ipv6;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7352 else
7353 wx_cv_use_ipv6='wxUSE_IPV6=no'
7354 fi
7355
7356 else
7357
7358 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7359
7360 fi
7361
7362
7363 eval "$wx_cv_use_ipv6"
7364
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_IPV6 = no; then
7367 result=yes
7368 else
7369 result=no
7370 fi
7371 else
7372 result=$wxUSE_IPV6
7373 fi
7374
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7376 $as_echo "$result" >&6; }
7377
7378
7379 enablestring=
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7383 defaultval=yes
7384 else
7385 defaultval=no
7386 fi
7387 fi
7388
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7390 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7391 # Check whether --enable-ole was given.
7392 if test "${enable_ole+set}" = set; then :
7393 enableval=$enable_ole;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_ole='wxUSE_OLE=yes'
7396 else
7397 wx_cv_use_ole='wxUSE_OLE=no'
7398 fi
7399
7400 else
7401
7402 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7403
7404 fi
7405
7406
7407 eval "$wx_cv_use_ole"
7408
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_OLE = no; then
7411 result=yes
7412 else
7413 result=no
7414 fi
7415 else
7416 result=$wxUSE_OLE
7417 fi
7418
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7420 $as_echo "$result" >&6; }
7421
7422
7423 enablestring=
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7427 defaultval=yes
7428 else
7429 defaultval=no
7430 fi
7431 fi
7432
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7434 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7435 # Check whether --enable-dataobj was given.
7436 if test "${enable_dataobj+set}" = set; then :
7437 enableval=$enable_dataobj;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7440 else
7441 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7442 fi
7443
7444 else
7445
7446 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7447
7448 fi
7449
7450
7451 eval "$wx_cv_use_dataobj"
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_DATAOBJ = no; then
7455 result=yes
7456 else
7457 result=no
7458 fi
7459 else
7460 result=$wxUSE_DATAOBJ
7461 fi
7462
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7464 $as_echo "$result" >&6; }
7465
7466
7467
7468 enablestring=
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7472 defaultval=yes
7473 else
7474 defaultval=no
7475 fi
7476 fi
7477
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7479 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7480 # Check whether --enable-ipc was given.
7481 if test "${enable_ipc+set}" = set; then :
7482 enableval=$enable_ipc;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_ipc='wxUSE_IPC=yes'
7485 else
7486 wx_cv_use_ipc='wxUSE_IPC=no'
7487 fi
7488
7489 else
7490
7491 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7492
7493 fi
7494
7495
7496 eval "$wx_cv_use_ipc"
7497
7498 if test x"$enablestring" = xdisable; then
7499 if test $wxUSE_IPC = no; then
7500 result=yes
7501 else
7502 result=no
7503 fi
7504 else
7505 result=$wxUSE_IPC
7506 fi
7507
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7509 $as_echo "$result" >&6; }
7510
7511
7512
7513 enablestring=
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7517 defaultval=yes
7518 else
7519 defaultval=no
7520 fi
7521 fi
7522
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7524 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7525 # Check whether --enable-baseevtloop was given.
7526 if test "${enable_baseevtloop+set}" = set; then :
7527 enableval=$enable_baseevtloop;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7530 else
7531 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7532 fi
7533
7534 else
7535
7536 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7537
7538 fi
7539
7540
7541 eval "$wx_cv_use_baseevtloop"
7542
7543 if test x"$enablestring" = xdisable; then
7544 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7545 result=yes
7546 else
7547 result=no
7548 fi
7549 else
7550 result=$wxUSE_CONSOLE_EVENTLOOP
7551 fi
7552
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7554 $as_echo "$result" >&6; }
7555
7556
7557 enablestring=
7558 defaultval=$wxUSE_ALL_FEATURES
7559 if test -z "$defaultval"; then
7560 if test x"$enablestring" = xdisable; then
7561 defaultval=yes
7562 else
7563 defaultval=no
7564 fi
7565 fi
7566
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7568 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7569 # Check whether --enable-epollloop was given.
7570 if test "${enable_epollloop+set}" = set; then :
7571 enableval=$enable_epollloop;
7572 if test "$enableval" = yes; then
7573 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7574 else
7575 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7576 fi
7577
7578 else
7579
7580 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7581
7582 fi
7583
7584
7585 eval "$wx_cv_use_epollloop"
7586
7587 if test x"$enablestring" = xdisable; then
7588 if test $wxUSE_EPOLL_DISPATCHER = no; then
7589 result=yes
7590 else
7591 result=no
7592 fi
7593 else
7594 result=$wxUSE_EPOLL_DISPATCHER
7595 fi
7596
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7598 $as_echo "$result" >&6; }
7599
7600
7601 enablestring=
7602 defaultval=$wxUSE_ALL_FEATURES
7603 if test -z "$defaultval"; then
7604 if test x"$enablestring" = xdisable; then
7605 defaultval=yes
7606 else
7607 defaultval=no
7608 fi
7609 fi
7610
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7612 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7613 # Check whether --enable-selectloop was given.
7614 if test "${enable_selectloop+set}" = set; then :
7615 enableval=$enable_selectloop;
7616 if test "$enableval" = yes; then
7617 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7618 else
7619 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7620 fi
7621
7622 else
7623
7624 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7625
7626 fi
7627
7628
7629 eval "$wx_cv_use_selectloop"
7630
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_SELECT_DISPATCHER = no; then
7633 result=yes
7634 else
7635 result=no
7636 fi
7637 else
7638 result=$wxUSE_SELECT_DISPATCHER
7639 fi
7640
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7642 $as_echo "$result" >&6; }
7643
7644
7645
7646 enablestring=
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7650 defaultval=yes
7651 else
7652 defaultval=no
7653 fi
7654 fi
7655
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7657 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7658 # Check whether --enable-any was given.
7659 if test "${enable_any+set}" = set; then :
7660 enableval=$enable_any;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_any='wxUSE_ANY=yes'
7663 else
7664 wx_cv_use_any='wxUSE_ANY=no'
7665 fi
7666
7667 else
7668
7669 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7670
7671 fi
7672
7673
7674 eval "$wx_cv_use_any"
7675
7676 if test x"$enablestring" = xdisable; then
7677 if test $wxUSE_ANY = no; then
7678 result=yes
7679 else
7680 result=no
7681 fi
7682 else
7683 result=$wxUSE_ANY
7684 fi
7685
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7687 $as_echo "$result" >&6; }
7688
7689
7690 enablestring=
7691 defaultval=$wxUSE_ALL_FEATURES
7692 if test -z "$defaultval"; then
7693 if test x"$enablestring" = xdisable; then
7694 defaultval=yes
7695 else
7696 defaultval=no
7697 fi
7698 fi
7699
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7701 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7702 # Check whether --enable-apple_ieee was given.
7703 if test "${enable_apple_ieee+set}" = set; then :
7704 enableval=$enable_apple_ieee;
7705 if test "$enableval" = yes; then
7706 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7707 else
7708 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7709 fi
7710
7711 else
7712
7713 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_apple_ieee"
7719
7720 if test x"$enablestring" = xdisable; then
7721 if test $wxUSE_APPLE_IEEE = no; then
7722 result=yes
7723 else
7724 result=no
7725 fi
7726 else
7727 result=$wxUSE_APPLE_IEEE
7728 fi
7729
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7731 $as_echo "$result" >&6; }
7732
7733
7734 enablestring=
7735 defaultval=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x"$enablestring" = xdisable; then
7738 defaultval=yes
7739 else
7740 defaultval=no
7741 fi
7742 fi
7743
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7745 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7746 # Check whether --enable-arcstream was given.
7747 if test "${enable_arcstream+set}" = set; then :
7748 enableval=$enable_arcstream;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7751 else
7752 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7753 fi
7754
7755 else
7756
7757 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7758
7759 fi
7760
7761
7762 eval "$wx_cv_use_arcstream"
7763
7764 if test x"$enablestring" = xdisable; then
7765 if test $wxUSE_ARCHIVE_STREAMS = no; then
7766 result=yes
7767 else
7768 result=no
7769 fi
7770 else
7771 result=$wxUSE_ARCHIVE_STREAMS
7772 fi
7773
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7775 $as_echo "$result" >&6; }
7776
7777
7778 enablestring=
7779 defaultval=$wxUSE_ALL_FEATURES
7780 if test -z "$defaultval"; then
7781 if test x"$enablestring" = xdisable; then
7782 defaultval=yes
7783 else
7784 defaultval=no
7785 fi
7786 fi
7787
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7789 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7790 # Check whether --enable-base64 was given.
7791 if test "${enable_base64+set}" = set; then :
7792 enableval=$enable_base64;
7793 if test "$enableval" = yes; then
7794 wx_cv_use_base64='wxUSE_BASE64=yes'
7795 else
7796 wx_cv_use_base64='wxUSE_BASE64=no'
7797 fi
7798
7799 else
7800
7801 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7802
7803 fi
7804
7805
7806 eval "$wx_cv_use_base64"
7807
7808 if test x"$enablestring" = xdisable; then
7809 if test $wxUSE_BASE64 = no; then
7810 result=yes
7811 else
7812 result=no
7813 fi
7814 else
7815 result=$wxUSE_BASE64
7816 fi
7817
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7819 $as_echo "$result" >&6; }
7820
7821
7822 enablestring=
7823 defaultval=$wxUSE_ALL_FEATURES
7824 if test -z "$defaultval"; then
7825 if test x"$enablestring" = xdisable; then
7826 defaultval=yes
7827 else
7828 defaultval=no
7829 fi
7830 fi
7831
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7833 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7834 # Check whether --enable-backtrace was given.
7835 if test "${enable_backtrace+set}" = set; then :
7836 enableval=$enable_backtrace;
7837 if test "$enableval" = yes; then
7838 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7839 else
7840 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7841 fi
7842
7843 else
7844
7845 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7846
7847 fi
7848
7849
7850 eval "$wx_cv_use_backtrace"
7851
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_STACKWALKER = no; then
7854 result=yes
7855 else
7856 result=no
7857 fi
7858 else
7859 result=$wxUSE_STACKWALKER
7860 fi
7861
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7863 $as_echo "$result" >&6; }
7864
7865
7866 enablestring=
7867 defaultval=$wxUSE_ALL_FEATURES
7868 if test -z "$defaultval"; then
7869 if test x"$enablestring" = xdisable; then
7870 defaultval=yes
7871 else
7872 defaultval=no
7873 fi
7874 fi
7875
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7877 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7878 # Check whether --enable-catch_segvs was given.
7879 if test "${enable_catch_segvs+set}" = set; then :
7880 enableval=$enable_catch_segvs;
7881 if test "$enableval" = yes; then
7882 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7883 else
7884 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7885 fi
7886
7887 else
7888
7889 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7890
7891 fi
7892
7893
7894 eval "$wx_cv_use_catch_segvs"
7895
7896 if test x"$enablestring" = xdisable; then
7897 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7898 result=yes
7899 else
7900 result=no
7901 fi
7902 else
7903 result=$wxUSE_ON_FATAL_EXCEPTION
7904 fi
7905
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7907 $as_echo "$result" >&6; }
7908
7909
7910 enablestring=
7911 defaultval=$wxUSE_ALL_FEATURES
7912 if test -z "$defaultval"; then
7913 if test x"$enablestring" = xdisable; then
7914 defaultval=yes
7915 else
7916 defaultval=no
7917 fi
7918 fi
7919
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7921 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7922 # Check whether --enable-cmdline was given.
7923 if test "${enable_cmdline+set}" = set; then :
7924 enableval=$enable_cmdline;
7925 if test "$enableval" = yes; then
7926 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7927 else
7928 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7929 fi
7930
7931 else
7932
7933 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7934
7935 fi
7936
7937
7938 eval "$wx_cv_use_cmdline"
7939
7940 if test x"$enablestring" = xdisable; then
7941 if test $wxUSE_CMDLINE_PARSER = no; then
7942 result=yes
7943 else
7944 result=no
7945 fi
7946 else
7947 result=$wxUSE_CMDLINE_PARSER
7948 fi
7949
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7951 $as_echo "$result" >&6; }
7952
7953
7954 enablestring=
7955 defaultval=$wxUSE_ALL_FEATURES
7956 if test -z "$defaultval"; then
7957 if test x"$enablestring" = xdisable; then
7958 defaultval=yes
7959 else
7960 defaultval=no
7961 fi
7962 fi
7963
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7965 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7966 # Check whether --enable-datetime was given.
7967 if test "${enable_datetime+set}" = set; then :
7968 enableval=$enable_datetime;
7969 if test "$enableval" = yes; then
7970 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7971 else
7972 wx_cv_use_datetime='wxUSE_DATETIME=no'
7973 fi
7974
7975 else
7976
7977 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7978
7979 fi
7980
7981
7982 eval "$wx_cv_use_datetime"
7983
7984 if test x"$enablestring" = xdisable; then
7985 if test $wxUSE_DATETIME = no; then
7986 result=yes
7987 else
7988 result=no
7989 fi
7990 else
7991 result=$wxUSE_DATETIME
7992 fi
7993
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7995 $as_echo "$result" >&6; }
7996
7997
7998 enablestring=
7999 defaultval=$wxUSE_ALL_FEATURES
8000 if test -z "$defaultval"; then
8001 if test x"$enablestring" = xdisable; then
8002 defaultval=yes
8003 else
8004 defaultval=no
8005 fi
8006 fi
8007
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8009 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8010 # Check whether --enable-debugreport was given.
8011 if test "${enable_debugreport+set}" = set; then :
8012 enableval=$enable_debugreport;
8013 if test "$enableval" = yes; then
8014 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8015 else
8016 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8017 fi
8018
8019 else
8020
8021 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8022
8023 fi
8024
8025
8026 eval "$wx_cv_use_debugreport"
8027
8028 if test x"$enablestring" = xdisable; then
8029 if test $wxUSE_DEBUGREPORT = no; then
8030 result=yes
8031 else
8032 result=no
8033 fi
8034 else
8035 result=$wxUSE_DEBUGREPORT
8036 fi
8037
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8039 $as_echo "$result" >&6; }
8040
8041
8042 enablestring=
8043 defaultval=$wxUSE_ALL_FEATURES
8044 if test -z "$defaultval"; then
8045 if test x"$enablestring" = xdisable; then
8046 defaultval=yes
8047 else
8048 defaultval=no
8049 fi
8050 fi
8051
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8053 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8054 # Check whether --enable-dialupman was given.
8055 if test "${enable_dialupman+set}" = set; then :
8056 enableval=$enable_dialupman;
8057 if test "$enableval" = yes; then
8058 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8059 else
8060 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8061 fi
8062
8063 else
8064
8065 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8066
8067 fi
8068
8069
8070 eval "$wx_cv_use_dialupman"
8071
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_DIALUP_MANAGER = no; then
8074 result=yes
8075 else
8076 result=no
8077 fi
8078 else
8079 result=$wxUSE_DIALUP_MANAGER
8080 fi
8081
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8083 $as_echo "$result" >&6; }
8084
8085
8086 enablestring=
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8090 defaultval=yes
8091 else
8092 defaultval=no
8093 fi
8094 fi
8095
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8097 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8098 # Check whether --enable-dynlib was given.
8099 if test "${enable_dynlib+set}" = set; then :
8100 enableval=$enable_dynlib;
8101 if test "$enableval" = yes; then
8102 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8103 else
8104 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8105 fi
8106
8107 else
8108
8109 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8110
8111 fi
8112
8113
8114 eval "$wx_cv_use_dynlib"
8115
8116 if test x"$enablestring" = xdisable; then
8117 if test $wxUSE_DYNLIB_CLASS = no; then
8118 result=yes
8119 else
8120 result=no
8121 fi
8122 else
8123 result=$wxUSE_DYNLIB_CLASS
8124 fi
8125
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8127 $as_echo "$result" >&6; }
8128
8129
8130 enablestring=
8131 defaultval=$wxUSE_ALL_FEATURES
8132 if test -z "$defaultval"; then
8133 if test x"$enablestring" = xdisable; then
8134 defaultval=yes
8135 else
8136 defaultval=no
8137 fi
8138 fi
8139
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8141 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8142 # Check whether --enable-dynamicloader was given.
8143 if test "${enable_dynamicloader+set}" = set; then :
8144 enableval=$enable_dynamicloader;
8145 if test "$enableval" = yes; then
8146 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8147 else
8148 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8149 fi
8150
8151 else
8152
8153 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8154
8155 fi
8156
8157
8158 eval "$wx_cv_use_dynamicloader"
8159
8160 if test x"$enablestring" = xdisable; then
8161 if test $wxUSE_DYNAMIC_LOADER = no; then
8162 result=yes
8163 else
8164 result=no
8165 fi
8166 else
8167 result=$wxUSE_DYNAMIC_LOADER
8168 fi
8169
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8171 $as_echo "$result" >&6; }
8172
8173
8174 enablestring=
8175 defaultval=$wxUSE_ALL_FEATURES
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8178 defaultval=yes
8179 else
8180 defaultval=no
8181 fi
8182 fi
8183
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8185 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8186 # Check whether --enable-exceptions was given.
8187 if test "${enable_exceptions+set}" = set; then :
8188 enableval=$enable_exceptions;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8191 else
8192 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8193 fi
8194
8195 else
8196
8197 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8198
8199 fi
8200
8201
8202 eval "$wx_cv_use_exceptions"
8203
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_EXCEPTIONS = no; then
8206 result=yes
8207 else
8208 result=no
8209 fi
8210 else
8211 result=$wxUSE_EXCEPTIONS
8212 fi
8213
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8215 $as_echo "$result" >&6; }
8216
8217
8218 enablestring=
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8222 defaultval=yes
8223 else
8224 defaultval=no
8225 fi
8226 fi
8227
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8229 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8230 # Check whether --enable-ffile was given.
8231 if test "${enable_ffile+set}" = set; then :
8232 enableval=$enable_ffile;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_ffile='wxUSE_FFILE=yes'
8235 else
8236 wx_cv_use_ffile='wxUSE_FFILE=no'
8237 fi
8238
8239 else
8240
8241 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8242
8243 fi
8244
8245
8246 eval "$wx_cv_use_ffile"
8247
8248 if test x"$enablestring" = xdisable; then
8249 if test $wxUSE_FFILE = no; then
8250 result=yes
8251 else
8252 result=no
8253 fi
8254 else
8255 result=$wxUSE_FFILE
8256 fi
8257
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8259 $as_echo "$result" >&6; }
8260
8261
8262 enablestring=
8263 defaultval=$wxUSE_ALL_FEATURES
8264 if test -z "$defaultval"; then
8265 if test x"$enablestring" = xdisable; then
8266 defaultval=yes
8267 else
8268 defaultval=no
8269 fi
8270 fi
8271
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8273 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8274 # Check whether --enable-file was given.
8275 if test "${enable_file+set}" = set; then :
8276 enableval=$enable_file;
8277 if test "$enableval" = yes; then
8278 wx_cv_use_file='wxUSE_FILE=yes'
8279 else
8280 wx_cv_use_file='wxUSE_FILE=no'
8281 fi
8282
8283 else
8284
8285 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8286
8287 fi
8288
8289
8290 eval "$wx_cv_use_file"
8291
8292 if test x"$enablestring" = xdisable; then
8293 if test $wxUSE_FILE = no; then
8294 result=yes
8295 else
8296 result=no
8297 fi
8298 else
8299 result=$wxUSE_FILE
8300 fi
8301
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8303 $as_echo "$result" >&6; }
8304
8305
8306 enablestring=
8307 defaultval=$wxUSE_ALL_FEATURES
8308 if test -z "$defaultval"; then
8309 if test x"$enablestring" = xdisable; then
8310 defaultval=yes
8311 else
8312 defaultval=no
8313 fi
8314 fi
8315
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8317 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8318 # Check whether --enable-filehistory was given.
8319 if test "${enable_filehistory+set}" = set; then :
8320 enableval=$enable_filehistory;
8321 if test "$enableval" = yes; then
8322 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8323 else
8324 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8325 fi
8326
8327 else
8328
8329 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8330
8331 fi
8332
8333
8334 eval "$wx_cv_use_filehistory"
8335
8336 if test x"$enablestring" = xdisable; then
8337 if test $wxUSE_FILE_HISTORY = no; then
8338 result=yes
8339 else
8340 result=no
8341 fi
8342 else
8343 result=$wxUSE_FILE_HISTORY
8344 fi
8345
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8347 $as_echo "$result" >&6; }
8348
8349
8350 enablestring=
8351 defaultval=$wxUSE_ALL_FEATURES
8352 if test -z "$defaultval"; then
8353 if test x"$enablestring" = xdisable; then
8354 defaultval=yes
8355 else
8356 defaultval=no
8357 fi
8358 fi
8359
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8361 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8362 # Check whether --enable-filesystem was given.
8363 if test "${enable_filesystem+set}" = set; then :
8364 enableval=$enable_filesystem;
8365 if test "$enableval" = yes; then
8366 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8367 else
8368 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8369 fi
8370
8371 else
8372
8373 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8374
8375 fi
8376
8377
8378 eval "$wx_cv_use_filesystem"
8379
8380 if test x"$enablestring" = xdisable; then
8381 if test $wxUSE_FILESYSTEM = no; then
8382 result=yes
8383 else
8384 result=no
8385 fi
8386 else
8387 result=$wxUSE_FILESYSTEM
8388 fi
8389
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8391 $as_echo "$result" >&6; }
8392
8393
8394 enablestring=
8395 defaultval=$wxUSE_ALL_FEATURES
8396 if test -z "$defaultval"; then
8397 if test x"$enablestring" = xdisable; then
8398 defaultval=yes
8399 else
8400 defaultval=no
8401 fi
8402 fi
8403
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8405 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8406 # Check whether --enable-fontenum was given.
8407 if test "${enable_fontenum+set}" = set; then :
8408 enableval=$enable_fontenum;
8409 if test "$enableval" = yes; then
8410 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8411 else
8412 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8413 fi
8414
8415 else
8416
8417 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8418
8419 fi
8420
8421
8422 eval "$wx_cv_use_fontenum"
8423
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_FONTENUM = no; then
8426 result=yes
8427 else
8428 result=no
8429 fi
8430 else
8431 result=$wxUSE_FONTENUM
8432 fi
8433
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8435 $as_echo "$result" >&6; }
8436
8437
8438 enablestring=
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8442 defaultval=yes
8443 else
8444 defaultval=no
8445 fi
8446 fi
8447
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8449 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8450 # Check whether --enable-fontmap was given.
8451 if test "${enable_fontmap+set}" = set; then :
8452 enableval=$enable_fontmap;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8455 else
8456 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8457 fi
8458
8459 else
8460
8461 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8462
8463 fi
8464
8465
8466 eval "$wx_cv_use_fontmap"
8467
8468 if test x"$enablestring" = xdisable; then
8469 if test $wxUSE_FONTMAP = no; then
8470 result=yes
8471 else
8472 result=no
8473 fi
8474 else
8475 result=$wxUSE_FONTMAP
8476 fi
8477
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8479 $as_echo "$result" >&6; }
8480
8481
8482 enablestring=
8483 defaultval=$wxUSE_ALL_FEATURES
8484 if test -z "$defaultval"; then
8485 if test x"$enablestring" = xdisable; then
8486 defaultval=yes
8487 else
8488 defaultval=no
8489 fi
8490 fi
8491
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8493 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8494 # Check whether --enable-fs_archive was given.
8495 if test "${enable_fs_archive+set}" = set; then :
8496 enableval=$enable_fs_archive;
8497 if test "$enableval" = yes; then
8498 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8499 else
8500 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8501 fi
8502
8503 else
8504
8505 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8506
8507 fi
8508
8509
8510 eval "$wx_cv_use_fs_archive"
8511
8512 if test x"$enablestring" = xdisable; then
8513 if test $wxUSE_FS_ARCHIVE = no; then
8514 result=yes
8515 else
8516 result=no
8517 fi
8518 else
8519 result=$wxUSE_FS_ARCHIVE
8520 fi
8521
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8523 $as_echo "$result" >&6; }
8524
8525
8526 enablestring=
8527 defaultval=$wxUSE_ALL_FEATURES
8528 if test -z "$defaultval"; then
8529 if test x"$enablestring" = xdisable; then
8530 defaultval=yes
8531 else
8532 defaultval=no
8533 fi
8534 fi
8535
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8537 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8538 # Check whether --enable-fs_inet was given.
8539 if test "${enable_fs_inet+set}" = set; then :
8540 enableval=$enable_fs_inet;
8541 if test "$enableval" = yes; then
8542 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8543 else
8544 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8545 fi
8546
8547 else
8548
8549 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8550
8551 fi
8552
8553
8554 eval "$wx_cv_use_fs_inet"
8555
8556 if test x"$enablestring" = xdisable; then
8557 if test $wxUSE_FS_INET = no; then
8558 result=yes
8559 else
8560 result=no
8561 fi
8562 else
8563 result=$wxUSE_FS_INET
8564 fi
8565
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8567 $as_echo "$result" >&6; }
8568
8569
8570 enablestring=
8571 defaultval=$wxUSE_ALL_FEATURES
8572 if test -z "$defaultval"; then
8573 if test x"$enablestring" = xdisable; then
8574 defaultval=yes
8575 else
8576 defaultval=no
8577 fi
8578 fi
8579
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8581 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8582 # Check whether --enable-fs_zip was given.
8583 if test "${enable_fs_zip+set}" = set; then :
8584 enableval=$enable_fs_zip;
8585 if test "$enableval" = yes; then
8586 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8587 else
8588 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8589 fi
8590
8591 else
8592
8593 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8594
8595 fi
8596
8597
8598 eval "$wx_cv_use_fs_zip"
8599
8600 if test x"$enablestring" = xdisable; then
8601 if test $wxUSE_FS_ZIP = no; then
8602 result=yes
8603 else
8604 result=no
8605 fi
8606 else
8607 result=$wxUSE_FS_ZIP
8608 fi
8609
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8611 $as_echo "$result" >&6; }
8612
8613
8614 enablestring=
8615 defaultval=$wxUSE_ALL_FEATURES
8616 if test -z "$defaultval"; then
8617 if test x"$enablestring" = xdisable; then
8618 defaultval=yes
8619 else
8620 defaultval=no
8621 fi
8622 fi
8623
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8625 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8626 # Check whether --enable-fswatcher was given.
8627 if test "${enable_fswatcher+set}" = set; then :
8628 enableval=$enable_fswatcher;
8629 if test "$enableval" = yes; then
8630 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8631 else
8632 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8633 fi
8634
8635 else
8636
8637 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8638
8639 fi
8640
8641
8642 eval "$wx_cv_use_fswatcher"
8643
8644 if test x"$enablestring" = xdisable; then
8645 if test $wxUSE_FSWATCHER = no; then
8646 result=yes
8647 else
8648 result=no
8649 fi
8650 else
8651 result=$wxUSE_FSWATCHER
8652 fi
8653
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8655 $as_echo "$result" >&6; }
8656
8657
8658 enablestring=
8659 defaultval=$wxUSE_ALL_FEATURES
8660 if test -z "$defaultval"; then
8661 if test x"$enablestring" = xdisable; then
8662 defaultval=yes
8663 else
8664 defaultval=no
8665 fi
8666 fi
8667
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8669 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8670 # Check whether --enable-geometry was given.
8671 if test "${enable_geometry+set}" = set; then :
8672 enableval=$enable_geometry;
8673 if test "$enableval" = yes; then
8674 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8675 else
8676 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8677 fi
8678
8679 else
8680
8681 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8682
8683 fi
8684
8685
8686 eval "$wx_cv_use_geometry"
8687
8688 if test x"$enablestring" = xdisable; then
8689 if test $wxUSE_GEOMETRY = no; then
8690 result=yes
8691 else
8692 result=no
8693 fi
8694 else
8695 result=$wxUSE_GEOMETRY
8696 fi
8697
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8699 $as_echo "$result" >&6; }
8700
8701
8702 enablestring=
8703 defaultval=$wxUSE_ALL_FEATURES
8704 if test -z "$defaultval"; then
8705 if test x"$enablestring" = xdisable; then
8706 defaultval=yes
8707 else
8708 defaultval=no
8709 fi
8710 fi
8711
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8713 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8714 # Check whether --enable-log was given.
8715 if test "${enable_log+set}" = set; then :
8716 enableval=$enable_log;
8717 if test "$enableval" = yes; then
8718 wx_cv_use_log='wxUSE_LOG=yes'
8719 else
8720 wx_cv_use_log='wxUSE_LOG=no'
8721 fi
8722
8723 else
8724
8725 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8726
8727 fi
8728
8729
8730 eval "$wx_cv_use_log"
8731
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_LOG = no; then
8734 result=yes
8735 else
8736 result=no
8737 fi
8738 else
8739 result=$wxUSE_LOG
8740 fi
8741
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8743 $as_echo "$result" >&6; }
8744
8745
8746 enablestring=
8747 defaultval=$wxUSE_ALL_FEATURES
8748 if test -z "$defaultval"; then
8749 if test x"$enablestring" = xdisable; then
8750 defaultval=yes
8751 else
8752 defaultval=no
8753 fi
8754 fi
8755
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8757 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8758 # Check whether --enable-longlong was given.
8759 if test "${enable_longlong+set}" = set; then :
8760 enableval=$enable_longlong;
8761 if test "$enableval" = yes; then
8762 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8763 else
8764 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8765 fi
8766
8767 else
8768
8769 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8770
8771 fi
8772
8773
8774 eval "$wx_cv_use_longlong"
8775
8776 if test x"$enablestring" = xdisable; then
8777 if test $wxUSE_LONGLONG = no; then
8778 result=yes
8779 else
8780 result=no
8781 fi
8782 else
8783 result=$wxUSE_LONGLONG
8784 fi
8785
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8787 $as_echo "$result" >&6; }
8788
8789
8790 enablestring=
8791 defaultval=$wxUSE_ALL_FEATURES
8792 if test -z "$defaultval"; then
8793 if test x"$enablestring" = xdisable; then
8794 defaultval=yes
8795 else
8796 defaultval=no
8797 fi
8798 fi
8799
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8801 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8802 # Check whether --enable-mimetype was given.
8803 if test "${enable_mimetype+set}" = set; then :
8804 enableval=$enable_mimetype;
8805 if test "$enableval" = yes; then
8806 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8807 else
8808 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8809 fi
8810
8811 else
8812
8813 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8814
8815 fi
8816
8817
8818 eval "$wx_cv_use_mimetype"
8819
8820 if test x"$enablestring" = xdisable; then
8821 if test $wxUSE_MIMETYPE = no; then
8822 result=yes
8823 else
8824 result=no
8825 fi
8826 else
8827 result=$wxUSE_MIMETYPE
8828 fi
8829
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8831 $as_echo "$result" >&6; }
8832
8833
8834 enablestring=
8835 defaultval=$wxUSE_ALL_FEATURES
8836 if test -z "$defaultval"; then
8837 if test x"$enablestring" = xdisable; then
8838 defaultval=yes
8839 else
8840 defaultval=no
8841 fi
8842 fi
8843
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8845 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8846 # Check whether --enable-printfposparam was given.
8847 if test "${enable_printfposparam+set}" = set; then :
8848 enableval=$enable_printfposparam;
8849 if test "$enableval" = yes; then
8850 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8851 else
8852 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8853 fi
8854
8855 else
8856
8857 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8858
8859 fi
8860
8861
8862 eval "$wx_cv_use_printfposparam"
8863
8864 if test x"$enablestring" = xdisable; then
8865 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8866 result=yes
8867 else
8868 result=no
8869 fi
8870 else
8871 result=$wxUSE_PRINTF_POS_PARAMS
8872 fi
8873
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8875 $as_echo "$result" >&6; }
8876
8877
8878 enablestring=
8879 defaultval=$wxUSE_ALL_FEATURES
8880 if test -z "$defaultval"; then
8881 if test x"$enablestring" = xdisable; then
8882 defaultval=yes
8883 else
8884 defaultval=no
8885 fi
8886 fi
8887
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8889 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8890 # Check whether --enable-snglinst was given.
8891 if test "${enable_snglinst+set}" = set; then :
8892 enableval=$enable_snglinst;
8893 if test "$enableval" = yes; then
8894 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8895 else
8896 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8897 fi
8898
8899 else
8900
8901 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8902
8903 fi
8904
8905
8906 eval "$wx_cv_use_snglinst"
8907
8908 if test x"$enablestring" = xdisable; then
8909 if test $wxUSE_SNGLINST_CHECKER = no; then
8910 result=yes
8911 else
8912 result=no
8913 fi
8914 else
8915 result=$wxUSE_SNGLINST_CHECKER
8916 fi
8917
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8919 $as_echo "$result" >&6; }
8920
8921
8922 enablestring=
8923 defaultval=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x"$enablestring" = xdisable; then
8926 defaultval=yes
8927 else
8928 defaultval=no
8929 fi
8930 fi
8931
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8933 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8934 # Check whether --enable-sound was given.
8935 if test "${enable_sound+set}" = set; then :
8936 enableval=$enable_sound;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_sound='wxUSE_SOUND=yes'
8939 else
8940 wx_cv_use_sound='wxUSE_SOUND=no'
8941 fi
8942
8943 else
8944
8945 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8946
8947 fi
8948
8949
8950 eval "$wx_cv_use_sound"
8951
8952 if test x"$enablestring" = xdisable; then
8953 if test $wxUSE_SOUND = no; then
8954 result=yes
8955 else
8956 result=no
8957 fi
8958 else
8959 result=$wxUSE_SOUND
8960 fi
8961
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8963 $as_echo "$result" >&6; }
8964
8965
8966 enablestring=
8967 defaultval=$wxUSE_ALL_FEATURES
8968 if test -z "$defaultval"; then
8969 if test x"$enablestring" = xdisable; then
8970 defaultval=yes
8971 else
8972 defaultval=no
8973 fi
8974 fi
8975
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8977 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8978 # Check whether --enable-stdpaths was given.
8979 if test "${enable_stdpaths+set}" = set; then :
8980 enableval=$enable_stdpaths;
8981 if test "$enableval" = yes; then
8982 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8983 else
8984 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8985 fi
8986
8987 else
8988
8989 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8990
8991 fi
8992
8993
8994 eval "$wx_cv_use_stdpaths"
8995
8996 if test x"$enablestring" = xdisable; then
8997 if test $wxUSE_STDPATHS = no; then
8998 result=yes
8999 else
9000 result=no
9001 fi
9002 else
9003 result=$wxUSE_STDPATHS
9004 fi
9005
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9007 $as_echo "$result" >&6; }
9008
9009
9010 enablestring=
9011 defaultval=$wxUSE_ALL_FEATURES
9012 if test -z "$defaultval"; then
9013 if test x"$enablestring" = xdisable; then
9014 defaultval=yes
9015 else
9016 defaultval=no
9017 fi
9018 fi
9019
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9021 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9022 # Check whether --enable-stopwatch was given.
9023 if test "${enable_stopwatch+set}" = set; then :
9024 enableval=$enable_stopwatch;
9025 if test "$enableval" = yes; then
9026 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9027 else
9028 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9029 fi
9030
9031 else
9032
9033 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9034
9035 fi
9036
9037
9038 eval "$wx_cv_use_stopwatch"
9039
9040 if test x"$enablestring" = xdisable; then
9041 if test $wxUSE_STOPWATCH = no; then
9042 result=yes
9043 else
9044 result=no
9045 fi
9046 else
9047 result=$wxUSE_STOPWATCH
9048 fi
9049
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9051 $as_echo "$result" >&6; }
9052
9053
9054 enablestring=
9055 defaultval=$wxUSE_ALL_FEATURES
9056 if test -z "$defaultval"; then
9057 if test x"$enablestring" = xdisable; then
9058 defaultval=yes
9059 else
9060 defaultval=no
9061 fi
9062 fi
9063
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9065 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9066 # Check whether --enable-streams was given.
9067 if test "${enable_streams+set}" = set; then :
9068 enableval=$enable_streams;
9069 if test "$enableval" = yes; then
9070 wx_cv_use_streams='wxUSE_STREAMS=yes'
9071 else
9072 wx_cv_use_streams='wxUSE_STREAMS=no'
9073 fi
9074
9075 else
9076
9077 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9078
9079 fi
9080
9081
9082 eval "$wx_cv_use_streams"
9083
9084 if test x"$enablestring" = xdisable; then
9085 if test $wxUSE_STREAMS = no; then
9086 result=yes
9087 else
9088 result=no
9089 fi
9090 else
9091 result=$wxUSE_STREAMS
9092 fi
9093
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9095 $as_echo "$result" >&6; }
9096
9097
9098 enablestring=
9099 defaultval=$wxUSE_ALL_FEATURES
9100 if test -z "$defaultval"; then
9101 if test x"$enablestring" = xdisable; then
9102 defaultval=yes
9103 else
9104 defaultval=no
9105 fi
9106 fi
9107
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9109 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9110 # Check whether --enable-sysoptions was given.
9111 if test "${enable_sysoptions+set}" = set; then :
9112 enableval=$enable_sysoptions;
9113 if test "$enableval" = yes; then
9114 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9115 else
9116 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9117 fi
9118
9119 else
9120
9121 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9122
9123 fi
9124
9125
9126 eval "$wx_cv_use_sysoptions"
9127
9128 if test x"$enablestring" = xdisable; then
9129 if test $wxUSE_SYSTEM_OPTIONS = no; then
9130 result=yes
9131 else
9132 result=no
9133 fi
9134 else
9135 result=$wxUSE_SYSTEM_OPTIONS
9136 fi
9137
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9139 $as_echo "$result" >&6; }
9140
9141
9142 enablestring=
9143 defaultval=$wxUSE_ALL_FEATURES
9144 if test -z "$defaultval"; then
9145 if test x"$enablestring" = xdisable; then
9146 defaultval=yes
9147 else
9148 defaultval=no
9149 fi
9150 fi
9151
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9153 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9154 # Check whether --enable-tarstream was given.
9155 if test "${enable_tarstream+set}" = set; then :
9156 enableval=$enable_tarstream;
9157 if test "$enableval" = yes; then
9158 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9159 else
9160 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9161 fi
9162
9163 else
9164
9165 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9166
9167 fi
9168
9169
9170 eval "$wx_cv_use_tarstream"
9171
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_TARSTREAM = no; then
9174 result=yes
9175 else
9176 result=no
9177 fi
9178 else
9179 result=$wxUSE_TARSTREAM
9180 fi
9181
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9183 $as_echo "$result" >&6; }
9184
9185
9186 enablestring=
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9190 defaultval=yes
9191 else
9192 defaultval=no
9193 fi
9194 fi
9195
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9197 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9198 # Check whether --enable-textbuf was given.
9199 if test "${enable_textbuf+set}" = set; then :
9200 enableval=$enable_textbuf;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9203 else
9204 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9205 fi
9206
9207 else
9208
9209 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9210
9211 fi
9212
9213
9214 eval "$wx_cv_use_textbuf"
9215
9216 if test x"$enablestring" = xdisable; then
9217 if test $wxUSE_TEXTBUFFER = no; then
9218 result=yes
9219 else
9220 result=no
9221 fi
9222 else
9223 result=$wxUSE_TEXTBUFFER
9224 fi
9225
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9227 $as_echo "$result" >&6; }
9228
9229
9230 enablestring=
9231 defaultval=$wxUSE_ALL_FEATURES
9232 if test -z "$defaultval"; then
9233 if test x"$enablestring" = xdisable; then
9234 defaultval=yes
9235 else
9236 defaultval=no
9237 fi
9238 fi
9239
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9241 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9242 # Check whether --enable-textfile was given.
9243 if test "${enable_textfile+set}" = set; then :
9244 enableval=$enable_textfile;
9245 if test "$enableval" = yes; then
9246 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9247 else
9248 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9249 fi
9250
9251 else
9252
9253 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9254
9255 fi
9256
9257
9258 eval "$wx_cv_use_textfile"
9259
9260 if test x"$enablestring" = xdisable; then
9261 if test $wxUSE_TEXTFILE = no; then
9262 result=yes
9263 else
9264 result=no
9265 fi
9266 else
9267 result=$wxUSE_TEXTFILE
9268 fi
9269
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9271 $as_echo "$result" >&6; }
9272
9273
9274 enablestring=
9275 defaultval=$wxUSE_ALL_FEATURES
9276 if test -z "$defaultval"; then
9277 if test x"$enablestring" = xdisable; then
9278 defaultval=yes
9279 else
9280 defaultval=no
9281 fi
9282 fi
9283
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9285 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9286 # Check whether --enable-timer was given.
9287 if test "${enable_timer+set}" = set; then :
9288 enableval=$enable_timer;
9289 if test "$enableval" = yes; then
9290 wx_cv_use_timer='wxUSE_TIMER=yes'
9291 else
9292 wx_cv_use_timer='wxUSE_TIMER=no'
9293 fi
9294
9295 else
9296
9297 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9298
9299 fi
9300
9301
9302 eval "$wx_cv_use_timer"
9303
9304 if test x"$enablestring" = xdisable; then
9305 if test $wxUSE_TIMER = no; then
9306 result=yes
9307 else
9308 result=no
9309 fi
9310 else
9311 result=$wxUSE_TIMER
9312 fi
9313
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9315 $as_echo "$result" >&6; }
9316
9317
9318 enablestring=
9319 defaultval=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x"$enablestring" = xdisable; then
9322 defaultval=yes
9323 else
9324 defaultval=no
9325 fi
9326 fi
9327
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9329 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9330 # Check whether --enable-variant was given.
9331 if test "${enable_variant+set}" = set; then :
9332 enableval=$enable_variant;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_variant='wxUSE_VARIANT=yes'
9335 else
9336 wx_cv_use_variant='wxUSE_VARIANT=no'
9337 fi
9338
9339 else
9340
9341 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9342
9343 fi
9344
9345
9346 eval "$wx_cv_use_variant"
9347
9348 if test x"$enablestring" = xdisable; then
9349 if test $wxUSE_VARIANT = no; then
9350 result=yes
9351 else
9352 result=no
9353 fi
9354 else
9355 result=$wxUSE_VARIANT
9356 fi
9357
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9359 $as_echo "$result" >&6; }
9360
9361
9362 enablestring=
9363 defaultval=$wxUSE_ALL_FEATURES
9364 if test -z "$defaultval"; then
9365 if test x"$enablestring" = xdisable; then
9366 defaultval=yes
9367 else
9368 defaultval=no
9369 fi
9370 fi
9371
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9373 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9374 # Check whether --enable-zipstream was given.
9375 if test "${enable_zipstream+set}" = set; then :
9376 enableval=$enable_zipstream;
9377 if test "$enableval" = yes; then
9378 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9379 else
9380 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9381 fi
9382
9383 else
9384
9385 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9386
9387 fi
9388
9389
9390 eval "$wx_cv_use_zipstream"
9391
9392 if test x"$enablestring" = xdisable; then
9393 if test $wxUSE_ZIPSTREAM = no; then
9394 result=yes
9395 else
9396 result=no
9397 fi
9398 else
9399 result=$wxUSE_ZIPSTREAM
9400 fi
9401
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9403 $as_echo "$result" >&6; }
9404
9405
9406
9407 enablestring=
9408 defaultval=$wxUSE_ALL_FEATURES
9409 if test -z "$defaultval"; then
9410 if test x"$enablestring" = xdisable; then
9411 defaultval=yes
9412 else
9413 defaultval=no
9414 fi
9415 fi
9416
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9418 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9419 # Check whether --enable-url was given.
9420 if test "${enable_url+set}" = set; then :
9421 enableval=$enable_url;
9422 if test "$enableval" = yes; then
9423 wx_cv_use_url='wxUSE_URL=yes'
9424 else
9425 wx_cv_use_url='wxUSE_URL=no'
9426 fi
9427
9428 else
9429
9430 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9431
9432 fi
9433
9434
9435 eval "$wx_cv_use_url"
9436
9437 if test x"$enablestring" = xdisable; then
9438 if test $wxUSE_URL = no; then
9439 result=yes
9440 else
9441 result=no
9442 fi
9443 else
9444 result=$wxUSE_URL
9445 fi
9446
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9448 $as_echo "$result" >&6; }
9449
9450
9451 enablestring=
9452 defaultval=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x"$enablestring" = xdisable; then
9455 defaultval=yes
9456 else
9457 defaultval=no
9458 fi
9459 fi
9460
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9462 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9463 # Check whether --enable-protocol was given.
9464 if test "${enable_protocol+set}" = set; then :
9465 enableval=$enable_protocol;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9468 else
9469 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9470 fi
9471
9472 else
9473
9474 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9475
9476 fi
9477
9478
9479 eval "$wx_cv_use_protocol"
9480
9481 if test x"$enablestring" = xdisable; then
9482 if test $wxUSE_PROTOCOL = no; then
9483 result=yes
9484 else
9485 result=no
9486 fi
9487 else
9488 result=$wxUSE_PROTOCOL
9489 fi
9490
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9492 $as_echo "$result" >&6; }
9493
9494
9495 enablestring=
9496 defaultval=$wxUSE_ALL_FEATURES
9497 if test -z "$defaultval"; then
9498 if test x"$enablestring" = xdisable; then
9499 defaultval=yes
9500 else
9501 defaultval=no
9502 fi
9503 fi
9504
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9506 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9507 # Check whether --enable-protocol_http was given.
9508 if test "${enable_protocol_http+set}" = set; then :
9509 enableval=$enable_protocol_http;
9510 if test "$enableval" = yes; then
9511 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9512 else
9513 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9514 fi
9515
9516 else
9517
9518 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9519
9520 fi
9521
9522
9523 eval "$wx_cv_use_protocol_http"
9524
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_PROTOCOL_HTTP = no; then
9527 result=yes
9528 else
9529 result=no
9530 fi
9531 else
9532 result=$wxUSE_PROTOCOL_HTTP
9533 fi
9534
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9536 $as_echo "$result" >&6; }
9537
9538
9539 enablestring=
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9543 defaultval=yes
9544 else
9545 defaultval=no
9546 fi
9547 fi
9548
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9550 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9551 # Check whether --enable-protocol_ftp was given.
9552 if test "${enable_protocol_ftp+set}" = set; then :
9553 enableval=$enable_protocol_ftp;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9556 else
9557 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9558 fi
9559
9560 else
9561
9562 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9563
9564 fi
9565
9566
9567 eval "$wx_cv_use_protocol_ftp"
9568
9569 if test x"$enablestring" = xdisable; then
9570 if test $wxUSE_PROTOCOL_FTP = no; then
9571 result=yes
9572 else
9573 result=no
9574 fi
9575 else
9576 result=$wxUSE_PROTOCOL_FTP
9577 fi
9578
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9580 $as_echo "$result" >&6; }
9581
9582
9583 enablestring=
9584 defaultval=$wxUSE_ALL_FEATURES
9585 if test -z "$defaultval"; then
9586 if test x"$enablestring" = xdisable; then
9587 defaultval=yes
9588 else
9589 defaultval=no
9590 fi
9591 fi
9592
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9594 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9595 # Check whether --enable-protocol_file was given.
9596 if test "${enable_protocol_file+set}" = set; then :
9597 enableval=$enable_protocol_file;
9598 if test "$enableval" = yes; then
9599 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9600 else
9601 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9602 fi
9603
9604 else
9605
9606 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9607
9608 fi
9609
9610
9611 eval "$wx_cv_use_protocol_file"
9612
9613 if test x"$enablestring" = xdisable; then
9614 if test $wxUSE_PROTOCOL_FILE = no; then
9615 result=yes
9616 else
9617 result=no
9618 fi
9619 else
9620 result=$wxUSE_PROTOCOL_FILE
9621 fi
9622
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9624 $as_echo "$result" >&6; }
9625
9626
9627
9628 enablestring=
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9632 defaultval=yes
9633 else
9634 defaultval=no
9635 fi
9636 fi
9637
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9639 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9640 # Check whether --enable-threads was given.
9641 if test "${enable_threads+set}" = set; then :
9642 enableval=$enable_threads;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_threads='wxUSE_THREADS=yes'
9645 else
9646 wx_cv_use_threads='wxUSE_THREADS=no'
9647 fi
9648
9649 else
9650
9651 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9652
9653 fi
9654
9655
9656 eval "$wx_cv_use_threads"
9657
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_THREADS = no; then
9660 result=yes
9661 else
9662 result=no
9663 fi
9664 else
9665 result=$wxUSE_THREADS
9666 fi
9667
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9669 $as_echo "$result" >&6; }
9670
9671
9672
9673 enablestring=
9674 defaultval=
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9677 defaultval=yes
9678 else
9679 defaultval=no
9680 fi
9681 fi
9682
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9684 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9685 # Check whether --enable-iniconf was given.
9686 if test "${enable_iniconf+set}" = set; then :
9687 enableval=$enable_iniconf;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9690 else
9691 wx_cv_use_iniconf='wxUSE_INICONF=no'
9692 fi
9693
9694 else
9695
9696 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9697
9698 fi
9699
9700
9701 eval "$wx_cv_use_iniconf"
9702
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_INICONF = no; then
9705 result=yes
9706 else
9707 result=no
9708 fi
9709 else
9710 result=$wxUSE_INICONF
9711 fi
9712
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9714 $as_echo "$result" >&6; }
9715
9716
9717 enablestring=
9718 defaultval=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x"$enablestring" = xdisable; then
9721 defaultval=yes
9722 else
9723 defaultval=no
9724 fi
9725 fi
9726
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9728 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9729 # Check whether --enable-regkey was given.
9730 if test "${enable_regkey+set}" = set; then :
9731 enableval=$enable_regkey;
9732 if test "$enableval" = yes; then
9733 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9734 else
9735 wx_cv_use_regkey='wxUSE_REGKEY=no'
9736 fi
9737
9738 else
9739
9740 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9741
9742 fi
9743
9744
9745 eval "$wx_cv_use_regkey"
9746
9747 if test x"$enablestring" = xdisable; then
9748 if test $wxUSE_REGKEY = no; then
9749 result=yes
9750 else
9751 result=no
9752 fi
9753 else
9754 result=$wxUSE_REGKEY
9755 fi
9756
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9758 $as_echo "$result" >&6; }
9759
9760
9761 if test "$wxUSE_GUI" = "yes"; then
9762
9763
9764
9765 enablestring=
9766 defaultval=$wxUSE_ALL_FEATURES
9767 if test -z "$defaultval"; then
9768 if test x"$enablestring" = xdisable; then
9769 defaultval=yes
9770 else
9771 defaultval=no
9772 fi
9773 fi
9774
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9776 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9777 # Check whether --enable-docview was given.
9778 if test "${enable_docview+set}" = set; then :
9779 enableval=$enable_docview;
9780 if test "$enableval" = yes; then
9781 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9782 else
9783 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9784 fi
9785
9786 else
9787
9788 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9789
9790 fi
9791
9792
9793 eval "$wx_cv_use_docview"
9794
9795 if test x"$enablestring" = xdisable; then
9796 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9797 result=yes
9798 else
9799 result=no
9800 fi
9801 else
9802 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9803 fi
9804
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9806 $as_echo "$result" >&6; }
9807
9808
9809 enablestring=
9810 defaultval=$wxUSE_ALL_FEATURES
9811 if test -z "$defaultval"; then
9812 if test x"$enablestring" = xdisable; then
9813 defaultval=yes
9814 else
9815 defaultval=no
9816 fi
9817 fi
9818
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9820 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9821 # Check whether --enable-help was given.
9822 if test "${enable_help+set}" = set; then :
9823 enableval=$enable_help;
9824 if test "$enableval" = yes; then
9825 wx_cv_use_help='wxUSE_HELP=yes'
9826 else
9827 wx_cv_use_help='wxUSE_HELP=no'
9828 fi
9829
9830 else
9831
9832 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9833
9834 fi
9835
9836
9837 eval "$wx_cv_use_help"
9838
9839 if test x"$enablestring" = xdisable; then
9840 if test $wxUSE_HELP = no; then
9841 result=yes
9842 else
9843 result=no
9844 fi
9845 else
9846 result=$wxUSE_HELP
9847 fi
9848
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9850 $as_echo "$result" >&6; }
9851
9852
9853 enablestring=
9854 defaultval=$wxUSE_ALL_FEATURES
9855 if test -z "$defaultval"; then
9856 if test x"$enablestring" = xdisable; then
9857 defaultval=yes
9858 else
9859 defaultval=no
9860 fi
9861 fi
9862
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9864 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9865 # Check whether --enable-mshtmlhelp was given.
9866 if test "${enable_mshtmlhelp+set}" = set; then :
9867 enableval=$enable_mshtmlhelp;
9868 if test "$enableval" = yes; then
9869 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9870 else
9871 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9872 fi
9873
9874 else
9875
9876 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9877
9878 fi
9879
9880
9881 eval "$wx_cv_use_mshtmlhelp"
9882
9883 if test x"$enablestring" = xdisable; then
9884 if test $wxUSE_MS_HTML_HELP = no; then
9885 result=yes
9886 else
9887 result=no
9888 fi
9889 else
9890 result=$wxUSE_MS_HTML_HELP
9891 fi
9892
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9894 $as_echo "$result" >&6; }
9895
9896
9897 enablestring=
9898 defaultval=$wxUSE_ALL_FEATURES
9899 if test -z "$defaultval"; then
9900 if test x"$enablestring" = xdisable; then
9901 defaultval=yes
9902 else
9903 defaultval=no
9904 fi
9905 fi
9906
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9908 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9909 # Check whether --enable-html was given.
9910 if test "${enable_html+set}" = set; then :
9911 enableval=$enable_html;
9912 if test "$enableval" = yes; then
9913 wx_cv_use_html='wxUSE_HTML=yes'
9914 else
9915 wx_cv_use_html='wxUSE_HTML=no'
9916 fi
9917
9918 else
9919
9920 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9921
9922 fi
9923
9924
9925 eval "$wx_cv_use_html"
9926
9927 if test x"$enablestring" = xdisable; then
9928 if test $wxUSE_HTML = no; then
9929 result=yes
9930 else
9931 result=no
9932 fi
9933 else
9934 result=$wxUSE_HTML
9935 fi
9936
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9938 $as_echo "$result" >&6; }
9939
9940
9941 enablestring=
9942 defaultval=$wxUSE_ALL_FEATURES
9943 if test -z "$defaultval"; then
9944 if test x"$enablestring" = xdisable; then
9945 defaultval=yes
9946 else
9947 defaultval=no
9948 fi
9949 fi
9950
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9952 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9953 # Check whether --enable-htmlhelp was given.
9954 if test "${enable_htmlhelp+set}" = set; then :
9955 enableval=$enable_htmlhelp;
9956 if test "$enableval" = yes; then
9957 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9958 else
9959 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9960 fi
9961
9962 else
9963
9964 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9965
9966 fi
9967
9968
9969 eval "$wx_cv_use_htmlhelp"
9970
9971 if test x"$enablestring" = xdisable; then
9972 if test $wxUSE_WXHTML_HELP = no; then
9973 result=yes
9974 else
9975 result=no
9976 fi
9977 else
9978 result=$wxUSE_WXHTML_HELP
9979 fi
9980
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9982 $as_echo "$result" >&6; }
9983
9984
9985 enablestring=
9986 defaultval=$wxUSE_ALL_FEATURES
9987 if test -z "$defaultval"; then
9988 if test x"$enablestring" = xdisable; then
9989 defaultval=yes
9990 else
9991 defaultval=no
9992 fi
9993 fi
9994
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9996 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9997 # Check whether --enable-xrc was given.
9998 if test "${enable_xrc+set}" = set; then :
9999 enableval=$enable_xrc;
10000 if test "$enableval" = yes; then
10001 wx_cv_use_xrc='wxUSE_XRC=yes'
10002 else
10003 wx_cv_use_xrc='wxUSE_XRC=no'
10004 fi
10005
10006 else
10007
10008 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10009
10010 fi
10011
10012
10013 eval "$wx_cv_use_xrc"
10014
10015 if test x"$enablestring" = xdisable; then
10016 if test $wxUSE_XRC = no; then
10017 result=yes
10018 else
10019 result=no
10020 fi
10021 else
10022 result=$wxUSE_XRC
10023 fi
10024
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10026 $as_echo "$result" >&6; }
10027
10028
10029 enablestring=
10030 defaultval=$wxUSE_ALL_FEATURES
10031 if test -z "$defaultval"; then
10032 if test x"$enablestring" = xdisable; then
10033 defaultval=yes
10034 else
10035 defaultval=no
10036 fi
10037 fi
10038
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10040 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10041 # Check whether --enable-aui was given.
10042 if test "${enable_aui+set}" = set; then :
10043 enableval=$enable_aui;
10044 if test "$enableval" = yes; then
10045 wx_cv_use_aui='wxUSE_AUI=yes'
10046 else
10047 wx_cv_use_aui='wxUSE_AUI=no'
10048 fi
10049
10050 else
10051
10052 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10053
10054 fi
10055
10056
10057 eval "$wx_cv_use_aui"
10058
10059 if test x"$enablestring" = xdisable; then
10060 if test $wxUSE_AUI = no; then
10061 result=yes
10062 else
10063 result=no
10064 fi
10065 else
10066 result=$wxUSE_AUI
10067 fi
10068
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10070 $as_echo "$result" >&6; }
10071
10072
10073 enablestring=
10074 defaultval=$wxUSE_ALL_FEATURES
10075 if test -z "$defaultval"; then
10076 if test x"$enablestring" = xdisable; then
10077 defaultval=yes
10078 else
10079 defaultval=no
10080 fi
10081 fi
10082
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10084 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10085 # Check whether --enable-propgrid was given.
10086 if test "${enable_propgrid+set}" = set; then :
10087 enableval=$enable_propgrid;
10088 if test "$enableval" = yes; then
10089 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10090 else
10091 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10092 fi
10093
10094 else
10095
10096 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10097
10098 fi
10099
10100
10101 eval "$wx_cv_use_propgrid"
10102
10103 if test x"$enablestring" = xdisable; then
10104 if test $wxUSE_PROPGRID = no; then
10105 result=yes
10106 else
10107 result=no
10108 fi
10109 else
10110 result=$wxUSE_PROPGRID
10111 fi
10112
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10114 $as_echo "$result" >&6; }
10115
10116
10117 enablestring=
10118 defaultval=$wxUSE_ALL_FEATURES
10119 if test -z "$defaultval"; then
10120 if test x"$enablestring" = xdisable; then
10121 defaultval=yes
10122 else
10123 defaultval=no
10124 fi
10125 fi
10126
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10128 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10129 # Check whether --enable-ribbon was given.
10130 if test "${enable_ribbon+set}" = set; then :
10131 enableval=$enable_ribbon;
10132 if test "$enableval" = yes; then
10133 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10134 else
10135 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10136 fi
10137
10138 else
10139
10140 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10141
10142 fi
10143
10144
10145 eval "$wx_cv_use_ribbon"
10146
10147 if test x"$enablestring" = xdisable; then
10148 if test $wxUSE_RIBBON = no; then
10149 result=yes
10150 else
10151 result=no
10152 fi
10153 else
10154 result=$wxUSE_RIBBON
10155 fi
10156
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10158 $as_echo "$result" >&6; }
10159
10160
10161 enablestring=
10162 defaultval=$wxUSE_ALL_FEATURES
10163 if test -z "$defaultval"; then
10164 if test x"$enablestring" = xdisable; then
10165 defaultval=yes
10166 else
10167 defaultval=no
10168 fi
10169 fi
10170
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10172 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10173 # Check whether --enable-stc was given.
10174 if test "${enable_stc+set}" = set; then :
10175 enableval=$enable_stc;
10176 if test "$enableval" = yes; then
10177 wx_cv_use_stc='wxUSE_STC=yes'
10178 else
10179 wx_cv_use_stc='wxUSE_STC=no'
10180 fi
10181
10182 else
10183
10184 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10185
10186 fi
10187
10188
10189 eval "$wx_cv_use_stc"
10190
10191 if test x"$enablestring" = xdisable; then
10192 if test $wxUSE_STC = no; then
10193 result=yes
10194 else
10195 result=no
10196 fi
10197 else
10198 result=$wxUSE_STC
10199 fi
10200
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10202 $as_echo "$result" >&6; }
10203
10204
10205 enablestring=
10206 defaultval=$wxUSE_ALL_FEATURES
10207 if test -z "$defaultval"; then
10208 if test x"$enablestring" = xdisable; then
10209 defaultval=yes
10210 else
10211 defaultval=no
10212 fi
10213 fi
10214
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10216 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10217 # Check whether --enable-constraints was given.
10218 if test "${enable_constraints+set}" = set; then :
10219 enableval=$enable_constraints;
10220 if test "$enableval" = yes; then
10221 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10222 else
10223 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10224 fi
10225
10226 else
10227
10228 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10229
10230 fi
10231
10232
10233 eval "$wx_cv_use_constraints"
10234
10235 if test x"$enablestring" = xdisable; then
10236 if test $wxUSE_CONSTRAINTS = no; then
10237 result=yes
10238 else
10239 result=no
10240 fi
10241 else
10242 result=$wxUSE_CONSTRAINTS
10243 fi
10244
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10246 $as_echo "$result" >&6; }
10247
10248
10249 enablestring=
10250 defaultval=$wxUSE_ALL_FEATURES
10251 if test -z "$defaultval"; then
10252 if test x"$enablestring" = xdisable; then
10253 defaultval=yes
10254 else
10255 defaultval=no
10256 fi
10257 fi
10258
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10260 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10261 # Check whether --enable-loggui was given.
10262 if test "${enable_loggui+set}" = set; then :
10263 enableval=$enable_loggui;
10264 if test "$enableval" = yes; then
10265 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10266 else
10267 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10268 fi
10269
10270 else
10271
10272 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10273
10274 fi
10275
10276
10277 eval "$wx_cv_use_loggui"
10278
10279 if test x"$enablestring" = xdisable; then
10280 if test $wxUSE_LOGGUI = no; then
10281 result=yes
10282 else
10283 result=no
10284 fi
10285 else
10286 result=$wxUSE_LOGGUI
10287 fi
10288
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10290 $as_echo "$result" >&6; }
10291
10292
10293 enablestring=
10294 defaultval=$wxUSE_ALL_FEATURES
10295 if test -z "$defaultval"; then
10296 if test x"$enablestring" = xdisable; then
10297 defaultval=yes
10298 else
10299 defaultval=no
10300 fi
10301 fi
10302
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10304 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10305 # Check whether --enable-logwin was given.
10306 if test "${enable_logwin+set}" = set; then :
10307 enableval=$enable_logwin;
10308 if test "$enableval" = yes; then
10309 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10310 else
10311 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10312 fi
10313
10314 else
10315
10316 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10317
10318 fi
10319
10320
10321 eval "$wx_cv_use_logwin"
10322
10323 if test x"$enablestring" = xdisable; then
10324 if test $wxUSE_LOGWINDOW = no; then
10325 result=yes
10326 else
10327 result=no
10328 fi
10329 else
10330 result=$wxUSE_LOGWINDOW
10331 fi
10332
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10334 $as_echo "$result" >&6; }
10335
10336
10337 enablestring=
10338 defaultval=$wxUSE_ALL_FEATURES
10339 if test -z "$defaultval"; then
10340 if test x"$enablestring" = xdisable; then
10341 defaultval=yes
10342 else
10343 defaultval=no
10344 fi
10345 fi
10346
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10348 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10349 # Check whether --enable-logdialog was given.
10350 if test "${enable_logdialog+set}" = set; then :
10351 enableval=$enable_logdialog;
10352 if test "$enableval" = yes; then
10353 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10354 else
10355 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10356 fi
10357
10358 else
10359
10360 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10361
10362 fi
10363
10364
10365 eval "$wx_cv_use_logdialog"
10366
10367 if test x"$enablestring" = xdisable; then
10368 if test $wxUSE_LOGDIALOG = no; then
10369 result=yes
10370 else
10371 result=no
10372 fi
10373 else
10374 result=$wxUSE_LOGDIALOG
10375 fi
10376
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10378 $as_echo "$result" >&6; }
10379
10380
10381 enablestring=
10382 defaultval=$wxUSE_ALL_FEATURES
10383 if test -z "$defaultval"; then
10384 if test x"$enablestring" = xdisable; then
10385 defaultval=yes
10386 else
10387 defaultval=no
10388 fi
10389 fi
10390
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10392 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10393 # Check whether --enable-mdi was given.
10394 if test "${enable_mdi+set}" = set; then :
10395 enableval=$enable_mdi;
10396 if test "$enableval" = yes; then
10397 wx_cv_use_mdi='wxUSE_MDI=yes'
10398 else
10399 wx_cv_use_mdi='wxUSE_MDI=no'
10400 fi
10401
10402 else
10403
10404 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10405
10406 fi
10407
10408
10409 eval "$wx_cv_use_mdi"
10410
10411 if test x"$enablestring" = xdisable; then
10412 if test $wxUSE_MDI = no; then
10413 result=yes
10414 else
10415 result=no
10416 fi
10417 else
10418 result=$wxUSE_MDI
10419 fi
10420
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10422 $as_echo "$result" >&6; }
10423
10424
10425 enablestring=
10426 defaultval=$wxUSE_ALL_FEATURES
10427 if test -z "$defaultval"; then
10428 if test x"$enablestring" = xdisable; then
10429 defaultval=yes
10430 else
10431 defaultval=no
10432 fi
10433 fi
10434
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10436 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10437 # Check whether --enable-mdidoc was given.
10438 if test "${enable_mdidoc+set}" = set; then :
10439 enableval=$enable_mdidoc;
10440 if test "$enableval" = yes; then
10441 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10442 else
10443 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10444 fi
10445
10446 else
10447
10448 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10449
10450 fi
10451
10452
10453 eval "$wx_cv_use_mdidoc"
10454
10455 if test x"$enablestring" = xdisable; then
10456 if test $wxUSE_MDI_ARCHITECTURE = no; then
10457 result=yes
10458 else
10459 result=no
10460 fi
10461 else
10462 result=$wxUSE_MDI_ARCHITECTURE
10463 fi
10464
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10466 $as_echo "$result" >&6; }
10467
10468
10469 enablestring=
10470 defaultval=$wxUSE_ALL_FEATURES
10471 if test -z "$defaultval"; then
10472 if test x"$enablestring" = xdisable; then
10473 defaultval=yes
10474 else
10475 defaultval=no
10476 fi
10477 fi
10478
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10480 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10481 # Check whether --enable-mediactrl was given.
10482 if test "${enable_mediactrl+set}" = set; then :
10483 enableval=$enable_mediactrl;
10484 if test "$enableval" = yes; then
10485 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10486 else
10487 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10488 fi
10489
10490 else
10491
10492 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10493
10494 fi
10495
10496
10497 eval "$wx_cv_use_mediactrl"
10498
10499 if test x"$enablestring" = xdisable; then
10500 if test $wxUSE_MEDIACTRL = no; then
10501 result=yes
10502 else
10503 result=no
10504 fi
10505 else
10506 result=$wxUSE_MEDIACTRL
10507 fi
10508
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10510 $as_echo "$result" >&6; }
10511
10512
10513 enablestring=
10514 defaultval=$wxUSE_ALL_FEATURES
10515 if test -z "$defaultval"; then
10516 if test x"$enablestring" = xdisable; then
10517 defaultval=yes
10518 else
10519 defaultval=no
10520 fi
10521 fi
10522
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10524 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10525 # Check whether --enable-gstreamer8 was given.
10526 if test "${enable_gstreamer8+set}" = set; then :
10527 enableval=$enable_gstreamer8;
10528 if test "$enableval" = yes; then
10529 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10530 else
10531 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10532 fi
10533
10534 else
10535
10536 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10537
10538 fi
10539
10540
10541 eval "$wx_cv_use_gstreamer8"
10542
10543 if test x"$enablestring" = xdisable; then
10544 if test $wxUSE_GSTREAMER8 = no; then
10545 result=yes
10546 else
10547 result=no
10548 fi
10549 else
10550 result=$wxUSE_GSTREAMER8
10551 fi
10552
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10554 $as_echo "$result" >&6; }
10555
10556
10557 enablestring=
10558 defaultval=$wxUSE_ALL_FEATURES
10559 if test -z "$defaultval"; then
10560 if test x"$enablestring" = xdisable; then
10561 defaultval=yes
10562 else
10563 defaultval=no
10564 fi
10565 fi
10566
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10568 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10569 # Check whether --enable-richtext was given.
10570 if test "${enable_richtext+set}" = set; then :
10571 enableval=$enable_richtext;
10572 if test "$enableval" = yes; then
10573 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10574 else
10575 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10576 fi
10577
10578 else
10579
10580 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10581
10582 fi
10583
10584
10585 eval "$wx_cv_use_richtext"
10586
10587 if test x"$enablestring" = xdisable; then
10588 if test $wxUSE_RICHTEXT = no; then
10589 result=yes
10590 else
10591 result=no
10592 fi
10593 else
10594 result=$wxUSE_RICHTEXT
10595 fi
10596
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10598 $as_echo "$result" >&6; }
10599
10600
10601 enablestring=
10602 defaultval=$wxUSE_ALL_FEATURES
10603 if test -z "$defaultval"; then
10604 if test x"$enablestring" = xdisable; then
10605 defaultval=yes
10606 else
10607 defaultval=no
10608 fi
10609 fi
10610
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10612 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10613 # Check whether --enable-postscript was given.
10614 if test "${enable_postscript+set}" = set; then :
10615 enableval=$enable_postscript;
10616 if test "$enableval" = yes; then
10617 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10618 else
10619 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10620 fi
10621
10622 else
10623
10624 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10625
10626 fi
10627
10628
10629 eval "$wx_cv_use_postscript"
10630
10631 if test x"$enablestring" = xdisable; then
10632 if test $wxUSE_POSTSCRIPT = no; then
10633 result=yes
10634 else
10635 result=no
10636 fi
10637 else
10638 result=$wxUSE_POSTSCRIPT
10639 fi
10640
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10642 $as_echo "$result" >&6; }
10643
10644
10645 enablestring=
10646 defaultval=$wxUSE_ALL_FEATURES
10647 if test -z "$defaultval"; then
10648 if test x"$enablestring" = xdisable; then
10649 defaultval=yes
10650 else
10651 defaultval=no
10652 fi
10653 fi
10654
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10656 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10657 # Check whether --enable-printarch was given.
10658 if test "${enable_printarch+set}" = set; then :
10659 enableval=$enable_printarch;
10660 if test "$enableval" = yes; then
10661 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10662 else
10663 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10664 fi
10665
10666 else
10667
10668 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10669
10670 fi
10671
10672
10673 eval "$wx_cv_use_printarch"
10674
10675 if test x"$enablestring" = xdisable; then
10676 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10677 result=yes
10678 else
10679 result=no
10680 fi
10681 else
10682 result=$wxUSE_PRINTING_ARCHITECTURE
10683 fi
10684
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10686 $as_echo "$result" >&6; }
10687
10688
10689 enablestring=
10690 defaultval=$wxUSE_ALL_FEATURES
10691 if test -z "$defaultval"; then
10692 if test x"$enablestring" = xdisable; then
10693 defaultval=yes
10694 else
10695 defaultval=no
10696 fi
10697 fi
10698
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10700 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10701 # Check whether --enable-svg was given.
10702 if test "${enable_svg+set}" = set; then :
10703 enableval=$enable_svg;
10704 if test "$enableval" = yes; then
10705 wx_cv_use_svg='wxUSE_SVG=yes'
10706 else
10707 wx_cv_use_svg='wxUSE_SVG=no'
10708 fi
10709
10710 else
10711
10712 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10713
10714 fi
10715
10716
10717 eval "$wx_cv_use_svg"
10718
10719 if test x"$enablestring" = xdisable; then
10720 if test $wxUSE_SVG = no; then
10721 result=yes
10722 else
10723 result=no
10724 fi
10725 else
10726 result=$wxUSE_SVG
10727 fi
10728
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10730 $as_echo "$result" >&6; }
10731
10732
10733 enablestring=
10734 defaultval=$wxUSE_ALL_FEATURES
10735 if test -z "$defaultval"; then
10736 if test x"$enablestring" = xdisable; then
10737 defaultval=yes
10738 else
10739 defaultval=no
10740 fi
10741 fi
10742
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10744 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10745 # Check whether --enable-webkit was given.
10746 if test "${enable_webkit+set}" = set; then :
10747 enableval=$enable_webkit;
10748 if test "$enableval" = yes; then
10749 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10750 else
10751 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10752 fi
10753
10754 else
10755
10756 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10757
10758 fi
10759
10760
10761 eval "$wx_cv_use_webkit"
10762
10763 if test x"$enablestring" = xdisable; then
10764 if test $wxUSE_WEBKIT = no; then
10765 result=yes
10766 else
10767 result=no
10768 fi
10769 else
10770 result=$wxUSE_WEBKIT
10771 fi
10772
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10774 $as_echo "$result" >&6; }
10775
10776
10777 enablestring=
10778 defaultval=$wxUSE_ALL_FEATURES
10779 if test -z "$defaultval"; then
10780 if test x"$enablestring" = xdisable; then
10781 defaultval=yes
10782 else
10783 defaultval=no
10784 fi
10785 fi
10786
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10788 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10789 # Check whether --enable-webview was given.
10790 if test "${enable_webview+set}" = set; then :
10791 enableval=$enable_webview;
10792 if test "$enableval" = yes; then
10793 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10794 else
10795 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10796 fi
10797
10798 else
10799
10800 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10801
10802 fi
10803
10804
10805 eval "$wx_cv_use_webview"
10806
10807 if test x"$enablestring" = xdisable; then
10808 if test $wxUSE_WEBVIEW = no; then
10809 result=yes
10810 else
10811 result=no
10812 fi
10813 else
10814 result=$wxUSE_WEBVIEW
10815 fi
10816
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10818 $as_echo "$result" >&6; }
10819
10820
10821 if test "$wxUSE_MAC" != 1; then
10822
10823 enablestring=
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10827 defaultval=yes
10828 else
10829 defaultval=no
10830 fi
10831 fi
10832
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10834 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10835 # Check whether --enable-graphics_ctx was given.
10836 if test "${enable_graphics_ctx+set}" = set; then :
10837 enableval=$enable_graphics_ctx;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10840 else
10841 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10842 fi
10843
10844 else
10845
10846 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10847
10848 fi
10849
10850
10851 eval "$wx_cv_use_graphics_ctx"
10852
10853 if test x"$enablestring" = xdisable; then
10854 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10855 result=yes
10856 else
10857 result=no
10858 fi
10859 else
10860 result=$wxUSE_GRAPHICS_CONTEXT
10861 fi
10862
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10864 $as_echo "$result" >&6; }
10865
10866 fi
10867
10868
10869
10870 enablestring=
10871 defaultval=$wxUSE_ALL_FEATURES
10872 if test -z "$defaultval"; then
10873 if test x"$enablestring" = xdisable; then
10874 defaultval=yes
10875 else
10876 defaultval=no
10877 fi
10878 fi
10879
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10881 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10882 # Check whether --enable-clipboard was given.
10883 if test "${enable_clipboard+set}" = set; then :
10884 enableval=$enable_clipboard;
10885 if test "$enableval" = yes; then
10886 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10887 else
10888 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10889 fi
10890
10891 else
10892
10893 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10894
10895 fi
10896
10897
10898 eval "$wx_cv_use_clipboard"
10899
10900 if test x"$enablestring" = xdisable; then
10901 if test $wxUSE_CLIPBOARD = no; then
10902 result=yes
10903 else
10904 result=no
10905 fi
10906 else
10907 result=$wxUSE_CLIPBOARD
10908 fi
10909
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10911 $as_echo "$result" >&6; }
10912
10913
10914 enablestring=
10915 defaultval=$wxUSE_ALL_FEATURES
10916 if test -z "$defaultval"; then
10917 if test x"$enablestring" = xdisable; then
10918 defaultval=yes
10919 else
10920 defaultval=no
10921 fi
10922 fi
10923
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10925 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10926 # Check whether --enable-dnd was given.
10927 if test "${enable_dnd+set}" = set; then :
10928 enableval=$enable_dnd;
10929 if test "$enableval" = yes; then
10930 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10931 else
10932 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10933 fi
10934
10935 else
10936
10937 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10938
10939 fi
10940
10941
10942 eval "$wx_cv_use_dnd"
10943
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_DRAG_AND_DROP = no; then
10946 result=yes
10947 else
10948 result=no
10949 fi
10950 else
10951 result=$wxUSE_DRAG_AND_DROP
10952 fi
10953
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10955 $as_echo "$result" >&6; }
10956
10957
10958
10959 DEFAULT_wxUSE_CONTROLS=none
10960
10961 enablestring=disable
10962 defaultval=
10963 if test -z "$defaultval"; then
10964 if test x"$enablestring" = xdisable; then
10965 defaultval=yes
10966 else
10967 defaultval=no
10968 fi
10969 fi
10970
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10972 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10973 # Check whether --enable-controls was given.
10974 if test "${enable_controls+set}" = set; then :
10975 enableval=$enable_controls;
10976 if test "$enableval" = yes; then
10977 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10978 else
10979 wx_cv_use_controls='wxUSE_CONTROLS=no'
10980 fi
10981
10982 else
10983
10984 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10985
10986 fi
10987
10988
10989 eval "$wx_cv_use_controls"
10990
10991 if test x"$enablestring" = xdisable; then
10992 if test $wxUSE_CONTROLS = no; then
10993 result=yes
10994 else
10995 result=no
10996 fi
10997 else
10998 result=$wxUSE_CONTROLS
10999 fi
11000
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11002 $as_echo "$result" >&6; }
11003
11004
11005 if test "$wxUSE_CONTROLS" = "no"; then
11006 DEFAULT_wxUSE_ACCEL=no
11007 DEFAULT_wxUSE_ANIMATIONCTRL=no
11008 DEFAULT_wxUSE_BANNERWINDOW=no
11009 DEFAULT_wxUSE_BMPBUTTON=no
11010 DEFAULT_wxUSE_BUTTON=no
11011 DEFAULT_wxUSE_CALCTRL=no
11012 DEFAULT_wxUSE_CARET=no
11013 DEFAULT_wxUSE_CHECKBOX=no
11014 DEFAULT_wxUSE_CHECKLISTBOX=no
11015 DEFAULT_wxUSE_CHOICE=no
11016 DEFAULT_wxUSE_CHOICEBOOK=no
11017 DEFAULT_wxUSE_COLLPANE=no
11018 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11019 DEFAULT_wxUSE_COMBOBOX=no
11020 DEFAULT_wxUSE_COMBOBOX=no
11021 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11022 DEFAULT_wxUSE_DATAVIEWCTRL=no
11023 DEFAULT_wxUSE_DATEPICKCTRL=no
11024 DEFAULT_wxUSE_DETECT_SM=no
11025 DEFAULT_wxUSE_DIRPICKERCTRL=no
11026 DEFAULT_wxUSE_DISPLAY=no
11027 DEFAULT_wxUSE_FILECTRL=no
11028 DEFAULT_wxUSE_FILEPICKERCTRL=no
11029 DEFAULT_wxUSE_FONTPICKERCTRL=no
11030 DEFAULT_wxUSE_GAUGE=no
11031 DEFAULT_wxUSE_GRID=no
11032 DEFAULT_wxUSE_HEADERCTRL=no
11033 DEFAULT_wxUSE_HYPERLINKCTRL=no
11034 DEFAULT_wxUSE_IMAGLIST=no
11035 DEFAULT_wxUSE_LISTBOOK=no
11036 DEFAULT_wxUSE_LISTBOX=no
11037 DEFAULT_wxUSE_LISTCTRL=no
11038 DEFAULT_wxUSE_MARKUP=no
11039 DEFAULT_wxUSE_NOTEBOOK=no
11040 DEFAULT_wxUSE_POPUPWIN=no
11041 DEFAULT_wxUSE_RADIOBOX=no
11042 DEFAULT_wxUSE_RADIOBTN=no
11043 DEFAULT_wxUSE_RICHMSGDLG=no
11044 DEFAULT_wxUSE_RICHTOOLTIP=no
11045 DEFAULT_wxUSE_REARRANGECTRL=no
11046 DEFAULT_wxUSE_SASH=no
11047 DEFAULT_wxUSE_SCROLLBAR=no
11048 DEFAULT_wxUSE_SEARCHCTRL=no
11049 DEFAULT_wxUSE_SLIDER=no
11050 DEFAULT_wxUSE_SPINBTN=no
11051 DEFAULT_wxUSE_SPINCTRL=no
11052 DEFAULT_wxUSE_SPLITTER=no
11053 DEFAULT_wxUSE_STATBMP=no
11054 DEFAULT_wxUSE_STATBOX=no
11055 DEFAULT_wxUSE_STATLINE=no
11056 DEFAULT_wxUSE_STATUSBAR=no
11057 DEFAULT_wxUSE_TIMEPICKCTRL=no
11058 DEFAULT_wxUSE_TIPWINDOW=no
11059 DEFAULT_wxUSE_TOGGLEBTN=no
11060 DEFAULT_wxUSE_TOOLBAR=no
11061 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11062 DEFAULT_wxUSE_TOOLBOOK=no
11063 DEFAULT_wxUSE_TOOLTIPS=no
11064 DEFAULT_wxUSE_TREEBOOK=no
11065 DEFAULT_wxUSE_TREECTRL=no
11066 DEFAULT_wxUSE_TREELISTCTRL=no
11067 fi
11068
11069
11070 enablestring=
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11074 defaultval=yes
11075 else
11076 defaultval=no
11077 fi
11078 fi
11079
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11081 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11082 # Check whether --enable-markup was given.
11083 if test "${enable_markup+set}" = set; then :
11084 enableval=$enable_markup;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_markup='wxUSE_MARKUP=yes'
11087 else
11088 wx_cv_use_markup='wxUSE_MARKUP=no'
11089 fi
11090
11091 else
11092
11093 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11094
11095 fi
11096
11097
11098 eval "$wx_cv_use_markup"
11099
11100 if test x"$enablestring" = xdisable; then
11101 if test $wxUSE_MARKUP = no; then
11102 result=yes
11103 else
11104 result=no
11105 fi
11106 else
11107 result=$wxUSE_MARKUP
11108 fi
11109
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11111 $as_echo "$result" >&6; }
11112
11113
11114
11115 enablestring=
11116 defaultval=$wxUSE_ALL_FEATURES
11117 if test -z "$defaultval"; then
11118 if test x"$enablestring" = xdisable; then
11119 defaultval=yes
11120 else
11121 defaultval=no
11122 fi
11123 fi
11124
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11126 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11127 # Check whether --enable-accel was given.
11128 if test "${enable_accel+set}" = set; then :
11129 enableval=$enable_accel;
11130 if test "$enableval" = yes; then
11131 wx_cv_use_accel='wxUSE_ACCEL=yes'
11132 else
11133 wx_cv_use_accel='wxUSE_ACCEL=no'
11134 fi
11135
11136 else
11137
11138 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11139
11140 fi
11141
11142
11143 eval "$wx_cv_use_accel"
11144
11145 if test x"$enablestring" = xdisable; then
11146 if test $wxUSE_ACCEL = no; then
11147 result=yes
11148 else
11149 result=no
11150 fi
11151 else
11152 result=$wxUSE_ACCEL
11153 fi
11154
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11156 $as_echo "$result" >&6; }
11157
11158
11159 enablestring=
11160 defaultval=$wxUSE_ALL_FEATURES
11161 if test -z "$defaultval"; then
11162 if test x"$enablestring" = xdisable; then
11163 defaultval=yes
11164 else
11165 defaultval=no
11166 fi
11167 fi
11168
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11170 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11171 # Check whether --enable-animatectrl was given.
11172 if test "${enable_animatectrl+set}" = set; then :
11173 enableval=$enable_animatectrl;
11174 if test "$enableval" = yes; then
11175 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11176 else
11177 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11178 fi
11179
11180 else
11181
11182 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11183
11184 fi
11185
11186
11187 eval "$wx_cv_use_animatectrl"
11188
11189 if test x"$enablestring" = xdisable; then
11190 if test $wxUSE_ANIMATIONCTRL = no; then
11191 result=yes
11192 else
11193 result=no
11194 fi
11195 else
11196 result=$wxUSE_ANIMATIONCTRL
11197 fi
11198
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11200 $as_echo "$result" >&6; }
11201
11202
11203 enablestring=
11204 defaultval=$wxUSE_ALL_FEATURES
11205 if test -z "$defaultval"; then
11206 if test x"$enablestring" = xdisable; then
11207 defaultval=yes
11208 else
11209 defaultval=no
11210 fi
11211 fi
11212
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11214 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11215 # Check whether --enable-bannerwindow was given.
11216 if test "${enable_bannerwindow+set}" = set; then :
11217 enableval=$enable_bannerwindow;
11218 if test "$enableval" = yes; then
11219 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11220 else
11221 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11222 fi
11223
11224 else
11225
11226 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11227
11228 fi
11229
11230
11231 eval "$wx_cv_use_bannerwindow"
11232
11233 if test x"$enablestring" = xdisable; then
11234 if test $wxUSE_BANNERWINDOW = no; then
11235 result=yes
11236 else
11237 result=no
11238 fi
11239 else
11240 result=$wxUSE_BANNERWINDOW
11241 fi
11242
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11244 $as_echo "$result" >&6; }
11245
11246
11247 enablestring=
11248 defaultval=$wxUSE_ALL_FEATURES
11249 if test -z "$defaultval"; then
11250 if test x"$enablestring" = xdisable; then
11251 defaultval=yes
11252 else
11253 defaultval=no
11254 fi
11255 fi
11256
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11258 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11259 # Check whether --enable-artstd was given.
11260 if test "${enable_artstd+set}" = set; then :
11261 enableval=$enable_artstd;
11262 if test "$enableval" = yes; then
11263 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11264 else
11265 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11266 fi
11267
11268 else
11269
11270 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11271
11272 fi
11273
11274
11275 eval "$wx_cv_use_artstd"
11276
11277 if test x"$enablestring" = xdisable; then
11278 if test $wxUSE_ARTPROVIDER_STD = no; then
11279 result=yes
11280 else
11281 result=no
11282 fi
11283 else
11284 result=$wxUSE_ARTPROVIDER_STD
11285 fi
11286
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11288 $as_echo "$result" >&6; }
11289
11290
11291 enablestring=
11292 defaultval=$wxUSE_ALL_FEATURES
11293 if test -z "$defaultval"; then
11294 if test x"$enablestring" = xdisable; then
11295 defaultval=yes
11296 else
11297 defaultval=no
11298 fi
11299 fi
11300
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11302 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11303 # Check whether --enable-arttango was given.
11304 if test "${enable_arttango+set}" = set; then :
11305 enableval=$enable_arttango;
11306 if test "$enableval" = yes; then
11307 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11308 else
11309 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11310 fi
11311
11312 else
11313
11314 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11315
11316 fi
11317
11318
11319 eval "$wx_cv_use_arttango"
11320
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11323 result=yes
11324 else
11325 result=no
11326 fi
11327 else
11328 result=$wxUSE_ARTPROVIDER_TANGO
11329 fi
11330
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11332 $as_echo "$result" >&6; }
11333
11334
11335 enablestring=
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11339 defaultval=yes
11340 else
11341 defaultval=no
11342 fi
11343 fi
11344
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11346 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11347 # Check whether --enable-bmpbutton was given.
11348 if test "${enable_bmpbutton+set}" = set; then :
11349 enableval=$enable_bmpbutton;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11352 else
11353 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11354 fi
11355
11356 else
11357
11358 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11359
11360 fi
11361
11362
11363 eval "$wx_cv_use_bmpbutton"
11364
11365 if test x"$enablestring" = xdisable; then
11366 if test $wxUSE_BMPBUTTON = no; then
11367 result=yes
11368 else
11369 result=no
11370 fi
11371 else
11372 result=$wxUSE_BMPBUTTON
11373 fi
11374
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11376 $as_echo "$result" >&6; }
11377
11378
11379 enablestring=
11380 defaultval=$wxUSE_ALL_FEATURES
11381 if test -z "$defaultval"; then
11382 if test x"$enablestring" = xdisable; then
11383 defaultval=yes
11384 else
11385 defaultval=no
11386 fi
11387 fi
11388
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11390 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11391 # Check whether --enable-bmpcombobox was given.
11392 if test "${enable_bmpcombobox+set}" = set; then :
11393 enableval=$enable_bmpcombobox;
11394 if test "$enableval" = yes; then
11395 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11396 else
11397 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11398 fi
11399
11400 else
11401
11402 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11403
11404 fi
11405
11406
11407 eval "$wx_cv_use_bmpcombobox"
11408
11409 if test x"$enablestring" = xdisable; then
11410 if test $wxUSE_BITMAPCOMBOBOX = no; then
11411 result=yes
11412 else
11413 result=no
11414 fi
11415 else
11416 result=$wxUSE_BITMAPCOMBOBOX
11417 fi
11418
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11420 $as_echo "$result" >&6; }
11421
11422
11423 enablestring=
11424 defaultval=$wxUSE_ALL_FEATURES
11425 if test -z "$defaultval"; then
11426 if test x"$enablestring" = xdisable; then
11427 defaultval=yes
11428 else
11429 defaultval=no
11430 fi
11431 fi
11432
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11434 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11435 # Check whether --enable-button was given.
11436 if test "${enable_button+set}" = set; then :
11437 enableval=$enable_button;
11438 if test "$enableval" = yes; then
11439 wx_cv_use_button='wxUSE_BUTTON=yes'
11440 else
11441 wx_cv_use_button='wxUSE_BUTTON=no'
11442 fi
11443
11444 else
11445
11446 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11447
11448 fi
11449
11450
11451 eval "$wx_cv_use_button"
11452
11453 if test x"$enablestring" = xdisable; then
11454 if test $wxUSE_BUTTON = no; then
11455 result=yes
11456 else
11457 result=no
11458 fi
11459 else
11460 result=$wxUSE_BUTTON
11461 fi
11462
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11464 $as_echo "$result" >&6; }
11465
11466
11467 enablestring=
11468 defaultval=$wxUSE_ALL_FEATURES
11469 if test -z "$defaultval"; then
11470 if test x"$enablestring" = xdisable; then
11471 defaultval=yes
11472 else
11473 defaultval=no
11474 fi
11475 fi
11476
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11478 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11479 # Check whether --enable-calendar was given.
11480 if test "${enable_calendar+set}" = set; then :
11481 enableval=$enable_calendar;
11482 if test "$enableval" = yes; then
11483 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11484 else
11485 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11486 fi
11487
11488 else
11489
11490 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11491
11492 fi
11493
11494
11495 eval "$wx_cv_use_calendar"
11496
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_CALCTRL = no; then
11499 result=yes
11500 else
11501 result=no
11502 fi
11503 else
11504 result=$wxUSE_CALCTRL
11505 fi
11506
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11508 $as_echo "$result" >&6; }
11509
11510
11511 enablestring=
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11515 defaultval=yes
11516 else
11517 defaultval=no
11518 fi
11519 fi
11520
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11522 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11523 # Check whether --enable-caret was given.
11524 if test "${enable_caret+set}" = set; then :
11525 enableval=$enable_caret;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_caret='wxUSE_CARET=yes'
11528 else
11529 wx_cv_use_caret='wxUSE_CARET=no'
11530 fi
11531
11532 else
11533
11534 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11535
11536 fi
11537
11538
11539 eval "$wx_cv_use_caret"
11540
11541 if test x"$enablestring" = xdisable; then
11542 if test $wxUSE_CARET = no; then
11543 result=yes
11544 else
11545 result=no
11546 fi
11547 else
11548 result=$wxUSE_CARET
11549 fi
11550
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11552 $as_echo "$result" >&6; }
11553
11554
11555 enablestring=
11556 defaultval=$wxUSE_ALL_FEATURES
11557 if test -z "$defaultval"; then
11558 if test x"$enablestring" = xdisable; then
11559 defaultval=yes
11560 else
11561 defaultval=no
11562 fi
11563 fi
11564
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11566 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11567 # Check whether --enable-checkbox was given.
11568 if test "${enable_checkbox+set}" = set; then :
11569 enableval=$enable_checkbox;
11570 if test "$enableval" = yes; then
11571 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11572 else
11573 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11574 fi
11575
11576 else
11577
11578 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11579
11580 fi
11581
11582
11583 eval "$wx_cv_use_checkbox"
11584
11585 if test x"$enablestring" = xdisable; then
11586 if test $wxUSE_CHECKBOX = no; then
11587 result=yes
11588 else
11589 result=no
11590 fi
11591 else
11592 result=$wxUSE_CHECKBOX
11593 fi
11594
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11596 $as_echo "$result" >&6; }
11597
11598
11599 enablestring=
11600 defaultval=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x"$enablestring" = xdisable; then
11603 defaultval=yes
11604 else
11605 defaultval=no
11606 fi
11607 fi
11608
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11610 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11611 # Check whether --enable-checklst was given.
11612 if test "${enable_checklst+set}" = set; then :
11613 enableval=$enable_checklst;
11614 if test "$enableval" = yes; then
11615 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11616 else
11617 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11618 fi
11619
11620 else
11621
11622 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11623
11624 fi
11625
11626
11627 eval "$wx_cv_use_checklst"
11628
11629 if test x"$enablestring" = xdisable; then
11630 if test $wxUSE_CHECKLST = no; then
11631 result=yes
11632 else
11633 result=no
11634 fi
11635 else
11636 result=$wxUSE_CHECKLST
11637 fi
11638
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11640 $as_echo "$result" >&6; }
11641
11642
11643 enablestring=
11644 defaultval=$wxUSE_ALL_FEATURES
11645 if test -z "$defaultval"; then
11646 if test x"$enablestring" = xdisable; then
11647 defaultval=yes
11648 else
11649 defaultval=no
11650 fi
11651 fi
11652
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11654 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11655 # Check whether --enable-choice was given.
11656 if test "${enable_choice+set}" = set; then :
11657 enableval=$enable_choice;
11658 if test "$enableval" = yes; then
11659 wx_cv_use_choice='wxUSE_CHOICE=yes'
11660 else
11661 wx_cv_use_choice='wxUSE_CHOICE=no'
11662 fi
11663
11664 else
11665
11666 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11667
11668 fi
11669
11670
11671 eval "$wx_cv_use_choice"
11672
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_CHOICE = no; then
11675 result=yes
11676 else
11677 result=no
11678 fi
11679 else
11680 result=$wxUSE_CHOICE
11681 fi
11682
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11684 $as_echo "$result" >&6; }
11685
11686
11687 enablestring=
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11691 defaultval=yes
11692 else
11693 defaultval=no
11694 fi
11695 fi
11696
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11698 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11699 # Check whether --enable-choicebook was given.
11700 if test "${enable_choicebook+set}" = set; then :
11701 enableval=$enable_choicebook;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11704 else
11705 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11706 fi
11707
11708 else
11709
11710 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11711
11712 fi
11713
11714
11715 eval "$wx_cv_use_choicebook"
11716
11717 if test x"$enablestring" = xdisable; then
11718 if test $wxUSE_CHOICEBOOK = no; then
11719 result=yes
11720 else
11721 result=no
11722 fi
11723 else
11724 result=$wxUSE_CHOICEBOOK
11725 fi
11726
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11728 $as_echo "$result" >&6; }
11729
11730
11731 enablestring=
11732 defaultval=$wxUSE_ALL_FEATURES
11733 if test -z "$defaultval"; then
11734 if test x"$enablestring" = xdisable; then
11735 defaultval=yes
11736 else
11737 defaultval=no
11738 fi
11739 fi
11740
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11742 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11743 # Check whether --enable-collpane was given.
11744 if test "${enable_collpane+set}" = set; then :
11745 enableval=$enable_collpane;
11746 if test "$enableval" = yes; then
11747 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11748 else
11749 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11750 fi
11751
11752 else
11753
11754 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11755
11756 fi
11757
11758
11759 eval "$wx_cv_use_collpane"
11760
11761 if test x"$enablestring" = xdisable; then
11762 if test $wxUSE_COLLPANE = no; then
11763 result=yes
11764 else
11765 result=no
11766 fi
11767 else
11768 result=$wxUSE_COLLPANE
11769 fi
11770
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11772 $as_echo "$result" >&6; }
11773
11774
11775 enablestring=
11776 defaultval=$wxUSE_ALL_FEATURES
11777 if test -z "$defaultval"; then
11778 if test x"$enablestring" = xdisable; then
11779 defaultval=yes
11780 else
11781 defaultval=no
11782 fi
11783 fi
11784
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11786 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11787 # Check whether --enable-colourpicker was given.
11788 if test "${enable_colourpicker+set}" = set; then :
11789 enableval=$enable_colourpicker;
11790 if test "$enableval" = yes; then
11791 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11792 else
11793 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11794 fi
11795
11796 else
11797
11798 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11799
11800 fi
11801
11802
11803 eval "$wx_cv_use_colourpicker"
11804
11805 if test x"$enablestring" = xdisable; then
11806 if test $wxUSE_COLOURPICKERCTRL = no; then
11807 result=yes
11808 else
11809 result=no
11810 fi
11811 else
11812 result=$wxUSE_COLOURPICKERCTRL
11813 fi
11814
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11816 $as_echo "$result" >&6; }
11817
11818
11819 enablestring=
11820 defaultval=$wxUSE_ALL_FEATURES
11821 if test -z "$defaultval"; then
11822 if test x"$enablestring" = xdisable; then
11823 defaultval=yes
11824 else
11825 defaultval=no
11826 fi
11827 fi
11828
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11830 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11831 # Check whether --enable-combobox was given.
11832 if test "${enable_combobox+set}" = set; then :
11833 enableval=$enable_combobox;
11834 if test "$enableval" = yes; then
11835 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11836 else
11837 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11838 fi
11839
11840 else
11841
11842 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11843
11844 fi
11845
11846
11847 eval "$wx_cv_use_combobox"
11848
11849 if test x"$enablestring" = xdisable; then
11850 if test $wxUSE_COMBOBOX = no; then
11851 result=yes
11852 else
11853 result=no
11854 fi
11855 else
11856 result=$wxUSE_COMBOBOX
11857 fi
11858
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11860 $as_echo "$result" >&6; }
11861
11862
11863 enablestring=
11864 defaultval=$wxUSE_ALL_FEATURES
11865 if test -z "$defaultval"; then
11866 if test x"$enablestring" = xdisable; then
11867 defaultval=yes
11868 else
11869 defaultval=no
11870 fi
11871 fi
11872
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11874 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11875 # Check whether --enable-comboctrl was given.
11876 if test "${enable_comboctrl+set}" = set; then :
11877 enableval=$enable_comboctrl;
11878 if test "$enableval" = yes; then
11879 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11880 else
11881 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11882 fi
11883
11884 else
11885
11886 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11887
11888 fi
11889
11890
11891 eval "$wx_cv_use_comboctrl"
11892
11893 if test x"$enablestring" = xdisable; then
11894 if test $wxUSE_COMBOCTRL = no; then
11895 result=yes
11896 else
11897 result=no
11898 fi
11899 else
11900 result=$wxUSE_COMBOCTRL
11901 fi
11902
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11904 $as_echo "$result" >&6; }
11905
11906
11907 enablestring=
11908 defaultval=$wxUSE_ALL_FEATURES
11909 if test -z "$defaultval"; then
11910 if test x"$enablestring" = xdisable; then
11911 defaultval=yes
11912 else
11913 defaultval=no
11914 fi
11915 fi
11916
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11918 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11919 # Check whether --enable-commandlinkbutton was given.
11920 if test "${enable_commandlinkbutton+set}" = set; then :
11921 enableval=$enable_commandlinkbutton;
11922 if test "$enableval" = yes; then
11923 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11924 else
11925 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11926 fi
11927
11928 else
11929
11930 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11931
11932 fi
11933
11934
11935 eval "$wx_cv_use_commandlinkbutton"
11936
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_COMMANDLINKBUTTON = no; then
11939 result=yes
11940 else
11941 result=no
11942 fi
11943 else
11944 result=$wxUSE_COMMANDLINKBUTTON
11945 fi
11946
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11948 $as_echo "$result" >&6; }
11949
11950
11951 enablestring=
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11955 defaultval=yes
11956 else
11957 defaultval=no
11958 fi
11959 fi
11960
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11962 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11963 # Check whether --enable-dataviewctrl was given.
11964 if test "${enable_dataviewctrl+set}" = set; then :
11965 enableval=$enable_dataviewctrl;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11968 else
11969 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11970 fi
11971
11972 else
11973
11974 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11975
11976 fi
11977
11978
11979 eval "$wx_cv_use_dataviewctrl"
11980
11981 if test x"$enablestring" = xdisable; then
11982 if test $wxUSE_DATAVIEWCTRL = no; then
11983 result=yes
11984 else
11985 result=no
11986 fi
11987 else
11988 result=$wxUSE_DATAVIEWCTRL
11989 fi
11990
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11992 $as_echo "$result" >&6; }
11993
11994
11995 enablestring=
11996 defaultval=$wxUSE_ALL_FEATURES
11997 if test -z "$defaultval"; then
11998 if test x"$enablestring" = xdisable; then
11999 defaultval=yes
12000 else
12001 defaultval=no
12002 fi
12003 fi
12004
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12006 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12007 # Check whether --enable-datepick was given.
12008 if test "${enable_datepick+set}" = set; then :
12009 enableval=$enable_datepick;
12010 if test "$enableval" = yes; then
12011 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12012 else
12013 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12014 fi
12015
12016 else
12017
12018 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12019
12020 fi
12021
12022
12023 eval "$wx_cv_use_datepick"
12024
12025 if test x"$enablestring" = xdisable; then
12026 if test $wxUSE_DATEPICKCTRL = no; then
12027 result=yes
12028 else
12029 result=no
12030 fi
12031 else
12032 result=$wxUSE_DATEPICKCTRL
12033 fi
12034
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12036 $as_echo "$result" >&6; }
12037
12038
12039 enablestring=
12040 defaultval=$wxUSE_ALL_FEATURES
12041 if test -z "$defaultval"; then
12042 if test x"$enablestring" = xdisable; then
12043 defaultval=yes
12044 else
12045 defaultval=no
12046 fi
12047 fi
12048
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12050 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12051 # Check whether --enable-detect_sm was given.
12052 if test "${enable_detect_sm+set}" = set; then :
12053 enableval=$enable_detect_sm;
12054 if test "$enableval" = yes; then
12055 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12056 else
12057 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12058 fi
12059
12060 else
12061
12062 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12063
12064 fi
12065
12066
12067 eval "$wx_cv_use_detect_sm"
12068
12069 if test x"$enablestring" = xdisable; then
12070 if test $wxUSE_DETECT_SM = no; then
12071 result=yes
12072 else
12073 result=no
12074 fi
12075 else
12076 result=$wxUSE_DETECT_SM
12077 fi
12078
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12080 $as_echo "$result" >&6; }
12081
12082
12083 enablestring=
12084 defaultval=$wxUSE_ALL_FEATURES
12085 if test -z "$defaultval"; then
12086 if test x"$enablestring" = xdisable; then
12087 defaultval=yes
12088 else
12089 defaultval=no
12090 fi
12091 fi
12092
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12094 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12095 # Check whether --enable-dirpicker was given.
12096 if test "${enable_dirpicker+set}" = set; then :
12097 enableval=$enable_dirpicker;
12098 if test "$enableval" = yes; then
12099 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12100 else
12101 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12102 fi
12103
12104 else
12105
12106 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12107
12108 fi
12109
12110
12111 eval "$wx_cv_use_dirpicker"
12112
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_DIRPICKERCTRL = no; then
12115 result=yes
12116 else
12117 result=no
12118 fi
12119 else
12120 result=$wxUSE_DIRPICKERCTRL
12121 fi
12122
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12124 $as_echo "$result" >&6; }
12125
12126
12127 enablestring=
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12131 defaultval=yes
12132 else
12133 defaultval=no
12134 fi
12135 fi
12136
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12138 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12139 # Check whether --enable-display was given.
12140 if test "${enable_display+set}" = set; then :
12141 enableval=$enable_display;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_display='wxUSE_DISPLAY=yes'
12144 else
12145 wx_cv_use_display='wxUSE_DISPLAY=no'
12146 fi
12147
12148 else
12149
12150 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12151
12152 fi
12153
12154
12155 eval "$wx_cv_use_display"
12156
12157 if test x"$enablestring" = xdisable; then
12158 if test $wxUSE_DISPLAY = no; then
12159 result=yes
12160 else
12161 result=no
12162 fi
12163 else
12164 result=$wxUSE_DISPLAY
12165 fi
12166
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12168 $as_echo "$result" >&6; }
12169
12170
12171 enablestring=
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12175 defaultval=yes
12176 else
12177 defaultval=no
12178 fi
12179 fi
12180
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12182 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12183 # Check whether --enable-editablebox was given.
12184 if test "${enable_editablebox+set}" = set; then :
12185 enableval=$enable_editablebox;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12188 else
12189 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12190 fi
12191
12192 else
12193
12194 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12195
12196 fi
12197
12198
12199 eval "$wx_cv_use_editablebox"
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_EDITABLELISTBOX = no; then
12203 result=yes
12204 else
12205 result=no
12206 fi
12207 else
12208 result=$wxUSE_EDITABLELISTBOX
12209 fi
12210
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12212 $as_echo "$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12226 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12227 # Check whether --enable-filectrl was given.
12228 if test "${enable_filectrl+set}" = set; then :
12229 enableval=$enable_filectrl;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12232 else
12233 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12234 fi
12235
12236 else
12237
12238 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12239
12240 fi
12241
12242
12243 eval "$wx_cv_use_filectrl"
12244
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_FILECTRL = no; then
12247 result=yes
12248 else
12249 result=no
12250 fi
12251 else
12252 result=$wxUSE_FILECTRL
12253 fi
12254
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12256 $as_echo "$result" >&6; }
12257
12258
12259 enablestring=
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12263 defaultval=yes
12264 else
12265 defaultval=no
12266 fi
12267 fi
12268
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12270 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12271 # Check whether --enable-filepicker was given.
12272 if test "${enable_filepicker+set}" = set; then :
12273 enableval=$enable_filepicker;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12276 else
12277 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12278 fi
12279
12280 else
12281
12282 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12283
12284 fi
12285
12286
12287 eval "$wx_cv_use_filepicker"
12288
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_FILEPICKERCTRL = no; then
12291 result=yes
12292 else
12293 result=no
12294 fi
12295 else
12296 result=$wxUSE_FILEPICKERCTRL
12297 fi
12298
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12300 $as_echo "$result" >&6; }
12301
12302
12303 enablestring=
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12307 defaultval=yes
12308 else
12309 defaultval=no
12310 fi
12311 fi
12312
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12314 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12315 # Check whether --enable-fontpicker was given.
12316 if test "${enable_fontpicker+set}" = set; then :
12317 enableval=$enable_fontpicker;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12320 else
12321 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12322 fi
12323
12324 else
12325
12326 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12327
12328 fi
12329
12330
12331 eval "$wx_cv_use_fontpicker"
12332
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_FONTPICKERCTRL = no; then
12335 result=yes
12336 else
12337 result=no
12338 fi
12339 else
12340 result=$wxUSE_FONTPICKERCTRL
12341 fi
12342
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12344 $as_echo "$result" >&6; }
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12358 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12359 # Check whether --enable-gauge was given.
12360 if test "${enable_gauge+set}" = set; then :
12361 enableval=$enable_gauge;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12364 else
12365 wx_cv_use_gauge='wxUSE_GAUGE=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_gauge"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_GAUGE = no; then
12379 result=yes
12380 else
12381 result=no
12382 fi
12383 else
12384 result=$wxUSE_GAUGE
12385 fi
12386
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12388 $as_echo "$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12402 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12403 # Check whether --enable-grid was given.
12404 if test "${enable_grid+set}" = set; then :
12405 enableval=$enable_grid;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_grid='wxUSE_GRID=yes'
12408 else
12409 wx_cv_use_grid='wxUSE_GRID=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_grid"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_GRID = no; then
12423 result=yes
12424 else
12425 result=no
12426 fi
12427 else
12428 result=$wxUSE_GRID
12429 fi
12430
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12432 $as_echo "$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12446 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12447 # Check whether --enable-headerctrl was given.
12448 if test "${enable_headerctrl+set}" = set; then :
12449 enableval=$enable_headerctrl;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12452 else
12453 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_headerctrl"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_HEADERCTRL = no; then
12467 result=yes
12468 else
12469 result=no
12470 fi
12471 else
12472 result=$wxUSE_HEADERCTRL
12473 fi
12474
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12476 $as_echo "$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12490 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12491 # Check whether --enable-hyperlink was given.
12492 if test "${enable_hyperlink+set}" = set; then :
12493 enableval=$enable_hyperlink;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12496 else
12497 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_hyperlink"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_HYPERLINKCTRL = no; then
12511 result=yes
12512 else
12513 result=no
12514 fi
12515 else
12516 result=$wxUSE_HYPERLINKCTRL
12517 fi
12518
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12520 $as_echo "$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12534 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12535 # Check whether --enable-imaglist was given.
12536 if test "${enable_imaglist+set}" = set; then :
12537 enableval=$enable_imaglist;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12540 else
12541 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_imaglist"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_IMAGLIST = no; then
12555 result=yes
12556 else
12557 result=no
12558 fi
12559 else
12560 result=$wxUSE_IMAGLIST
12561 fi
12562
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12564 $as_echo "$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12578 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12579 # Check whether --enable-infobar was given.
12580 if test "${enable_infobar+set}" = set; then :
12581 enableval=$enable_infobar;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12584 else
12585 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_infobar"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_INFOBAR = no; then
12599 result=yes
12600 else
12601 result=no
12602 fi
12603 else
12604 result=$wxUSE_INFOBAR
12605 fi
12606
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12608 $as_echo "$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12622 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12623 # Check whether --enable-listbook was given.
12624 if test "${enable_listbook+set}" = set; then :
12625 enableval=$enable_listbook;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12628 else
12629 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_listbook"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_LISTBOOK = no; then
12643 result=yes
12644 else
12645 result=no
12646 fi
12647 else
12648 result=$wxUSE_LISTBOOK
12649 fi
12650
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12652 $as_echo "$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12666 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12667 # Check whether --enable-listbox was given.
12668 if test "${enable_listbox+set}" = set; then :
12669 enableval=$enable_listbox;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12672 else
12673 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_listbox"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_LISTBOX = no; then
12687 result=yes
12688 else
12689 result=no
12690 fi
12691 else
12692 result=$wxUSE_LISTBOX
12693 fi
12694
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12696 $as_echo "$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12710 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12711 # Check whether --enable-listctrl was given.
12712 if test "${enable_listctrl+set}" = set; then :
12713 enableval=$enable_listctrl;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12716 else
12717 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_listctrl"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_LISTCTRL = no; then
12731 result=yes
12732 else
12733 result=no
12734 fi
12735 else
12736 result=$wxUSE_LISTCTRL
12737 fi
12738
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12740 $as_echo "$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12754 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12755 # Check whether --enable-notebook was given.
12756 if test "${enable_notebook+set}" = set; then :
12757 enableval=$enable_notebook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12760 else
12761 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_notebook"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_NOTEBOOK = no; then
12775 result=yes
12776 else
12777 result=no
12778 fi
12779 else
12780 result=$wxUSE_NOTEBOOK
12781 fi
12782
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12784 $as_echo "$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12798 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12799 # Check whether --enable-notifmsg was given.
12800 if test "${enable_notifmsg+set}" = set; then :
12801 enableval=$enable_notifmsg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12804 else
12805 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_notifmsg"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12819 result=yes
12820 else
12821 result=no
12822 fi
12823 else
12824 result=$wxUSE_NOTIFICATION_MESSAGE
12825 fi
12826
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12828 $as_echo "$result" >&6; }
12829
12830
12831 enablestring=
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12835 defaultval=yes
12836 else
12837 defaultval=no
12838 fi
12839 fi
12840
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12842 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12843 # Check whether --enable-odcombobox was given.
12844 if test "${enable_odcombobox+set}" = set; then :
12845 enableval=$enable_odcombobox;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12848 else
12849 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12850 fi
12851
12852 else
12853
12854 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12855
12856 fi
12857
12858
12859 eval "$wx_cv_use_odcombobox"
12860
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_ODCOMBOBOX = no; then
12863 result=yes
12864 else
12865 result=no
12866 fi
12867 else
12868 result=$wxUSE_ODCOMBOBOX
12869 fi
12870
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12872 $as_echo "$result" >&6; }
12873
12874
12875 enablestring=
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12879 defaultval=yes
12880 else
12881 defaultval=no
12882 fi
12883 fi
12884
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12886 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12887 # Check whether --enable-popupwin was given.
12888 if test "${enable_popupwin+set}" = set; then :
12889 enableval=$enable_popupwin;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12892 else
12893 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12894 fi
12895
12896 else
12897
12898 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12899
12900 fi
12901
12902
12903 eval "$wx_cv_use_popupwin"
12904
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_POPUPWIN = no; then
12907 result=yes
12908 else
12909 result=no
12910 fi
12911 else
12912 result=$wxUSE_POPUPWIN
12913 fi
12914
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12916 $as_echo "$result" >&6; }
12917
12918
12919 enablestring=
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12923 defaultval=yes
12924 else
12925 defaultval=no
12926 fi
12927 fi
12928
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12930 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12931 # Check whether --enable-radiobox was given.
12932 if test "${enable_radiobox+set}" = set; then :
12933 enableval=$enable_radiobox;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12936 else
12937 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12938 fi
12939
12940 else
12941
12942 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12943
12944 fi
12945
12946
12947 eval "$wx_cv_use_radiobox"
12948
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_RADIOBOX = no; then
12951 result=yes
12952 else
12953 result=no
12954 fi
12955 else
12956 result=$wxUSE_RADIOBOX
12957 fi
12958
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12960 $as_echo "$result" >&6; }
12961
12962
12963 enablestring=
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12967 defaultval=yes
12968 else
12969 defaultval=no
12970 fi
12971 fi
12972
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12974 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12975 # Check whether --enable-radiobtn was given.
12976 if test "${enable_radiobtn+set}" = set; then :
12977 enableval=$enable_radiobtn;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12980 else
12981 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12982 fi
12983
12984 else
12985
12986 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_radiobtn"
12992
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_RADIOBTN = no; then
12995 result=yes
12996 else
12997 result=no
12998 fi
12999 else
13000 result=$wxUSE_RADIOBTN
13001 fi
13002
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13004 $as_echo "$result" >&6; }
13005
13006
13007 enablestring=
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z "$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13011 defaultval=yes
13012 else
13013 defaultval=no
13014 fi
13015 fi
13016
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13018 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13019 # Check whether --enable-richmsgdlg was given.
13020 if test "${enable_richmsgdlg+set}" = set; then :
13021 enableval=$enable_richmsgdlg;
13022 if test "$enableval" = yes; then
13023 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13024 else
13025 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13026 fi
13027
13028 else
13029
13030 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13031
13032 fi
13033
13034
13035 eval "$wx_cv_use_richmsgdlg"
13036
13037 if test x"$enablestring" = xdisable; then
13038 if test $wxUSE_RICHMSGDLG = no; then
13039 result=yes
13040 else
13041 result=no
13042 fi
13043 else
13044 result=$wxUSE_RICHMSGDLG
13045 fi
13046
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13048 $as_echo "$result" >&6; }
13049
13050
13051 enablestring=
13052 defaultval=$wxUSE_ALL_FEATURES
13053 if test -z "$defaultval"; then
13054 if test x"$enablestring" = xdisable; then
13055 defaultval=yes
13056 else
13057 defaultval=no
13058 fi
13059 fi
13060
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13062 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13063 # Check whether --enable-richtooltip was given.
13064 if test "${enable_richtooltip+set}" = set; then :
13065 enableval=$enable_richtooltip;
13066 if test "$enableval" = yes; then
13067 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13068 else
13069 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13070 fi
13071
13072 else
13073
13074 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13075
13076 fi
13077
13078
13079 eval "$wx_cv_use_richtooltip"
13080
13081 if test x"$enablestring" = xdisable; then
13082 if test $wxUSE_RICHTOOLTIP = no; then
13083 result=yes
13084 else
13085 result=no
13086 fi
13087 else
13088 result=$wxUSE_RICHTOOLTIP
13089 fi
13090
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13092 $as_echo "$result" >&6; }
13093
13094
13095 enablestring=
13096 defaultval=$wxUSE_ALL_FEATURES
13097 if test -z "$defaultval"; then
13098 if test x"$enablestring" = xdisable; then
13099 defaultval=yes
13100 else
13101 defaultval=no
13102 fi
13103 fi
13104
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13106 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13107 # Check whether --enable-rearrangectrl was given.
13108 if test "${enable_rearrangectrl+set}" = set; then :
13109 enableval=$enable_rearrangectrl;
13110 if test "$enableval" = yes; then
13111 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13112 else
13113 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13114 fi
13115
13116 else
13117
13118 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13119
13120 fi
13121
13122
13123 eval "$wx_cv_use_rearrangectrl"
13124
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_REARRANGECTRL = no; then
13127 result=yes
13128 else
13129 result=no
13130 fi
13131 else
13132 result=$wxUSE_REARRANGECTRL
13133 fi
13134
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13136 $as_echo "$result" >&6; }
13137
13138
13139 enablestring=
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13143 defaultval=yes
13144 else
13145 defaultval=no
13146 fi
13147 fi
13148
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13150 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13151 # Check whether --enable-sash was given.
13152 if test "${enable_sash+set}" = set; then :
13153 enableval=$enable_sash;
13154 if test "$enableval" = yes; then
13155 wx_cv_use_sash='wxUSE_SASH=yes'
13156 else
13157 wx_cv_use_sash='wxUSE_SASH=no'
13158 fi
13159
13160 else
13161
13162 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13163
13164 fi
13165
13166
13167 eval "$wx_cv_use_sash"
13168
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_SASH = no; then
13171 result=yes
13172 else
13173 result=no
13174 fi
13175 else
13176 result=$wxUSE_SASH
13177 fi
13178
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13180 $as_echo "$result" >&6; }
13181
13182
13183 enablestring=
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13187 defaultval=yes
13188 else
13189 defaultval=no
13190 fi
13191 fi
13192
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13194 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13195 # Check whether --enable-scrollbar was given.
13196 if test "${enable_scrollbar+set}" = set; then :
13197 enableval=$enable_scrollbar;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13200 else
13201 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13202 fi
13203
13204 else
13205
13206 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13207
13208 fi
13209
13210
13211 eval "$wx_cv_use_scrollbar"
13212
13213 if test x"$enablestring" = xdisable; then
13214 if test $wxUSE_SCROLLBAR = no; then
13215 result=yes
13216 else
13217 result=no
13218 fi
13219 else
13220 result=$wxUSE_SCROLLBAR
13221 fi
13222
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13224 $as_echo "$result" >&6; }
13225
13226
13227 enablestring=
13228 defaultval=$wxUSE_ALL_FEATURES
13229 if test -z "$defaultval"; then
13230 if test x"$enablestring" = xdisable; then
13231 defaultval=yes
13232 else
13233 defaultval=no
13234 fi
13235 fi
13236
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13238 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13239 # Check whether --enable-searchctrl was given.
13240 if test "${enable_searchctrl+set}" = set; then :
13241 enableval=$enable_searchctrl;
13242 if test "$enableval" = yes; then
13243 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13244 else
13245 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13246 fi
13247
13248 else
13249
13250 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13251
13252 fi
13253
13254
13255 eval "$wx_cv_use_searchctrl"
13256
13257 if test x"$enablestring" = xdisable; then
13258 if test $wxUSE_SEARCHCTRL = no; then
13259 result=yes
13260 else
13261 result=no
13262 fi
13263 else
13264 result=$wxUSE_SEARCHCTRL
13265 fi
13266
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13268 $as_echo "$result" >&6; }
13269
13270
13271 enablestring=
13272 defaultval=$wxUSE_ALL_FEATURES
13273 if test -z "$defaultval"; then
13274 if test x"$enablestring" = xdisable; then
13275 defaultval=yes
13276 else
13277 defaultval=no
13278 fi
13279 fi
13280
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13282 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13283 # Check whether --enable-slider was given.
13284 if test "${enable_slider+set}" = set; then :
13285 enableval=$enable_slider;
13286 if test "$enableval" = yes; then
13287 wx_cv_use_slider='wxUSE_SLIDER=yes'
13288 else
13289 wx_cv_use_slider='wxUSE_SLIDER=no'
13290 fi
13291
13292 else
13293
13294 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13295
13296 fi
13297
13298
13299 eval "$wx_cv_use_slider"
13300
13301 if test x"$enablestring" = xdisable; then
13302 if test $wxUSE_SLIDER = no; then
13303 result=yes
13304 else
13305 result=no
13306 fi
13307 else
13308 result=$wxUSE_SLIDER
13309 fi
13310
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13312 $as_echo "$result" >&6; }
13313
13314
13315 enablestring=
13316 defaultval=$wxUSE_ALL_FEATURES
13317 if test -z "$defaultval"; then
13318 if test x"$enablestring" = xdisable; then
13319 defaultval=yes
13320 else
13321 defaultval=no
13322 fi
13323 fi
13324
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13326 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13327 # Check whether --enable-spinbtn was given.
13328 if test "${enable_spinbtn+set}" = set; then :
13329 enableval=$enable_spinbtn;
13330 if test "$enableval" = yes; then
13331 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13332 else
13333 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13334 fi
13335
13336 else
13337
13338 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13339
13340 fi
13341
13342
13343 eval "$wx_cv_use_spinbtn"
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_SPINBTN = no; then
13347 result=yes
13348 else
13349 result=no
13350 fi
13351 else
13352 result=$wxUSE_SPINBTN
13353 fi
13354
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13356 $as_echo "$result" >&6; }
13357
13358
13359 enablestring=
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13363 defaultval=yes
13364 else
13365 defaultval=no
13366 fi
13367 fi
13368
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13370 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13371 # Check whether --enable-spinctrl was given.
13372 if test "${enable_spinctrl+set}" = set; then :
13373 enableval=$enable_spinctrl;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13376 else
13377 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13378 fi
13379
13380 else
13381
13382 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13383
13384 fi
13385
13386
13387 eval "$wx_cv_use_spinctrl"
13388
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_SPINCTRL = no; then
13391 result=yes
13392 else
13393 result=no
13394 fi
13395 else
13396 result=$wxUSE_SPINCTRL
13397 fi
13398
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13400 $as_echo "$result" >&6; }
13401
13402
13403 enablestring=
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13407 defaultval=yes
13408 else
13409 defaultval=no
13410 fi
13411 fi
13412
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13414 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13415 # Check whether --enable-splitter was given.
13416 if test "${enable_splitter+set}" = set; then :
13417 enableval=$enable_splitter;
13418 if test "$enableval" = yes; then
13419 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13420 else
13421 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13422 fi
13423
13424 else
13425
13426 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13427
13428 fi
13429
13430
13431 eval "$wx_cv_use_splitter"
13432
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_SPLITTER = no; then
13435 result=yes
13436 else
13437 result=no
13438 fi
13439 else
13440 result=$wxUSE_SPLITTER
13441 fi
13442
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13444 $as_echo "$result" >&6; }
13445
13446
13447 enablestring=
13448 defaultval=$wxUSE_ALL_FEATURES
13449 if test -z "$defaultval"; then
13450 if test x"$enablestring" = xdisable; then
13451 defaultval=yes
13452 else
13453 defaultval=no
13454 fi
13455 fi
13456
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13458 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13459 # Check whether --enable-statbmp was given.
13460 if test "${enable_statbmp+set}" = set; then :
13461 enableval=$enable_statbmp;
13462 if test "$enableval" = yes; then
13463 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13464 else
13465 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13466 fi
13467
13468 else
13469
13470 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13471
13472 fi
13473
13474
13475 eval "$wx_cv_use_statbmp"
13476
13477 if test x"$enablestring" = xdisable; then
13478 if test $wxUSE_STATBMP = no; then
13479 result=yes
13480 else
13481 result=no
13482 fi
13483 else
13484 result=$wxUSE_STATBMP
13485 fi
13486
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13488 $as_echo "$result" >&6; }
13489
13490
13491 enablestring=
13492 defaultval=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x"$enablestring" = xdisable; then
13495 defaultval=yes
13496 else
13497 defaultval=no
13498 fi
13499 fi
13500
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13502 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13503 # Check whether --enable-statbox was given.
13504 if test "${enable_statbox+set}" = set; then :
13505 enableval=$enable_statbox;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13508 else
13509 wx_cv_use_statbox='wxUSE_STATBOX=no'
13510 fi
13511
13512 else
13513
13514 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13515
13516 fi
13517
13518
13519 eval "$wx_cv_use_statbox"
13520
13521 if test x"$enablestring" = xdisable; then
13522 if test $wxUSE_STATBOX = no; then
13523 result=yes
13524 else
13525 result=no
13526 fi
13527 else
13528 result=$wxUSE_STATBOX
13529 fi
13530
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13532 $as_echo "$result" >&6; }
13533
13534
13535 enablestring=
13536 defaultval=$wxUSE_ALL_FEATURES
13537 if test -z "$defaultval"; then
13538 if test x"$enablestring" = xdisable; then
13539 defaultval=yes
13540 else
13541 defaultval=no
13542 fi
13543 fi
13544
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13546 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13547 # Check whether --enable-statline was given.
13548 if test "${enable_statline+set}" = set; then :
13549 enableval=$enable_statline;
13550 if test "$enableval" = yes; then
13551 wx_cv_use_statline='wxUSE_STATLINE=yes'
13552 else
13553 wx_cv_use_statline='wxUSE_STATLINE=no'
13554 fi
13555
13556 else
13557
13558 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13559
13560 fi
13561
13562
13563 eval "$wx_cv_use_statline"
13564
13565 if test x"$enablestring" = xdisable; then
13566 if test $wxUSE_STATLINE = no; then
13567 result=yes
13568 else
13569 result=no
13570 fi
13571 else
13572 result=$wxUSE_STATLINE
13573 fi
13574
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13576 $as_echo "$result" >&6; }
13577
13578
13579 enablestring=
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13583 defaultval=yes
13584 else
13585 defaultval=no
13586 fi
13587 fi
13588
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13590 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13591 # Check whether --enable-stattext was given.
13592 if test "${enable_stattext+set}" = set; then :
13593 enableval=$enable_stattext;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13596 else
13597 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13598 fi
13599
13600 else
13601
13602 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13603
13604 fi
13605
13606
13607 eval "$wx_cv_use_stattext"
13608
13609 if test x"$enablestring" = xdisable; then
13610 if test $wxUSE_STATTEXT = no; then
13611 result=yes
13612 else
13613 result=no
13614 fi
13615 else
13616 result=$wxUSE_STATTEXT
13617 fi
13618
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13620 $as_echo "$result" >&6; }
13621
13622
13623 enablestring=
13624 defaultval=$wxUSE_ALL_FEATURES
13625 if test -z "$defaultval"; then
13626 if test x"$enablestring" = xdisable; then
13627 defaultval=yes
13628 else
13629 defaultval=no
13630 fi
13631 fi
13632
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13634 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13635 # Check whether --enable-statusbar was given.
13636 if test "${enable_statusbar+set}" = set; then :
13637 enableval=$enable_statusbar;
13638 if test "$enableval" = yes; then
13639 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13640 else
13641 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13642 fi
13643
13644 else
13645
13646 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13647
13648 fi
13649
13650
13651 eval "$wx_cv_use_statusbar"
13652
13653 if test x"$enablestring" = xdisable; then
13654 if test $wxUSE_STATUSBAR = no; then
13655 result=yes
13656 else
13657 result=no
13658 fi
13659 else
13660 result=$wxUSE_STATUSBAR
13661 fi
13662
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13664 $as_echo "$result" >&6; }
13665
13666
13667 enablestring=
13668 defaultval=$wxUSE_ALL_FEATURES
13669 if test -z "$defaultval"; then
13670 if test x"$enablestring" = xdisable; then
13671 defaultval=yes
13672 else
13673 defaultval=no
13674 fi
13675 fi
13676
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13678 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13679 # Check whether --enable-taskbaricon was given.
13680 if test "${enable_taskbaricon+set}" = set; then :
13681 enableval=$enable_taskbaricon;
13682 if test "$enableval" = yes; then
13683 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13684 else
13685 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13686 fi
13687
13688 else
13689
13690 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13691
13692 fi
13693
13694
13695 eval "$wx_cv_use_taskbaricon"
13696
13697 if test x"$enablestring" = xdisable; then
13698 if test $wxUSE_TASKBARICON = no; then
13699 result=yes
13700 else
13701 result=no
13702 fi
13703 else
13704 result=$wxUSE_TASKBARICON
13705 fi
13706
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13708 $as_echo "$result" >&6; }
13709
13710
13711 enablestring=
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13715 defaultval=yes
13716 else
13717 defaultval=no
13718 fi
13719 fi
13720
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13722 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13723 # Check whether --enable-tbarnative was given.
13724 if test "${enable_tbarnative+set}" = set; then :
13725 enableval=$enable_tbarnative;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13728 else
13729 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13730 fi
13731
13732 else
13733
13734 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13735
13736 fi
13737
13738
13739 eval "$wx_cv_use_tbarnative"
13740
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_TOOLBAR_NATIVE = no; then
13743 result=yes
13744 else
13745 result=no
13746 fi
13747 else
13748 result=$wxUSE_TOOLBAR_NATIVE
13749 fi
13750
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13752 $as_echo "$result" >&6; }
13753
13754
13755 enablestring=
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13759 defaultval=yes
13760 else
13761 defaultval=no
13762 fi
13763 fi
13764
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13766 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13767 # Check whether --enable-textctrl was given.
13768 if test "${enable_textctrl+set}" = set; then :
13769 enableval=$enable_textctrl;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13772 else
13773 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13774 fi
13775
13776 else
13777
13778 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13779
13780 fi
13781
13782
13783 eval "$wx_cv_use_textctrl"
13784
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_TEXTCTRL = no; then
13787 result=yes
13788 else
13789 result=no
13790 fi
13791 else
13792 result=$wxUSE_TEXTCTRL
13793 fi
13794
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13796 $as_echo "$result" >&6; }
13797
13798
13799 enablestring=
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13803 defaultval=yes
13804 else
13805 defaultval=no
13806 fi
13807 fi
13808
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13810 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13811 # Check whether --enable-datepick was given.
13812 if test "${enable_datepick+set}" = set; then :
13813 enableval=$enable_datepick;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13816 else
13817 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13818 fi
13819
13820 else
13821
13822 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13823
13824 fi
13825
13826
13827 eval "$wx_cv_use_datepick"
13828
13829 if test x"$enablestring" = xdisable; then
13830 if test $wxUSE_TIMEPICKCTRL = no; then
13831 result=yes
13832 else
13833 result=no
13834 fi
13835 else
13836 result=$wxUSE_TIMEPICKCTRL
13837 fi
13838
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13840 $as_echo "$result" >&6; }
13841
13842
13843 enablestring=
13844 defaultval=$wxUSE_ALL_FEATURES
13845 if test -z "$defaultval"; then
13846 if test x"$enablestring" = xdisable; then
13847 defaultval=yes
13848 else
13849 defaultval=no
13850 fi
13851 fi
13852
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13854 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13855 # Check whether --enable-tipwindow was given.
13856 if test "${enable_tipwindow+set}" = set; then :
13857 enableval=$enable_tipwindow;
13858 if test "$enableval" = yes; then
13859 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13860 else
13861 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13862 fi
13863
13864 else
13865
13866 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13867
13868 fi
13869
13870
13871 eval "$wx_cv_use_tipwindow"
13872
13873 if test x"$enablestring" = xdisable; then
13874 if test $wxUSE_TIPWINDOW = no; then
13875 result=yes
13876 else
13877 result=no
13878 fi
13879 else
13880 result=$wxUSE_TIPWINDOW
13881 fi
13882
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13884 $as_echo "$result" >&6; }
13885
13886
13887 enablestring=
13888 defaultval=$wxUSE_ALL_FEATURES
13889 if test -z "$defaultval"; then
13890 if test x"$enablestring" = xdisable; then
13891 defaultval=yes
13892 else
13893 defaultval=no
13894 fi
13895 fi
13896
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13898 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13899 # Check whether --enable-togglebtn was given.
13900 if test "${enable_togglebtn+set}" = set; then :
13901 enableval=$enable_togglebtn;
13902 if test "$enableval" = yes; then
13903 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13904 else
13905 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13906 fi
13907
13908 else
13909
13910 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13911
13912 fi
13913
13914
13915 eval "$wx_cv_use_togglebtn"
13916
13917 if test x"$enablestring" = xdisable; then
13918 if test $wxUSE_TOGGLEBTN = no; then
13919 result=yes
13920 else
13921 result=no
13922 fi
13923 else
13924 result=$wxUSE_TOGGLEBTN
13925 fi
13926
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13928 $as_echo "$result" >&6; }
13929
13930
13931 enablestring=
13932 defaultval=$wxUSE_ALL_FEATURES
13933 if test -z "$defaultval"; then
13934 if test x"$enablestring" = xdisable; then
13935 defaultval=yes
13936 else
13937 defaultval=no
13938 fi
13939 fi
13940
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13942 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13943 # Check whether --enable-toolbar was given.
13944 if test "${enable_toolbar+set}" = set; then :
13945 enableval=$enable_toolbar;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13948 else
13949 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13950 fi
13951
13952 else
13953
13954 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13955
13956 fi
13957
13958
13959 eval "$wx_cv_use_toolbar"
13960
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_TOOLBAR = no; then
13963 result=yes
13964 else
13965 result=no
13966 fi
13967 else
13968 result=$wxUSE_TOOLBAR
13969 fi
13970
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13972 $as_echo "$result" >&6; }
13973
13974
13975 enablestring=
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13979 defaultval=yes
13980 else
13981 defaultval=no
13982 fi
13983 fi
13984
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13986 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13987 # Check whether --enable-toolbook was given.
13988 if test "${enable_toolbook+set}" = set; then :
13989 enableval=$enable_toolbook;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13992 else
13993 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13994 fi
13995
13996 else
13997
13998 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13999
14000 fi
14001
14002
14003 eval "$wx_cv_use_toolbook"
14004
14005 if test x"$enablestring" = xdisable; then
14006 if test $wxUSE_TOOLBOOK = no; then
14007 result=yes
14008 else
14009 result=no
14010 fi
14011 else
14012 result=$wxUSE_TOOLBOOK
14013 fi
14014
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14016 $as_echo "$result" >&6; }
14017
14018
14019 enablestring=
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14023 defaultval=yes
14024 else
14025 defaultval=no
14026 fi
14027 fi
14028
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14030 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14031 # Check whether --enable-treebook was given.
14032 if test "${enable_treebook+set}" = set; then :
14033 enableval=$enable_treebook;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14036 else
14037 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14038 fi
14039
14040 else
14041
14042 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14043
14044 fi
14045
14046
14047 eval "$wx_cv_use_treebook"
14048
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_TREEBOOK = no; then
14051 result=yes
14052 else
14053 result=no
14054 fi
14055 else
14056 result=$wxUSE_TREEBOOK
14057 fi
14058
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14060 $as_echo "$result" >&6; }
14061
14062
14063 enablestring=
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14067 defaultval=yes
14068 else
14069 defaultval=no
14070 fi
14071 fi
14072
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14074 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14075 # Check whether --enable-treectrl was given.
14076 if test "${enable_treectrl+set}" = set; then :
14077 enableval=$enable_treectrl;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14080 else
14081 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14082 fi
14083
14084 else
14085
14086 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14087
14088 fi
14089
14090
14091 eval "$wx_cv_use_treectrl"
14092
14093 if test x"$enablestring" = xdisable; then
14094 if test $wxUSE_TREECTRL = no; then
14095 result=yes
14096 else
14097 result=no
14098 fi
14099 else
14100 result=$wxUSE_TREECTRL
14101 fi
14102
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14104 $as_echo "$result" >&6; }
14105
14106
14107 enablestring=
14108 defaultval=$wxUSE_ALL_FEATURES
14109 if test -z "$defaultval"; then
14110 if test x"$enablestring" = xdisable; then
14111 defaultval=yes
14112 else
14113 defaultval=no
14114 fi
14115 fi
14116
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14118 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14119 # Check whether --enable-treelist was given.
14120 if test "${enable_treelist+set}" = set; then :
14121 enableval=$enable_treelist;
14122 if test "$enableval" = yes; then
14123 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14124 else
14125 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14126 fi
14127
14128 else
14129
14130 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14131
14132 fi
14133
14134
14135 eval "$wx_cv_use_treelist"
14136
14137 if test x"$enablestring" = xdisable; then
14138 if test $wxUSE_TREELISTCTRL = no; then
14139 result=yes
14140 else
14141 result=no
14142 fi
14143 else
14144 result=$wxUSE_TREELISTCTRL
14145 fi
14146
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14148 $as_echo "$result" >&6; }
14149
14150
14151
14152
14153 enablestring=
14154 defaultval=$wxUSE_ALL_FEATURES
14155 if test -z "$defaultval"; then
14156 if test x"$enablestring" = xdisable; then
14157 defaultval=yes
14158 else
14159 defaultval=no
14160 fi
14161 fi
14162
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14164 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14165 # Check whether --enable-commondlg was given.
14166 if test "${enable_commondlg+set}" = set; then :
14167 enableval=$enable_commondlg;
14168 if test "$enableval" = yes; then
14169 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14170 else
14171 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14172 fi
14173
14174 else
14175
14176 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14177
14178 fi
14179
14180
14181 eval "$wx_cv_use_commondlg"
14182
14183 if test x"$enablestring" = xdisable; then
14184 if test $wxUSE_COMMONDLGS = no; then
14185 result=yes
14186 else
14187 result=no
14188 fi
14189 else
14190 result=$wxUSE_COMMONDLGS
14191 fi
14192
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14194 $as_echo "$result" >&6; }
14195
14196
14197 enablestring=
14198 defaultval=$wxUSE_ALL_FEATURES
14199 if test -z "$defaultval"; then
14200 if test x"$enablestring" = xdisable; then
14201 defaultval=yes
14202 else
14203 defaultval=no
14204 fi
14205 fi
14206
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14208 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14209 # Check whether --enable-aboutdlg was given.
14210 if test "${enable_aboutdlg+set}" = set; then :
14211 enableval=$enable_aboutdlg;
14212 if test "$enableval" = yes; then
14213 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14214 else
14215 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14216 fi
14217
14218 else
14219
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14221
14222 fi
14223
14224
14225 eval "$wx_cv_use_aboutdlg"
14226
14227 if test x"$enablestring" = xdisable; then
14228 if test $wxUSE_ABOUTDLG = no; then
14229 result=yes
14230 else
14231 result=no
14232 fi
14233 else
14234 result=$wxUSE_ABOUTDLG
14235 fi
14236
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14238 $as_echo "$result" >&6; }
14239
14240
14241 enablestring=
14242 defaultval=$wxUSE_ALL_FEATURES
14243 if test -z "$defaultval"; then
14244 if test x"$enablestring" = xdisable; then
14245 defaultval=yes
14246 else
14247 defaultval=no
14248 fi
14249 fi
14250
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14252 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14253 # Check whether --enable-choicedlg was given.
14254 if test "${enable_choicedlg+set}" = set; then :
14255 enableval=$enable_choicedlg;
14256 if test "$enableval" = yes; then
14257 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14258 else
14259 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14260 fi
14261
14262 else
14263
14264 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14265
14266 fi
14267
14268
14269 eval "$wx_cv_use_choicedlg"
14270
14271 if test x"$enablestring" = xdisable; then
14272 if test $wxUSE_CHOICEDLG = no; then
14273 result=yes
14274 else
14275 result=no
14276 fi
14277 else
14278 result=$wxUSE_CHOICEDLG
14279 fi
14280
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14282 $as_echo "$result" >&6; }
14283
14284
14285 enablestring=
14286 defaultval=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x"$enablestring" = xdisable; then
14289 defaultval=yes
14290 else
14291 defaultval=no
14292 fi
14293 fi
14294
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14296 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14297 # Check whether --enable-coldlg was given.
14298 if test "${enable_coldlg+set}" = set; then :
14299 enableval=$enable_coldlg;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14302 else
14303 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14304 fi
14305
14306 else
14307
14308 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14309
14310 fi
14311
14312
14313 eval "$wx_cv_use_coldlg"
14314
14315 if test x"$enablestring" = xdisable; then
14316 if test $wxUSE_COLOURDLG = no; then
14317 result=yes
14318 else
14319 result=no
14320 fi
14321 else
14322 result=$wxUSE_COLOURDLG
14323 fi
14324
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14326 $as_echo "$result" >&6; }
14327
14328
14329 enablestring=
14330 defaultval=$wxUSE_ALL_FEATURES
14331 if test -z "$defaultval"; then
14332 if test x"$enablestring" = xdisable; then
14333 defaultval=yes
14334 else
14335 defaultval=no
14336 fi
14337 fi
14338
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14340 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14341 # Check whether --enable-filedlg was given.
14342 if test "${enable_filedlg+set}" = set; then :
14343 enableval=$enable_filedlg;
14344 if test "$enableval" = yes; then
14345 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14346 else
14347 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14348 fi
14349
14350 else
14351
14352 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14353
14354 fi
14355
14356
14357 eval "$wx_cv_use_filedlg"
14358
14359 if test x"$enablestring" = xdisable; then
14360 if test $wxUSE_FILEDLG = no; then
14361 result=yes
14362 else
14363 result=no
14364 fi
14365 else
14366 result=$wxUSE_FILEDLG
14367 fi
14368
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14370 $as_echo "$result" >&6; }
14371
14372
14373 enablestring=
14374 defaultval=$wxUSE_ALL_FEATURES
14375 if test -z "$defaultval"; then
14376 if test x"$enablestring" = xdisable; then
14377 defaultval=yes
14378 else
14379 defaultval=no
14380 fi
14381 fi
14382
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14384 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14385 # Check whether --enable-finddlg was given.
14386 if test "${enable_finddlg+set}" = set; then :
14387 enableval=$enable_finddlg;
14388 if test "$enableval" = yes; then
14389 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14390 else
14391 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14392 fi
14393
14394 else
14395
14396 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14397
14398 fi
14399
14400
14401 eval "$wx_cv_use_finddlg"
14402
14403 if test x"$enablestring" = xdisable; then
14404 if test $wxUSE_FINDREPLDLG = no; then
14405 result=yes
14406 else
14407 result=no
14408 fi
14409 else
14410 result=$wxUSE_FINDREPLDLG
14411 fi
14412
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14414 $as_echo "$result" >&6; }
14415
14416
14417 enablestring=
14418 defaultval=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x"$enablestring" = xdisable; then
14421 defaultval=yes
14422 else
14423 defaultval=no
14424 fi
14425 fi
14426
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14428 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14429 # Check whether --enable-fontdlg was given.
14430 if test "${enable_fontdlg+set}" = set; then :
14431 enableval=$enable_fontdlg;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14434 else
14435 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14436 fi
14437
14438 else
14439
14440 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14441
14442 fi
14443
14444
14445 eval "$wx_cv_use_fontdlg"
14446
14447 if test x"$enablestring" = xdisable; then
14448 if test $wxUSE_FONTDLG = no; then
14449 result=yes
14450 else
14451 result=no
14452 fi
14453 else
14454 result=$wxUSE_FONTDLG
14455 fi
14456
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14458 $as_echo "$result" >&6; }
14459
14460
14461 enablestring=
14462 defaultval=$wxUSE_ALL_FEATURES
14463 if test -z "$defaultval"; then
14464 if test x"$enablestring" = xdisable; then
14465 defaultval=yes
14466 else
14467 defaultval=no
14468 fi
14469 fi
14470
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14472 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14473 # Check whether --enable-dirdlg was given.
14474 if test "${enable_dirdlg+set}" = set; then :
14475 enableval=$enable_dirdlg;
14476 if test "$enableval" = yes; then
14477 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14478 else
14479 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14480 fi
14481
14482 else
14483
14484 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14485
14486 fi
14487
14488
14489 eval "$wx_cv_use_dirdlg"
14490
14491 if test x"$enablestring" = xdisable; then
14492 if test $wxUSE_DIRDLG = no; then
14493 result=yes
14494 else
14495 result=no
14496 fi
14497 else
14498 result=$wxUSE_DIRDLG
14499 fi
14500
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14502 $as_echo "$result" >&6; }
14503
14504
14505 enablestring=
14506 defaultval=$wxUSE_ALL_FEATURES
14507 if test -z "$defaultval"; then
14508 if test x"$enablestring" = xdisable; then
14509 defaultval=yes
14510 else
14511 defaultval=no
14512 fi
14513 fi
14514
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14516 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14517 # Check whether --enable-msgdlg was given.
14518 if test "${enable_msgdlg+set}" = set; then :
14519 enableval=$enable_msgdlg;
14520 if test "$enableval" = yes; then
14521 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14522 else
14523 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14524 fi
14525
14526 else
14527
14528 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14529
14530 fi
14531
14532
14533 eval "$wx_cv_use_msgdlg"
14534
14535 if test x"$enablestring" = xdisable; then
14536 if test $wxUSE_MSGDLG = no; then
14537 result=yes
14538 else
14539 result=no
14540 fi
14541 else
14542 result=$wxUSE_MSGDLG
14543 fi
14544
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14546 $as_echo "$result" >&6; }
14547
14548
14549 enablestring=
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14553 defaultval=yes
14554 else
14555 defaultval=no
14556 fi
14557 fi
14558
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14560 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14561 # Check whether --enable-numberdlg was given.
14562 if test "${enable_numberdlg+set}" = set; then :
14563 enableval=$enable_numberdlg;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14566 else
14567 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14568 fi
14569
14570 else
14571
14572 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14573
14574 fi
14575
14576
14577 eval "$wx_cv_use_numberdlg"
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_NUMBERDLG = no; then
14581 result=yes
14582 else
14583 result=no
14584 fi
14585 else
14586 result=$wxUSE_NUMBERDLG
14587 fi
14588
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14590 $as_echo "$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14604 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14605 # Check whether --enable-splash was given.
14606 if test "${enable_splash+set}" = set; then :
14607 enableval=$enable_splash;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_splash='wxUSE_SPLASH=yes'
14610 else
14611 wx_cv_use_splash='wxUSE_SPLASH=no'
14612 fi
14613
14614 else
14615
14616 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14617
14618 fi
14619
14620
14621 eval "$wx_cv_use_splash"
14622
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_SPLASH = no; then
14625 result=yes
14626 else
14627 result=no
14628 fi
14629 else
14630 result=$wxUSE_SPLASH
14631 fi
14632
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14634 $as_echo "$result" >&6; }
14635
14636
14637 enablestring=
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14641 defaultval=yes
14642 else
14643 defaultval=no
14644 fi
14645 fi
14646
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14648 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14649 # Check whether --enable-textdlg was given.
14650 if test "${enable_textdlg+set}" = set; then :
14651 enableval=$enable_textdlg;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14654 else
14655 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14656 fi
14657
14658 else
14659
14660 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_textdlg"
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_TEXTDLG = no; then
14669 result=yes
14670 else
14671 result=no
14672 fi
14673 else
14674 result=$wxUSE_TEXTDLG
14675 fi
14676
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14678 $as_echo "$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14692 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14693 # Check whether --enable-tipdlg was given.
14694 if test "${enable_tipdlg+set}" = set; then :
14695 enableval=$enable_tipdlg;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14698 else
14699 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14700 fi
14701
14702 else
14703
14704 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14705
14706 fi
14707
14708
14709 eval "$wx_cv_use_tipdlg"
14710
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_STARTUP_TIPS = no; then
14713 result=yes
14714 else
14715 result=no
14716 fi
14717 else
14718 result=$wxUSE_STARTUP_TIPS
14719 fi
14720
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14722 $as_echo "$result" >&6; }
14723
14724
14725 enablestring=
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14729 defaultval=yes
14730 else
14731 defaultval=no
14732 fi
14733 fi
14734
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14736 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14737 # Check whether --enable-progressdlg was given.
14738 if test "${enable_progressdlg+set}" = set; then :
14739 enableval=$enable_progressdlg;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14742 else
14743 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14744 fi
14745
14746 else
14747
14748 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14749
14750 fi
14751
14752
14753 eval "$wx_cv_use_progressdlg"
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_PROGRESSDLG = no; then
14757 result=yes
14758 else
14759 result=no
14760 fi
14761 else
14762 result=$wxUSE_PROGRESSDLG
14763 fi
14764
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14766 $as_echo "$result" >&6; }
14767
14768
14769 enablestring=
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14773 defaultval=yes
14774 else
14775 defaultval=no
14776 fi
14777 fi
14778
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14780 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14781 # Check whether --enable-wizarddlg was given.
14782 if test "${enable_wizarddlg+set}" = set; then :
14783 enableval=$enable_wizarddlg;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14786 else
14787 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14788 fi
14789
14790 else
14791
14792 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14793
14794 fi
14795
14796
14797 eval "$wx_cv_use_wizarddlg"
14798
14799 if test x"$enablestring" = xdisable; then
14800 if test $wxUSE_WIZARDDLG = no; then
14801 result=yes
14802 else
14803 result=no
14804 fi
14805 else
14806 result=$wxUSE_WIZARDDLG
14807 fi
14808
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14810 $as_echo "$result" >&6; }
14811
14812
14813
14814
14815 enablestring=
14816 defaultval=$wxUSE_ALL_FEATURES
14817 if test -z "$defaultval"; then
14818 if test x"$enablestring" = xdisable; then
14819 defaultval=yes
14820 else
14821 defaultval=no
14822 fi
14823 fi
14824
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14826 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14827 # Check whether --enable-menus was given.
14828 if test "${enable_menus+set}" = set; then :
14829 enableval=$enable_menus;
14830 if test "$enableval" = yes; then
14831 wx_cv_use_menus='wxUSE_MENUS=yes'
14832 else
14833 wx_cv_use_menus='wxUSE_MENUS=no'
14834 fi
14835
14836 else
14837
14838 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14839
14840 fi
14841
14842
14843 eval "$wx_cv_use_menus"
14844
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_MENUS = no; then
14847 result=yes
14848 else
14849 result=no
14850 fi
14851 else
14852 result=$wxUSE_MENUS
14853 fi
14854
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14856 $as_echo "$result" >&6; }
14857
14858
14859 enablestring=
14860 defaultval=$wxUSE_ALL_FEATURES
14861 if test -z "$defaultval"; then
14862 if test x"$enablestring" = xdisable; then
14863 defaultval=yes
14864 else
14865 defaultval=no
14866 fi
14867 fi
14868
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14870 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14871 # Check whether --enable-miniframe was given.
14872 if test "${enable_miniframe+set}" = set; then :
14873 enableval=$enable_miniframe;
14874 if test "$enableval" = yes; then
14875 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14876 else
14877 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14878 fi
14879
14880 else
14881
14882 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14883
14884 fi
14885
14886
14887 eval "$wx_cv_use_miniframe"
14888
14889 if test x"$enablestring" = xdisable; then
14890 if test $wxUSE_MINIFRAME = no; then
14891 result=yes
14892 else
14893 result=no
14894 fi
14895 else
14896 result=$wxUSE_MINIFRAME
14897 fi
14898
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14900 $as_echo "$result" >&6; }
14901
14902
14903 enablestring=
14904 defaultval=$wxUSE_ALL_FEATURES
14905 if test -z "$defaultval"; then
14906 if test x"$enablestring" = xdisable; then
14907 defaultval=yes
14908 else
14909 defaultval=no
14910 fi
14911 fi
14912
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14914 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14915 # Check whether --enable-tooltips was given.
14916 if test "${enable_tooltips+set}" = set; then :
14917 enableval=$enable_tooltips;
14918 if test "$enableval" = yes; then
14919 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14920 else
14921 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14922 fi
14923
14924 else
14925
14926 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14927
14928 fi
14929
14930
14931 eval "$wx_cv_use_tooltips"
14932
14933 if test x"$enablestring" = xdisable; then
14934 if test $wxUSE_TOOLTIPS = no; then
14935 result=yes
14936 else
14937 result=no
14938 fi
14939 else
14940 result=$wxUSE_TOOLTIPS
14941 fi
14942
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14944 $as_echo "$result" >&6; }
14945
14946
14947 enablestring=
14948 defaultval=$wxUSE_ALL_FEATURES
14949 if test -z "$defaultval"; then
14950 if test x"$enablestring" = xdisable; then
14951 defaultval=yes
14952 else
14953 defaultval=no
14954 fi
14955 fi
14956
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14958 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14959 # Check whether --enable-splines was given.
14960 if test "${enable_splines+set}" = set; then :
14961 enableval=$enable_splines;
14962 if test "$enableval" = yes; then
14963 wx_cv_use_splines='wxUSE_SPLINES=yes'
14964 else
14965 wx_cv_use_splines='wxUSE_SPLINES=no'
14966 fi
14967
14968 else
14969
14970 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14971
14972 fi
14973
14974
14975 eval "$wx_cv_use_splines"
14976
14977 if test x"$enablestring" = xdisable; then
14978 if test $wxUSE_SPLINES = no; then
14979 result=yes
14980 else
14981 result=no
14982 fi
14983 else
14984 result=$wxUSE_SPLINES
14985 fi
14986
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14988 $as_echo "$result" >&6; }
14989
14990
14991 enablestring=
14992 defaultval=$wxUSE_ALL_FEATURES
14993 if test -z "$defaultval"; then
14994 if test x"$enablestring" = xdisable; then
14995 defaultval=yes
14996 else
14997 defaultval=no
14998 fi
14999 fi
15000
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15002 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15003 # Check whether --enable-mousewheel was given.
15004 if test "${enable_mousewheel+set}" = set; then :
15005 enableval=$enable_mousewheel;
15006 if test "$enableval" = yes; then
15007 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15008 else
15009 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15010 fi
15011
15012 else
15013
15014 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15015
15016 fi
15017
15018
15019 eval "$wx_cv_use_mousewheel"
15020
15021 if test x"$enablestring" = xdisable; then
15022 if test $wxUSE_MOUSEWHEEL = no; then
15023 result=yes
15024 else
15025 result=no
15026 fi
15027 else
15028 result=$wxUSE_MOUSEWHEEL
15029 fi
15030
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15032 $as_echo "$result" >&6; }
15033
15034
15035 enablestring=
15036 defaultval=$wxUSE_ALL_FEATURES
15037 if test -z "$defaultval"; then
15038 if test x"$enablestring" = xdisable; then
15039 defaultval=yes
15040 else
15041 defaultval=no
15042 fi
15043 fi
15044
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15046 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15047 # Check whether --enable-validators was given.
15048 if test "${enable_validators+set}" = set; then :
15049 enableval=$enable_validators;
15050 if test "$enableval" = yes; then
15051 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15052 else
15053 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15054 fi
15055
15056 else
15057
15058 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15059
15060 fi
15061
15062
15063 eval "$wx_cv_use_validators"
15064
15065 if test x"$enablestring" = xdisable; then
15066 if test $wxUSE_VALIDATORS = no; then
15067 result=yes
15068 else
15069 result=no
15070 fi
15071 else
15072 result=$wxUSE_VALIDATORS
15073 fi
15074
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15076 $as_echo "$result" >&6; }
15077
15078
15079 enablestring=
15080 defaultval=$wxUSE_ALL_FEATURES
15081 if test -z "$defaultval"; then
15082 if test x"$enablestring" = xdisable; then
15083 defaultval=yes
15084 else
15085 defaultval=no
15086 fi
15087 fi
15088
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15090 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15091 # Check whether --enable-busyinfo was given.
15092 if test "${enable_busyinfo+set}" = set; then :
15093 enableval=$enable_busyinfo;
15094 if test "$enableval" = yes; then
15095 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15096 else
15097 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15098 fi
15099
15100 else
15101
15102 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15103
15104 fi
15105
15106
15107 eval "$wx_cv_use_busyinfo"
15108
15109 if test x"$enablestring" = xdisable; then
15110 if test $wxUSE_BUSYINFO = no; then
15111 result=yes
15112 else
15113 result=no
15114 fi
15115 else
15116 result=$wxUSE_BUSYINFO
15117 fi
15118
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15120 $as_echo "$result" >&6; }
15121
15122
15123 enablestring=
15124 defaultval=$wxUSE_ALL_FEATURES
15125 if test -z "$defaultval"; then
15126 if test x"$enablestring" = xdisable; then
15127 defaultval=yes
15128 else
15129 defaultval=no
15130 fi
15131 fi
15132
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15134 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15135 # Check whether --enable-hotkey was given.
15136 if test "${enable_hotkey+set}" = set; then :
15137 enableval=$enable_hotkey;
15138 if test "$enableval" = yes; then
15139 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15140 else
15141 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15142 fi
15143
15144 else
15145
15146 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15147
15148 fi
15149
15150
15151 eval "$wx_cv_use_hotkey"
15152
15153 if test x"$enablestring" = xdisable; then
15154 if test $wxUSE_HOTKEY = no; then
15155 result=yes
15156 else
15157 result=no
15158 fi
15159 else
15160 result=$wxUSE_HOTKEY
15161 fi
15162
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15164 $as_echo "$result" >&6; }
15165
15166
15167 enablestring=
15168 defaultval=$wxUSE_ALL_FEATURES
15169 if test -z "$defaultval"; then
15170 if test x"$enablestring" = xdisable; then
15171 defaultval=yes
15172 else
15173 defaultval=no
15174 fi
15175 fi
15176
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15178 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15179 # Check whether --enable-joystick was given.
15180 if test "${enable_joystick+set}" = set; then :
15181 enableval=$enable_joystick;
15182 if test "$enableval" = yes; then
15183 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15184 else
15185 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15186 fi
15187
15188 else
15189
15190 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15191
15192 fi
15193
15194
15195 eval "$wx_cv_use_joystick"
15196
15197 if test x"$enablestring" = xdisable; then
15198 if test $wxUSE_JOYSTICK = no; then
15199 result=yes
15200 else
15201 result=no
15202 fi
15203 else
15204 result=$wxUSE_JOYSTICK
15205 fi
15206
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15208 $as_echo "$result" >&6; }
15209
15210
15211 enablestring=
15212 defaultval=$wxUSE_ALL_FEATURES
15213 if test -z "$defaultval"; then
15214 if test x"$enablestring" = xdisable; then
15215 defaultval=yes
15216 else
15217 defaultval=no
15218 fi
15219 fi
15220
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15222 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15223 # Check whether --enable-metafile was given.
15224 if test "${enable_metafile+set}" = set; then :
15225 enableval=$enable_metafile;
15226 if test "$enableval" = yes; then
15227 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15228 else
15229 wx_cv_use_metafile='wxUSE_METAFILE=no'
15230 fi
15231
15232 else
15233
15234 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15235
15236 fi
15237
15238
15239 eval "$wx_cv_use_metafile"
15240
15241 if test x"$enablestring" = xdisable; then
15242 if test $wxUSE_METAFILE = no; then
15243 result=yes
15244 else
15245 result=no
15246 fi
15247 else
15248 result=$wxUSE_METAFILE
15249 fi
15250
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15252 $as_echo "$result" >&6; }
15253
15254
15255 enablestring=
15256 defaultval=$wxUSE_ALL_FEATURES
15257 if test -z "$defaultval"; then
15258 if test x"$enablestring" = xdisable; then
15259 defaultval=yes
15260 else
15261 defaultval=no
15262 fi
15263 fi
15264
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15266 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15267 # Check whether --enable-dragimage was given.
15268 if test "${enable_dragimage+set}" = set; then :
15269 enableval=$enable_dragimage;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15272 else
15273 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15274 fi
15275
15276 else
15277
15278 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15279
15280 fi
15281
15282
15283 eval "$wx_cv_use_dragimage"
15284
15285 if test x"$enablestring" = xdisable; then
15286 if test $wxUSE_DRAGIMAGE = no; then
15287 result=yes
15288 else
15289 result=no
15290 fi
15291 else
15292 result=$wxUSE_DRAGIMAGE
15293 fi
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15296 $as_echo "$result" >&6; }
15297
15298
15299 enablestring=
15300 defaultval=$wxUSE_ALL_FEATURES
15301 if test -z "$defaultval"; then
15302 if test x"$enablestring" = xdisable; then
15303 defaultval=yes
15304 else
15305 defaultval=no
15306 fi
15307 fi
15308
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15310 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15311 # Check whether --enable-accessibility was given.
15312 if test "${enable_accessibility+set}" = set; then :
15313 enableval=$enable_accessibility;
15314 if test "$enableval" = yes; then
15315 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15316 else
15317 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15318 fi
15319
15320 else
15321
15322 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15323
15324 fi
15325
15326
15327 eval "$wx_cv_use_accessibility"
15328
15329 if test x"$enablestring" = xdisable; then
15330 if test $wxUSE_ACCESSIBILITY = no; then
15331 result=yes
15332 else
15333 result=no
15334 fi
15335 else
15336 result=$wxUSE_ACCESSIBILITY
15337 fi
15338
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15340 $as_echo "$result" >&6; }
15341
15342
15343 enablestring=
15344 defaultval=$wxUSE_ALL_FEATURES
15345 if test -z "$defaultval"; then
15346 if test x"$enablestring" = xdisable; then
15347 defaultval=yes
15348 else
15349 defaultval=no
15350 fi
15351 fi
15352
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15354 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15355 # Check whether --enable-uiactionsim was given.
15356 if test "${enable_uiactionsim+set}" = set; then :
15357 enableval=$enable_uiactionsim;
15358 if test "$enableval" = yes; then
15359 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15360 else
15361 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15362 fi
15363
15364 else
15365
15366 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15367
15368 fi
15369
15370
15371 eval "$wx_cv_use_uiactionsim"
15372
15373 if test x"$enablestring" = xdisable; then
15374 if test $wxUSE_UIACTIONSIMULATOR = no; then
15375 result=yes
15376 else
15377 result=no
15378 fi
15379 else
15380 result=$wxUSE_UIACTIONSIMULATOR
15381 fi
15382
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15384 $as_echo "$result" >&6; }
15385
15386
15387 enablestring=
15388 defaultval=$wxUSE_ALL_FEATURES
15389 if test -z "$defaultval"; then
15390 if test x"$enablestring" = xdisable; then
15391 defaultval=yes
15392 else
15393 defaultval=no
15394 fi
15395 fi
15396
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15398 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15399 # Check whether --enable-dctransform was given.
15400 if test "${enable_dctransform+set}" = set; then :
15401 enableval=$enable_dctransform;
15402 if test "$enableval" = yes; then
15403 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15404 else
15405 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15406 fi
15407
15408 else
15409
15410 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15411
15412 fi
15413
15414
15415 eval "$wx_cv_use_dctransform"
15416
15417 if test x"$enablestring" = xdisable; then
15418 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15419 result=yes
15420 else
15421 result=no
15422 fi
15423 else
15424 result=$wxUSE_DC_TRANSFORM_MATRIX
15425 fi
15426
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15428 $as_echo "$result" >&6; }
15429
15430
15431 enablestring=
15432 defaultval=$wxUSE_ALL_FEATURES
15433 if test -z "$defaultval"; then
15434 if test x"$enablestring" = xdisable; then
15435 defaultval=yes
15436 else
15437 defaultval=no
15438 fi
15439 fi
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15442 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15443 # Check whether --enable-webviewwebkit was given.
15444 if test "${enable_webviewwebkit+set}" = set; then :
15445 enableval=$enable_webviewwebkit;
15446 if test "$enableval" = yes; then
15447 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15448 else
15449 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15450 fi
15451
15452 else
15453
15454 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15455
15456 fi
15457
15458
15459 eval "$wx_cv_use_webviewwebkit"
15460
15461 if test x"$enablestring" = xdisable; then
15462 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15463 result=yes
15464 else
15465 result=no
15466 fi
15467 else
15468 result=$wxUSE_WEBVIEW_WEBKIT
15469 fi
15470
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15472 $as_echo "$result" >&6; }
15473
15474
15475
15476
15477 enablestring=
15478 defaultval=$wxUSE_ALL_FEATURES
15479 if test -z "$defaultval"; then
15480 if test x"$enablestring" = xdisable; then
15481 defaultval=yes
15482 else
15483 defaultval=no
15484 fi
15485 fi
15486
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15488 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15489 # Check whether --enable-palette was given.
15490 if test "${enable_palette+set}" = set; then :
15491 enableval=$enable_palette;
15492 if test "$enableval" = yes; then
15493 wx_cv_use_palette='wxUSE_PALETTE=yes'
15494 else
15495 wx_cv_use_palette='wxUSE_PALETTE=no'
15496 fi
15497
15498 else
15499
15500 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15501
15502 fi
15503
15504
15505 eval "$wx_cv_use_palette"
15506
15507 if test x"$enablestring" = xdisable; then
15508 if test $wxUSE_PALETTE = no; then
15509 result=yes
15510 else
15511 result=no
15512 fi
15513 else
15514 result=$wxUSE_PALETTE
15515 fi
15516
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15518 $as_echo "$result" >&6; }
15519
15520
15521 enablestring=
15522 defaultval=$wxUSE_ALL_FEATURES
15523 if test -z "$defaultval"; then
15524 if test x"$enablestring" = xdisable; then
15525 defaultval=yes
15526 else
15527 defaultval=no
15528 fi
15529 fi
15530
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15532 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15533 # Check whether --enable-image was given.
15534 if test "${enable_image+set}" = set; then :
15535 enableval=$enable_image;
15536 if test "$enableval" = yes; then
15537 wx_cv_use_image='wxUSE_IMAGE=yes'
15538 else
15539 wx_cv_use_image='wxUSE_IMAGE=no'
15540 fi
15541
15542 else
15543
15544 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15545
15546 fi
15547
15548
15549 eval "$wx_cv_use_image"
15550
15551 if test x"$enablestring" = xdisable; then
15552 if test $wxUSE_IMAGE = no; then
15553 result=yes
15554 else
15555 result=no
15556 fi
15557 else
15558 result=$wxUSE_IMAGE
15559 fi
15560
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15562 $as_echo "$result" >&6; }
15563
15564
15565 enablestring=
15566 defaultval=$wxUSE_ALL_FEATURES
15567 if test -z "$defaultval"; then
15568 if test x"$enablestring" = xdisable; then
15569 defaultval=yes
15570 else
15571 defaultval=no
15572 fi
15573 fi
15574
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15576 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15577 # Check whether --enable-gif was given.
15578 if test "${enable_gif+set}" = set; then :
15579 enableval=$enable_gif;
15580 if test "$enableval" = yes; then
15581 wx_cv_use_gif='wxUSE_GIF=yes'
15582 else
15583 wx_cv_use_gif='wxUSE_GIF=no'
15584 fi
15585
15586 else
15587
15588 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15589
15590 fi
15591
15592
15593 eval "$wx_cv_use_gif"
15594
15595 if test x"$enablestring" = xdisable; then
15596 if test $wxUSE_GIF = no; then
15597 result=yes
15598 else
15599 result=no
15600 fi
15601 else
15602 result=$wxUSE_GIF
15603 fi
15604
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15606 $as_echo "$result" >&6; }
15607
15608
15609 enablestring=
15610 defaultval=$wxUSE_ALL_FEATURES
15611 if test -z "$defaultval"; then
15612 if test x"$enablestring" = xdisable; then
15613 defaultval=yes
15614 else
15615 defaultval=no
15616 fi
15617 fi
15618
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15620 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15621 # Check whether --enable-pcx was given.
15622 if test "${enable_pcx+set}" = set; then :
15623 enableval=$enable_pcx;
15624 if test "$enableval" = yes; then
15625 wx_cv_use_pcx='wxUSE_PCX=yes'
15626 else
15627 wx_cv_use_pcx='wxUSE_PCX=no'
15628 fi
15629
15630 else
15631
15632 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15633
15634 fi
15635
15636
15637 eval "$wx_cv_use_pcx"
15638
15639 if test x"$enablestring" = xdisable; then
15640 if test $wxUSE_PCX = no; then
15641 result=yes
15642 else
15643 result=no
15644 fi
15645 else
15646 result=$wxUSE_PCX
15647 fi
15648
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15650 $as_echo "$result" >&6; }
15651
15652
15653 enablestring=
15654 defaultval=$wxUSE_ALL_FEATURES
15655 if test -z "$defaultval"; then
15656 if test x"$enablestring" = xdisable; then
15657 defaultval=yes
15658 else
15659 defaultval=no
15660 fi
15661 fi
15662
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15664 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15665 # Check whether --enable-tga was given.
15666 if test "${enable_tga+set}" = set; then :
15667 enableval=$enable_tga;
15668 if test "$enableval" = yes; then
15669 wx_cv_use_tga='wxUSE_TGA=yes'
15670 else
15671 wx_cv_use_tga='wxUSE_TGA=no'
15672 fi
15673
15674 else
15675
15676 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15677
15678 fi
15679
15680
15681 eval "$wx_cv_use_tga"
15682
15683 if test x"$enablestring" = xdisable; then
15684 if test $wxUSE_TGA = no; then
15685 result=yes
15686 else
15687 result=no
15688 fi
15689 else
15690 result=$wxUSE_TGA
15691 fi
15692
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15694 $as_echo "$result" >&6; }
15695
15696
15697 enablestring=
15698 defaultval=$wxUSE_ALL_FEATURES
15699 if test -z "$defaultval"; then
15700 if test x"$enablestring" = xdisable; then
15701 defaultval=yes
15702 else
15703 defaultval=no
15704 fi
15705 fi
15706
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15708 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15709 # Check whether --enable-iff was given.
15710 if test "${enable_iff+set}" = set; then :
15711 enableval=$enable_iff;
15712 if test "$enableval" = yes; then
15713 wx_cv_use_iff='wxUSE_IFF=yes'
15714 else
15715 wx_cv_use_iff='wxUSE_IFF=no'
15716 fi
15717
15718 else
15719
15720 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15721
15722 fi
15723
15724
15725 eval "$wx_cv_use_iff"
15726
15727 if test x"$enablestring" = xdisable; then
15728 if test $wxUSE_IFF = no; then
15729 result=yes
15730 else
15731 result=no
15732 fi
15733 else
15734 result=$wxUSE_IFF
15735 fi
15736
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15738 $as_echo "$result" >&6; }
15739
15740
15741 enablestring=
15742 defaultval=$wxUSE_ALL_FEATURES
15743 if test -z "$defaultval"; then
15744 if test x"$enablestring" = xdisable; then
15745 defaultval=yes
15746 else
15747 defaultval=no
15748 fi
15749 fi
15750
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15752 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15753 # Check whether --enable-pnm was given.
15754 if test "${enable_pnm+set}" = set; then :
15755 enableval=$enable_pnm;
15756 if test "$enableval" = yes; then
15757 wx_cv_use_pnm='wxUSE_PNM=yes'
15758 else
15759 wx_cv_use_pnm='wxUSE_PNM=no'
15760 fi
15761
15762 else
15763
15764 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15765
15766 fi
15767
15768
15769 eval "$wx_cv_use_pnm"
15770
15771 if test x"$enablestring" = xdisable; then
15772 if test $wxUSE_PNM = no; then
15773 result=yes
15774 else
15775 result=no
15776 fi
15777 else
15778 result=$wxUSE_PNM
15779 fi
15780
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15782 $as_echo "$result" >&6; }
15783
15784
15785 enablestring=
15786 defaultval=$wxUSE_ALL_FEATURES
15787 if test -z "$defaultval"; then
15788 if test x"$enablestring" = xdisable; then
15789 defaultval=yes
15790 else
15791 defaultval=no
15792 fi
15793 fi
15794
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15796 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15797 # Check whether --enable-xpm was given.
15798 if test "${enable_xpm+set}" = set; then :
15799 enableval=$enable_xpm;
15800 if test "$enableval" = yes; then
15801 wx_cv_use_xpm='wxUSE_XPM=yes'
15802 else
15803 wx_cv_use_xpm='wxUSE_XPM=no'
15804 fi
15805
15806 else
15807
15808 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15809
15810 fi
15811
15812
15813 eval "$wx_cv_use_xpm"
15814
15815 if test x"$enablestring" = xdisable; then
15816 if test $wxUSE_XPM = no; then
15817 result=yes
15818 else
15819 result=no
15820 fi
15821 else
15822 result=$wxUSE_XPM
15823 fi
15824
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15826 $as_echo "$result" >&6; }
15827
15828
15829 enablestring=
15830 defaultval=$wxUSE_ALL_FEATURES
15831 if test -z "$defaultval"; then
15832 if test x"$enablestring" = xdisable; then
15833 defaultval=yes
15834 else
15835 defaultval=no
15836 fi
15837 fi
15838
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15840 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15841 # Check whether --enable-ico_cur was given.
15842 if test "${enable_ico_cur+set}" = set; then :
15843 enableval=$enable_ico_cur;
15844 if test "$enableval" = yes; then
15845 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15846 else
15847 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15848 fi
15849
15850 else
15851
15852 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15853
15854 fi
15855
15856
15857 eval "$wx_cv_use_ico_cur"
15858
15859 if test x"$enablestring" = xdisable; then
15860 if test $wxUSE_ICO_CUR = no; then
15861 result=yes
15862 else
15863 result=no
15864 fi
15865 else
15866 result=$wxUSE_ICO_CUR
15867 fi
15868
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15870 $as_echo "$result" >&6; }
15871
15872
15873
15874
15875 enablestring=
15876 defaultval=$wxUSE_ALL_FEATURES
15877 if test -z "$defaultval"; then
15878 if test x"$enablestring" = xdisable; then
15879 defaultval=yes
15880 else
15881 defaultval=no
15882 fi
15883 fi
15884
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15886 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15887 # Check whether --enable-dccache was given.
15888 if test "${enable_dccache+set}" = set; then :
15889 enableval=$enable_dccache;
15890 if test "$enableval" = yes; then
15891 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15892 else
15893 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15894 fi
15895
15896 else
15897
15898 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15899
15900 fi
15901
15902
15903 eval "$wx_cv_use_dccache"
15904
15905 if test x"$enablestring" = xdisable; then
15906 if test $wxUSE_DC_CACHEING = no; then
15907 result=yes
15908 else
15909 result=no
15910 fi
15911 else
15912 result=$wxUSE_DC_CACHEING
15913 fi
15914
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15916 $as_echo "$result" >&6; }
15917
15918
15919 enablestring=
15920 defaultval=$wxUSE_ALL_FEATURES
15921 if test -z "$defaultval"; then
15922 if test x"$enablestring" = xdisable; then
15923 defaultval=yes
15924 else
15925 defaultval=no
15926 fi
15927 fi
15928
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15930 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15931 # Check whether --enable-ps-in-msw was given.
15932 if test "${enable_ps_in_msw+set}" = set; then :
15933 enableval=$enable_ps_in_msw;
15934 if test "$enableval" = yes; then
15935 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15936 else
15937 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15938 fi
15939
15940 else
15941
15942 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15943
15944 fi
15945
15946
15947 eval "$wx_cv_use_ps_in_msw"
15948
15949 if test x"$enablestring" = xdisable; then
15950 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15951 result=yes
15952 else
15953 result=no
15954 fi
15955 else
15956 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15957 fi
15958
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15960 $as_echo "$result" >&6; }
15961
15962
15963 enablestring=
15964 defaultval=$wxUSE_ALL_FEATURES
15965 if test -z "$defaultval"; then
15966 if test x"$enablestring" = xdisable; then
15967 defaultval=yes
15968 else
15969 defaultval=no
15970 fi
15971 fi
15972
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15974 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15975 # Check whether --enable-ownerdrawn was given.
15976 if test "${enable_ownerdrawn+set}" = set; then :
15977 enableval=$enable_ownerdrawn;
15978 if test "$enableval" = yes; then
15979 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15980 else
15981 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15982 fi
15983
15984 else
15985
15986 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15987
15988 fi
15989
15990
15991 eval "$wx_cv_use_ownerdrawn"
15992
15993 if test x"$enablestring" = xdisable; then
15994 if test $wxUSE_OWNER_DRAWN = no; then
15995 result=yes
15996 else
15997 result=no
15998 fi
15999 else
16000 result=$wxUSE_OWNER_DRAWN
16001 fi
16002
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16004 $as_echo "$result" >&6; }
16005
16006
16007 enablestring=
16008 defaultval=$wxUSE_ALL_FEATURES
16009 if test -z "$defaultval"; then
16010 if test x"$enablestring" = xdisable; then
16011 defaultval=yes
16012 else
16013 defaultval=no
16014 fi
16015 fi
16016
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16018 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16019 # Check whether --enable-uxtheme was given.
16020 if test "${enable_uxtheme+set}" = set; then :
16021 enableval=$enable_uxtheme;
16022 if test "$enableval" = yes; then
16023 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16024 else
16025 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16026 fi
16027
16028 else
16029
16030 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16031
16032 fi
16033
16034
16035 eval "$wx_cv_use_uxtheme"
16036
16037 if test x"$enablestring" = xdisable; then
16038 if test $wxUSE_UXTHEME = no; then
16039 result=yes
16040 else
16041 result=no
16042 fi
16043 else
16044 result=$wxUSE_UXTHEME
16045 fi
16046
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16048 $as_echo "$result" >&6; }
16049
16050
16051 enablestring=
16052 defaultval=$wxUSE_ALL_FEATURES
16053 if test -z "$defaultval"; then
16054 if test x"$enablestring" = xdisable; then
16055 defaultval=yes
16056 else
16057 defaultval=no
16058 fi
16059 fi
16060
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16062 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16063 # Check whether --enable-wxdib was given.
16064 if test "${enable_wxdib+set}" = set; then :
16065 enableval=$enable_wxdib;
16066 if test "$enableval" = yes; then
16067 wx_cv_use_wxdib='wxUSE_DIB=yes'
16068 else
16069 wx_cv_use_wxdib='wxUSE_DIB=no'
16070 fi
16071
16072 else
16073
16074 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16075
16076 fi
16077
16078
16079 eval "$wx_cv_use_wxdib"
16080
16081 if test x"$enablestring" = xdisable; then
16082 if test $wxUSE_DIB = no; then
16083 result=yes
16084 else
16085 result=no
16086 fi
16087 else
16088 result=$wxUSE_DIB
16089 fi
16090
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16092 $as_echo "$result" >&6; }
16093
16094
16095 enablestring=
16096 defaultval=$wxUSE_ALL_FEATURES
16097 if test -z "$defaultval"; then
16098 if test x"$enablestring" = xdisable; then
16099 defaultval=yes
16100 else
16101 defaultval=no
16102 fi
16103 fi
16104
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16106 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16107 # Check whether --enable-webviewie was given.
16108 if test "${enable_webviewie+set}" = set; then :
16109 enableval=$enable_webviewie;
16110 if test "$enableval" = yes; then
16111 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16112 else
16113 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16114 fi
16115
16116 else
16117
16118 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16119
16120 fi
16121
16122
16123 eval "$wx_cv_use_webviewie"
16124
16125 if test x"$enablestring" = xdisable; then
16126 if test $wxUSE_WEBVIEW_IE = no; then
16127 result=yes
16128 else
16129 result=no
16130 fi
16131 else
16132 result=$wxUSE_WEBVIEW_IE
16133 fi
16134
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16136 $as_echo "$result" >&6; }
16137
16138
16139 if test "$wxUSE_MSW" != 1; then
16140 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16141 fi
16142
16143
16144 enablestring=
16145 defaultval=$wxUSE_ALL_FEATURES
16146 if test -z "$defaultval"; then
16147 if test x"$enablestring" = xdisable; then
16148 defaultval=yes
16149 else
16150 defaultval=no
16151 fi
16152 fi
16153
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16155 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16156 # Check whether --enable-autoidman was given.
16157 if test "${enable_autoidman+set}" = set; then :
16158 enableval=$enable_autoidman;
16159 if test "$enableval" = yes; then
16160 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16161 else
16162 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16163 fi
16164
16165 else
16166
16167 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16168
16169 fi
16170
16171
16172 eval "$wx_cv_use_autoidman"
16173
16174 if test x"$enablestring" = xdisable; then
16175 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16176 result=yes
16177 else
16178 result=no
16179 fi
16180 else
16181 result=$wxUSE_AUTOID_MANAGEMENT
16182 fi
16183
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16185 $as_echo "$result" >&6; }
16186
16187
16188 fi
16189
16190
16191 cat >confcache <<\_ACEOF
16192 # This file is a shell script that caches the results of configure
16193 # tests run on this system so they can be shared between configure
16194 # scripts and configure runs, see configure's option --config-cache.
16195 # It is not useful on other systems. If it contains results you don't
16196 # want to keep, you may remove or edit it.
16197 #
16198 # config.status only pays attention to the cache file if you give it
16199 # the --recheck option to rerun configure.
16200 #
16201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16203 # following values.
16204
16205 _ACEOF
16206
16207 # The following way of writing the cache mishandles newlines in values,
16208 # but we know of no workaround that is simple, portable, and efficient.
16209 # So, we kill variables containing newlines.
16210 # Ultrix sh set writes to stderr and can't be redirected directly,
16211 # and sets the high bit in the cache file unless we assign to the vars.
16212 (
16213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16214 eval ac_val=\$$ac_var
16215 case $ac_val in #(
16216 *${as_nl}*)
16217 case $ac_var in #(
16218 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16220 esac
16221 case $ac_var in #(
16222 _ | IFS | as_nl) ;; #(
16223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16224 *) { eval $ac_var=; unset $ac_var;} ;;
16225 esac ;;
16226 esac
16227 done
16228
16229 (set) 2>&1 |
16230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16231 *${as_nl}ac_space=\ *)
16232 # `set' does not quote correctly, so add quotes: double-quote
16233 # substitution turns \\\\ into \\, and sed turns \\ into \.
16234 sed -n \
16235 "s/'/'\\\\''/g;
16236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16237 ;; #(
16238 *)
16239 # `set' quotes correctly as required by POSIX, so do not add quotes.
16240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16241 ;;
16242 esac |
16243 sort
16244 ) |
16245 sed '
16246 /^ac_cv_env_/b end
16247 t clear
16248 :clear
16249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16250 t end
16251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16252 :end' >>confcache
16253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16254 if test -w "$cache_file"; then
16255 if test "x$cache_file" != "x/dev/null"; then
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16257 $as_echo "$as_me: updating cache $cache_file" >&6;}
16258 if test ! -f "$cache_file" || test -h "$cache_file"; then
16259 cat confcache >"$cache_file"
16260 else
16261 case $cache_file in #(
16262 */* | ?:*)
16263 mv -f confcache "$cache_file"$$ &&
16264 mv -f "$cache_file"$$ "$cache_file" ;; #(
16265 *)
16266 mv -f confcache "$cache_file" ;;
16267 esac
16268 fi
16269 fi
16270 else
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16273 fi
16274 fi
16275 rm -f confcache
16276
16277 CFLAGS=${CFLAGS:=}
16278 ac_ext=c
16279 ac_cpp='$CPP $CPPFLAGS'
16280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283 if test -n "$ac_tool_prefix"; then
16284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16287 $as_echo_n "checking for $ac_word... " >&6; }
16288 if ${ac_cv_prog_CC+:} false; then :
16289 $as_echo_n "(cached) " >&6
16290 else
16291 if test -n "$CC"; then
16292 ac_cv_prog_CC="$CC" # Let the user override the test.
16293 else
16294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16295 for as_dir in $PATH
16296 do
16297 IFS=$as_save_IFS
16298 test -z "$as_dir" && as_dir=.
16299 for ac_exec_ext in '' $ac_executable_extensions; do
16300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16303 break 2
16304 fi
16305 done
16306 done
16307 IFS=$as_save_IFS
16308
16309 fi
16310 fi
16311 CC=$ac_cv_prog_CC
16312 if test -n "$CC"; then
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16314 $as_echo "$CC" >&6; }
16315 else
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16317 $as_echo "no" >&6; }
16318 fi
16319
16320
16321 fi
16322 if test -z "$ac_cv_prog_CC"; then
16323 ac_ct_CC=$CC
16324 # Extract the first word of "gcc", so it can be a program name with args.
16325 set dummy gcc; ac_word=$2
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 $as_echo_n "checking for $ac_word... " >&6; }
16328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 if test -n "$ac_ct_CC"; then
16332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16333 else
16334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16335 for as_dir in $PATH
16336 do
16337 IFS=$as_save_IFS
16338 test -z "$as_dir" && as_dir=.
16339 for ac_exec_ext in '' $ac_executable_extensions; do
16340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16341 ac_cv_prog_ac_ct_CC="gcc"
16342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16343 break 2
16344 fi
16345 done
16346 done
16347 IFS=$as_save_IFS
16348
16349 fi
16350 fi
16351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16352 if test -n "$ac_ct_CC"; then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16354 $as_echo "$ac_ct_CC" >&6; }
16355 else
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16357 $as_echo "no" >&6; }
16358 fi
16359
16360 if test "x$ac_ct_CC" = x; then
16361 CC=""
16362 else
16363 case $cross_compiling:$ac_tool_warned in
16364 yes:)
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16367 ac_tool_warned=yes ;;
16368 esac
16369 CC=$ac_ct_CC
16370 fi
16371 else
16372 CC="$ac_cv_prog_CC"
16373 fi
16374
16375 if test -z "$CC"; then
16376 if test -n "$ac_tool_prefix"; then
16377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16378 set dummy ${ac_tool_prefix}cc; ac_word=$2
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16380 $as_echo_n "checking for $ac_word... " >&6; }
16381 if ${ac_cv_prog_CC+:} false; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 if test -n "$CC"; then
16385 ac_cv_prog_CC="$CC" # Let the user override the test.
16386 else
16387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16388 for as_dir in $PATH
16389 do
16390 IFS=$as_save_IFS
16391 test -z "$as_dir" && as_dir=.
16392 for ac_exec_ext in '' $ac_executable_extensions; do
16393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16394 ac_cv_prog_CC="${ac_tool_prefix}cc"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16396 break 2
16397 fi
16398 done
16399 done
16400 IFS=$as_save_IFS
16401
16402 fi
16403 fi
16404 CC=$ac_cv_prog_CC
16405 if test -n "$CC"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16407 $as_echo "$CC" >&6; }
16408 else
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16411 fi
16412
16413
16414 fi
16415 fi
16416 if test -z "$CC"; then
16417 # Extract the first word of "cc", so it can be a program name with args.
16418 set dummy cc; ac_word=$2
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16420 $as_echo_n "checking for $ac_word... " >&6; }
16421 if ${ac_cv_prog_CC+:} false; then :
16422 $as_echo_n "(cached) " >&6
16423 else
16424 if test -n "$CC"; then
16425 ac_cv_prog_CC="$CC" # Let the user override the test.
16426 else
16427 ac_prog_rejected=no
16428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16429 for as_dir in $PATH
16430 do
16431 IFS=$as_save_IFS
16432 test -z "$as_dir" && as_dir=.
16433 for ac_exec_ext in '' $ac_executable_extensions; do
16434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16436 ac_prog_rejected=yes
16437 continue
16438 fi
16439 ac_cv_prog_CC="cc"
16440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16441 break 2
16442 fi
16443 done
16444 done
16445 IFS=$as_save_IFS
16446
16447 if test $ac_prog_rejected = yes; then
16448 # We found a bogon in the path, so make sure we never use it.
16449 set dummy $ac_cv_prog_CC
16450 shift
16451 if test $# != 0; then
16452 # We chose a different compiler from the bogus one.
16453 # However, it has the same basename, so the bogon will be chosen
16454 # first if we set CC to just the basename; use the full file name.
16455 shift
16456 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16457 fi
16458 fi
16459 fi
16460 fi
16461 CC=$ac_cv_prog_CC
16462 if test -n "$CC"; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16464 $as_echo "$CC" >&6; }
16465 else
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16468 fi
16469
16470
16471 fi
16472 if test -z "$CC"; then
16473 if test -n "$ac_tool_prefix"; then
16474 for ac_prog in cl.exe
16475 do
16476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16479 $as_echo_n "checking for $ac_word... " >&6; }
16480 if ${ac_cv_prog_CC+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 if test -n "$CC"; then
16484 ac_cv_prog_CC="$CC" # Let the user override the test.
16485 else
16486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16487 for as_dir in $PATH
16488 do
16489 IFS=$as_save_IFS
16490 test -z "$as_dir" && as_dir=.
16491 for ac_exec_ext in '' $ac_executable_extensions; do
16492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16495 break 2
16496 fi
16497 done
16498 done
16499 IFS=$as_save_IFS
16500
16501 fi
16502 fi
16503 CC=$ac_cv_prog_CC
16504 if test -n "$CC"; then
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16506 $as_echo "$CC" >&6; }
16507 else
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16510 fi
16511
16512
16513 test -n "$CC" && break
16514 done
16515 fi
16516 if test -z "$CC"; then
16517 ac_ct_CC=$CC
16518 for ac_prog in cl.exe
16519 do
16520 # Extract the first word of "$ac_prog", so it can be a program name with args.
16521 set dummy $ac_prog; ac_word=$2
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16523 $as_echo_n "checking for $ac_word... " >&6; }
16524 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 if test -n "$ac_ct_CC"; then
16528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16529 else
16530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16531 for as_dir in $PATH
16532 do
16533 IFS=$as_save_IFS
16534 test -z "$as_dir" && as_dir=.
16535 for ac_exec_ext in '' $ac_executable_extensions; do
16536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16537 ac_cv_prog_ac_ct_CC="$ac_prog"
16538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16539 break 2
16540 fi
16541 done
16542 done
16543 IFS=$as_save_IFS
16544
16545 fi
16546 fi
16547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16548 if test -n "$ac_ct_CC"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16550 $as_echo "$ac_ct_CC" >&6; }
16551 else
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16553 $as_echo "no" >&6; }
16554 fi
16555
16556
16557 test -n "$ac_ct_CC" && break
16558 done
16559
16560 if test "x$ac_ct_CC" = x; then
16561 CC=""
16562 else
16563 case $cross_compiling:$ac_tool_warned in
16564 yes:)
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16567 ac_tool_warned=yes ;;
16568 esac
16569 CC=$ac_ct_CC
16570 fi
16571 fi
16572
16573 fi
16574
16575
16576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16578 as_fn_error $? "no acceptable C compiler found in \$PATH
16579 See \`config.log' for more details" "$LINENO" 5; }
16580
16581 # Provide some information about the compiler.
16582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16583 set X $ac_compile
16584 ac_compiler=$2
16585 for ac_option in --version -v -V -qversion; do
16586 { { ac_try="$ac_compiler $ac_option >&5"
16587 case "(($ac_try" in
16588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16590 esac
16591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16592 $as_echo "$ac_try_echo"; } >&5
16593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16594 ac_status=$?
16595 if test -s conftest.err; then
16596 sed '10a\
16597 ... rest of stderr output deleted ...
16598 10q' conftest.err >conftest.er1
16599 cat conftest.er1 >&5
16600 fi
16601 rm -f conftest.er1 conftest.err
16602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16603 test $ac_status = 0; }
16604 done
16605
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16608
16609 int
16610 main ()
16611 {
16612
16613 ;
16614 return 0;
16615 }
16616 _ACEOF
16617 ac_clean_files_save=$ac_clean_files
16618 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16619 # Try to create an executable without -o first, disregard a.out.
16620 # It will help us diagnose broken compilers, and finding out an intuition
16621 # of exeext.
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16623 $as_echo_n "checking whether the C compiler works... " >&6; }
16624 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16625
16626 # The possible output files:
16627 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16628
16629 ac_rmfiles=
16630 for ac_file in $ac_files
16631 do
16632 case $ac_file in
16633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16635 esac
16636 done
16637 rm -f $ac_rmfiles
16638
16639 if { { ac_try="$ac_link_default"
16640 case "(($ac_try" in
16641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16642 *) ac_try_echo=$ac_try;;
16643 esac
16644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16645 $as_echo "$ac_try_echo"; } >&5
16646 (eval "$ac_link_default") 2>&5
16647 ac_status=$?
16648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16649 test $ac_status = 0; }; then :
16650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16653 # so that the user can short-circuit this test for compilers unknown to
16654 # Autoconf.
16655 for ac_file in $ac_files ''
16656 do
16657 test -f "$ac_file" || continue
16658 case $ac_file in
16659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16660 ;;
16661 [ab].out )
16662 # We found the default executable, but exeext='' is most
16663 # certainly right.
16664 break;;
16665 *.* )
16666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16667 then :; else
16668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16669 fi
16670 # We set ac_cv_exeext here because the later test for it is not
16671 # safe: cross compilers may not add the suffix if given an `-o'
16672 # argument, so we may need to know it at that point already.
16673 # Even if this section looks crufty: it has the advantage of
16674 # actually working.
16675 break;;
16676 * )
16677 break;;
16678 esac
16679 done
16680 test "$ac_cv_exeext" = no && ac_cv_exeext=
16681
16682 else
16683 ac_file=''
16684 fi
16685 if test -z "$ac_file"; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16687 $as_echo "no" >&6; }
16688 $as_echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16690
16691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16693 as_fn_error 77 "C compiler cannot create executables
16694 See \`config.log' for more details" "$LINENO" 5; }
16695 else
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 $as_echo "yes" >&6; }
16698 fi
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16700 $as_echo_n "checking for C compiler default output file name... " >&6; }
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16702 $as_echo "$ac_file" >&6; }
16703 ac_exeext=$ac_cv_exeext
16704
16705 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16706 ac_clean_files=$ac_clean_files_save
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16708 $as_echo_n "checking for suffix of executables... " >&6; }
16709 if { { ac_try="$ac_link"
16710 case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16713 esac
16714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16715 $as_echo "$ac_try_echo"; } >&5
16716 (eval "$ac_link") 2>&5
16717 ac_status=$?
16718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16719 test $ac_status = 0; }; then :
16720 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16721 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16722 # work properly (i.e., refer to `conftest.exe'), while it won't with
16723 # `rm'.
16724 for ac_file in conftest.exe conftest conftest.*; do
16725 test -f "$ac_file" || continue
16726 case $ac_file in
16727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16729 break;;
16730 * ) break;;
16731 esac
16732 done
16733 else
16734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16736 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16737 See \`config.log' for more details" "$LINENO" 5; }
16738 fi
16739 rm -f conftest conftest$ac_cv_exeext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16741 $as_echo "$ac_cv_exeext" >&6; }
16742
16743 rm -f conftest.$ac_ext
16744 EXEEXT=$ac_cv_exeext
16745 ac_exeext=$EXEEXT
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <stdio.h>
16749 int
16750 main ()
16751 {
16752 FILE *f = fopen ("conftest.out", "w");
16753 return ferror (f) || fclose (f) != 0;
16754
16755 ;
16756 return 0;
16757 }
16758 _ACEOF
16759 ac_clean_files="$ac_clean_files conftest.out"
16760 # Check that the compiler produces executables we can run. If not, either
16761 # the compiler is broken, or we cross compile.
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16763 $as_echo_n "checking whether we are cross compiling... " >&6; }
16764 if test "$cross_compiling" != yes; then
16765 { { ac_try="$ac_link"
16766 case "(($ac_try" in
16767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16769 esac
16770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16771 $as_echo "$ac_try_echo"; } >&5
16772 (eval "$ac_link") 2>&5
16773 ac_status=$?
16774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775 test $ac_status = 0; }
16776 if { ac_try='./conftest$ac_cv_exeext'
16777 { { case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779 *) ac_try_echo=$ac_try;;
16780 esac
16781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16782 $as_echo "$ac_try_echo"; } >&5
16783 (eval "$ac_try") 2>&5
16784 ac_status=$?
16785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16786 test $ac_status = 0; }; }; then
16787 cross_compiling=no
16788 else
16789 if test "$cross_compiling" = maybe; then
16790 cross_compiling=yes
16791 else
16792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16794 as_fn_error $? "cannot run C compiled programs.
16795 If you meant to cross compile, use \`--host'.
16796 See \`config.log' for more details" "$LINENO" 5; }
16797 fi
16798 fi
16799 fi
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16801 $as_echo "$cross_compiling" >&6; }
16802
16803 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16804 ac_clean_files=$ac_clean_files_save
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16806 $as_echo_n "checking for suffix of object files... " >&6; }
16807 if ${ac_cv_objext+:} false; then :
16808 $as_echo_n "(cached) " >&6
16809 else
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812
16813 int
16814 main ()
16815 {
16816
16817 ;
16818 return 0;
16819 }
16820 _ACEOF
16821 rm -f conftest.o conftest.obj
16822 if { { ac_try="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16826 esac
16827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16828 $as_echo "$ac_try_echo"; } >&5
16829 (eval "$ac_compile") 2>&5
16830 ac_status=$?
16831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16832 test $ac_status = 0; }; then :
16833 for ac_file in conftest.o conftest.obj conftest.*; do
16834 test -f "$ac_file" || continue;
16835 case $ac_file in
16836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16838 break;;
16839 esac
16840 done
16841 else
16842 $as_echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16844
16845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16847 as_fn_error $? "cannot compute suffix of object files: cannot compile
16848 See \`config.log' for more details" "$LINENO" 5; }
16849 fi
16850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16851 fi
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16853 $as_echo "$ac_cv_objext" >&6; }
16854 OBJEXT=$ac_cv_objext
16855 ac_objext=$OBJEXT
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16858 if ${ac_cv_c_compiler_gnu+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16863
16864 int
16865 main ()
16866 {
16867 #ifndef __GNUC__
16868 choke me
16869 #endif
16870
16871 ;
16872 return 0;
16873 }
16874 _ACEOF
16875 if ac_fn_c_try_compile "$LINENO"; then :
16876 ac_compiler_gnu=yes
16877 else
16878 ac_compiler_gnu=no
16879 fi
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16882
16883 fi
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16886 if test $ac_compiler_gnu = yes; then
16887 GCC=yes
16888 else
16889 GCC=
16890 fi
16891 ac_test_CFLAGS=${CFLAGS+set}
16892 ac_save_CFLAGS=$CFLAGS
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16895 if ${ac_cv_prog_cc_g+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 ac_save_c_werror_flag=$ac_c_werror_flag
16899 ac_c_werror_flag=yes
16900 ac_cv_prog_cc_g=no
16901 CFLAGS="-g"
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904
16905 int
16906 main ()
16907 {
16908
16909 ;
16910 return 0;
16911 }
16912 _ACEOF
16913 if ac_fn_c_try_compile "$LINENO"; then :
16914 ac_cv_prog_cc_g=yes
16915 else
16916 CFLAGS=""
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16919
16920 int
16921 main ()
16922 {
16923
16924 ;
16925 return 0;
16926 }
16927 _ACEOF
16928 if ac_fn_c_try_compile "$LINENO"; then :
16929
16930 else
16931 ac_c_werror_flag=$ac_save_c_werror_flag
16932 CFLAGS="-g"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935
16936 int
16937 main ()
16938 {
16939
16940 ;
16941 return 0;
16942 }
16943 _ACEOF
16944 if ac_fn_c_try_compile "$LINENO"; then :
16945 ac_cv_prog_cc_g=yes
16946 fi
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 fi
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 fi
16951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16952 ac_c_werror_flag=$ac_save_c_werror_flag
16953 fi
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16955 $as_echo "$ac_cv_prog_cc_g" >&6; }
16956 if test "$ac_test_CFLAGS" = set; then
16957 CFLAGS=$ac_save_CFLAGS
16958 elif test $ac_cv_prog_cc_g = yes; then
16959 if test "$GCC" = yes; then
16960 CFLAGS="-g -O2"
16961 else
16962 CFLAGS="-g"
16963 fi
16964 else
16965 if test "$GCC" = yes; then
16966 CFLAGS="-O2"
16967 else
16968 CFLAGS=
16969 fi
16970 fi
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16973 if ${ac_cv_prog_cc_c89+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 ac_cv_prog_cc_c89=no
16977 ac_save_CC=$CC
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 #include <stdarg.h>
16981 #include <stdio.h>
16982 struct stat;
16983 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16984 struct buf { int x; };
16985 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16986 static char *e (p, i)
16987 char **p;
16988 int i;
16989 {
16990 return p[i];
16991 }
16992 static char *f (char * (*g) (char **, int), char **p, ...)
16993 {
16994 char *s;
16995 va_list v;
16996 va_start (v,p);
16997 s = g (p, va_arg (v,int));
16998 va_end (v);
16999 return s;
17000 }
17001
17002 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17003 function prototypes and stuff, but not '\xHH' hex character constants.
17004 These don't provoke an error unfortunately, instead are silently treated
17005 as 'x'. The following induces an error, until -std is added to get
17006 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17007 array size at least. It's necessary to write '\x00'==0 to get something
17008 that's true only with -std. */
17009 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17010
17011 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17012 inside strings and character constants. */
17013 #define FOO(x) 'x'
17014 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17015
17016 int test (int i, double x);
17017 struct s1 {int (*f) (int a);};
17018 struct s2 {int (*f) (double a);};
17019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17020 int argc;
17021 char **argv;
17022 int
17023 main ()
17024 {
17025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17026 ;
17027 return 0;
17028 }
17029 _ACEOF
17030 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17031 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17032 do
17033 CC="$ac_save_CC $ac_arg"
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035 ac_cv_prog_cc_c89=$ac_arg
17036 fi
17037 rm -f core conftest.err conftest.$ac_objext
17038 test "x$ac_cv_prog_cc_c89" != "xno" && break
17039 done
17040 rm -f conftest.$ac_ext
17041 CC=$ac_save_CC
17042
17043 fi
17044 # AC_CACHE_VAL
17045 case "x$ac_cv_prog_cc_c89" in
17046 x)
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17048 $as_echo "none needed" >&6; } ;;
17049 xno)
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17051 $as_echo "unsupported" >&6; } ;;
17052 *)
17053 CC="$CC $ac_cv_prog_cc_c89"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17055 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17056 esac
17057 if test "x$ac_cv_prog_cc_c89" != xno; then :
17058
17059 fi
17060
17061 ac_ext=c
17062 ac_cpp='$CPP $CPPFLAGS'
17063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17066
17067
17068
17069
17070
17071
17072
17073
17074 ac_ext=c
17075 ac_cpp='$CPP $CPPFLAGS'
17076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17079
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17081 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17082 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087
17088 int
17089 main ()
17090 {
17091
17092 #ifndef __INTEL_COMPILER
17093 choke me
17094 #endif
17095
17096 ;
17097 return 0;
17098 }
17099 _ACEOF
17100 if ac_fn_c_try_compile "$LINENO"; then :
17101 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17102 else
17103 bakefile_cv_c_compiler___INTEL_COMPILER=no
17104
17105 fi
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107
17108
17109 fi
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17111 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17112 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17113 :; INTELCC=yes
17114 else
17115 :;
17116 fi
17117 ac_ext=c
17118 ac_cpp='$CPP $CPPFLAGS'
17119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17122
17123
17124
17125
17126 if test "$INTELCC" = "yes"; then
17127
17128
17129 ac_ext=c
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17136 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17137 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17138 $as_echo_n "(cached) " >&6
17139 else
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142
17143 int
17144 main ()
17145 {
17146
17147 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17148 choke me
17149 #endif
17150
17151 ;
17152 return 0;
17153 }
17154 _ACEOF
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17157 else
17158 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17159
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163
17164 fi
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17166 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17167 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17168 :; INTELCC8=yes
17169 else
17170 :;
17171 fi
17172 ac_ext=c
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17177
17178
17179
17180
17181
17182 ac_ext=c
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17189 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17190 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195
17196 int
17197 main ()
17198 {
17199
17200 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17201 choke me
17202 #endif
17203
17204 ;
17205 return 0;
17206 }
17207 _ACEOF
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17210 else
17211 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17212
17213 fi
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215
17216
17217 fi
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17219 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17220 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17221 :; INTELCC10=yes
17222 else
17223 :;
17224 fi
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17230
17231
17232
17233 fi
17234
17235 if test "x$GCC" != "xyes"; then
17236 if test "xCC" = "xC"; then
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17238 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17239 if ${bakefile_cv_c_exto+:} false; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244
17245 int
17246 main ()
17247 {
17248
17249 ;
17250 return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext conftest.$ac_ext.o
17254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17255 (eval $ac_compile) 2>&5
17256 ac_status=$?
17257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17258 test $ac_status = 0; }; then :
17259 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17260 case $ac_file in
17261 conftest.$ac_ext.o)
17262 bakefile_cv_c_exto="-ext o"
17263 ;;
17264 *)
17265 ;;
17266 esac
17267 done
17268 else
17269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17271 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17272 See \`config.log' for more details" "$LINENO" 5; }
17273
17274 fi
17275 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17276
17277 fi
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17279 $as_echo "$bakefile_cv_c_exto" >&6; }
17280 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17281 if test "c" = "c"; then
17282 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17283 fi
17284 if test "c" = "cxx"; then
17285 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17286 fi
17287 fi
17288
17289 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17290 unset ac_cv_prog_cc_g
17291 ac_test_CFLAGS=${CFLAGS+set}
17292 ac_save_CFLAGS=$CFLAGS
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17294 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17295 if ${ac_cv_prog_cc_g+:} false; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298 ac_save_c_werror_flag=$ac_c_werror_flag
17299 ac_c_werror_flag=yes
17300 ac_cv_prog_cc_g=no
17301 CFLAGS="-g"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304
17305 int
17306 main ()
17307 {
17308
17309 ;
17310 return 0;
17311 }
17312 _ACEOF
17313 if ac_fn_c_try_compile "$LINENO"; then :
17314 ac_cv_prog_cc_g=yes
17315 else
17316 CFLAGS=""
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319
17320 int
17321 main ()
17322 {
17323
17324 ;
17325 return 0;
17326 }
17327 _ACEOF
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329
17330 else
17331 ac_c_werror_flag=$ac_save_c_werror_flag
17332 CFLAGS="-g"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335
17336 int
17337 main ()
17338 {
17339
17340 ;
17341 return 0;
17342 }
17343 _ACEOF
17344 if ac_fn_c_try_compile "$LINENO"; then :
17345 ac_cv_prog_cc_g=yes
17346 fi
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17348 fi
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 fi
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 ac_c_werror_flag=$ac_save_c_werror_flag
17353 fi
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17355 $as_echo "$ac_cv_prog_cc_g" >&6; }
17356 if test "$ac_test_CFLAGS" = set; then
17357 CFLAGS=$ac_save_CFLAGS
17358 elif test $ac_cv_prog_cc_g = yes; then
17359 if test "$GCC" = yes; then
17360 CFLAGS="-g -O2"
17361 else
17362 CFLAGS="-g"
17363 fi
17364 else
17365 if test "$GCC" = yes; then
17366 CFLAGS="-O2"
17367 else
17368 CFLAGS=
17369 fi
17370 fi
17371 fi
17372 fi
17373
17374 case `uname -s` in
17375 AIX*)
17376
17377
17378 ac_ext=c
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17383
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17385 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17386 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391
17392 int
17393 main ()
17394 {
17395
17396 #ifndef __xlC__
17397 choke me
17398 #endif
17399
17400 ;
17401 return 0;
17402 }
17403 _ACEOF
17404 if ac_fn_c_try_compile "$LINENO"; then :
17405 bakefile_cv_c_compiler___xlC__=yes
17406 else
17407 bakefile_cv_c_compiler___xlC__=no
17408
17409 fi
17410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17411
17412
17413 fi
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17415 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17416 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17417 :; XLCC=yes
17418 else
17419 :;
17420 fi
17421 ac_ext=c
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17426
17427
17428
17429 ;;
17430
17431 Darwin)
17432
17433
17434 ac_ext=c
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17439
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17441 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17442 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17443 $as_echo_n "(cached) " >&6
17444 else
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447
17448 int
17449 main ()
17450 {
17451
17452 #ifndef __MWERKS__
17453 choke me
17454 #endif
17455
17456 ;
17457 return 0;
17458 }
17459 _ACEOF
17460 if ac_fn_c_try_compile "$LINENO"; then :
17461 bakefile_cv_c_compiler___MWERKS__=yes
17462 else
17463 bakefile_cv_c_compiler___MWERKS__=no
17464
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467
17468
17469 fi
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17471 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17472 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17473 :; MWCC=yes
17474 else
17475 :;
17476 fi
17477 ac_ext=c
17478 ac_cpp='$CPP $CPPFLAGS'
17479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17482
17483
17484
17485 if test "$MWCC" != "yes"; then
17486
17487
17488 ac_ext=c
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17495 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17496 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17497 $as_echo_n "(cached) " >&6
17498 else
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501
17502 int
17503 main ()
17504 {
17505
17506 #ifndef __xlC__
17507 choke me
17508 #endif
17509
17510 ;
17511 return 0;
17512 }
17513 _ACEOF
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515 bakefile_cv_c_compiler___xlC__=yes
17516 else
17517 bakefile_cv_c_compiler___xlC__=no
17518
17519 fi
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521
17522
17523 fi
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17525 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17526 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17527 :; XLCC=yes
17528 else
17529 :;
17530 fi
17531 ac_ext=c
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17536
17537
17538
17539 fi
17540 ;;
17541
17542 IRIX*)
17543
17544
17545 ac_ext=c
17546 ac_cpp='$CPP $CPPFLAGS'
17547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17550
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17552 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17553 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558
17559 int
17560 main ()
17561 {
17562
17563 #ifndef _SGI_COMPILER_VERSION
17564 choke me
17565 #endif
17566
17567 ;
17568 return 0;
17569 }
17570 _ACEOF
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17573 else
17574 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17575
17576 fi
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578
17579
17580 fi
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17582 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17583 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17584 :; SGICC=yes
17585 else
17586 :;
17587 fi
17588 ac_ext=c
17589 ac_cpp='$CPP $CPPFLAGS'
17590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17593
17594
17595
17596 ;;
17597
17598 Linux*)
17599 if test "$INTELCC" != "yes"; then
17600
17601
17602 ac_ext=c
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17607
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17609 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17610 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17615
17616 int
17617 main ()
17618 {
17619
17620 #ifndef __SUNPRO_C
17621 choke me
17622 #endif
17623
17624 ;
17625 return 0;
17626 }
17627 _ACEOF
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 bakefile_cv_c_compiler___SUNPRO_C=yes
17630 else
17631 bakefile_cv_c_compiler___SUNPRO_C=no
17632
17633 fi
17634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17635
17636
17637 fi
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17639 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17640 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17641 :; SUNCC=yes
17642 else
17643 :;
17644 fi
17645 ac_ext=c
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17650
17651
17652
17653 fi
17654 ;;
17655
17656 HP-UX*)
17657
17658
17659 ac_ext=c
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17666 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17667 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672
17673 int
17674 main ()
17675 {
17676
17677 #ifndef __HP_cc
17678 choke me
17679 #endif
17680
17681 ;
17682 return 0;
17683 }
17684 _ACEOF
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686 bakefile_cv_c_compiler___HP_cc=yes
17687 else
17688 bakefile_cv_c_compiler___HP_cc=no
17689
17690 fi
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692
17693
17694 fi
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17696 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17697 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17698 :; HPCC=yes
17699 else
17700 :;
17701 fi
17702 ac_ext=c
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709
17710 ;;
17711
17712 OSF1)
17713
17714
17715 ac_ext=c
17716 ac_cpp='$CPP $CPPFLAGS'
17717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17720
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17722 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17723 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728
17729 int
17730 main ()
17731 {
17732
17733 #ifndef __DECC
17734 choke me
17735 #endif
17736
17737 ;
17738 return 0;
17739 }
17740 _ACEOF
17741 if ac_fn_c_try_compile "$LINENO"; then :
17742 bakefile_cv_c_compiler___DECC=yes
17743 else
17744 bakefile_cv_c_compiler___DECC=no
17745
17746 fi
17747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748
17749
17750 fi
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17752 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17753 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17754 :; COMPAQCC=yes
17755 else
17756 :;
17757 fi
17758 ac_ext=c
17759 ac_cpp='$CPP $CPPFLAGS'
17760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17763
17764
17765
17766 ;;
17767
17768 SunOS)
17769
17770
17771 ac_ext=c
17772 ac_cpp='$CPP $CPPFLAGS'
17773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17776
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17778 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17779 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17780 $as_echo_n "(cached) " >&6
17781 else
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784
17785 int
17786 main ()
17787 {
17788
17789 #ifndef __SUNPRO_C
17790 choke me
17791 #endif
17792
17793 ;
17794 return 0;
17795 }
17796 _ACEOF
17797 if ac_fn_c_try_compile "$LINENO"; then :
17798 bakefile_cv_c_compiler___SUNPRO_C=yes
17799 else
17800 bakefile_cv_c_compiler___SUNPRO_C=no
17801
17802 fi
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804
17805
17806 fi
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17808 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17809 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17810 :; SUNCC=yes
17811 else
17812 :;
17813 fi
17814 ac_ext=c
17815 ac_cpp='$CPP $CPPFLAGS'
17816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17819
17820
17821
17822 ;;
17823 esac
17824 fi
17825
17826
17827
17828 ac_ext=c
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17834 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17835 # On Suns, sometimes $CPP names a directory.
17836 if test -n "$CPP" && test -d "$CPP"; then
17837 CPP=
17838 fi
17839 if test -z "$CPP"; then
17840 if ${ac_cv_prog_CPP+:} false; then :
17841 $as_echo_n "(cached) " >&6
17842 else
17843 # Double quotes because CPP needs to be expanded
17844 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17845 do
17846 ac_preproc_ok=false
17847 for ac_c_preproc_warn_flag in '' yes
17848 do
17849 # Use a header file that comes with gcc, so configuring glibc
17850 # with a fresh cross-compiler works.
17851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17852 # <limits.h> exists even on freestanding compilers.
17853 # On the NeXT, cc -E runs the code through the compiler's parser,
17854 # not just through cpp. "Syntax error" is here to catch this case.
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 #ifdef __STDC__
17858 # include <limits.h>
17859 #else
17860 # include <assert.h>
17861 #endif
17862 Syntax error
17863 _ACEOF
17864 if ac_fn_c_try_cpp "$LINENO"; then :
17865
17866 else
17867 # Broken: fails on valid input.
17868 continue
17869 fi
17870 rm -f conftest.err conftest.i conftest.$ac_ext
17871
17872 # OK, works on sane cases. Now check whether nonexistent headers
17873 # can be detected and how.
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17876 #include <ac_nonexistent.h>
17877 _ACEOF
17878 if ac_fn_c_try_cpp "$LINENO"; then :
17879 # Broken: success on invalid input.
17880 continue
17881 else
17882 # Passes both tests.
17883 ac_preproc_ok=:
17884 break
17885 fi
17886 rm -f conftest.err conftest.i conftest.$ac_ext
17887
17888 done
17889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17890 rm -f conftest.i conftest.err conftest.$ac_ext
17891 if $ac_preproc_ok; then :
17892 break
17893 fi
17894
17895 done
17896 ac_cv_prog_CPP=$CPP
17897
17898 fi
17899 CPP=$ac_cv_prog_CPP
17900 else
17901 ac_cv_prog_CPP=$CPP
17902 fi
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17904 $as_echo "$CPP" >&6; }
17905 ac_preproc_ok=false
17906 for ac_c_preproc_warn_flag in '' yes
17907 do
17908 # Use a header file that comes with gcc, so configuring glibc
17909 # with a fresh cross-compiler works.
17910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17911 # <limits.h> exists even on freestanding compilers.
17912 # On the NeXT, cc -E runs the code through the compiler's parser,
17913 # not just through cpp. "Syntax error" is here to catch this case.
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 #ifdef __STDC__
17917 # include <limits.h>
17918 #else
17919 # include <assert.h>
17920 #endif
17921 Syntax error
17922 _ACEOF
17923 if ac_fn_c_try_cpp "$LINENO"; then :
17924
17925 else
17926 # Broken: fails on valid input.
17927 continue
17928 fi
17929 rm -f conftest.err conftest.i conftest.$ac_ext
17930
17931 # OK, works on sane cases. Now check whether nonexistent headers
17932 # can be detected and how.
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17935 #include <ac_nonexistent.h>
17936 _ACEOF
17937 if ac_fn_c_try_cpp "$LINENO"; then :
17938 # Broken: success on invalid input.
17939 continue
17940 else
17941 # Passes both tests.
17942 ac_preproc_ok=:
17943 break
17944 fi
17945 rm -f conftest.err conftest.i conftest.$ac_ext
17946
17947 done
17948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17949 rm -f conftest.i conftest.err conftest.$ac_ext
17950 if $ac_preproc_ok; then :
17951
17952 else
17953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17955 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17956 See \`config.log' for more details" "$LINENO" 5; }
17957 fi
17958
17959 ac_ext=c
17960 ac_cpp='$CPP $CPPFLAGS'
17961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964
17965
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17967 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17968 if ${ac_cv_path_GREP+:} false; then :
17969 $as_echo_n "(cached) " >&6
17970 else
17971 if test -z "$GREP"; then
17972 ac_path_GREP_found=false
17973 # Loop through the user's path and test for each of PROGNAME-LIST
17974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17975 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17976 do
17977 IFS=$as_save_IFS
17978 test -z "$as_dir" && as_dir=.
17979 for ac_prog in grep ggrep; do
17980 for ac_exec_ext in '' $ac_executable_extensions; do
17981 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17982 as_fn_executable_p "$ac_path_GREP" || continue
17983 # Check for GNU ac_path_GREP and select it if it is found.
17984 # Check for GNU $ac_path_GREP
17985 case `"$ac_path_GREP" --version 2>&1` in
17986 *GNU*)
17987 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17988 *)
17989 ac_count=0
17990 $as_echo_n 0123456789 >"conftest.in"
17991 while :
17992 do
17993 cat "conftest.in" "conftest.in" >"conftest.tmp"
17994 mv "conftest.tmp" "conftest.in"
17995 cp "conftest.in" "conftest.nl"
17996 $as_echo 'GREP' >> "conftest.nl"
17997 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17998 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17999 as_fn_arith $ac_count + 1 && ac_count=$as_val
18000 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18001 # Best one so far, save it but keep looking for a better one
18002 ac_cv_path_GREP="$ac_path_GREP"
18003 ac_path_GREP_max=$ac_count
18004 fi
18005 # 10*(2^10) chars as input seems more than enough
18006 test $ac_count -gt 10 && break
18007 done
18008 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18009 esac
18010
18011 $ac_path_GREP_found && break 3
18012 done
18013 done
18014 done
18015 IFS=$as_save_IFS
18016 if test -z "$ac_cv_path_GREP"; then
18017 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18018 fi
18019 else
18020 ac_cv_path_GREP=$GREP
18021 fi
18022
18023 fi
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18025 $as_echo "$ac_cv_path_GREP" >&6; }
18026 GREP="$ac_cv_path_GREP"
18027
18028
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18030 $as_echo_n "checking for egrep... " >&6; }
18031 if ${ac_cv_path_EGREP+:} false; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18035 then ac_cv_path_EGREP="$GREP -E"
18036 else
18037 if test -z "$EGREP"; then
18038 ac_path_EGREP_found=false
18039 # Loop through the user's path and test for each of PROGNAME-LIST
18040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18041 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18042 do
18043 IFS=$as_save_IFS
18044 test -z "$as_dir" && as_dir=.
18045 for ac_prog in egrep; do
18046 for ac_exec_ext in '' $ac_executable_extensions; do
18047 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18048 as_fn_executable_p "$ac_path_EGREP" || continue
18049 # Check for GNU ac_path_EGREP and select it if it is found.
18050 # Check for GNU $ac_path_EGREP
18051 case `"$ac_path_EGREP" --version 2>&1` in
18052 *GNU*)
18053 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18054 *)
18055 ac_count=0
18056 $as_echo_n 0123456789 >"conftest.in"
18057 while :
18058 do
18059 cat "conftest.in" "conftest.in" >"conftest.tmp"
18060 mv "conftest.tmp" "conftest.in"
18061 cp "conftest.in" "conftest.nl"
18062 $as_echo 'EGREP' >> "conftest.nl"
18063 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18064 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18065 as_fn_arith $ac_count + 1 && ac_count=$as_val
18066 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18067 # Best one so far, save it but keep looking for a better one
18068 ac_cv_path_EGREP="$ac_path_EGREP"
18069 ac_path_EGREP_max=$ac_count
18070 fi
18071 # 10*(2^10) chars as input seems more than enough
18072 test $ac_count -gt 10 && break
18073 done
18074 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18075 esac
18076
18077 $ac_path_EGREP_found && break 3
18078 done
18079 done
18080 done
18081 IFS=$as_save_IFS
18082 if test -z "$ac_cv_path_EGREP"; then
18083 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18084 fi
18085 else
18086 ac_cv_path_EGREP=$EGREP
18087 fi
18088
18089 fi
18090 fi
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18092 $as_echo "$ac_cv_path_EGREP" >&6; }
18093 EGREP="$ac_cv_path_EGREP"
18094
18095
18096 if test $ac_cv_c_compiler_gnu = yes; then
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18098 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18099 if ${ac_cv_prog_gcc_traditional+:} false; then :
18100 $as_echo_n "(cached) " >&6
18101 else
18102 ac_pattern="Autoconf.*'x'"
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18105 #include <sgtty.h>
18106 Autoconf TIOCGETP
18107 _ACEOF
18108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18109 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18110 ac_cv_prog_gcc_traditional=yes
18111 else
18112 ac_cv_prog_gcc_traditional=no
18113 fi
18114 rm -f conftest*
18115
18116
18117 if test $ac_cv_prog_gcc_traditional = no; then
18118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18120 #include <termio.h>
18121 Autoconf TCGETA
18122 _ACEOF
18123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18124 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18125 ac_cv_prog_gcc_traditional=yes
18126 fi
18127 rm -f conftest*
18128
18129 fi
18130 fi
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18132 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18133 if test $ac_cv_prog_gcc_traditional = yes; then
18134 CC="$CC -traditional"
18135 fi
18136 fi
18137
18138
18139 CXXFLAGS=${CXXFLAGS:=}
18140 ac_ext=cpp
18141 ac_cpp='$CXXCPP $CPPFLAGS'
18142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18145 if test -z "$CXX"; then
18146 if test -n "$CCC"; then
18147 CXX=$CCC
18148 else
18149 if test -n "$ac_tool_prefix"; then
18150 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18151 do
18152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18155 $as_echo_n "checking for $ac_word... " >&6; }
18156 if ${ac_cv_prog_CXX+:} false; then :
18157 $as_echo_n "(cached) " >&6
18158 else
18159 if test -n "$CXX"; then
18160 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18161 else
18162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18163 for as_dir in $PATH
18164 do
18165 IFS=$as_save_IFS
18166 test -z "$as_dir" && as_dir=.
18167 for ac_exec_ext in '' $ac_executable_extensions; do
18168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18169 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18171 break 2
18172 fi
18173 done
18174 done
18175 IFS=$as_save_IFS
18176
18177 fi
18178 fi
18179 CXX=$ac_cv_prog_CXX
18180 if test -n "$CXX"; then
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18182 $as_echo "$CXX" >&6; }
18183 else
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18185 $as_echo "no" >&6; }
18186 fi
18187
18188
18189 test -n "$CXX" && break
18190 done
18191 fi
18192 if test -z "$CXX"; then
18193 ac_ct_CXX=$CXX
18194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18195 do
18196 # Extract the first word of "$ac_prog", so it can be a program name with args.
18197 set dummy $ac_prog; ac_word=$2
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18199 $as_echo_n "checking for $ac_word... " >&6; }
18200 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 if test -n "$ac_ct_CXX"; then
18204 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18205 else
18206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18207 for as_dir in $PATH
18208 do
18209 IFS=$as_save_IFS
18210 test -z "$as_dir" && as_dir=.
18211 for ac_exec_ext in '' $ac_executable_extensions; do
18212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18213 ac_cv_prog_ac_ct_CXX="$ac_prog"
18214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18215 break 2
18216 fi
18217 done
18218 done
18219 IFS=$as_save_IFS
18220
18221 fi
18222 fi
18223 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18224 if test -n "$ac_ct_CXX"; then
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18226 $as_echo "$ac_ct_CXX" >&6; }
18227 else
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18229 $as_echo "no" >&6; }
18230 fi
18231
18232
18233 test -n "$ac_ct_CXX" && break
18234 done
18235
18236 if test "x$ac_ct_CXX" = x; then
18237 CXX="g++"
18238 else
18239 case $cross_compiling:$ac_tool_warned in
18240 yes:)
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18243 ac_tool_warned=yes ;;
18244 esac
18245 CXX=$ac_ct_CXX
18246 fi
18247 fi
18248
18249 fi
18250 fi
18251 # Provide some information about the compiler.
18252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18253 set X $ac_compile
18254 ac_compiler=$2
18255 for ac_option in --version -v -V -qversion; do
18256 { { ac_try="$ac_compiler $ac_option >&5"
18257 case "(($ac_try" in
18258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18260 esac
18261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18262 $as_echo "$ac_try_echo"; } >&5
18263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18264 ac_status=$?
18265 if test -s conftest.err; then
18266 sed '10a\
18267 ... rest of stderr output deleted ...
18268 10q' conftest.err >conftest.er1
18269 cat conftest.er1 >&5
18270 fi
18271 rm -f conftest.er1 conftest.err
18272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18273 test $ac_status = 0; }
18274 done
18275
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18278 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18279 $as_echo_n "(cached) " >&6
18280 else
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h. */
18283
18284 int
18285 main ()
18286 {
18287 #ifndef __GNUC__
18288 choke me
18289 #endif
18290
18291 ;
18292 return 0;
18293 }
18294 _ACEOF
18295 if ac_fn_cxx_try_compile "$LINENO"; then :
18296 ac_compiler_gnu=yes
18297 else
18298 ac_compiler_gnu=no
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18302
18303 fi
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18306 if test $ac_compiler_gnu = yes; then
18307 GXX=yes
18308 else
18309 GXX=
18310 fi
18311 ac_test_CXXFLAGS=${CXXFLAGS+set}
18312 ac_save_CXXFLAGS=$CXXFLAGS
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18315 if ${ac_cv_prog_cxx_g+:} false; then :
18316 $as_echo_n "(cached) " >&6
18317 else
18318 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18319 ac_cxx_werror_flag=yes
18320 ac_cv_prog_cxx_g=no
18321 CXXFLAGS="-g"
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324
18325 int
18326 main ()
18327 {
18328
18329 ;
18330 return 0;
18331 }
18332 _ACEOF
18333 if ac_fn_cxx_try_compile "$LINENO"; then :
18334 ac_cv_prog_cxx_g=yes
18335 else
18336 CXXFLAGS=""
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339
18340 int
18341 main ()
18342 {
18343
18344 ;
18345 return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349
18350 else
18351 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18352 CXXFLAGS="-g"
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18355
18356 int
18357 main ()
18358 {
18359
18360 ;
18361 return 0;
18362 }
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 ac_cv_prog_cxx_g=yes
18366 fi
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368 fi
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 fi
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18373 fi
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18376 if test "$ac_test_CXXFLAGS" = set; then
18377 CXXFLAGS=$ac_save_CXXFLAGS
18378 elif test $ac_cv_prog_cxx_g = yes; then
18379 if test "$GXX" = yes; then
18380 CXXFLAGS="-g -O2"
18381 else
18382 CXXFLAGS="-g"
18383 fi
18384 else
18385 if test "$GXX" = yes; then
18386 CXXFLAGS="-O2"
18387 else
18388 CXXFLAGS=
18389 fi
18390 fi
18391 ac_ext=c
18392 ac_cpp='$CPP $CPPFLAGS'
18393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18396
18397
18398
18399
18400
18401
18402
18403
18404 ac_ext=cpp
18405 ac_cpp='$CXXCPP $CPPFLAGS'
18406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18409
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18411 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18412 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18413 $as_echo_n "(cached) " >&6
18414 else
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18417
18418 int
18419 main ()
18420 {
18421
18422 #ifndef __INTEL_COMPILER
18423 choke me
18424 #endif
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 if ac_fn_cxx_try_compile "$LINENO"; then :
18431 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18432 else
18433 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18434
18435 fi
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437
18438
18439 fi
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18441 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18442 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18443 :; INTELCXX=yes
18444 else
18445 :;
18446 fi
18447 ac_ext=c
18448 ac_cpp='$CPP $CPPFLAGS'
18449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18452
18453
18454
18455
18456 if test "$INTELCXX" = "yes"; then
18457
18458
18459 ac_ext=cpp
18460 ac_cpp='$CXXCPP $CPPFLAGS'
18461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18464
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18466 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18467 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18468 $as_echo_n "(cached) " >&6
18469 else
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18472
18473 int
18474 main ()
18475 {
18476
18477 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18478 choke me
18479 #endif
18480
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18487 else
18488 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18489
18490 fi
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492
18493
18494 fi
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18496 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18497 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18498 :; INTELCXX8=yes
18499 else
18500 :;
18501 fi
18502 ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507
18508
18509
18510
18511
18512 ac_ext=cpp
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18519 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18520 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18521 $as_echo_n "(cached) " >&6
18522 else
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525
18526 int
18527 main ()
18528 {
18529
18530 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18531 choke me
18532 #endif
18533
18534 ;
18535 return 0;
18536 }
18537 _ACEOF
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18540 else
18541 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18542
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545
18546
18547 fi
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18549 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18550 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18551 :; INTELCXX10=yes
18552 else
18553 :;
18554 fi
18555 ac_ext=c
18556 ac_cpp='$CPP $CPPFLAGS'
18557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18560
18561
18562
18563 fi
18564
18565 if test "x$GCXX" != "xyes"; then
18566 if test "xCXX" = "xC"; then
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18568 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18569 if ${bakefile_cv_c_exto+:} false; then :
18570 $as_echo_n "(cached) " >&6
18571 else
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18574
18575 int
18576 main ()
18577 {
18578
18579 ;
18580 return 0;
18581 }
18582 _ACEOF
18583 rm -f conftest.$ac_objext conftest.$ac_ext.o
18584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18585 (eval $ac_compile) 2>&5
18586 ac_status=$?
18587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18588 test $ac_status = 0; }; then :
18589 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18590 case $ac_file in
18591 conftest.$ac_ext.o)
18592 bakefile_cv_c_exto="-ext o"
18593 ;;
18594 *)
18595 ;;
18596 esac
18597 done
18598 else
18599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18601 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18602 See \`config.log' for more details" "$LINENO" 5; }
18603
18604 fi
18605 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18606
18607 fi
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18609 $as_echo "$bakefile_cv_c_exto" >&6; }
18610 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18611 if test "c" = "c"; then
18612 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18613 fi
18614 if test "c" = "cxx"; then
18615 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18616 fi
18617 fi
18618
18619 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18620 unset ac_cv_prog_cc_g
18621 ac_test_CFLAGS=${CFLAGS+set}
18622 ac_save_CFLAGS=$CFLAGS
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18624 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18625 if ${ac_cv_prog_cc_g+:} false; then :
18626 $as_echo_n "(cached) " >&6
18627 else
18628 ac_save_c_werror_flag=$ac_c_werror_flag
18629 ac_c_werror_flag=yes
18630 ac_cv_prog_cc_g=no
18631 CFLAGS="-g"
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634
18635 int
18636 main ()
18637 {
18638
18639 ;
18640 return 0;
18641 }
18642 _ACEOF
18643 if ac_fn_c_try_compile "$LINENO"; then :
18644 ac_cv_prog_cc_g=yes
18645 else
18646 CFLAGS=""
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649
18650 int
18651 main ()
18652 {
18653
18654 ;
18655 return 0;
18656 }
18657 _ACEOF
18658 if ac_fn_c_try_compile "$LINENO"; then :
18659
18660 else
18661 ac_c_werror_flag=$ac_save_c_werror_flag
18662 CFLAGS="-g"
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665
18666 int
18667 main ()
18668 {
18669
18670 ;
18671 return 0;
18672 }
18673 _ACEOF
18674 if ac_fn_c_try_compile "$LINENO"; then :
18675 ac_cv_prog_cc_g=yes
18676 fi
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18678 fi
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 fi
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682 ac_c_werror_flag=$ac_save_c_werror_flag
18683 fi
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18685 $as_echo "$ac_cv_prog_cc_g" >&6; }
18686 if test "$ac_test_CFLAGS" = set; then
18687 CFLAGS=$ac_save_CFLAGS
18688 elif test $ac_cv_prog_cc_g = yes; then
18689 if test "$GCC" = yes; then
18690 CFLAGS="-g -O2"
18691 else
18692 CFLAGS="-g"
18693 fi
18694 else
18695 if test "$GCC" = yes; then
18696 CFLAGS="-O2"
18697 else
18698 CFLAGS=
18699 fi
18700 fi
18701 fi
18702 fi
18703
18704 case `uname -s` in
18705 AIX*)
18706
18707
18708 ac_ext=cpp
18709 ac_cpp='$CXXCPP $CPPFLAGS'
18710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18713
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18715 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18716 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18717 $as_echo_n "(cached) " >&6
18718 else
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721
18722 int
18723 main ()
18724 {
18725
18726 #ifndef __xlC__
18727 choke me
18728 #endif
18729
18730 ;
18731 return 0;
18732 }
18733 _ACEOF
18734 if ac_fn_cxx_try_compile "$LINENO"; then :
18735 bakefile_cv_cxx_compiler___xlC__=yes
18736 else
18737 bakefile_cv_cxx_compiler___xlC__=no
18738
18739 fi
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18741
18742
18743 fi
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18745 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18746 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18747 :; XLCXX=yes
18748 else
18749 :;
18750 fi
18751 ac_ext=c
18752 ac_cpp='$CPP $CPPFLAGS'
18753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18756
18757
18758
18759 ;;
18760
18761 Darwin)
18762
18763
18764 ac_ext=cpp
18765 ac_cpp='$CXXCPP $CPPFLAGS'
18766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18769
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18771 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18772 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18773 $as_echo_n "(cached) " >&6
18774 else
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777
18778 int
18779 main ()
18780 {
18781
18782 #ifndef __MWERKS__
18783 choke me
18784 #endif
18785
18786 ;
18787 return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 bakefile_cv_cxx_compiler___MWERKS__=yes
18792 else
18793 bakefile_cv_cxx_compiler___MWERKS__=no
18794
18795 fi
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18797
18798
18799 fi
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18801 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18802 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18803 :; MWCXX=yes
18804 else
18805 :;
18806 fi
18807 ac_ext=c
18808 ac_cpp='$CPP $CPPFLAGS'
18809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18812
18813
18814
18815 if test "$MWCXX" != "yes"; then
18816
18817
18818 ac_ext=cpp
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18823
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18825 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18826 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18827 $as_echo_n "(cached) " >&6
18828 else
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831
18832 int
18833 main ()
18834 {
18835
18836 #ifndef __xlC__
18837 choke me
18838 #endif
18839
18840 ;
18841 return 0;
18842 }
18843 _ACEOF
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845 bakefile_cv_cxx_compiler___xlC__=yes
18846 else
18847 bakefile_cv_cxx_compiler___xlC__=no
18848
18849 fi
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851
18852
18853 fi
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18855 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18857 :; XLCXX=yes
18858 else
18859 :;
18860 fi
18861 ac_ext=c
18862 ac_cpp='$CPP $CPPFLAGS'
18863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18866
18867
18868
18869 fi
18870 ;;
18871
18872 IRIX*)
18873
18874
18875 ac_ext=cpp
18876 ac_cpp='$CXXCPP $CPPFLAGS'
18877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18880
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18882 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18883 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18884 $as_echo_n "(cached) " >&6
18885 else
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888
18889 int
18890 main ()
18891 {
18892
18893 #ifndef _SGI_COMPILER_VERSION
18894 choke me
18895 #endif
18896
18897 ;
18898 return 0;
18899 }
18900 _ACEOF
18901 if ac_fn_cxx_try_compile "$LINENO"; then :
18902 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18903 else
18904 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18905
18906 fi
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908
18909
18910 fi
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18912 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18913 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18914 :; SGICXX=yes
18915 else
18916 :;
18917 fi
18918 ac_ext=c
18919 ac_cpp='$CPP $CPPFLAGS'
18920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18923
18924
18925
18926 ;;
18927
18928 Linux*)
18929 if test "$INTELCXX" != "yes"; then
18930
18931
18932 ac_ext=cpp
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18937
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18939 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18940 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18941 $as_echo_n "(cached) " >&6
18942 else
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945
18946 int
18947 main ()
18948 {
18949
18950 #ifndef __SUNPRO_CC
18951 choke me
18952 #endif
18953
18954 ;
18955 return 0;
18956 }
18957 _ACEOF
18958 if ac_fn_cxx_try_compile "$LINENO"; then :
18959 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18960 else
18961 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18962
18963 fi
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965
18966
18967 fi
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18969 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18970 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18971 :; SUNCXX=yes
18972 else
18973 :;
18974 fi
18975 ac_ext=c
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980
18981
18982
18983 fi
18984 ;;
18985
18986 HP-UX*)
18987
18988
18989 ac_ext=cpp
18990 ac_cpp='$CXXCPP $CPPFLAGS'
18991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18994
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18996 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18997 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18998 $as_echo_n "(cached) " >&6
18999 else
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002
19003 int
19004 main ()
19005 {
19006
19007 #ifndef __HP_aCC
19008 choke me
19009 #endif
19010
19011 ;
19012 return 0;
19013 }
19014 _ACEOF
19015 if ac_fn_cxx_try_compile "$LINENO"; then :
19016 bakefile_cv_cxx_compiler___HP_aCC=yes
19017 else
19018 bakefile_cv_cxx_compiler___HP_aCC=no
19019
19020 fi
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022
19023
19024 fi
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19026 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19027 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19028 :; HPCXX=yes
19029 else
19030 :;
19031 fi
19032 ac_ext=c
19033 ac_cpp='$CPP $CPPFLAGS'
19034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19037
19038
19039
19040 ;;
19041
19042 OSF1)
19043
19044
19045 ac_ext=cpp
19046 ac_cpp='$CXXCPP $CPPFLAGS'
19047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19050
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19052 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19053 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19054 $as_echo_n "(cached) " >&6
19055 else
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058
19059 int
19060 main ()
19061 {
19062
19063 #ifndef __DECCXX
19064 choke me
19065 #endif
19066
19067 ;
19068 return 0;
19069 }
19070 _ACEOF
19071 if ac_fn_cxx_try_compile "$LINENO"; then :
19072 bakefile_cv_cxx_compiler___DECCXX=yes
19073 else
19074 bakefile_cv_cxx_compiler___DECCXX=no
19075
19076 fi
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078
19079
19080 fi
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19082 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19083 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19084 :; COMPAQCXX=yes
19085 else
19086 :;
19087 fi
19088 ac_ext=c
19089 ac_cpp='$CPP $CPPFLAGS'
19090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19093
19094
19095
19096 ;;
19097
19098 SunOS)
19099
19100
19101 ac_ext=cpp
19102 ac_cpp='$CXXCPP $CPPFLAGS'
19103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19106
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19108 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19109 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19110 $as_echo_n "(cached) " >&6
19111 else
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114
19115 int
19116 main ()
19117 {
19118
19119 #ifndef __SUNPRO_CC
19120 choke me
19121 #endif
19122
19123 ;
19124 return 0;
19125 }
19126 _ACEOF
19127 if ac_fn_cxx_try_compile "$LINENO"; then :
19128 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19129 else
19130 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19131
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134
19135
19136 fi
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19138 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19139 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19140 :; SUNCXX=yes
19141 else
19142 :;
19143 fi
19144 ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149
19150
19151
19152 ;;
19153 esac
19154 fi
19155
19156
19157
19158 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19159 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19160 fi
19161
19162 if test "x$SUNCXX" != xyes; then
19163 if test -n "$ac_tool_prefix"; then
19164 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19165 set dummy ${ac_tool_prefix}ar; ac_word=$2
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19167 $as_echo_n "checking for $ac_word... " >&6; }
19168 if ${ac_cv_prog_AR+:} false; then :
19169 $as_echo_n "(cached) " >&6
19170 else
19171 if test -n "$AR"; then
19172 ac_cv_prog_AR="$AR" # Let the user override the test.
19173 else
19174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19175 for as_dir in $PATH
19176 do
19177 IFS=$as_save_IFS
19178 test -z "$as_dir" && as_dir=.
19179 for ac_exec_ext in '' $ac_executable_extensions; do
19180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19181 ac_cv_prog_AR="${ac_tool_prefix}ar"
19182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19183 break 2
19184 fi
19185 done
19186 done
19187 IFS=$as_save_IFS
19188
19189 fi
19190 fi
19191 AR=$ac_cv_prog_AR
19192 if test -n "$AR"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19194 $as_echo "$AR" >&6; }
19195 else
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19197 $as_echo "no" >&6; }
19198 fi
19199
19200
19201 fi
19202 if test -z "$ac_cv_prog_AR"; then
19203 ac_ct_AR=$AR
19204 # Extract the first word of "ar", so it can be a program name with args.
19205 set dummy ar; ac_word=$2
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19207 $as_echo_n "checking for $ac_word... " >&6; }
19208 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19209 $as_echo_n "(cached) " >&6
19210 else
19211 if test -n "$ac_ct_AR"; then
19212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19213 else
19214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19215 for as_dir in $PATH
19216 do
19217 IFS=$as_save_IFS
19218 test -z "$as_dir" && as_dir=.
19219 for ac_exec_ext in '' $ac_executable_extensions; do
19220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19221 ac_cv_prog_ac_ct_AR="ar"
19222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19223 break 2
19224 fi
19225 done
19226 done
19227 IFS=$as_save_IFS
19228
19229 fi
19230 fi
19231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19232 if test -n "$ac_ct_AR"; then
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19234 $as_echo "$ac_ct_AR" >&6; }
19235 else
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19237 $as_echo "no" >&6; }
19238 fi
19239
19240 if test "x$ac_ct_AR" = x; then
19241 AR=""
19242 else
19243 case $cross_compiling:$ac_tool_warned in
19244 yes:)
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19247 ac_tool_warned=yes ;;
19248 esac
19249 AR=$ac_ct_AR
19250 fi
19251 else
19252 AR="$ac_cv_prog_AR"
19253 fi
19254
19255 if test "x$AR" = "x" ; then
19256 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19257 fi
19258 fi
19259
19260
19261 if test "$wxUSE_MAC" = 1; then
19262
19263 retest_macosx_linking=no
19264
19265 OSX_ARCH_OPTS=""
19266
19267 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19268 if test "x$wxUSE_MAC_ARCH" != xno; then
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19270 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19271 fi
19272
19273 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19274 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19275 else OSX_ARCH_OPTS="ppc,i386"
19276 if test "$wxUSE_OSX_COCOA" = 1; then
19277 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19278 fi
19279 fi
19280
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19282 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19284 $as_echo "$OSX_ARCH_OPTS" >&6; }
19285
19286 retest_macosx_linking=yes
19287 else
19288 if test "x$wxUSE_MAC_ARCH" != xno; then
19289 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19290 fi
19291 fi
19292
19293 if test "x$OSX_ARCH_OPTS" != "x"; then
19294 if echo $OSX_ARCH_OPTS | grep -q ","; then
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19296 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19297 disable_macosx_deps=yes
19298
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19300 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19301 bk_use_pch=no
19302 fi
19303
19304 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19305
19306 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19307 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19308 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19309 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19310 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19311 fi
19312
19313 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19314 wxUSE_MACOSX_SDK=
19315 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19316 # TODO: Search for most recent SDK and use it.
19317 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19318 fi
19319
19320
19321 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19323 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19324 if ! test -d "$wxUSE_MACOSX_SDK"; then
19325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19327 as_fn_error $? "not found
19328 See \`config.log' for more details" "$LINENO" 5; }
19329 else
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19331 $as_echo "exists" >&6; }
19332 fi
19333 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19334 retest_macosx_linking=yes
19335 fi
19336
19337 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19338 wxUSE_MACOSX_VERSION_MIN=
19339 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19340 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19342 $as_echo_n "checking SDK deployment version... " >&6; }
19343
19344 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/'`
19345
19346 # If that failed, try again with the new key
19347 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19348
19349 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/'`
19350
19351 fi
19352
19353 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19354 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19356 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19357 else
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19359 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19360 wxUSE_MACOSX_VERSION_MIN=
19361 fi
19362 else
19363 wxUSE_MACOSX_VERSION_MIN=
19364 fi
19365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19366 wxUSE_MACOSX_VERSION_MIN=10.5
19367 fi
19368
19369 if test "x$MACOSX_SDK_OPTS" != "x"; then
19370 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19371 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19372 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19373 retest_macosx_linking=yes
19374 fi
19375
19376 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19377 if test "$wxUSE_OSX_IPHONE" = 1; then
19378 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19379 else
19380 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19381 fi
19382 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19383 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19384 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19385 retest_macosx_linking=yes
19386 fi
19387
19388 if test "x$retest_macosx_linking" = "xyes"; then
19389 ac_ext=c
19390 ac_cpp='$CPP $CPPFLAGS'
19391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19394
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19396 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19399
19400 int
19401 main ()
19402 {
19403
19404 ;
19405 return 0;
19406 }
19407 _ACEOF
19408 if ac_fn_c_try_link "$LINENO"; then :
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19410 $as_echo "yes" >&6; }
19411 else
19412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19414 as_fn_error $? "no. Try a different SDK
19415 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19416 fi
19417 rm -f core conftest.err conftest.$ac_objext \
19418 conftest$ac_exeext conftest.$ac_ext
19419 ac_ext=c
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19424
19425
19426 ac_ext=cpp
19427 ac_cpp='$CXXCPP $CPPFLAGS'
19428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19431
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19433 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436
19437 int
19438 main ()
19439 {
19440
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19447 $as_echo "yes" >&6; }
19448 else
19449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19451 as_fn_error $? "no. Try a different SDK
19452 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19453 fi
19454 rm -f core conftest.err conftest.$ac_objext \
19455 conftest$ac_exeext conftest.$ac_ext
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19461
19462 fi
19463
19464 fi
19465 case "${host}" in
19466
19467 *-*-darwin* )
19468 INSTALL_PROGRAM="cp -fp"
19469 INSTALL_DATA="cp -fp"
19470 ;;
19471 *)
19472 ;;
19473 esac
19474
19475
19476 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19477 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19478
19479
19480 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19481 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19482 fi
19483
19484 if test "x$USE_AIX" = "x1"; then
19485 if test "x$XLCXX" = "xyes"; then
19486 CXXFLAGS="-qunique $CXXFLAGS"
19487 fi
19488
19489 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19490 fi
19491
19492 case "${host}" in
19493 powerpc-*-darwin* )
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19495 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19498
19499 int
19500 main ()
19501 {
19502 #ifndef __POWERPC__
19503 choke me for lack of PowerPC
19504 #endif
19505
19506 ;
19507 return 0;
19508 }
19509 _ACEOF
19510 if ac_fn_c_try_compile "$LINENO"; then :
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19512 $as_echo "yes" >&6; }
19513 else
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19516 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19517
19518
19519 fi
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 ;;
19522 esac
19523
19524 case "${host}" in
19525 *-*-darwin* )
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19527 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <CoreFoundation/CFBase.h>
19531
19532 int
19533 main ()
19534 {
19535
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 if ac_fn_c_try_compile "$LINENO"; then :
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19542 $as_echo "yes" >&6; }
19543 else
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19545 $as_echo "no" >&6; }
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19547 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19550 #define __CF_USE_FRAMEWORK_INCLUDES__
19551 #include <CoreFoundation/CFBase.h>
19552
19553 int
19554 main ()
19555 {
19556
19557 ;
19558 return 0;
19559 }
19560 _ACEOF
19561 if ac_fn_c_try_compile "$LINENO"; then :
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19563 $as_echo "yes" >&6; }
19564 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19565 else
19566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19568 as_fn_error $? "no. CoreFoundation not available.
19569 See \`config.log' for more details" "$LINENO" 5; }
19570
19571 fi
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573
19574
19575 fi
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 ;;
19578 esac
19579
19580 wants_win32=0
19581 doesnt_want_win32=0
19582 case "${host}" in
19583 *-*-cygwin*)
19584 if test "$wxUSE_MSW" = 1 ; then
19585 wants_win32=1
19586 else
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19588 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19589 if ${wx_cv_nocygwin+:} false; then :
19590 $as_echo_n "(cached) " >&6
19591 else
19592
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19595
19596 int
19597 main ()
19598 {
19599
19600 #ifdef __MINGW32__
19601 choke me
19602 #endif
19603
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 if ac_fn_c_try_compile "$LINENO"; then :
19609 wx_cv_nocygwin=no
19610 else
19611 wx_cv_nocygwin=yes
19612
19613 fi
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19615
19616
19617 fi
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19619 $as_echo "$wx_cv_nocygwin" >&6; }
19620
19621 if test "$wx_cv_nocygwin" = "yes"; then
19622 wants_win32=1
19623 else
19624 doesnt_want_win32=1
19625 fi
19626 fi
19627 if test "$wants_win32" = 1 ; then
19628 BAKEFILE_FORCE_PLATFORM=win32
19629 fi
19630 ;;
19631 *-*-mingw*)
19632 wants_win32=1
19633 ;;
19634 esac
19635
19636 if test "$wxUSE_WINE" = "yes"; then
19637 wants_win32=1
19638 LDFLAGS_GUI="-mwindows"
19639 fi
19640
19641 if test "$wants_win32" = 1 ; then
19642 USE_UNIX=0
19643 USE_WIN32=1
19644 $as_echo "#define __WIN32__ 1" >>confdefs.h
19645
19646 $as_echo "#define __WIN95__ 1" >>confdefs.h
19647
19648 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19649
19650 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19651
19652 $as_echo "#define STRICT 1" >>confdefs.h
19653
19654 fi
19655 if test "$doesnt_want_win32" = 1 ; then
19656 USE_UNIX=1
19657 USE_WIN32=0
19658 fi
19659
19660 if test "$USE_UNIX" = 1 ; then
19661 wxUSE_UNIX=yes
19662 $as_echo "#define __UNIX__ 1" >>confdefs.h
19663
19664 fi
19665
19666 case "${host}" in
19667 *-pc-os2_emx | *-pc-os2-emx )
19668 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19670 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19671 if ${ac_cv_lib_cExt_drand48+:} false; then :
19672 $as_echo_n "(cached) " >&6
19673 else
19674 ac_check_lib_save_LIBS=$LIBS
19675 LIBS="-lcExt $LIBS"
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678
19679 /* Override any GCC internal prototype to avoid an error.
19680 Use char because int might match the return type of a GCC
19681 builtin and then its argument prototype would still apply. */
19682 #ifdef __cplusplus
19683 extern "C"
19684 #endif
19685 char drand48 ();
19686 int
19687 main ()
19688 {
19689 return drand48 ();
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 if ac_fn_c_try_link "$LINENO"; then :
19695 ac_cv_lib_cExt_drand48=yes
19696 else
19697 ac_cv_lib_cExt_drand48=no
19698 fi
19699 rm -f core conftest.err conftest.$ac_objext \
19700 conftest$ac_exeext conftest.$ac_ext
19701 LIBS=$ac_check_lib_save_LIBS
19702 fi
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19704 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19705 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19706 LIBS="$LIBS -lcExt"
19707 fi
19708
19709 else
19710 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19711 fi
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19713 $as_echo_n "checking for gcc/libc version... " >&6; }
19714 if ${wx_cv_gccversion+:} false; then :
19715 $as_echo_n "(cached) " >&6
19716 else
19717
19718 if test "$cross_compiling" = yes; then :
19719 wx_cv_gccversion="EMX2"
19720
19721 else
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724
19725 #include <stdio.h>
19726
19727 int main()
19728 {
19729 FILE *f=fopen("conftestval", "w");
19730 if (!f) exit(1);
19731 fprintf(f,
19732 #if (__GNUC__ < 3)
19733 "EMX2"
19734 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19735 "EMX3"
19736 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19737 "Innotek5"
19738 #else
19739 "Innotek6"
19740 #endif
19741 );
19742 exit(0);
19743 }
19744
19745 _ACEOF
19746 if ac_fn_c_try_run "$LINENO"; then :
19747 wx_cv_gccversion=`cat conftestval`
19748 else
19749 wx_cv_gccversion="EMX2"
19750 fi
19751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19752 conftest.$ac_objext conftest.beam conftest.$ac_ext
19753 fi
19754
19755
19756 fi
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19758 $as_echo "$wx_cv_gccversion" >&6; }
19759 if test "$wx_cv_gccversion" = "EMX2"; then
19760 LIBS="$LIBS -lstdcpp"
19761 LDFLAGS="$LDFLAGS -Zsysv-signals"
19762 else
19763 if test "$wx_cv_gccversion" = "EMX3"; then
19764 LIBS="$LIBS -lstdcxx -lgcc"
19765 LDFLAGS="$LDFLAGS -Zsysv-signals"
19766 else
19767 LIBS="$LIBS -lstdc++"
19768 fi
19769 fi
19770 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19772 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19773 wxUSE_OMF=yes
19774 enable_omf=yes
19775 fi
19776 ;;
19777 *)
19778
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19780 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19781 if ${ac_cv_string_strcasecmp+:} false; then :
19782 $as_echo_n "(cached) " >&6
19783 else
19784
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19787
19788 #include <string.h>
19789
19790 int
19791 main ()
19792 {
19793
19794 strcasecmp("foo", "bar");
19795
19796 ;
19797 return 0;
19798 }
19799 _ACEOF
19800 if ac_fn_c_try_link "$LINENO"; then :
19801 ac_cv_string_strcasecmp=yes
19802 else
19803 ac_cv_string_strcasecmp=no
19804
19805 fi
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext conftest.$ac_ext
19808
19809 fi
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19811 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19812
19813 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19814 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19815
19816 else
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19818 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19819 if ${ac_cv_strings_strcasecmp+:} false; then :
19820 $as_echo_n "(cached) " >&6
19821 else
19822
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825
19826 #include <strings.h>
19827
19828 int
19829 main ()
19830 {
19831
19832 strcasecmp("foo", "bar");
19833
19834 ;
19835 return 0;
19836 }
19837 _ACEOF
19838 if ac_fn_c_try_link "$LINENO"; then :
19839 ac_cv_strings_strcasecmp=yes
19840 else
19841 ac_cv_strings_strcasecmp=no
19842
19843 fi
19844 rm -f core conftest.err conftest.$ac_objext \
19845 conftest$ac_exeext conftest.$ac_ext
19846
19847 fi
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19849 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19850
19851 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19852 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19853
19854 else
19855 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19856 fi
19857 fi
19858
19859 ;;
19860 esac
19861
19862
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19864 $as_echo_n "checking for ANSI C header files... " >&6; }
19865 if ${ac_cv_header_stdc+:} false; then :
19866 $as_echo_n "(cached) " >&6
19867 else
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <stdlib.h>
19871 #include <stdarg.h>
19872 #include <string.h>
19873 #include <float.h>
19874
19875 int
19876 main ()
19877 {
19878
19879 ;
19880 return 0;
19881 }
19882 _ACEOF
19883 if ac_fn_c_try_compile "$LINENO"; then :
19884 ac_cv_header_stdc=yes
19885 else
19886 ac_cv_header_stdc=no
19887 fi
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889
19890 if test $ac_cv_header_stdc = yes; then
19891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <string.h>
19895
19896 _ACEOF
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898 $EGREP "memchr" >/dev/null 2>&1; then :
19899
19900 else
19901 ac_cv_header_stdc=no
19902 fi
19903 rm -f conftest*
19904
19905 fi
19906
19907 if test $ac_cv_header_stdc = yes; then
19908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19911 #include <stdlib.h>
19912
19913 _ACEOF
19914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19915 $EGREP "free" >/dev/null 2>&1; then :
19916
19917 else
19918 ac_cv_header_stdc=no
19919 fi
19920 rm -f conftest*
19921
19922 fi
19923
19924 if test $ac_cv_header_stdc = yes; then
19925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19926 if test "$cross_compiling" = yes; then :
19927 :
19928 else
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #include <ctype.h>
19932 #include <stdlib.h>
19933 #if ((' ' & 0x0FF) == 0x020)
19934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19936 #else
19937 # define ISLOWER(c) \
19938 (('a' <= (c) && (c) <= 'i') \
19939 || ('j' <= (c) && (c) <= 'r') \
19940 || ('s' <= (c) && (c) <= 'z'))
19941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19942 #endif
19943
19944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19945 int
19946 main ()
19947 {
19948 int i;
19949 for (i = 0; i < 256; i++)
19950 if (XOR (islower (i), ISLOWER (i))
19951 || toupper (i) != TOUPPER (i))
19952 return 2;
19953 return 0;
19954 }
19955 _ACEOF
19956 if ac_fn_c_try_run "$LINENO"; then :
19957
19958 else
19959 ac_cv_header_stdc=no
19960 fi
19961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19962 conftest.$ac_objext conftest.beam conftest.$ac_ext
19963 fi
19964
19965 fi
19966 fi
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19968 $as_echo "$ac_cv_header_stdc" >&6; }
19969 if test $ac_cv_header_stdc = yes; then
19970
19971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19972
19973 fi
19974
19975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19977 inttypes.h stdint.h unistd.h
19978 do :
19979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19981 "
19982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19983 cat >>confdefs.h <<_ACEOF
19984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19985 _ACEOF
19986
19987 fi
19988
19989 done
19990
19991
19992 for ac_header in langinfo.h wchar.h
19993 do :
19994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19995 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19996 "
19997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19998 cat >>confdefs.h <<_ACEOF
19999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20000 _ACEOF
20001
20002 fi
20003
20004 done
20005
20006
20007 if test "$ac_cv_header_wchar_h" != "yes"; then
20008 for ac_header in wcstr.h
20009 do :
20010 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20011 "
20012 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20013 cat >>confdefs.h <<_ACEOF
20014 #define HAVE_WCSTR_H 1
20015 _ACEOF
20016
20017 fi
20018
20019 done
20020
20021 fi
20022
20023 case "${host}" in
20024 *-pc-os2_emx | *-pc-os2-emx )
20025 if test $ac_cv_header_langinfo_h = "yes" \
20026 -a \( "$wx_cv_gccversion" = "EMX2" \
20027 -o "$wx_cv_gccversion" = "EMX3" \
20028 -o "$wx_cv_gccversion" = "Innotek5" \); then
20029 LIBS="$LIBS -lintl"
20030 fi
20031 ;;
20032 esac
20033
20034 if test "$USE_UNIX" = 1 ; then
20035 for ac_header in sys/select.h
20036 do :
20037 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20038 "
20039 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20040 cat >>confdefs.h <<_ACEOF
20041 #define HAVE_SYS_SELECT_H 1
20042 _ACEOF
20043
20044 fi
20045
20046 done
20047
20048 fi
20049
20050
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20052 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20053 if ${ac_cv_c_const+:} false; then :
20054 $as_echo_n "(cached) " >&6
20055 else
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20058
20059 int
20060 main ()
20061 {
20062
20063 #ifndef __cplusplus
20064 /* Ultrix mips cc rejects this sort of thing. */
20065 typedef int charset[2];
20066 const charset cs = { 0, 0 };
20067 /* SunOS 4.1.1 cc rejects this. */
20068 char const *const *pcpcc;
20069 char **ppc;
20070 /* NEC SVR4.0.2 mips cc rejects this. */
20071 struct point {int x, y;};
20072 static struct point const zero = {0,0};
20073 /* AIX XL C 1.02.0.0 rejects this.
20074 It does not let you subtract one const X* pointer from another in
20075 an arm of an if-expression whose if-part is not a constant
20076 expression */
20077 const char *g = "string";
20078 pcpcc = &g + (g ? g-g : 0);
20079 /* HPUX 7.0 cc rejects these. */
20080 ++pcpcc;
20081 ppc = (char**) pcpcc;
20082 pcpcc = (char const *const *) ppc;
20083 { /* SCO 3.2v4 cc rejects this sort of thing. */
20084 char tx;
20085 char *t = &tx;
20086 char const *s = 0 ? (char *) 0 : (char const *) 0;
20087
20088 *t++ = 0;
20089 if (s) return 0;
20090 }
20091 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20092 int x[] = {25, 17};
20093 const int *foo = &x[0];
20094 ++foo;
20095 }
20096 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20097 typedef const int *iptr;
20098 iptr p = 0;
20099 ++p;
20100 }
20101 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20102 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20103 struct s { int j; const int *ap[3]; } bx;
20104 struct s *b = &bx; b->j = 5;
20105 }
20106 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20107 const int foo = 10;
20108 if (!foo) return 0;
20109 }
20110 return !cs[0] && !zero.x;
20111 #endif
20112
20113 ;
20114 return 0;
20115 }
20116 _ACEOF
20117 if ac_fn_c_try_compile "$LINENO"; then :
20118 ac_cv_c_const=yes
20119 else
20120 ac_cv_c_const=no
20121 fi
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 fi
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20125 $as_echo "$ac_cv_c_const" >&6; }
20126 if test $ac_cv_c_const = no; then
20127
20128 $as_echo "#define const /**/" >>confdefs.h
20129
20130 fi
20131
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20133 $as_echo_n "checking for inline... " >&6; }
20134 if ${ac_cv_c_inline+:} false; then :
20135 $as_echo_n "(cached) " >&6
20136 else
20137 ac_cv_c_inline=no
20138 for ac_kw in inline __inline__ __inline; do
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #ifndef __cplusplus
20142 typedef int foo_t;
20143 static $ac_kw foo_t static_foo () {return 0; }
20144 $ac_kw foo_t foo () {return 0; }
20145 #endif
20146
20147 _ACEOF
20148 if ac_fn_c_try_compile "$LINENO"; then :
20149 ac_cv_c_inline=$ac_kw
20150 fi
20151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152 test "$ac_cv_c_inline" != no && break
20153 done
20154
20155 fi
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20157 $as_echo "$ac_cv_c_inline" >&6; }
20158
20159 case $ac_cv_c_inline in
20160 inline | yes) ;;
20161 *)
20162 case $ac_cv_c_inline in
20163 no) ac_val=;;
20164 *) ac_val=$ac_cv_c_inline;;
20165 esac
20166 cat >>confdefs.h <<_ACEOF
20167 #ifndef __cplusplus
20168 #define inline $ac_val
20169 #endif
20170 _ACEOF
20171 ;;
20172 esac
20173
20174
20175 # The cast to long int works around a bug in the HP C Compiler
20176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20178 # This bug is HP SR number 8606223364.
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20180 $as_echo_n "checking size of short... " >&6; }
20181 if ${ac_cv_sizeof_short+:} false; then :
20182 $as_echo_n "(cached) " >&6
20183 else
20184 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20185
20186 else
20187 if test "$ac_cv_type_short" = yes; then
20188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20190 as_fn_error 77 "cannot compute sizeof (short)
20191 See \`config.log' for more details" "$LINENO" 5; }
20192 else
20193 ac_cv_sizeof_short=0
20194 fi
20195 fi
20196
20197 fi
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20199 $as_echo "$ac_cv_sizeof_short" >&6; }
20200
20201
20202
20203 cat >>confdefs.h <<_ACEOF
20204 #define SIZEOF_SHORT $ac_cv_sizeof_short
20205 _ACEOF
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 void *" >&5
20213 $as_echo_n "checking size of void *... " >&6; }
20214 if ${ac_cv_sizeof_void_p+:} false; then :
20215 $as_echo_n "(cached) " >&6
20216 else
20217 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20218
20219 else
20220 if test "$ac_cv_type_void_p" = 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 (void *)
20224 See \`config.log' for more details" "$LINENO" 5; }
20225 else
20226 ac_cv_sizeof_void_p=0
20227 fi
20228 fi
20229
20230 fi
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20232 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20233
20234
20235
20236 cat >>confdefs.h <<_ACEOF
20237 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
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 int" >&5
20246 $as_echo_n "checking size of int... " >&6; }
20247 if ${ac_cv_sizeof_int+:} false; then :
20248 $as_echo_n "(cached) " >&6
20249 else
20250 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20251
20252 else
20253 if test "$ac_cv_type_int" = 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 (int)
20257 See \`config.log' for more details" "$LINENO" 5; }
20258 else
20259 ac_cv_sizeof_int=0
20260 fi
20261 fi
20262
20263 fi
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20265 $as_echo "$ac_cv_sizeof_int" >&6; }
20266
20267
20268
20269 cat >>confdefs.h <<_ACEOF
20270 #define SIZEOF_INT $ac_cv_sizeof_int
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 long" >&5
20279 $as_echo_n "checking size of long... " >&6; }
20280 if ${ac_cv_sizeof_long+:} false; then :
20281 $as_echo_n "(cached) " >&6
20282 else
20283 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20284
20285 else
20286 if test "$ac_cv_type_long" = 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 (long)
20290 See \`config.log' for more details" "$LINENO" 5; }
20291 else
20292 ac_cv_sizeof_long=0
20293 fi
20294 fi
20295
20296 fi
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20298 $as_echo "$ac_cv_sizeof_long" >&6; }
20299
20300
20301
20302 cat >>confdefs.h <<_ACEOF
20303 #define SIZEOF_LONG $ac_cv_sizeof_long
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 size_t" >&5
20312 $as_echo_n "checking size of size_t... " >&6; }
20313 if ${ac_cv_sizeof_size_t+:} false; then :
20314 $as_echo_n "(cached) " >&6
20315 else
20316 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20317
20318 else
20319 if test "$ac_cv_type_size_t" = 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 (size_t)
20323 See \`config.log' for more details" "$LINENO" 5; }
20324 else
20325 ac_cv_sizeof_size_t=0
20326 fi
20327 fi
20328
20329 fi
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20331 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20332
20333
20334
20335 cat >>confdefs.h <<_ACEOF
20336 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20337 _ACEOF
20338
20339
20340
20341 case "${host}" in
20342 arm-*-linux* )
20343 # The cast to long int works around a bug in the HP C Compiler
20344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20346 # This bug is HP SR number 8606223364.
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20348 $as_echo_n "checking size of long long... " >&6; }
20349 if ${ac_cv_sizeof_long_long+:} false; then :
20350 $as_echo_n "(cached) " >&6
20351 else
20352 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20353
20354 else
20355 if test "$ac_cv_type_long_long" = yes; then
20356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20358 as_fn_error 77 "cannot compute sizeof (long long)
20359 See \`config.log' for more details" "$LINENO" 5; }
20360 else
20361 ac_cv_sizeof_long_long=0
20362 fi
20363 fi
20364
20365 fi
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20367 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20368
20369
20370
20371 cat >>confdefs.h <<_ACEOF
20372 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20373 _ACEOF
20374
20375
20376 ;;
20377 *-hp-hpux* )
20378 # The cast to long int works around a bug in the HP C Compiler
20379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20381 # This bug is HP SR number 8606223364.
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20383 $as_echo_n "checking size of long long... " >&6; }
20384 if ${ac_cv_sizeof_long_long+:} false; then :
20385 $as_echo_n "(cached) " >&6
20386 else
20387 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20388
20389 else
20390 if test "$ac_cv_type_long_long" = yes; then
20391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20393 as_fn_error 77 "cannot compute sizeof (long long)
20394 See \`config.log' for more details" "$LINENO" 5; }
20395 else
20396 ac_cv_sizeof_long_long=0
20397 fi
20398 fi
20399
20400 fi
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20402 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20403
20404
20405
20406 cat >>confdefs.h <<_ACEOF
20407 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20408 _ACEOF
20409
20410
20411 if test "$ac_cv_sizeof_long_long" != 0; then
20412 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20413 fi
20414 ;;
20415 * )
20416 # The cast to long int works around a bug in the HP C Compiler
20417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20419 # This bug is HP SR number 8606223364.
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20421 $as_echo_n "checking size of long long... " >&6; }
20422 if ${ac_cv_sizeof_long_long+:} false; then :
20423 $as_echo_n "(cached) " >&6
20424 else
20425 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20426
20427 else
20428 if test "$ac_cv_type_long_long" = yes; then
20429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20431 as_fn_error 77 "cannot compute sizeof (long long)
20432 See \`config.log' for more details" "$LINENO" 5; }
20433 else
20434 ac_cv_sizeof_long_long=0
20435 fi
20436 fi
20437
20438 fi
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20440 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20441
20442
20443
20444 cat >>confdefs.h <<_ACEOF
20445 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20446 _ACEOF
20447
20448
20449 esac
20450
20451 # The cast to long int works around a bug in the HP C Compiler
20452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20454 # This bug is HP SR number 8606223364.
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20456 $as_echo_n "checking size of wchar_t... " >&6; }
20457 if ${ac_cv_sizeof_wchar_t+:} false; then :
20458 $as_echo_n "(cached) " >&6
20459 else
20460 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20461 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20462 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20463 # error \"fake wchar_t\"
20464 #endif
20465 #ifdef HAVE_WCHAR_H
20466 # ifdef __CYGWIN__
20467 # include <stddef.h>
20468 # endif
20469 # include <wchar.h>
20470 #endif
20471 #ifdef HAVE_STDLIB_H
20472 # include <stdlib.h>
20473 #endif
20474 #include <stdio.h>
20475
20476
20477 "; then :
20478
20479 else
20480 if test "$ac_cv_type_wchar_t" = yes; then
20481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20483 as_fn_error 77 "cannot compute sizeof (wchar_t)
20484 See \`config.log' for more details" "$LINENO" 5; }
20485 else
20486 ac_cv_sizeof_wchar_t=0
20487 fi
20488 fi
20489
20490 fi
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20492 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20493
20494
20495
20496 cat >>confdefs.h <<_ACEOF
20497 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20498 _ACEOF
20499
20500
20501 if test "$ac_cv_sizeof_wchar_t" = 0; then
20502 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20503 fi
20504 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20505
20506
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20508 $as_echo_n "checking for va_copy... " >&6; }
20509 if ${wx_cv_func_va_copy+:} false; then :
20510 $as_echo_n "(cached) " >&6
20511 else
20512
20513 ac_ext=cpp
20514 ac_cpp='$CXXCPP $CPPFLAGS'
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518
20519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20521
20522
20523 #include <stdarg.h>
20524 void foo(char *f, ...)
20525 {
20526 va_list ap1, ap2;
20527 va_start(ap1, f);
20528 va_copy(ap2, ap1);
20529 va_end(ap2);
20530 va_end(ap1);
20531 }
20532 int main()
20533 {
20534 foo("hi", 17);
20535 return 0;
20536 }
20537
20538 _ACEOF
20539 if ac_fn_cxx_try_link "$LINENO"; then :
20540 wx_cv_func_va_copy=yes
20541 else
20542 wx_cv_func_va_copy=no
20543
20544 fi
20545 rm -f core conftest.err conftest.$ac_objext \
20546 conftest$ac_exeext conftest.$ac_ext
20547 ac_ext=c
20548 ac_cpp='$CPP $CPPFLAGS'
20549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20552
20553
20554
20555 fi
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20557 $as_echo "$wx_cv_func_va_copy" >&6; }
20558
20559 if test $wx_cv_func_va_copy = "yes"; then
20560 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20561
20562 else
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20564 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20565 if ${wx_cv_type_va_list_lvalue+:} false; then :
20566 $as_echo_n "(cached) " >&6
20567 else
20568
20569 if test "$cross_compiling" = yes; then :
20570 wx_cv_type_va_list_lvalue=yes
20571
20572 else
20573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20575
20576
20577 #include <stdarg.h>
20578 int foo(char *f, ...)
20579 {
20580 va_list ap1, ap2;
20581 va_start(ap1, f);
20582 ap2 = ap1;
20583 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20584 return 1;
20585 va_end(ap2);
20586 va_end(ap1);
20587 return 0;
20588 }
20589 int main()
20590 {
20591 return foo("hi", 17);
20592 }
20593
20594 _ACEOF
20595 if ac_fn_c_try_run "$LINENO"; then :
20596 wx_cv_type_va_list_lvalue=yes
20597 else
20598 wx_cv_type_va_list_lvalue=no
20599 fi
20600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20601 conftest.$ac_objext conftest.beam conftest.$ac_ext
20602 fi
20603
20604
20605
20606 fi
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20608 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20609
20610 if test $wx_cv_type_va_list_lvalue != "yes"; then
20611 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20612
20613 fi
20614 fi
20615
20616 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20617
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20619 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20620 if ${wx_cv_have_variadic_macros+:} false; then :
20621 $as_echo_n "(cached) " >&6
20622 else
20623
20624 ac_ext=cpp
20625 ac_cpp='$CXXCPP $CPPFLAGS'
20626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20629
20630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20632
20633
20634 #include <stdio.h>
20635 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20636
20637 int
20638 main ()
20639 {
20640
20641 test("%s %d %p", "test", 1, 0);
20642
20643
20644 ;
20645 return 0;
20646 }
20647 _ACEOF
20648 if ac_fn_cxx_try_compile "$LINENO"; then :
20649 wx_cv_have_variadic_macros=yes
20650 else
20651 wx_cv_have_variadic_macros=no
20652
20653 fi
20654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20655 ac_ext=c
20656 ac_cpp='$CPP $CPPFLAGS'
20657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20660
20661
20662
20663 fi
20664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20665 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20666
20667 if test $wx_cv_have_variadic_macros = "yes"; then
20668 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20669
20670 fi
20671
20672 fi
20673
20674 LARGEFILE_CPPFLAGS=
20675 # Check whether --enable-largefile was given.
20676 if test "${enable_largefile+set}" = set; then :
20677 enableval=$enable_largefile;
20678 fi
20679
20680 if test "$enable_largefile" != no; then
20681 wx_largefile=no
20682
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20684 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20685 if ${ac_cv_sys_file_offset_bits+:} false; then :
20686 $as_echo_n "(cached) " >&6
20687 else
20688
20689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20691 #define _FILE_OFFSET_BITS 64
20692 #include <sys/types.h>
20693 int
20694 main ()
20695 {
20696 typedef struct {
20697 unsigned int field: sizeof(off_t) == 8;
20698 } wxlf;
20699
20700 ;
20701 return 0;
20702 }
20703 _ACEOF
20704 if ac_fn_c_try_compile "$LINENO"; then :
20705 ac_cv_sys_file_offset_bits=64
20706 else
20707 ac_cv_sys_file_offset_bits=no
20708 fi
20709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710
20711
20712 fi
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20714 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20715
20716 if test "$ac_cv_sys_file_offset_bits" != no; then
20717 wx_largefile=yes
20718 cat >>confdefs.h <<_ACEOF
20719 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20720 _ACEOF
20721
20722 fi
20723
20724 if test "x$wx_largefile" != "xyes"; then
20725
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20727 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20728 if ${ac_cv_sys_large_files+:} false; then :
20729 $as_echo_n "(cached) " >&6
20730 else
20731
20732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20733 /* end confdefs.h. */
20734 #define _LARGE_FILES 1
20735 #include <sys/types.h>
20736 int
20737 main ()
20738 {
20739 typedef struct {
20740 unsigned int field: sizeof(off_t) == 8;
20741 } wxlf;
20742
20743 ;
20744 return 0;
20745 }
20746 _ACEOF
20747 if ac_fn_c_try_compile "$LINENO"; then :
20748 ac_cv_sys_large_files=1
20749 else
20750 ac_cv_sys_large_files=no
20751 fi
20752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20753
20754
20755 fi
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20757 $as_echo "$ac_cv_sys_large_files" >&6; }
20758
20759 if test "$ac_cv_sys_large_files" != no; then
20760 wx_largefile=yes
20761 cat >>confdefs.h <<_ACEOF
20762 #define _LARGE_FILES $ac_cv_sys_large_files
20763 _ACEOF
20764
20765 fi
20766
20767 fi
20768
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20770 $as_echo_n "checking if large file support is available... " >&6; }
20771 if test "x$wx_largefile" = "xyes"; then
20772 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20773
20774 fi
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20776 $as_echo "$wx_largefile" >&6; }
20777 fi
20778
20779 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20780 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20781 elif test "$ac_cv_sys_large_files" = 1; then
20782 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20783 fi
20784
20785 if test -n "$LARGEFILE_CPPFLAGS"; then
20786 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20787
20788 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20790 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20791 if ${wx_cv_STDC_EXT_required+:} false; then :
20792 $as_echo_n "(cached) " >&6
20793 else
20794
20795 ac_ext=cpp
20796 ac_cpp='$CXXCPP $CPPFLAGS'
20797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20800
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20803
20804 int
20805 main ()
20806 {
20807
20808 #ifndef __STDC_EXT__
20809 choke me
20810 #endif
20811
20812 ;
20813 return 0;
20814 }
20815 _ACEOF
20816 if ac_fn_cxx_try_compile "$LINENO"; then :
20817 wx_cv_STDC_EXT_required=no
20818 else
20819 wx_cv_STDC_EXT_required=yes
20820
20821 fi
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 ac_ext=c
20824 ac_cpp='$CPP $CPPFLAGS'
20825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20828
20829
20830
20831 fi
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20833 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20834 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20835 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20836 fi
20837 fi
20838 fi
20839
20840 ac_ext=cpp
20841 ac_cpp='$CXXCPP $CPPFLAGS'
20842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20845
20846 old_CPPFLAGS="$CPPFLAGS"
20847 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20849 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20850 if ${ac_cv_sys_largefile_source+:} false; then :
20851 $as_echo_n "(cached) " >&6
20852 else
20853 while :; do
20854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20856 #include <sys/types.h> /* for off_t */
20857 #include <stdio.h>
20858 int
20859 main ()
20860 {
20861 int (*fp) (FILE *, off_t, int) = fseeko;
20862 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20863 ;
20864 return 0;
20865 }
20866 _ACEOF
20867 if ac_fn_cxx_try_link "$LINENO"; then :
20868 ac_cv_sys_largefile_source=no; break
20869 fi
20870 rm -f core conftest.err conftest.$ac_objext \
20871 conftest$ac_exeext conftest.$ac_ext
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20874 #define _LARGEFILE_SOURCE 1
20875 #include <sys/types.h> /* for off_t */
20876 #include <stdio.h>
20877 int
20878 main ()
20879 {
20880 int (*fp) (FILE *, off_t, int) = fseeko;
20881 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20882 ;
20883 return 0;
20884 }
20885 _ACEOF
20886 if ac_fn_cxx_try_link "$LINENO"; then :
20887 ac_cv_sys_largefile_source=1; break
20888 fi
20889 rm -f core conftest.err conftest.$ac_objext \
20890 conftest$ac_exeext conftest.$ac_ext
20891 ac_cv_sys_largefile_source=unknown
20892 break
20893 done
20894 fi
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20896 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20897 case $ac_cv_sys_largefile_source in #(
20898 no | unknown) ;;
20899 *)
20900 cat >>confdefs.h <<_ACEOF
20901 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20902 _ACEOF
20903 ;;
20904 esac
20905 rm -rf conftest*
20906
20907 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20908 # in glibc 2.1.3, but that breaks too many other things.
20909 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20910 if test $ac_cv_sys_largefile_source != unknown; then
20911
20912 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20913
20914 fi
20915
20916 CPPFLAGS="$old_CPPFLAGS"
20917 ac_ext=c
20918 ac_cpp='$CPP $CPPFLAGS'
20919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20922
20923 if test "$ac_cv_sys_largefile_source" != no; then
20924 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20925 fi
20926
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20928 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20929 if ${ac_cv_c_bigendian+:} false; then :
20930 $as_echo_n "(cached) " >&6
20931 else
20932 ac_cv_c_bigendian=unknown
20933 # See if sys/param.h defines the BYTE_ORDER macro.
20934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #include <sys/types.h>
20937 #include <sys/param.h>
20938 int
20939 main ()
20940 {
20941
20942 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20943 bogus endian macros
20944 #endif
20945 ;
20946 return 0;
20947 }
20948 _ACEOF
20949 if ac_fn_c_try_compile "$LINENO"; then :
20950 # It does; now see whether it defined to BIG_ENDIAN or not.
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 #include <sys/types.h>
20954 #include <sys/param.h>
20955 int
20956 main ()
20957 {
20958
20959 #if BYTE_ORDER != BIG_ENDIAN
20960 not big endian
20961 #endif
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 if ac_fn_c_try_compile "$LINENO"; then :
20967 ac_cv_c_bigendian=yes
20968 else
20969 ac_cv_c_bigendian=no
20970 fi
20971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20972 fi
20973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20974 if test $ac_cv_c_bigendian = unknown; then
20975 if test "$cross_compiling" = yes; then :
20976 ac_cv_c_bigendian=unknown
20977 else
20978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20980 main () {
20981 /* Are we little or big endian? From Harbison&Steele. */
20982 union
20983 {
20984 long l;
20985 char c[sizeof (long)];
20986 } u;
20987 u.l = 1;
20988 exit (u.c[sizeof (long) - 1] == 1);
20989 }
20990 _ACEOF
20991 if ac_fn_c_try_run "$LINENO"; then :
20992 ac_cv_c_bigendian=no
20993 else
20994 ac_cv_c_bigendian=yes
20995 fi
20996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20997 conftest.$ac_objext conftest.beam conftest.$ac_ext
20998 fi
20999
21000 fi
21001 fi
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21003 $as_echo "$ac_cv_c_bigendian" >&6; }
21004 if test $ac_cv_c_bigendian = unknown; then
21005 { $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
21006 $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;}
21007 fi
21008 if test $ac_cv_c_bigendian = yes; then
21009 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21010
21011 fi
21012
21013
21014
21015
21016 ac_ext=cpp
21017 ac_cpp='$CXXCPP $CPPFLAGS'
21018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21021
21022
21023 for ac_header in iostream
21024 do :
21025 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21026 "
21027 if test "x$ac_cv_header_iostream" = xyes; then :
21028 cat >>confdefs.h <<_ACEOF
21029 #define HAVE_IOSTREAM 1
21030 _ACEOF
21031
21032 fi
21033
21034 done
21035
21036
21037 if test "$ac_cv_header_iostream" = "yes" ; then
21038 :
21039 else
21040 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21041
21042 fi
21043
21044 ac_ext=c
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21049
21050
21051
21052
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21054 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21055 if ${wx_cv_explicit+:} false; then :
21056 $as_echo_n "(cached) " >&6
21057 else
21058
21059
21060 ac_ext=cpp
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21065
21066
21067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21068 /* end confdefs.h. */
21069
21070 class Foo { public: explicit Foo(int) {} };
21071
21072 int
21073 main ()
21074 {
21075
21076 return 0;
21077
21078 ;
21079 return 0;
21080 }
21081 _ACEOF
21082 if ac_fn_cxx_try_compile "$LINENO"; then :
21083
21084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21085 /* end confdefs.h. */
21086
21087 class Foo { public: explicit Foo(int) {} };
21088 static void TakeFoo(const Foo& foo) { }
21089
21090 int
21091 main ()
21092 {
21093
21094 TakeFoo(17);
21095 return 0;
21096
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 if ac_fn_cxx_try_compile "$LINENO"; then :
21102 wx_cv_explicit=no
21103 else
21104 wx_cv_explicit=yes
21105
21106 fi
21107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21108
21109 else
21110 wx_cv_explicit=no
21111
21112 fi
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21120
21121
21122 fi
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21124 $as_echo "$wx_cv_explicit" >&6; }
21125
21126 if test "$wx_cv_explicit" = "yes"; then
21127 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21128
21129 fi
21130
21131
21132 if test "x$SUNCXX" = xyes; then
21133 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21134 fi
21135
21136 if test "x$SUNCC" = xyes; then
21137 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21138 fi
21139
21140 if test "x$SGICC" = "xyes"; then
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21142 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21143 if ${wx_cv_prog_sgicc744+:} false; then :
21144 $as_echo_n "(cached) " >&6
21145 else
21146
21147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21148 /* end confdefs.h. */
21149
21150 int
21151 main ()
21152 {
21153
21154 #if _SGI_COMPILER_VERSION >= 744
21155 chock me: mipsPro is 7.4.4 or later
21156 #endif
21157
21158 ;
21159 return 0;
21160 }
21161 _ACEOF
21162 if ac_fn_c_try_compile "$LINENO"; then :
21163 wx_cv_prog_sgicc744=no
21164 else
21165 wx_cv_prog_sgicc744=yes
21166
21167 fi
21168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21169
21170
21171 fi
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21173 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21174
21175 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21176 CFLAGS="-woff 3970 $CFLAGS"
21177 fi
21178 fi
21179 if test "x$SGICXX" = "xyes"; then
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21181 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21182 if ${wx_cv_prog_sgicxx744+:} false; then :
21183 $as_echo_n "(cached) " >&6
21184 else
21185
21186 ac_ext=cpp
21187 ac_cpp='$CXXCPP $CPPFLAGS'
21188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21191
21192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21193 /* end confdefs.h. */
21194
21195 int
21196 main ()
21197 {
21198
21199 #if _SGI_COMPILER_VERSION >= 744
21200 chock me: mipsPro is 7.4.4 or later
21201 #endif
21202
21203 ;
21204 return 0;
21205 }
21206 _ACEOF
21207 if ac_fn_cxx_try_compile "$LINENO"; then :
21208 wx_cv_prog_sgicxx744=no
21209 else
21210 wx_cv_prog_sgicxx744=yes
21211
21212 fi
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214 ac_ext=c
21215 ac_cpp='$CPP $CPPFLAGS'
21216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21219
21220
21221
21222 fi
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21224 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21225
21226 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21227 CXXFLAGS="-woff 3970 $CXXFLAGS"
21228 fi
21229 fi
21230
21231 if test "x$HPCC" = "xyes"; then
21232 CFLAGS="+W 2011,2450 $CFLAGS"
21233 fi
21234 if test "x$HPCXX" = "xyes"; then
21235 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21236 fi
21237
21238 if test "x$COMPAQCXX" = "xyes"; then
21239 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21240 fi
21241
21242 ac_ext=cpp
21243 ac_cpp='$CXXCPP $CPPFLAGS'
21244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21247
21248
21249 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21250 if test "$wxUSE_UNICODE" = "yes"; then
21251 std_string="std::wstring"
21252 char_type="wchar_t"
21253 else
21254 std_string="std::string"
21255 char_type="char"
21256 fi
21257
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21259 $as_echo_n "checking for $std_string in <string>... " >&6; }
21260 if ${wx_cv_class_stdstring+:} false; then :
21261 $as_echo_n "(cached) " >&6
21262 else
21263
21264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21265 /* end confdefs.h. */
21266 #include <string>
21267 int
21268 main ()
21269 {
21270 $std_string foo;
21271 ;
21272 return 0;
21273 }
21274 _ACEOF
21275 if ac_fn_cxx_try_compile "$LINENO"; then :
21276 wx_cv_class_stdstring=yes
21277 else
21278 wx_cv_class_stdstring=no
21279
21280 fi
21281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282
21283
21284 fi
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21286 $as_echo "$wx_cv_class_stdstring" >&6; }
21287
21288 if test "$wx_cv_class_stdstring" = yes; then
21289 if test "$wxUSE_UNICODE" = "yes"; then
21290 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21291
21292 fi
21293 else
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21295 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21296 if ${wx_cv_class_stdbasicstring+:} false; then :
21297 $as_echo_n "(cached) " >&6
21298 else
21299
21300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21302
21303 #ifdef HAVE_WCHAR_H
21304 # ifdef __CYGWIN__
21305 # include <stddef.h>
21306 # endif
21307 # include <wchar.h>
21308 #endif
21309 #ifdef HAVE_STDLIB_H
21310 # include <stdlib.h>
21311 #endif
21312 #include <stdio.h>
21313 #include <string>
21314
21315 int
21316 main ()
21317 {
21318 std::basic_string<$char_type> foo;
21319 const $char_type* dummy = foo.c_str();
21320 ;
21321 return 0;
21322 }
21323 _ACEOF
21324 if ac_fn_cxx_try_compile "$LINENO"; then :
21325 wx_cv_class_stdbasicstring=yes
21326 else
21327 wx_cv_class_stdbasicstring=no
21328
21329 fi
21330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21331
21332
21333 fi
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21335 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21336
21337 if test "$wx_cv_class_stdbasicstring" != yes; then
21338 if test "$wxUSE_STL" = "yes"; then
21339 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21340 elif test "$wxUSE_STD_STRING" = "yes"; then
21341 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21342 else
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21344 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21345 wxUSE_STD_STRING=no
21346 fi
21347 fi
21348 fi
21349 fi
21350
21351 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21352 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21353 "
21354 if test "x$ac_cv_type_std__istream" = xyes; then :
21355
21356 cat >>confdefs.h <<_ACEOF
21357 #define HAVE_STD__ISTREAM 1
21358 _ACEOF
21359
21360
21361 else
21362 wxUSE_STD_IOSTREAM=no
21363 fi
21364 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21365 "
21366 if test "x$ac_cv_type_std__ostream" = xyes; then :
21367
21368 cat >>confdefs.h <<_ACEOF
21369 #define HAVE_STD__OSTREAM 1
21370 _ACEOF
21371
21372
21373 else
21374 wxUSE_STD_IOSTREAM=no
21375 fi
21376
21377
21378 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21379 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21380 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21381 else
21382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21383 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21384 fi
21385 fi
21386 fi
21387
21388 if test "$wxUSE_STL" = "yes"; then
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21390 $as_echo_n "checking for basic STL functionality... " >&6; }
21391 if ${wx_cv_lib_stl+:} false; then :
21392 $as_echo_n "(cached) " >&6
21393 else
21394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21396 #include <string>
21397 #include <functional>
21398 #include <algorithm>
21399 #include <vector>
21400 #include <list>
21401 int
21402 main ()
21403 {
21404 std::vector<int> moo;
21405 std::list<int> foo;
21406 std::vector<int>::iterator it =
21407 std::find_if(moo.begin(), moo.end(),
21408 std::bind2nd(std::less<int>(), 3));
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414 wx_cv_lib_stl=yes
21415 else
21416 wx_cv_lib_stl=no
21417
21418 fi
21419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21420
21421 fi
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21423 $as_echo "$wx_cv_lib_stl" >&6; }
21424
21425 if test "$wx_cv_lib_stl" != yes; then
21426 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21427 fi
21428
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21430 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21431 if ${wx_cv_func_stdstring_compare+:} false; then :
21432 $as_echo_n "(cached) " >&6
21433 else
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <string>
21437 int
21438 main ()
21439 {
21440 std::string foo, bar;
21441 foo.compare(bar);
21442 foo.compare(1, 1, bar);
21443 foo.compare(1, 1, bar, 1, 1);
21444 foo.compare("");
21445 foo.compare(1, 1, "");
21446 foo.compare(1, 1, "", 2);
21447 ;
21448 return 0;
21449 }
21450 _ACEOF
21451 if ac_fn_cxx_try_compile "$LINENO"; then :
21452 wx_cv_func_stdstring_compare=yes
21453 else
21454 wx_cv_func_stdstring_compare=no
21455
21456 fi
21457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458
21459 fi
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21461 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21462
21463 if test "$wx_cv_func_stdstring_compare" = yes; then
21464 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21465
21466 fi
21467
21468 if test "$wx_cv_class_gnuhashmapset" = yes; then
21469 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21470
21471 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21472
21473 fi
21474
21475 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21476
21477 "
21478 if test "x$ac_cv_header_unordered_map" = xyes; then :
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21480 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21481 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21482 $as_echo_n "(cached) " >&6
21483 else
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <unordered_map>
21487 #include <unordered_set>
21488 int
21489 main ()
21490 {
21491 std::unordered_map<double*, char*> test1;
21492 std::unordered_set<char*> test2;
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 if ac_fn_cxx_try_compile "$LINENO"; then :
21498 wx_cv_class_stdunorderedmapset=yes
21499 else
21500 wx_cv_class_stdunorderedmapset=no
21501 fi
21502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21503
21504
21505 fi
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21507 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21508 fi
21509
21510
21511
21512 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21513 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21514
21515 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21516
21517 else
21518 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21519
21520 "
21521 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21523 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21524 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21525 $as_echo_n "(cached) " >&6
21526 else
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21529 #include <tr1/unordered_map>
21530 #include <tr1/unordered_set>
21531 int
21532 main ()
21533 {
21534 std::tr1::unordered_map<double*, char*> test1;
21535 std::tr1::unordered_set<char*> test2;
21536 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21537 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21538 #endif
21539 ;
21540 return 0;
21541 }
21542 _ACEOF
21543 if ac_fn_cxx_try_compile "$LINENO"; then :
21544 wx_cv_class_tr1unorderedmapset=yes
21545 else
21546 wx_cv_class_tr1unorderedmapset=no
21547 fi
21548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21549
21550
21551 fi
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21553 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21554 fi
21555
21556
21557
21558 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21559 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21560
21561 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21562
21563 else
21564 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21565
21566 "
21567 if test "x$ac_cv_header_hash_map" = xyes; then :
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21569 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21570 if ${wx_cv_class_stdhashmapset+:} false; then :
21571 $as_echo_n "(cached) " >&6
21572 else
21573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21574 /* end confdefs.h. */
21575 #include <hash_map>
21576 #include <hash_set>
21577 int
21578 main ()
21579 {
21580 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21581 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 if ac_fn_cxx_try_compile "$LINENO"; then :
21587 wx_cv_class_stdhashmapset=yes
21588 else
21589 wx_cv_class_stdhashmapset=no
21590 fi
21591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21592
21593
21594 fi
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21596 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21597 fi
21598
21599
21600
21601 if test "$wx_cv_class_stdhashmapset" = yes; then
21602 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21603
21604 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21605
21606 fi
21607
21608 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21609
21610 "
21611 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21613 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21614 if ${wx_cv_class_gnuhashmapset+:} false; then :
21615 $as_echo_n "(cached) " >&6
21616 else
21617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21618 /* end confdefs.h. */
21619 #include <ext/hash_map>
21620 #include <ext/hash_set>
21621 int
21622 main ()
21623 {
21624 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21625 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21626 ;
21627 return 0;
21628 }
21629 _ACEOF
21630 if ac_fn_cxx_try_compile "$LINENO"; then :
21631 wx_cv_class_gnuhashmapset=yes
21632 else
21633 wx_cv_class_gnuhashmapset=no
21634 fi
21635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21636
21637
21638 fi
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21640 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21641 fi
21642
21643
21644
21645 fi
21646 fi
21647 fi
21648
21649 ac_ext=cpp
21650 ac_cpp='$CXXCPP $CPPFLAGS'
21651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21655 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21656 if test -z "$CXXCPP"; then
21657 if ${ac_cv_prog_CXXCPP+:} false; then :
21658 $as_echo_n "(cached) " >&6
21659 else
21660 # Double quotes because CXXCPP needs to be expanded
21661 for CXXCPP in "$CXX -E" "/lib/cpp"
21662 do
21663 ac_preproc_ok=false
21664 for ac_cxx_preproc_warn_flag in '' yes
21665 do
21666 # Use a header file that comes with gcc, so configuring glibc
21667 # with a fresh cross-compiler works.
21668 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21669 # <limits.h> exists even on freestanding compilers.
21670 # On the NeXT, cc -E runs the code through the compiler's parser,
21671 # not just through cpp. "Syntax error" is here to catch this case.
21672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21673 /* end confdefs.h. */
21674 #ifdef __STDC__
21675 # include <limits.h>
21676 #else
21677 # include <assert.h>
21678 #endif
21679 Syntax error
21680 _ACEOF
21681 if ac_fn_cxx_try_cpp "$LINENO"; then :
21682
21683 else
21684 # Broken: fails on valid input.
21685 continue
21686 fi
21687 rm -f conftest.err conftest.i conftest.$ac_ext
21688
21689 # OK, works on sane cases. Now check whether nonexistent headers
21690 # can be detected and how.
21691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21692 /* end confdefs.h. */
21693 #include <ac_nonexistent.h>
21694 _ACEOF
21695 if ac_fn_cxx_try_cpp "$LINENO"; then :
21696 # Broken: success on invalid input.
21697 continue
21698 else
21699 # Passes both tests.
21700 ac_preproc_ok=:
21701 break
21702 fi
21703 rm -f conftest.err conftest.i conftest.$ac_ext
21704
21705 done
21706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21707 rm -f conftest.i conftest.err conftest.$ac_ext
21708 if $ac_preproc_ok; then :
21709 break
21710 fi
21711
21712 done
21713 ac_cv_prog_CXXCPP=$CXXCPP
21714
21715 fi
21716 CXXCPP=$ac_cv_prog_CXXCPP
21717 else
21718 ac_cv_prog_CXXCPP=$CXXCPP
21719 fi
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21721 $as_echo "$CXXCPP" >&6; }
21722 ac_preproc_ok=false
21723 for ac_cxx_preproc_warn_flag in '' yes
21724 do
21725 # Use a header file that comes with gcc, so configuring glibc
21726 # with a fresh cross-compiler works.
21727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21728 # <limits.h> exists even on freestanding compilers.
21729 # On the NeXT, cc -E runs the code through the compiler's parser,
21730 # not just through cpp. "Syntax error" is here to catch this case.
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21733 #ifdef __STDC__
21734 # include <limits.h>
21735 #else
21736 # include <assert.h>
21737 #endif
21738 Syntax error
21739 _ACEOF
21740 if ac_fn_cxx_try_cpp "$LINENO"; then :
21741
21742 else
21743 # Broken: fails on valid input.
21744 continue
21745 fi
21746 rm -f conftest.err conftest.i conftest.$ac_ext
21747
21748 # OK, works on sane cases. Now check whether nonexistent headers
21749 # can be detected and how.
21750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21751 /* end confdefs.h. */
21752 #include <ac_nonexistent.h>
21753 _ACEOF
21754 if ac_fn_cxx_try_cpp "$LINENO"; then :
21755 # Broken: success on invalid input.
21756 continue
21757 else
21758 # Passes both tests.
21759 ac_preproc_ok=:
21760 break
21761 fi
21762 rm -f conftest.err conftest.i conftest.$ac_ext
21763
21764 done
21765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21766 rm -f conftest.i conftest.err conftest.$ac_ext
21767 if $ac_preproc_ok; then :
21768
21769 else
21770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21772 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21773 See \`config.log' for more details" "$LINENO" 5; }
21774 fi
21775
21776 ac_ext=cpp
21777 ac_cpp='$CXXCPP $CPPFLAGS'
21778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21781
21782
21783 for ac_header in type_traits tr1/type_traits
21784 do :
21785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21786 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21788 cat >>confdefs.h <<_ACEOF
21789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21790 _ACEOF
21791
21792 fi
21793
21794 done
21795
21796
21797
21798
21799 if test -n "$GCC"; then
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21801 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21802 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21803 $as_echo_n "(cached) " >&6
21804 else
21805
21806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21807 /* end confdefs.h. */
21808
21809 int
21810 main ()
21811 {
21812
21813 unsigned int value=0;
21814 /* wxAtomicInc doesn't use return value here */
21815 __sync_fetch_and_add(&value, 2);
21816 __sync_sub_and_fetch(&value, 1);
21817 /* but wxAtomicDec does, so mimic that: */
21818 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21819
21820 ;
21821 return 0;
21822 }
21823 _ACEOF
21824 if ac_fn_cxx_try_link "$LINENO"; then :
21825 wx_cv_cc_gcc_atomic_builtins=yes
21826 else
21827 wx_cv_cc_gcc_atomic_builtins=no
21828 fi
21829 rm -f core conftest.err conftest.$ac_objext \
21830 conftest$ac_exeext conftest.$ac_ext
21831
21832 fi
21833
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21835 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21836 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21837 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21838
21839 fi
21840 fi
21841
21842
21843 ac_ext=c
21844 ac_cpp='$CPP $CPPFLAGS'
21845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21848
21849
21850
21851 SEARCH_INCLUDE="\
21852 /usr/local/include \
21853 /usr/local/X11/include \
21854 /usr/local/include/X11 \
21855 /usr/local/X11R7/include \
21856 /usr/local/X11R6/include \
21857 /usr/local/include/X11R7 \
21858 /usr/local/include/X11R6 \
21859 \
21860 /usr/Motif-2.1/include \
21861 /usr/Motif-1.2/include \
21862 /usr/include/Motif1.2 \
21863 \
21864 /usr/dt/include \
21865 /usr/openwin/include \
21866 \
21867 /usr/include/Xm \
21868 \
21869 /usr/X11R7/include \
21870 /usr/X11R6/include \
21871 /usr/X11R6.4/include \
21872 \
21873 /usr/include/X11R7 \
21874 /usr/include/X11R6 \
21875 \
21876 /usr/X11/include \
21877 /usr/include/X11 \
21878 \
21879 /usr/XFree86/include/X11 \
21880 /usr/pkg/include \
21881 \
21882 /usr/local/X1R5/include \
21883 /usr/local/include/X11R5 \
21884 /usr/X11R5/include \
21885 /usr/include/X11R5 \
21886 \
21887 /usr/local/X11R4/include \
21888 /usr/local/include/X11R4 \
21889 /usr/X11R4/include \
21890 /usr/include/X11R4 \
21891 \
21892 /usr/openwin/share/include"
21893
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21895 $as_echo_n "checking for libraries directories... " >&6; }
21896
21897 case "${host}" in
21898 *-*-irix6* )
21899 if ${wx_cv_std_libpath+:} false; then :
21900 $as_echo_n "(cached) " >&6
21901 else
21902
21903 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21904 for e in a so sl dylib dll.a; do
21905 libc="$d/libc.$e"
21906 if test -f $libc; then
21907 save_LIBS="$LIBS"
21908 LIBS="$libc"
21909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21911
21912 int main() { return 0; }
21913
21914 _ACEOF
21915 if ac_fn_c_try_link "$LINENO"; then :
21916 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21917 fi
21918 rm -f core conftest.err conftest.$ac_objext \
21919 conftest$ac_exeext conftest.$ac_ext
21920 LIBS="$save_LIBS"
21921 if test "x$wx_cv_std_libpath" != "x"; then
21922 break 2
21923 fi
21924 fi
21925 done
21926 done
21927
21928
21929 fi
21930
21931 ;;
21932
21933 *-*-solaris2* )
21934 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21935 wx_cv_std_libpath="lib/64"
21936 fi
21937 ;;
21938
21939 *-*-linux* )
21940 if test "$ac_cv_sizeof_void_p" = 8; then
21941 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21942 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21943 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21944 wx_cv_std_libpath="lib64"
21945 fi
21946 else
21947 case "${host}" in
21948 i*86-*-linux* )
21949 if test -d '/usr/lib/i386-linux-gnu'; then
21950 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21951 fi
21952 esac
21953 fi
21954
21955 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21956 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21957 fi
21958 ;;
21959 esac
21960
21961 if test -z "$wx_cv_std_libpath"; then
21962 wx_cv_std_libpath="lib"
21963 fi
21964
21965 if test -z "$wx_cv_std_libfullpath"; then
21966 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21967 fi
21968
21969
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21971 $as_echo "$wx_cv_std_libfullpath" >&6; }
21972
21973 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21974
21975 if test "$build" != "$host" -a "$GCC" = yes; then
21976 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21977 cross_root=`dirname $cross_root`
21978 cross_root=`dirname $cross_root`
21979
21980 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21981 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21982 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21983
21984 if test -z "$PKG_CONFIG_PATH"; then
21985 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21986 export PKG_CONFIG_PATH
21987 fi
21988
21989 if test -z "$x_includes" -o "$x_includes" = NONE; then
21990
21991 ac_find_includes=
21992 for ac_dir in $SEARCH_INCLUDE /usr/include
21993 do
21994 if test -f "$ac_dir/X11/Intrinsic.h"; then
21995 ac_find_includes=$ac_dir
21996 break
21997 fi
21998 done
21999
22000 x_includes=$ac_find_includes
22001 fi
22002 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22003
22004 ac_find_libraries=
22005 for ac_dir in $SEARCH_LIB
22006 do
22007 for ac_extension in a so sl dylib dll.a; do
22008 if test -f "$ac_dir/libXt.$ac_extension"; then
22009 ac_find_libraries=$ac_dir
22010 break 2
22011 fi
22012 done
22013 done
22014
22015 x_libraries=$ac_find_libraries
22016 fi
22017 fi
22018 fi
22019
22020
22021 cat >confcache <<\_ACEOF
22022 # This file is a shell script that caches the results of configure
22023 # tests run on this system so they can be shared between configure
22024 # scripts and configure runs, see configure's option --config-cache.
22025 # It is not useful on other systems. If it contains results you don't
22026 # want to keep, you may remove or edit it.
22027 #
22028 # config.status only pays attention to the cache file if you give it
22029 # the --recheck option to rerun configure.
22030 #
22031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22033 # following values.
22034
22035 _ACEOF
22036
22037 # The following way of writing the cache mishandles newlines in values,
22038 # but we know of no workaround that is simple, portable, and efficient.
22039 # So, we kill variables containing newlines.
22040 # Ultrix sh set writes to stderr and can't be redirected directly,
22041 # and sets the high bit in the cache file unless we assign to the vars.
22042 (
22043 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22044 eval ac_val=\$$ac_var
22045 case $ac_val in #(
22046 *${as_nl}*)
22047 case $ac_var in #(
22048 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22050 esac
22051 case $ac_var in #(
22052 _ | IFS | as_nl) ;; #(
22053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22054 *) { eval $ac_var=; unset $ac_var;} ;;
22055 esac ;;
22056 esac
22057 done
22058
22059 (set) 2>&1 |
22060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22061 *${as_nl}ac_space=\ *)
22062 # `set' does not quote correctly, so add quotes: double-quote
22063 # substitution turns \\\\ into \\, and sed turns \\ into \.
22064 sed -n \
22065 "s/'/'\\\\''/g;
22066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22067 ;; #(
22068 *)
22069 # `set' quotes correctly as required by POSIX, so do not add quotes.
22070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22071 ;;
22072 esac |
22073 sort
22074 ) |
22075 sed '
22076 /^ac_cv_env_/b end
22077 t clear
22078 :clear
22079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22080 t end
22081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22082 :end' >>confcache
22083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22084 if test -w "$cache_file"; then
22085 if test "x$cache_file" != "x/dev/null"; then
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22087 $as_echo "$as_me: updating cache $cache_file" >&6;}
22088 if test ! -f "$cache_file" || test -h "$cache_file"; then
22089 cat confcache >"$cache_file"
22090 else
22091 case $cache_file in #(
22092 */* | ?:*)
22093 mv -f confcache "$cache_file"$$ &&
22094 mv -f "$cache_file"$$ "$cache_file" ;; #(
22095 *)
22096 mv -f confcache "$cache_file" ;;
22097 esac
22098 fi
22099 fi
22100 else
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22102 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22103 fi
22104 fi
22105 rm -f confcache
22106
22107 have_cos=0
22108 have_floor=0
22109 for ac_func in cos
22110 do :
22111 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22112 if test "x$ac_cv_func_cos" = xyes; then :
22113 cat >>confdefs.h <<_ACEOF
22114 #define HAVE_COS 1
22115 _ACEOF
22116 have_cos=1
22117 fi
22118 done
22119
22120 for ac_func in floor
22121 do :
22122 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22123 if test "x$ac_cv_func_floor" = xyes; then :
22124 cat >>confdefs.h <<_ACEOF
22125 #define HAVE_FLOOR 1
22126 _ACEOF
22127 have_floor=1
22128 fi
22129 done
22130
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22132 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22133 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22135 $as_echo "yes" >&6; }
22136 else
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22138 $as_echo "no" >&6; }
22139 LIBS="$LIBS -lm"
22140 # use different functions to avoid configure caching
22141 have_sin=0
22142 have_ceil=0
22143 for ac_func in sin
22144 do :
22145 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22146 if test "x$ac_cv_func_sin" = xyes; then :
22147 cat >>confdefs.h <<_ACEOF
22148 #define HAVE_SIN 1
22149 _ACEOF
22150 have_sin=1
22151 fi
22152 done
22153
22154 for ac_func in ceil
22155 do :
22156 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22157 if test "x$ac_cv_func_ceil" = xyes; then :
22158 cat >>confdefs.h <<_ACEOF
22159 #define HAVE_CEIL 1
22160 _ACEOF
22161 have_ceil=1
22162 fi
22163 done
22164
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22166 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22167 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22169 $as_echo "yes" >&6; }
22170 else
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22172 $as_echo "no" >&6; }
22173 # not sure we should warn the user, crash, etc.
22174 fi
22175 fi
22176
22177 ac_ext=cpp
22178 ac_cpp='$CXXCPP $CPPFLAGS'
22179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22182
22183 if test "wxUSE_UNICODE" = "yes"; then
22184
22185 for wx_func in wcstoull
22186 do
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22188 $as_echo_n "checking for $wx_func... " >&6; }
22189 if eval \${wx_cv_func_$wx_func+:} false; then :
22190 $as_echo_n "(cached) " >&6
22191 else
22192
22193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22194 /* end confdefs.h. */
22195
22196
22197
22198 $ac_includes_default
22199
22200 int
22201 main ()
22202 {
22203
22204 #ifndef $wx_func
22205 &$wx_func;
22206 #endif
22207
22208
22209 ;
22210 return 0;
22211 }
22212
22213 _ACEOF
22214 if ac_fn_cxx_try_link "$LINENO"; then :
22215 eval wx_cv_func_$wx_func=yes
22216 else
22217 eval wx_cv_func_$wx_func=no
22218 fi
22219 rm -f core conftest.err conftest.$ac_objext \
22220 conftest$ac_exeext conftest.$ac_ext
22221
22222 fi
22223 eval ac_res=\$wx_cv_func_$wx_func
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22225 $as_echo "$ac_res" >&6; }
22226
22227 if eval test \$wx_cv_func_$wx_func = yes
22228 then
22229 cat >>confdefs.h <<_ACEOF
22230 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22231 _ACEOF
22232
22233
22234 else
22235 :
22236
22237 fi
22238 done
22239
22240 else
22241
22242 for wx_func in strtoull
22243 do
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22245 $as_echo_n "checking for $wx_func... " >&6; }
22246 if eval \${wx_cv_func_$wx_func+:} false; then :
22247 $as_echo_n "(cached) " >&6
22248 else
22249
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22252
22253
22254
22255 $ac_includes_default
22256
22257 int
22258 main ()
22259 {
22260
22261 #ifndef $wx_func
22262 &$wx_func;
22263 #endif
22264
22265
22266 ;
22267 return 0;
22268 }
22269
22270 _ACEOF
22271 if ac_fn_cxx_try_link "$LINENO"; then :
22272 eval wx_cv_func_$wx_func=yes
22273 else
22274 eval wx_cv_func_$wx_func=no
22275 fi
22276 rm -f core conftest.err conftest.$ac_objext \
22277 conftest$ac_exeext conftest.$ac_ext
22278
22279 fi
22280 eval ac_res=\$wx_cv_func_$wx_func
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22282 $as_echo "$ac_res" >&6; }
22283
22284 if eval test \$wx_cv_func_$wx_func = yes
22285 then
22286 cat >>confdefs.h <<_ACEOF
22287 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22288 _ACEOF
22289
22290
22291 else
22292 :
22293
22294 fi
22295 done
22296
22297 fi
22298 ac_ext=c
22299 ac_cpp='$CPP $CPPFLAGS'
22300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303
22304
22305
22306
22307 if test "$wxUSE_REGEX" != "no"; then
22308 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22309
22310
22311 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22313 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22314 wxUSE_REGEX=builtin
22315 fi
22316
22317 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22318 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22319 "
22320 if test "x$ac_cv_header_regex_h" = xyes; then :
22321 for ac_func in regcomp re_search
22322 do :
22323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22325 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22326 cat >>confdefs.h <<_ACEOF
22327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22328 _ACEOF
22329
22330 fi
22331 done
22332
22333 fi
22334
22335
22336
22337 if test "x$ac_cv_func_regcomp" != "xyes"; then
22338 if test "$wxUSE_REGEX" = "sys" ; then
22339 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22340 else
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22342 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22343 wxUSE_REGEX=builtin
22344 fi
22345 else
22346 wxUSE_REGEX=sys
22347 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22348
22349 fi
22350 fi
22351 fi
22352
22353
22354 ZLIB_LINK=
22355 if test "$wxUSE_ZLIB" != "no" ; then
22356 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22357
22358
22359 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22360 if test "$USE_DARWIN" = 1; then
22361 system_zlib_h_ok="yes"
22362 else
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22364 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22365 if ${ac_cv_header_zlib_h+:} false; then :
22366 $as_echo_n "(cached) " >&6
22367 else
22368 if test "$cross_compiling" = yes; then :
22369 unset ac_cv_header_zlib_h
22370
22371 else
22372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h. */
22374
22375 #include <zlib.h>
22376 #include <stdio.h>
22377
22378 int main()
22379 {
22380 FILE *f=fopen("conftestval", "w");
22381 if (!f) exit(1);
22382 fprintf(f, "%s",
22383 ZLIB_VERSION[0] == '1' &&
22384 (ZLIB_VERSION[2] > '1' ||
22385 (ZLIB_VERSION[2] == '1' &&
22386 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22387 exit(0);
22388 }
22389
22390 _ACEOF
22391 if ac_fn_c_try_run "$LINENO"; then :
22392 ac_cv_header_zlib_h=`cat conftestval`
22393 else
22394 ac_cv_header_zlib_h=no
22395 fi
22396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22397 conftest.$ac_objext conftest.beam conftest.$ac_ext
22398 fi
22399
22400
22401 fi
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22403 $as_echo "$ac_cv_header_zlib_h" >&6; }
22404 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22405 "
22406 if test "x$ac_cv_header_zlib_h" = xyes; then :
22407
22408 fi
22409
22410
22411
22412 system_zlib_h_ok=$ac_cv_header_zlib_h
22413 fi
22414
22415 if test "$system_zlib_h_ok" = "yes"; then
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22417 $as_echo_n "checking for deflate in -lz... " >&6; }
22418 if ${ac_cv_lib_z_deflate+:} false; then :
22419 $as_echo_n "(cached) " >&6
22420 else
22421 ac_check_lib_save_LIBS=$LIBS
22422 LIBS="-lz $LIBS"
22423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h. */
22425
22426 /* Override any GCC internal prototype to avoid an error.
22427 Use char because int might match the return type of a GCC
22428 builtin and then its argument prototype would still apply. */
22429 #ifdef __cplusplus
22430 extern "C"
22431 #endif
22432 char deflate ();
22433 int
22434 main ()
22435 {
22436 return deflate ();
22437 ;
22438 return 0;
22439 }
22440 _ACEOF
22441 if ac_fn_c_try_link "$LINENO"; then :
22442 ac_cv_lib_z_deflate=yes
22443 else
22444 ac_cv_lib_z_deflate=no
22445 fi
22446 rm -f core conftest.err conftest.$ac_objext \
22447 conftest$ac_exeext conftest.$ac_ext
22448 LIBS=$ac_check_lib_save_LIBS
22449 fi
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22451 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22452 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22453 ZLIB_LINK=" -lz"
22454 fi
22455
22456 fi
22457
22458 if test "x$ZLIB_LINK" = "x" ; then
22459 if test "$wxUSE_ZLIB" = "sys" ; then
22460 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22461 else
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22463 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22464 wxUSE_ZLIB=builtin
22465 fi
22466 else
22467 wxUSE_ZLIB=sys
22468 fi
22469 fi
22470 fi
22471
22472
22473 PNG_LINK=
22474 if test "$wxUSE_LIBPNG" != "no" ; then
22475 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22476
22477
22478 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22480 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22481 wxUSE_LIBPNG=builtin
22482 fi
22483
22484 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22486 $as_echo_n "checking for png.h > 0.90... " >&6; }
22487 if ${ac_cv_header_png_h+:} false; then :
22488 $as_echo_n "(cached) " >&6
22489 else
22490 if test "$cross_compiling" = yes; then :
22491 unset ac_cv_header_png_h
22492
22493 else
22494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22495 /* end confdefs.h. */
22496
22497 #include <png.h>
22498 #include <stdio.h>
22499
22500 int main()
22501 {
22502 FILE *f=fopen("conftestval", "w");
22503 if (!f) exit(1);
22504 fprintf(f, "%s",
22505 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22506 exit(0);
22507 }
22508
22509 _ACEOF
22510 if ac_fn_c_try_run "$LINENO"; then :
22511 ac_cv_header_png_h=`cat conftestval`
22512 else
22513 ac_cv_header_png_h=no
22514 fi
22515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22516 conftest.$ac_objext conftest.beam conftest.$ac_ext
22517 fi
22518
22519
22520 fi
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22522 $as_echo "$ac_cv_header_png_h" >&6; }
22523 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22524 "
22525 if test "x$ac_cv_header_png_h" = xyes; then :
22526
22527 fi
22528
22529
22530
22531 if test "$ac_cv_header_png_h" = "yes"; then
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22533 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22534 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22535 $as_echo_n "(cached) " >&6
22536 else
22537 ac_check_lib_save_LIBS=$LIBS
22538 LIBS="-lpng -lz -lm $LIBS"
22539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22540 /* end confdefs.h. */
22541
22542 /* Override any GCC internal prototype to avoid an error.
22543 Use char because int might match the return type of a GCC
22544 builtin and then its argument prototype would still apply. */
22545 #ifdef __cplusplus
22546 extern "C"
22547 #endif
22548 char png_sig_cmp ();
22549 int
22550 main ()
22551 {
22552 return png_sig_cmp ();
22553 ;
22554 return 0;
22555 }
22556 _ACEOF
22557 if ac_fn_c_try_link "$LINENO"; then :
22558 ac_cv_lib_png_png_sig_cmp=yes
22559 else
22560 ac_cv_lib_png_png_sig_cmp=no
22561 fi
22562 rm -f core conftest.err conftest.$ac_objext \
22563 conftest$ac_exeext conftest.$ac_ext
22564 LIBS=$ac_check_lib_save_LIBS
22565 fi
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22567 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22568 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22569 PNG_LINK=" -lpng -lz"
22570 fi
22571
22572 fi
22573
22574 if test "x$PNG_LINK" = "x" ; then
22575 if test "$wxUSE_LIBPNG" = "sys" ; then
22576 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22577 else
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22579 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22580 wxUSE_LIBPNG=builtin
22581 fi
22582 else
22583 wxUSE_LIBPNG=sys
22584 fi
22585 fi
22586 fi
22587
22588
22589 JPEG_LINK=
22590 if test "$wxUSE_LIBJPEG" != "no" ; then
22591 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22592
22593
22594 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22596 $as_echo_n "checking for jpeglib.h... " >&6; }
22597 if ${ac_cv_header_jpeglib_h+:} false; then :
22598 $as_echo_n "(cached) " >&6
22599 else
22600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22602
22603 #undef HAVE_STDLIB_H
22604 #include <stdio.h>
22605 #include <jpeglib.h>
22606
22607 int
22608 main ()
22609 {
22610
22611
22612 ;
22613 return 0;
22614 }
22615 _ACEOF
22616 if ac_fn_c_try_compile "$LINENO"; then :
22617 ac_cv_header_jpeglib_h=yes
22618 else
22619 ac_cv_header_jpeglib_h=no
22620
22621 fi
22622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22623
22624 fi
22625
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22627 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22628
22629 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22631 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22632 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22633 $as_echo_n "(cached) " >&6
22634 else
22635 ac_check_lib_save_LIBS=$LIBS
22636 LIBS="-ljpeg $LIBS"
22637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22638 /* end confdefs.h. */
22639
22640 /* Override any GCC internal prototype to avoid an error.
22641 Use char because int might match the return type of a GCC
22642 builtin and then its argument prototype would still apply. */
22643 #ifdef __cplusplus
22644 extern "C"
22645 #endif
22646 char jpeg_read_header ();
22647 int
22648 main ()
22649 {
22650 return jpeg_read_header ();
22651 ;
22652 return 0;
22653 }
22654 _ACEOF
22655 if ac_fn_c_try_link "$LINENO"; then :
22656 ac_cv_lib_jpeg_jpeg_read_header=yes
22657 else
22658 ac_cv_lib_jpeg_jpeg_read_header=no
22659 fi
22660 rm -f core conftest.err conftest.$ac_objext \
22661 conftest$ac_exeext conftest.$ac_ext
22662 LIBS=$ac_check_lib_save_LIBS
22663 fi
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22665 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22666 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22667 JPEG_LINK=" -ljpeg"
22668 fi
22669
22670 fi
22671
22672 if test "x$JPEG_LINK" = "x" ; then
22673 if test "$wxUSE_LIBJPEG" = "sys" ; then
22674 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22675 else
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22677 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22678 wxUSE_LIBJPEG=builtin
22679 fi
22680 else
22681 wxUSE_LIBJPEG=sys
22682
22683 if test "$wxUSE_MSW" = 1; then
22684 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22685 "
22686 if test "x$ac_cv_type_boolean" = xyes; then :
22687
22688 cat >>confdefs.h <<_ACEOF
22689 #define HAVE_BOOLEAN 1
22690 _ACEOF
22691
22692
22693 # The cast to long int works around a bug in the HP C Compiler
22694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22696 # This bug is HP SR number 8606223364.
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22698 $as_echo_n "checking size of boolean... " >&6; }
22699 if ${ac_cv_sizeof_boolean+:} false; then :
22700 $as_echo_n "(cached) " >&6
22701 else
22702 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22703 #undef HAVE_BOOLEAN
22704 #include <stdio.h>
22705 #include <jpeglib.h>
22706
22707 "; then :
22708
22709 else
22710 if test "$ac_cv_type_boolean" = yes; then
22711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22713 as_fn_error 77 "cannot compute sizeof (boolean)
22714 See \`config.log' for more details" "$LINENO" 5; }
22715 else
22716 ac_cv_sizeof_boolean=0
22717 fi
22718 fi
22719
22720 fi
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22722 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22723
22724
22725
22726 cat >>confdefs.h <<_ACEOF
22727 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22728 _ACEOF
22729
22730
22731 cat >>confdefs.h <<_ACEOF
22732 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22733 _ACEOF
22734
22735
22736 fi
22737
22738 fi
22739 fi
22740 fi
22741 fi
22742
22743
22744 TIFF_LINK=
22745 TIFF_PREREQ_LINKS=-lm
22746 if test "$wxUSE_LIBTIFF" != "no" ; then
22747 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22748
22749
22750 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22751 if test "$wxUSE_LIBJPEG" = "sys"; then
22752 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22753 fi
22754 if test "$wxUSE_ZLIB" = "sys"; then
22755 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22756 fi
22757 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22758
22759 "
22760 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22761
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22763 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22764 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22765 $as_echo_n "(cached) " >&6
22766 else
22767 ac_check_lib_save_LIBS=$LIBS
22768 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22770 /* end confdefs.h. */
22771
22772 /* Override any GCC internal prototype to avoid an error.
22773 Use char because int might match the return type of a GCC
22774 builtin and then its argument prototype would still apply. */
22775 #ifdef __cplusplus
22776 extern "C"
22777 #endif
22778 char TIFFError ();
22779 int
22780 main ()
22781 {
22782 return TIFFError ();
22783 ;
22784 return 0;
22785 }
22786 _ACEOF
22787 if ac_fn_c_try_link "$LINENO"; then :
22788 ac_cv_lib_tiff_TIFFError=yes
22789 else
22790 ac_cv_lib_tiff_TIFFError=no
22791 fi
22792 rm -f core conftest.err conftest.$ac_objext \
22793 conftest$ac_exeext conftest.$ac_ext
22794 LIBS=$ac_check_lib_save_LIBS
22795 fi
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22797 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22798 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22799 TIFF_LINK=" -ltiff"
22800 fi
22801
22802
22803 fi
22804
22805
22806
22807 if test "x$TIFF_LINK" = "x" ; then
22808 if test "$wxUSE_LIBTIFF" = "sys" ; then
22809 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22810 else
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22812 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22813 wxUSE_LIBTIFF=builtin
22814 fi
22815 else
22816 wxUSE_LIBTIFF=sys
22817 fi
22818 fi
22819 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22820 if test "$wxUSE_LIBJPEG" = "no"; then
22821 ac_configure_args="$ac_configure_args --disable-jpeg"
22822 fi
22823
22824
22825 subdirs="$subdirs src/tiff"
22826
22827 fi
22828 fi
22829
22830
22831 if test "$wxUSE_EXPAT" != "no"; then
22832 wxUSE_XML=yes
22833 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22834
22835 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22836
22837
22838 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22839 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22840 "
22841 if test "x$ac_cv_header_expat_h" = xyes; then :
22842 found_expat_h=1
22843 fi
22844
22845
22846 if test "x$found_expat_h" = "x1"; then
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22848 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22849 if ${wx_cv_expat_is_not_broken+:} false; then :
22850 $as_echo_n "(cached) " >&6
22851 else
22852
22853 ac_ext=cpp
22854 ac_cpp='$CXXCPP $CPPFLAGS'
22855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22858
22859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22861 #include <expat.h>
22862 int
22863 main ()
22864 {
22865
22866 ;
22867 return 0;
22868 }
22869 _ACEOF
22870 if ac_fn_cxx_try_compile "$LINENO"; then :
22871 wx_cv_expat_is_not_broken=yes
22872 else
22873 wx_cv_expat_is_not_broken=no
22874
22875 fi
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22882
22883
22884
22885 fi
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22887 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22888 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22890 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22891 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22892 $as_echo_n "(cached) " >&6
22893 else
22894 ac_check_lib_save_LIBS=$LIBS
22895 LIBS="-lexpat $LIBS"
22896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22898
22899 /* Override any GCC internal prototype to avoid an error.
22900 Use char because int might match the return type of a GCC
22901 builtin and then its argument prototype would still apply. */
22902 #ifdef __cplusplus
22903 extern "C"
22904 #endif
22905 char XML_ParserCreate ();
22906 int
22907 main ()
22908 {
22909 return XML_ParserCreate ();
22910 ;
22911 return 0;
22912 }
22913 _ACEOF
22914 if ac_fn_c_try_link "$LINENO"; then :
22915 ac_cv_lib_expat_XML_ParserCreate=yes
22916 else
22917 ac_cv_lib_expat_XML_ParserCreate=no
22918 fi
22919 rm -f core conftest.err conftest.$ac_objext \
22920 conftest$ac_exeext conftest.$ac_ext
22921 LIBS=$ac_check_lib_save_LIBS
22922 fi
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22924 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22925 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22926 EXPAT_LINK=" -lexpat"
22927 fi
22928
22929 fi
22930 fi
22931 if test "x$EXPAT_LINK" = "x" ; then
22932 if test "$wxUSE_EXPAT" = "sys" ; then
22933 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22934 else
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22936 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22937 wxUSE_EXPAT=builtin
22938 fi
22939 else
22940 wxUSE_EXPAT=sys
22941 fi
22942 fi
22943 if test "$wxUSE_EXPAT" = "builtin" ; then
22944 subdirs="$subdirs src/expat"
22945
22946 fi
22947 fi
22948
22949
22950
22951 if test "$wxUSE_LIBMSPACK" != "no"; then
22952 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22953 "
22954 if test "x$ac_cv_header_mspack_h" = xyes; then :
22955 found_mspack_h=1
22956 fi
22957
22958
22959 if test "x$found_mspack_h" = "x1"; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22961 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22962 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22963 $as_echo_n "(cached) " >&6
22964 else
22965 ac_check_lib_save_LIBS=$LIBS
22966 LIBS="-lmspack $LIBS"
22967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22969
22970 /* Override any GCC internal prototype to avoid an error.
22971 Use char because int might match the return type of a GCC
22972 builtin and then its argument prototype would still apply. */
22973 #ifdef __cplusplus
22974 extern "C"
22975 #endif
22976 char mspack_create_chm_decompressor ();
22977 int
22978 main ()
22979 {
22980 return mspack_create_chm_decompressor ();
22981 ;
22982 return 0;
22983 }
22984 _ACEOF
22985 if ac_fn_c_try_link "$LINENO"; then :
22986 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22987 else
22988 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22989 fi
22990 rm -f core conftest.err conftest.$ac_objext \
22991 conftest$ac_exeext conftest.$ac_ext
22992 LIBS=$ac_check_lib_save_LIBS
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22995 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22996 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
22997 MSPACK_LINK=" -lmspack"
22998 fi
22999
23000 fi
23001 if test "x$MSPACK_LINK" = "x" ; then
23002 wxUSE_LIBMSPACK=no
23003 fi
23004 fi
23005
23006 if test "$wxUSE_LIBMSPACK" != "no"; then
23007 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23008
23009 fi
23010
23011
23012
23013 AFMINSTALL=
23014 WIN32INSTALL=
23015
23016 TOOLKIT=
23017 TOOLKIT_INCLUDE=
23018 WIDGET_SET=
23019
23020 if test "$USE_WIN32" = 1 ; then
23021 for ac_header in w32api.h
23022 do :
23023 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23024 "
23025 if test "x$ac_cv_header_w32api_h" = xyes; then :
23026 cat >>confdefs.h <<_ACEOF
23027 #define HAVE_W32API_H 1
23028 _ACEOF
23029
23030 fi
23031
23032 done
23033
23034 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23035 "
23036 if test "x$ac_cv_header_windows_h" = xyes; then :
23037
23038 else
23039
23040 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23041
23042 fi
23043
23044
23045
23046 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23047 case "${host}" in
23048 x86_64-*-mingw32* )
23049 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23050 ;;
23051 esac
23052 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23053 LIBS="$LIBS -loleacc"
23054 fi
23055
23056 case "${host}" in
23057 *-*-cygwin* )
23058 LIBS="$LIBS -lkernel32 -luser32"
23059 esac
23060
23061 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23062 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23063
23064 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23065
23066 WIN32INSTALL=win32install
23067 fi
23068
23069 if test "$wxUSE_GUI" = "yes"; then
23070 USE_GUI=1
23071
23072 GUI_TK_LIBRARY=
23073
23074 WXGTK1=
23075 WXGTK127=
23076 WXGTK2=
23077 WXGTK3=
23078 WXGPE=
23079
23080 if test "$wxUSE_OLD_COCOA" = 1 ; then
23081 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23083 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23084 wxUSE_PRINTING_ARCHITECTURE=no
23085 fi
23086 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23088 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23089 wxUSE_DRAG_AND_DROP=no
23090 fi
23091 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23093 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23094 wxUSE_DRAGIMAGE=no
23095 fi
23096 fi
23097
23098 if test "$wxUSE_MSW" = 1 ; then
23099 TOOLKIT=MSW
23100 GUIDIST=MSW_DIST
23101
23102 case "${host}" in
23103 *-*-mingw32* )
23104 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23105 esac
23106 fi
23107
23108 if test "$wxUSE_GTK" = 1; then
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23110 $as_echo_n "checking for GTK+ version... " >&6; }
23111
23112 gtk_version_cached=1
23113 if ${wx_cv_lib_gtk+:} false; then :
23114 $as_echo_n "(cached) " >&6
23115 else
23116
23117 gtk_version_cached=0
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23119 $as_echo "" >&6; }
23120
23121 GTK_MODULES=
23122 if test "$wxUSE_THREADS" = "yes"; then
23123 GTK_MODULES=gthread
23124 fi
23125
23126 if test -z "$wxGTK_VERSION"; then
23127 wxGTK_VERSION=any
23128 fi
23129
23130 wx_cv_lib_gtk=
23131 if test "x$wxGTK_VERSION" != "x1"
23132 then
23133 case "${host}" in
23134 *-*-solaris2* )
23135 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23136 enable_gtktest=no
23137 fi
23138 esac
23139
23140 if test "$wxGTK_VERSION" != 3; then
23141 # Check whether --enable-gtktest was given.
23142 if test "${enable_gtktest+set}" = set; then :
23143 enableval=$enable_gtktest;
23144 else
23145 enable_gtktest=yes
23146 fi
23147
23148
23149 pkg_config_args=gtk+-2.0
23150 for module in . $GTK_MODULES
23151 do
23152 case "$module" in
23153 gthread)
23154 pkg_config_args="$pkg_config_args gthread-2.0"
23155 ;;
23156 esac
23157 done
23158
23159 no_gtk=""
23160
23161 # Extract the first word of "pkg-config", so it can be a program name with args.
23162 set dummy pkg-config; ac_word=$2
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23164 $as_echo_n "checking for $ac_word... " >&6; }
23165 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23168 case $PKG_CONFIG in
23169 [\\/]* | ?:[\\/]*)
23170 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23171 ;;
23172 *)
23173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23174 for as_dir in $PATH
23175 do
23176 IFS=$as_save_IFS
23177 test -z "$as_dir" && as_dir=.
23178 for ac_exec_ext in '' $ac_executable_extensions; do
23179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23180 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23182 break 2
23183 fi
23184 done
23185 done
23186 IFS=$as_save_IFS
23187
23188 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23189 ;;
23190 esac
23191 fi
23192 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23193 if test -n "$PKG_CONFIG"; then
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23195 $as_echo "$PKG_CONFIG" >&6; }
23196 else
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23198 $as_echo "no" >&6; }
23199 fi
23200
23201
23202
23203 if test x$PKG_CONFIG != xno ; then
23204 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23205 :
23206 else
23207 echo "*** pkg-config too old; version 0.7 or better required."
23208 no_gtk=yes
23209 PKG_CONFIG=no
23210 fi
23211 else
23212 no_gtk=yes
23213 fi
23214
23215 min_gtk_version=2.6.0
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23217 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23218
23219 if test x$PKG_CONFIG != xno ; then
23220 ## don't try to run the test against uninstalled libtool libs
23221 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23222 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23223 enable_gtktest=no
23224 fi
23225
23226 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23227 :
23228 else
23229 no_gtk=yes
23230 fi
23231 fi
23232
23233 if test x"$no_gtk" = x ; then
23234 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23235 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23236 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23238 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23240 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23242 if test "x$enable_gtktest" = "xyes" ; then
23243 ac_save_CFLAGS="$CFLAGS"
23244 ac_save_LIBS="$LIBS"
23245 CFLAGS="$CFLAGS $GTK_CFLAGS"
23246 LIBS="$GTK_LIBS $LIBS"
23247 rm -f conf.gtktest
23248 if test "$cross_compiling" = yes; then :
23249 echo $ac_n "cross compiling; assumed OK... $ac_c"
23250 else
23251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h. */
23253
23254 #include <gtk/gtk.h>
23255 #include <stdio.h>
23256 #include <stdlib.h>
23257
23258 int
23259 main ()
23260 {
23261 int major, minor, micro;
23262 char *tmp_version;
23263
23264 system ("touch conf.gtktest");
23265
23266 /* HP/UX 9 (%@#!) writes to sscanf strings */
23267 tmp_version = g_strdup("$min_gtk_version");
23268 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23269 printf("%s, bad version string\n", "$min_gtk_version");
23270 exit(1);
23271 }
23272
23273 if ((gtk_major_version != $gtk_config_major_version) ||
23274 (gtk_minor_version != $gtk_config_minor_version) ||
23275 (gtk_micro_version != $gtk_config_micro_version))
23276 {
23277 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23278 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23279 gtk_major_version, gtk_minor_version, gtk_micro_version);
23280 printf ("*** was found! If pkg-config was correct, then it is best\n");
23281 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23282 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23283 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23284 printf("*** required on your system.\n");
23285 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23286 printf("*** to point to the correct configuration files\n");
23287 }
23288 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23289 (gtk_minor_version != GTK_MINOR_VERSION) ||
23290 (gtk_micro_version != GTK_MICRO_VERSION))
23291 {
23292 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23293 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23294 printf("*** library (version %d.%d.%d)\n",
23295 gtk_major_version, gtk_minor_version, gtk_micro_version);
23296 }
23297 else
23298 {
23299 if ((gtk_major_version > major) ||
23300 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23301 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23302 {
23303 return 0;
23304 }
23305 else
23306 {
23307 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23308 gtk_major_version, gtk_minor_version, gtk_micro_version);
23309 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23310 major, minor, micro);
23311 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23312 printf("***\n");
23313 printf("*** If you have already installed a sufficiently new version, this error\n");
23314 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23315 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23316 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23317 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23318 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23319 printf("*** so that the correct libraries are found at run-time))\n");
23320 }
23321 }
23322 return 1;
23323 }
23324
23325 _ACEOF
23326 if ac_fn_c_try_run "$LINENO"; then :
23327
23328 else
23329 no_gtk=yes
23330 fi
23331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23332 conftest.$ac_objext conftest.beam conftest.$ac_ext
23333 fi
23334
23335 CFLAGS="$ac_save_CFLAGS"
23336 LIBS="$ac_save_LIBS"
23337 fi
23338 fi
23339 if test "x$no_gtk" = x ; then
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23341 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23342 wx_cv_lib_gtk=2.0
23343 else
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23345 $as_echo "no" >&6; }
23346 if test "$PKG_CONFIG" = "no" ; then
23347 echo "*** A new enough version of pkg-config was not found."
23348 echo "*** See http://pkgconfig.sourceforge.net"
23349 else
23350 if test -f conf.gtktest ; then
23351 :
23352 else
23353 echo "*** Could not run GTK+ test program, checking why..."
23354 ac_save_CFLAGS="$CFLAGS"
23355 ac_save_LIBS="$LIBS"
23356 CFLAGS="$CFLAGS $GTK_CFLAGS"
23357 LIBS="$LIBS $GTK_LIBS"
23358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23359 /* end confdefs.h. */
23360
23361 #include <gtk/gtk.h>
23362 #include <stdio.h>
23363
23364 int
23365 main ()
23366 {
23367 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23368 ;
23369 return 0;
23370 }
23371 _ACEOF
23372 if ac_fn_c_try_link "$LINENO"; then :
23373 echo "*** The test program compiled, but did not run. This usually means"
23374 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23375 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23376 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23377 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23378 echo "*** is required on your system"
23379 echo "***"
23380 echo "*** If you have an old version installed, it is best to remove it, although"
23381 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23382 else
23383 echo "*** The test program failed to compile or link. See the file config.log for the"
23384 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23385 fi
23386 rm -f core conftest.err conftest.$ac_objext \
23387 conftest$ac_exeext conftest.$ac_ext
23388 CFLAGS="$ac_save_CFLAGS"
23389 LIBS="$ac_save_LIBS"
23390 fi
23391 fi
23392 GTK_CFLAGS=""
23393 GTK_LIBS=""
23394 :
23395 fi
23396
23397
23398 rm -f conf.gtktest
23399
23400 fi
23401 if test -z "$wx_cv_lib_gtk"; then
23402 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23403 # Check whether --enable-gtktest was given.
23404 if test "${enable_gtktest+set}" = set; then :
23405 enableval=$enable_gtktest;
23406 else
23407 enable_gtktest=yes
23408 fi
23409
23410
23411 pkg_config_args=gtk+-3.0
23412 for module in . $GTK_MODULES
23413 do
23414 case "$module" in
23415 gthread)
23416 pkg_config_args="$pkg_config_args gthread-2.0"
23417 ;;
23418 esac
23419 done
23420
23421 no_gtk=""
23422
23423 # Extract the first word of "pkg-config", so it can be a program name with args.
23424 set dummy pkg-config; ac_word=$2
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23426 $as_echo_n "checking for $ac_word... " >&6; }
23427 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23428 $as_echo_n "(cached) " >&6
23429 else
23430 case $PKG_CONFIG in
23431 [\\/]* | ?:[\\/]*)
23432 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23433 ;;
23434 *)
23435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23436 for as_dir in $PATH
23437 do
23438 IFS=$as_save_IFS
23439 test -z "$as_dir" && as_dir=.
23440 for ac_exec_ext in '' $ac_executable_extensions; do
23441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23442 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23444 break 2
23445 fi
23446 done
23447 done
23448 IFS=$as_save_IFS
23449
23450 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23451 ;;
23452 esac
23453 fi
23454 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23455 if test -n "$PKG_CONFIG"; then
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23457 $as_echo "$PKG_CONFIG" >&6; }
23458 else
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23460 $as_echo "no" >&6; }
23461 fi
23462
23463
23464
23465 if test x$PKG_CONFIG != xno ; then
23466 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23467 :
23468 else
23469 echo "*** pkg-config too old; version 0.7 or better required."
23470 no_gtk=yes
23471 PKG_CONFIG=no
23472 fi
23473 else
23474 no_gtk=yes
23475 fi
23476
23477 min_gtk_version=3.0.0
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23479 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23480
23481 if test x$PKG_CONFIG != xno ; then
23482 ## don't try to run the test against uninstalled libtool libs
23483 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23484 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23485 enable_gtktest=no
23486 fi
23487
23488 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23489 :
23490 else
23491 no_gtk=yes
23492 fi
23493 fi
23494
23495 if test x"$no_gtk" = x ; then
23496 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23497 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23498 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23500 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23502 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23504 if test "x$enable_gtktest" = "xyes" ; then
23505 ac_save_CFLAGS="$CFLAGS"
23506 ac_save_LIBS="$LIBS"
23507 CFLAGS="$CFLAGS $GTK_CFLAGS"
23508 LIBS="$GTK_LIBS $LIBS"
23509 rm -f conf.gtktest
23510 if test "$cross_compiling" = yes; then :
23511 echo $ac_n "cross compiling; assumed OK... $ac_c"
23512 else
23513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23514 /* end confdefs.h. */
23515
23516 #include <gtk/gtk.h>
23517 #include <stdio.h>
23518 #include <stdlib.h>
23519
23520 int
23521 main ()
23522 {
23523 int major, minor, micro;
23524 char *tmp_version;
23525
23526 fclose (fopen ("conf.gtktest", "w"));
23527
23528 /* HP/UX 9 (%@#!) writes to sscanf strings */
23529 tmp_version = g_strdup("$min_gtk_version");
23530 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23531 printf("%s, bad version string\n", "$min_gtk_version");
23532 exit(1);
23533 }
23534
23535 if ((gtk_major_version != $gtk_config_major_version) ||
23536 (gtk_minor_version != $gtk_config_minor_version) ||
23537 (gtk_micro_version != $gtk_config_micro_version))
23538 {
23539 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23540 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23541 gtk_major_version, gtk_minor_version, gtk_micro_version);
23542 printf ("*** was found! If pkg-config was correct, then it is best\n");
23543 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23544 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23545 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23546 printf("*** required on your system.\n");
23547 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23548 printf("*** to point to the correct configuration files\n");
23549 }
23550 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23551 (gtk_minor_version != GTK_MINOR_VERSION) ||
23552 (gtk_micro_version != GTK_MICRO_VERSION))
23553 {
23554 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23555 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23556 printf("*** library (version %d.%d.%d)\n",
23557 gtk_major_version, gtk_minor_version, gtk_micro_version);
23558 }
23559 else
23560 {
23561 if ((gtk_major_version > major) ||
23562 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23563 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23564 {
23565 return 0;
23566 }
23567 else
23568 {
23569 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23570 gtk_major_version, gtk_minor_version, gtk_micro_version);
23571 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23572 major, minor, micro);
23573 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23574 printf("***\n");
23575 printf("*** If you have already installed a sufficiently new version, this error\n");
23576 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23577 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23578 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23579 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23580 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23581 printf("*** so that the correct libraries are found at run-time))\n");
23582 }
23583 }
23584 return 1;
23585 }
23586
23587 _ACEOF
23588 if ac_fn_c_try_run "$LINENO"; then :
23589
23590 else
23591 no_gtk=yes
23592 fi
23593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23594 conftest.$ac_objext conftest.beam conftest.$ac_ext
23595 fi
23596
23597 CFLAGS="$ac_save_CFLAGS"
23598 LIBS="$ac_save_LIBS"
23599 fi
23600 fi
23601 if test "x$no_gtk" = x ; then
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23603 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23604 wx_cv_lib_gtk=3
23605 else
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23607 $as_echo "no" >&6; }
23608 if test "$PKG_CONFIG" = "no" ; then
23609 echo "*** A new enough version of pkg-config was not found."
23610 echo "*** See http://pkgconfig.sourceforge.net"
23611 else
23612 if test -f conf.gtktest ; then
23613 :
23614 else
23615 echo "*** Could not run GTK+ test program, checking why..."
23616 ac_save_CFLAGS="$CFLAGS"
23617 ac_save_LIBS="$LIBS"
23618 CFLAGS="$CFLAGS $GTK_CFLAGS"
23619 LIBS="$LIBS $GTK_LIBS"
23620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23622
23623 #include <gtk/gtk.h>
23624 #include <stdio.h>
23625
23626 int
23627 main ()
23628 {
23629 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 if ac_fn_c_try_link "$LINENO"; then :
23635 echo "*** The test program compiled, but did not run. This usually means"
23636 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23637 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23638 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23639 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23640 echo "*** is required on your system"
23641 echo "***"
23642 echo "*** If you have an old version installed, it is best to remove it, although"
23643 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23644 else
23645 echo "*** The test program failed to compile or link. See the file config.log for the"
23646 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23647 fi
23648 rm -f core conftest.err conftest.$ac_objext \
23649 conftest$ac_exeext conftest.$ac_ext
23650 CFLAGS="$ac_save_CFLAGS"
23651 LIBS="$ac_save_LIBS"
23652 fi
23653 fi
23654 GTK_CFLAGS=""
23655 GTK_LIBS=""
23656 :
23657 fi
23658
23659
23660 rm -f conf.gtktest
23661
23662 fi
23663 fi
23664 fi
23665
23666 if test -z "$wx_cv_lib_gtk"; then
23667 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23668
23669 # Check whether --with-gtk-prefix was given.
23670 if test "${with_gtk_prefix+set}" = set; then :
23671 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23672 else
23673 gtk_config_prefix=""
23674 fi
23675
23676
23677 # Check whether --with-gtk-exec-prefix was given.
23678 if test "${with_gtk_exec_prefix+set}" = set; then :
23679 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23680 else
23681 gtk_config_exec_prefix=""
23682 fi
23683
23684 # Check whether --enable-gtktest was given.
23685 if test "${enable_gtktest+set}" = set; then :
23686 enableval=$enable_gtktest;
23687 else
23688 enable_gtktest=yes
23689 fi
23690
23691
23692 for module in . $GTK_MODULES
23693 do
23694 case "$module" in
23695 gthread)
23696 gtk_config_args="$gtk_config_args gthread"
23697 ;;
23698 esac
23699 done
23700
23701 if test x$gtk_config_exec_prefix != x ; then
23702 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23703 if test x${GTK_CONFIG+set} != xset ; then
23704 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23705 fi
23706 fi
23707 if test x$gtk_config_prefix != x ; then
23708 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23709 if test x${GTK_CONFIG+set} != xset ; then
23710 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23711 fi
23712 fi
23713
23714 # Extract the first word of "gtk-config", so it can be a program name with args.
23715 set dummy gtk-config; ac_word=$2
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23717 $as_echo_n "checking for $ac_word... " >&6; }
23718 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23719 $as_echo_n "(cached) " >&6
23720 else
23721 case $GTK_CONFIG in
23722 [\\/]* | ?:[\\/]*)
23723 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23724 ;;
23725 *)
23726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23727 for as_dir in $PATH
23728 do
23729 IFS=$as_save_IFS
23730 test -z "$as_dir" && as_dir=.
23731 for ac_exec_ext in '' $ac_executable_extensions; do
23732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23733 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23735 break 2
23736 fi
23737 done
23738 done
23739 IFS=$as_save_IFS
23740
23741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23742 ;;
23743 esac
23744 fi
23745 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23746 if test -n "$GTK_CONFIG"; then
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23748 $as_echo "$GTK_CONFIG" >&6; }
23749 else
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23751 $as_echo "no" >&6; }
23752 fi
23753
23754
23755 min_gtk_version=1.2.7
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23757 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23758 no_gtk=""
23759 if test "$GTK_CONFIG" = "no" ; then
23760 no_gtk=yes
23761 else
23762 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23763 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23764 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23766 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23768 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23770 if test "x$enable_gtktest" = "xyes" ; then
23771 ac_save_CFLAGS="$CFLAGS"
23772 ac_save_LIBS="$LIBS"
23773 CFLAGS="$CFLAGS $GTK_CFLAGS"
23774 LIBS="$GTK_LIBS $LIBS"
23775 rm -f conf.gtktest
23776 if test "$cross_compiling" = yes; then :
23777 echo $ac_n "cross compiling; assumed OK... $ac_c"
23778 else
23779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23780 /* end confdefs.h. */
23781
23782 #include <gtk/gtk.h>
23783 #include <stdio.h>
23784 #include <stdlib.h>
23785
23786 int
23787 main ()
23788 {
23789 int major, minor, micro;
23790 char *tmp_version;
23791
23792 system ("touch conf.gtktest");
23793
23794 /* HP/UX 9 (%@#!) writes to sscanf strings */
23795 tmp_version = g_strdup("$min_gtk_version");
23796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23797 printf("%s, bad version string\n", "$min_gtk_version");
23798 exit(1);
23799 }
23800
23801 if ((gtk_major_version != $gtk_config_major_version) ||
23802 (gtk_minor_version != $gtk_config_minor_version) ||
23803 (gtk_micro_version != $gtk_config_micro_version))
23804 {
23805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23807 gtk_major_version, gtk_minor_version, gtk_micro_version);
23808 printf ("*** was found! If gtk-config was correct, then it is best\n");
23809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23810 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23812 printf("*** required on your system.\n");
23813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23815 printf("*** before re-running configure\n");
23816 }
23817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23819 (gtk_minor_version != GTK_MINOR_VERSION) ||
23820 (gtk_micro_version != GTK_MICRO_VERSION))
23821 {
23822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23824 printf("*** library (version %d.%d.%d)\n",
23825 gtk_major_version, gtk_minor_version, gtk_micro_version);
23826 }
23827 #endif /* defined (GTK_MAJOR_VERSION) ... */
23828 else
23829 {
23830 if ((gtk_major_version > major) ||
23831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23833 {
23834 return 0;
23835 }
23836 else
23837 {
23838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23839 gtk_major_version, gtk_minor_version, gtk_micro_version);
23840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23841 major, minor, micro);
23842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23843 printf("***\n");
23844 printf("*** If you have already installed a sufficiently new version, this error\n");
23845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23849 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23850 printf("*** so that the correct libraries are found at run-time))\n");
23851 }
23852 }
23853 return 1;
23854 }
23855
23856 _ACEOF
23857 if ac_fn_c_try_run "$LINENO"; then :
23858
23859 else
23860 no_gtk=yes
23861 fi
23862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23863 conftest.$ac_objext conftest.beam conftest.$ac_ext
23864 fi
23865
23866 CFLAGS="$ac_save_CFLAGS"
23867 LIBS="$ac_save_LIBS"
23868 fi
23869 fi
23870 if test "x$no_gtk" = x ; then
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23872 $as_echo "yes" >&6; }
23873 wx_cv_lib_gtk=1.2.7
23874 else
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23876 $as_echo "no" >&6; }
23877 if test "$GTK_CONFIG" = "no" ; then
23878 echo "*** The gtk-config script installed by GTK could not be found"
23879 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23880 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23881 echo "*** full path to gtk-config."
23882 else
23883 if test -f conf.gtktest ; then
23884 :
23885 else
23886 echo "*** Could not run GTK test program, checking why..."
23887 CFLAGS="$CFLAGS $GTK_CFLAGS"
23888 LIBS="$LIBS $GTK_LIBS"
23889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23891
23892 #include <gtk/gtk.h>
23893 #include <stdio.h>
23894
23895 int
23896 main ()
23897 {
23898 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23899 ;
23900 return 0;
23901 }
23902 _ACEOF
23903 if ac_fn_c_try_link "$LINENO"; then :
23904 echo "*** The test program compiled, but did not run. This usually means"
23905 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23906 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23907 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23908 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23909 echo "*** is required on your system"
23910 echo "***"
23911 echo "*** If you have an old version installed, it is best to remove it, although"
23912 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23913 echo "***"
23914 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23915 echo "*** came with the system with the command"
23916 echo "***"
23917 echo "*** rpm --erase --nodeps gtk gtk-devel"
23918 else
23919 echo "*** The test program failed to compile or link. See the file config.log for the"
23920 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23921 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23922 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23923 fi
23924 rm -f core conftest.err conftest.$ac_objext \
23925 conftest$ac_exeext conftest.$ac_ext
23926 CFLAGS="$ac_save_CFLAGS"
23927 LIBS="$ac_save_LIBS"
23928 fi
23929 fi
23930 GTK_CFLAGS=""
23931 GTK_LIBS=""
23932 :
23933 fi
23934
23935
23936 rm -f conf.gtktest
23937
23938
23939 if test -z "$wx_cv_lib_gtk"; then
23940
23941 # Check whether --with-gtk-prefix was given.
23942 if test "${with_gtk_prefix+set}" = set; then :
23943 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23944 else
23945 gtk_config_prefix=""
23946 fi
23947
23948
23949 # Check whether --with-gtk-exec-prefix was given.
23950 if test "${with_gtk_exec_prefix+set}" = set; then :
23951 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23952 else
23953 gtk_config_exec_prefix=""
23954 fi
23955
23956 # Check whether --enable-gtktest was given.
23957 if test "${enable_gtktest+set}" = set; then :
23958 enableval=$enable_gtktest;
23959 else
23960 enable_gtktest=yes
23961 fi
23962
23963
23964 for module in . $GTK_MODULES
23965 do
23966 case "$module" in
23967 gthread)
23968 gtk_config_args="$gtk_config_args gthread"
23969 ;;
23970 esac
23971 done
23972
23973 if test x$gtk_config_exec_prefix != x ; then
23974 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23975 if test x${GTK_CONFIG+set} != xset ; then
23976 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23977 fi
23978 fi
23979 if test x$gtk_config_prefix != x ; then
23980 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23981 if test x${GTK_CONFIG+set} != xset ; then
23982 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23983 fi
23984 fi
23985
23986 # Extract the first word of "gtk-config", so it can be a program name with args.
23987 set dummy gtk-config; ac_word=$2
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23989 $as_echo_n "checking for $ac_word... " >&6; }
23990 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23991 $as_echo_n "(cached) " >&6
23992 else
23993 case $GTK_CONFIG in
23994 [\\/]* | ?:[\\/]*)
23995 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23996 ;;
23997 *)
23998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23999 for as_dir in $PATH
24000 do
24001 IFS=$as_save_IFS
24002 test -z "$as_dir" && as_dir=.
24003 for ac_exec_ext in '' $ac_executable_extensions; do
24004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24005 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24007 break 2
24008 fi
24009 done
24010 done
24011 IFS=$as_save_IFS
24012
24013 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24014 ;;
24015 esac
24016 fi
24017 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24018 if test -n "$GTK_CONFIG"; then
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24020 $as_echo "$GTK_CONFIG" >&6; }
24021 else
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24023 $as_echo "no" >&6; }
24024 fi
24025
24026
24027 min_gtk_version=1.2.3
24028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24029 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24030 no_gtk=""
24031 if test "$GTK_CONFIG" = "no" ; then
24032 no_gtk=yes
24033 else
24034 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24035 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24036 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24038 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24040 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24042 if test "x$enable_gtktest" = "xyes" ; then
24043 ac_save_CFLAGS="$CFLAGS"
24044 ac_save_LIBS="$LIBS"
24045 CFLAGS="$CFLAGS $GTK_CFLAGS"
24046 LIBS="$GTK_LIBS $LIBS"
24047 rm -f conf.gtktest
24048 if test "$cross_compiling" = yes; then :
24049 echo $ac_n "cross compiling; assumed OK... $ac_c"
24050 else
24051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24052 /* end confdefs.h. */
24053
24054 #include <gtk/gtk.h>
24055 #include <stdio.h>
24056 #include <stdlib.h>
24057
24058 int
24059 main ()
24060 {
24061 int major, minor, micro;
24062 char *tmp_version;
24063
24064 system ("touch conf.gtktest");
24065
24066 /* HP/UX 9 (%@#!) writes to sscanf strings */
24067 tmp_version = g_strdup("$min_gtk_version");
24068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24069 printf("%s, bad version string\n", "$min_gtk_version");
24070 exit(1);
24071 }
24072
24073 if ((gtk_major_version != $gtk_config_major_version) ||
24074 (gtk_minor_version != $gtk_config_minor_version) ||
24075 (gtk_micro_version != $gtk_config_micro_version))
24076 {
24077 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24079 gtk_major_version, gtk_minor_version, gtk_micro_version);
24080 printf ("*** was found! If gtk-config was correct, then it is best\n");
24081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24082 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24084 printf("*** required on your system.\n");
24085 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24086 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24087 printf("*** before re-running configure\n");
24088 }
24089 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24091 (gtk_minor_version != GTK_MINOR_VERSION) ||
24092 (gtk_micro_version != GTK_MICRO_VERSION))
24093 {
24094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24096 printf("*** library (version %d.%d.%d)\n",
24097 gtk_major_version, gtk_minor_version, gtk_micro_version);
24098 }
24099 #endif /* defined (GTK_MAJOR_VERSION) ... */
24100 else
24101 {
24102 if ((gtk_major_version > major) ||
24103 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24104 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24105 {
24106 return 0;
24107 }
24108 else
24109 {
24110 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24111 gtk_major_version, gtk_minor_version, gtk_micro_version);
24112 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24113 major, minor, micro);
24114 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24115 printf("***\n");
24116 printf("*** If you have already installed a sufficiently new version, this error\n");
24117 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24118 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24119 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24120 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24121 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24122 printf("*** so that the correct libraries are found at run-time))\n");
24123 }
24124 }
24125 return 1;
24126 }
24127
24128 _ACEOF
24129 if ac_fn_c_try_run "$LINENO"; then :
24130
24131 else
24132 no_gtk=yes
24133 fi
24134 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24135 conftest.$ac_objext conftest.beam conftest.$ac_ext
24136 fi
24137
24138 CFLAGS="$ac_save_CFLAGS"
24139 LIBS="$ac_save_LIBS"
24140 fi
24141 fi
24142 if test "x$no_gtk" = x ; then
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24144 $as_echo "yes" >&6; }
24145 wx_cv_lib_gtk=1.2.3
24146 else
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24148 $as_echo "no" >&6; }
24149 if test "$GTK_CONFIG" = "no" ; then
24150 echo "*** The gtk-config script installed by GTK could not be found"
24151 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24152 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24153 echo "*** full path to gtk-config."
24154 else
24155 if test -f conf.gtktest ; then
24156 :
24157 else
24158 echo "*** Could not run GTK test program, checking why..."
24159 CFLAGS="$CFLAGS $GTK_CFLAGS"
24160 LIBS="$LIBS $GTK_LIBS"
24161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24162 /* end confdefs.h. */
24163
24164 #include <gtk/gtk.h>
24165 #include <stdio.h>
24166
24167 int
24168 main ()
24169 {
24170 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24171 ;
24172 return 0;
24173 }
24174 _ACEOF
24175 if ac_fn_c_try_link "$LINENO"; then :
24176 echo "*** The test program compiled, but did not run. This usually means"
24177 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24178 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24179 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24180 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24181 echo "*** is required on your system"
24182 echo "***"
24183 echo "*** If you have an old version installed, it is best to remove it, although"
24184 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24185 echo "***"
24186 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24187 echo "*** came with the system with the command"
24188 echo "***"
24189 echo "*** rpm --erase --nodeps gtk gtk-devel"
24190 else
24191 echo "*** The test program failed to compile or link. See the file config.log for the"
24192 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24193 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24194 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24195 fi
24196 rm -f core conftest.err conftest.$ac_objext \
24197 conftest$ac_exeext conftest.$ac_ext
24198 CFLAGS="$ac_save_CFLAGS"
24199 LIBS="$ac_save_LIBS"
24200 fi
24201 fi
24202 GTK_CFLAGS=""
24203 GTK_LIBS=""
24204 :
24205 fi
24206
24207
24208 rm -f conf.gtktest
24209
24210 fi
24211 fi
24212 fi
24213
24214 if test -z "$wx_cv_lib_gtk"; then
24215 wx_cv_lib_gtk=none
24216 else
24217 GTK_LIBS="$GTK_LIBS -lX11"
24218
24219 wx_cv_cflags_gtk=$GTK_CFLAGS
24220 wx_cv_libs_gtk=$GTK_LIBS
24221 fi
24222
24223
24224 fi
24225
24226
24227 if test "$gtk_version_cached" = 1; then
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24229 $as_echo "$wx_cv_lib_gtk" >&6; }
24230 fi
24231
24232 case "$wx_cv_lib_gtk" in
24233 3) WXGTK3=1
24234 TOOLKIT_VERSION=3
24235 ;;
24236 2.0) WXGTK2=1
24237 TOOLKIT_VERSION=2
24238 ;;
24239 1.2.7) WXGTK127=1
24240 WXGTK1=1
24241 ;;
24242 1.2*) WXGTK1=1 ;;
24243 *) as_fn_error $? "
24244 The development files for GTK+ were not found. For GTK+ 2, please
24245 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24246 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24247 and that the version is 1.2.3 or above. Also check that the
24248 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24249 --libs' are in the LD_LIBRARY_PATH or equivalent.
24250 " "$LINENO" 5
24251 ;;
24252 esac
24253
24254 if test "$WXGTK3" = 1; then
24255 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24256
24257 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24258
24259 elif test "$WXGTK2" = 1; then
24260 save_CFLAGS="$CFLAGS"
24261 save_LIBS="$LIBS"
24262 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24263 LIBS="$LIBS $wx_cv_libs_gtk"
24264
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24266 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24268 /* end confdefs.h. */
24269
24270 #include <gtk/gtk.h>
24271
24272 int
24273 main ()
24274 {
24275
24276 #if !GTK_CHECK_VERSION(2,18,0)
24277 Not GTK+ 2.18
24278 #endif
24279
24280 ;
24281 return 0;
24282 }
24283 _ACEOF
24284 if ac_fn_c_try_compile "$LINENO"; then :
24285
24286 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24287
24288 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24289
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24291 $as_echo "yes" >&6; }
24292 ac_wxgtk218=1
24293
24294 else
24295
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24297 $as_echo "no" >&6; }
24298 ac_wxgtk218=0
24299
24300 fi
24301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24302
24303 if test "$ac_wxgtk218" = 0; then
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24305 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h. */
24308
24309 #include <gtk/gtk.h>
24310
24311 int
24312 main ()
24313 {
24314
24315 #if !GTK_CHECK_VERSION(2,10,0)
24316 Not GTK+ 2.10
24317 #endif
24318
24319 ;
24320 return 0;
24321 }
24322 _ACEOF
24323 if ac_fn_c_try_compile "$LINENO"; then :
24324
24325 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24326
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24328 $as_echo "yes" >&6; }
24329 ac_wxgtk210=1
24330
24331 else
24332
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24334 $as_echo "no" >&6; }
24335 ac_wxgtk210=0
24336
24337 fi
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24339 fi
24340
24341 CFLAGS="$save_CFLAGS"
24342 LIBS="$save_LIBS"
24343 else
24344 if test "$wxUSE_UNICODE" = "yes"; then
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24346 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24347 wxUSE_UNICODE=no
24348 fi
24349
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24351 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24352 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24353 $as_echo_n "(cached) " >&6
24354 else
24355 ac_check_lib_save_LIBS=$LIBS
24356 LIBS="-lgdk $LIBS"
24357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24358 /* end confdefs.h. */
24359
24360 /* Override any GCC internal prototype to avoid an error.
24361 Use char because int might match the return type of a GCC
24362 builtin and then its argument prototype would still apply. */
24363 #ifdef __cplusplus
24364 extern "C"
24365 #endif
24366 char gdk_im_open ();
24367 int
24368 main ()
24369 {
24370 return gdk_im_open ();
24371 ;
24372 return 0;
24373 }
24374 _ACEOF
24375 if ac_fn_c_try_link "$LINENO"; then :
24376 ac_cv_lib_gdk_gdk_im_open=yes
24377 else
24378 ac_cv_lib_gdk_gdk_im_open=no
24379 fi
24380 rm -f core conftest.err conftest.$ac_objext \
24381 conftest$ac_exeext conftest.$ac_ext
24382 LIBS=$ac_check_lib_save_LIBS
24383 fi
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24385 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24386 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24387 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24388
24389 fi
24390
24391
24392 if test "$USE_DARWIN" != 1; then
24393 for ac_func in poll
24394 do :
24395 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24396 if test "x$ac_cv_func_poll" = xyes; then :
24397 cat >>confdefs.h <<_ACEOF
24398 #define HAVE_POLL 1
24399 _ACEOF
24400
24401 fi
24402 done
24403
24404 fi
24405 fi
24406
24407 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24408 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24409 AFMINSTALL=afminstall
24410 TOOLKIT=GTK
24411 GUIDIST=GTK_DIST
24412
24413 if test "$wxUSE_GPE" = "yes"; then
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24415 $as_echo_n "checking for gpewidget library... " >&6; }
24416
24417 ac_find_libraries=
24418 for ac_dir in $SEARCH_LIB
24419 do
24420 for ac_extension in a so sl dylib dll.a; do
24421 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24422 ac_find_libraries=$ac_dir
24423 break 2
24424 fi
24425 done
24426 done
24427
24428 if test "$ac_find_libraries" != "" ; then
24429
24430 if test "$ac_find_libraries" = "default location"; then
24431 ac_path_to_link=""
24432 else
24433 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24434 result=$?
24435 if test $result = 0; then
24436 ac_path_to_link=""
24437 else
24438 ac_path_to_link=" -L$ac_find_libraries"
24439 fi
24440 fi
24441
24442 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24443 WXGPE=1
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24445 $as_echo "found in $ac_find_libraries" >&6; }
24446 else
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24448 $as_echo "not found" >&6; }
24449 fi
24450
24451 fi
24452 fi
24453
24454 if test "$wxUSE_DFB" = 1; then
24455
24456
24457 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24458 if test -n "$ac_tool_prefix"; then
24459 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24460 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24462 $as_echo_n "checking for $ac_word... " >&6; }
24463 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24464 $as_echo_n "(cached) " >&6
24465 else
24466 case $PKG_CONFIG in
24467 [\\/]* | ?:[\\/]*)
24468 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24469 ;;
24470 *)
24471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24472 for as_dir in $PATH
24473 do
24474 IFS=$as_save_IFS
24475 test -z "$as_dir" && as_dir=.
24476 for ac_exec_ext in '' $ac_executable_extensions; do
24477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24478 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24480 break 2
24481 fi
24482 done
24483 done
24484 IFS=$as_save_IFS
24485
24486 ;;
24487 esac
24488 fi
24489 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24490 if test -n "$PKG_CONFIG"; then
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24492 $as_echo "$PKG_CONFIG" >&6; }
24493 else
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24495 $as_echo "no" >&6; }
24496 fi
24497
24498
24499 fi
24500 if test -z "$ac_cv_path_PKG_CONFIG"; then
24501 ac_pt_PKG_CONFIG=$PKG_CONFIG
24502 # Extract the first word of "pkg-config", so it can be a program name with args.
24503 set dummy pkg-config; ac_word=$2
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24505 $as_echo_n "checking for $ac_word... " >&6; }
24506 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24507 $as_echo_n "(cached) " >&6
24508 else
24509 case $ac_pt_PKG_CONFIG in
24510 [\\/]* | ?:[\\/]*)
24511 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24512 ;;
24513 *)
24514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24515 for as_dir in $PATH
24516 do
24517 IFS=$as_save_IFS
24518 test -z "$as_dir" && as_dir=.
24519 for ac_exec_ext in '' $ac_executable_extensions; do
24520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24521 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24523 break 2
24524 fi
24525 done
24526 done
24527 IFS=$as_save_IFS
24528
24529 ;;
24530 esac
24531 fi
24532 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24533 if test -n "$ac_pt_PKG_CONFIG"; then
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24535 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24536 else
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24538 $as_echo "no" >&6; }
24539 fi
24540
24541 if test "x$ac_pt_PKG_CONFIG" = x; then
24542 PKG_CONFIG=""
24543 else
24544 case $cross_compiling:$ac_tool_warned in
24545 yes:)
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24548 ac_tool_warned=yes ;;
24549 esac
24550 PKG_CONFIG=$ac_pt_PKG_CONFIG
24551 fi
24552 else
24553 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24554 fi
24555
24556 fi
24557 if test -n "$PKG_CONFIG"; then
24558 _pkg_min_version=0.9.0
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24560 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24561 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24563 $as_echo "yes" >&6; }
24564 else
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24566 $as_echo "no" >&6; }
24567 PKG_CONFIG=""
24568 fi
24569
24570 fi
24571
24572
24573 pkg_failed=no
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24575 $as_echo_n "checking for DIRECTFB... " >&6; }
24576
24577 if test -n "$PKG_CONFIG"; then
24578 if test -n "$DIRECTFB_CFLAGS"; then
24579 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24580 else
24581 if test -n "$PKG_CONFIG" && \
24582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24583 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24584 ac_status=$?
24585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24586 test $ac_status = 0; }; then
24587 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24588 else
24589 pkg_failed=yes
24590 fi
24591 fi
24592 else
24593 pkg_failed=untried
24594 fi
24595 if test -n "$PKG_CONFIG"; then
24596 if test -n "$DIRECTFB_LIBS"; then
24597 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24598 else
24599 if test -n "$PKG_CONFIG" && \
24600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24601 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24602 ac_status=$?
24603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24604 test $ac_status = 0; }; then
24605 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24606 else
24607 pkg_failed=yes
24608 fi
24609 fi
24610 else
24611 pkg_failed=untried
24612 fi
24613
24614
24615
24616 if test $pkg_failed = yes; then
24617
24618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24619 _pkg_short_errors_supported=yes
24620 else
24621 _pkg_short_errors_supported=no
24622 fi
24623 if test $_pkg_short_errors_supported = yes; then
24624 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24625 else
24626 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24627 fi
24628 # Put the nasty error message in config.log where it belongs
24629 echo "$DIRECTFB_PKG_ERRORS" >&5
24630
24631
24632 as_fn_error $? "DirectFB not found." "$LINENO" 5
24633
24634
24635 elif test $pkg_failed = untried; then
24636
24637 as_fn_error $? "DirectFB not found." "$LINENO" 5
24638
24639
24640 else
24641 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24642 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24644 $as_echo "yes" >&6; }
24645
24646 wxUSE_UNIVERSAL="yes"
24647 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24648 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24649 TOOLKIT=DFB
24650 GUIDIST=DFB_DIST
24651
24652 fi
24653 fi
24654
24655 if test "$wxUSE_MICROWIN" = 1; then
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24657 $as_echo_n "checking for MicroWindows... " >&6; }
24658 if test "x$MICROWINDOWS" = x ; then
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24660 $as_echo "not found" >&6; }
24661 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24662 else
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24664 $as_echo "$MICROWINDOWS" >&6; }
24665 fi
24666
24667 if test -f $MICROWINDOWS/lib/libmwin.a; then
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24669 $as_echo "MicroWindows' libraries found." >&6; }
24670 else
24671 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24672 fi
24673
24674 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24675 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24676
24677 wxUSE_UNIVERSAL="yes"
24678
24679 AFMINSTALL=afminstall
24680 TOOLKIT=MICROWIN
24681 GUIDIST=MICROWIN_DIST
24682
24683 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24684 fi
24685
24686 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24688 $as_echo_n "checking for X... " >&6; }
24689
24690
24691 # Check whether --with-x was given.
24692 if test "${with_x+set}" = set; then :
24693 withval=$with_x;
24694 fi
24695
24696 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24697 if test "x$with_x" = xno; then
24698 # The user explicitly disabled X.
24699 have_x=disabled
24700 else
24701 case $x_includes,$x_libraries in #(
24702 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24703 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24704 $as_echo_n "(cached) " >&6
24705 else
24706 # One or both of the vars are not set, and there is no cached value.
24707 ac_x_includes=no ac_x_libraries=no
24708 rm -f -r conftest.dir
24709 if mkdir conftest.dir; then
24710 cd conftest.dir
24711 cat >Imakefile <<'_ACEOF'
24712 incroot:
24713 @echo incroot='${INCROOT}'
24714 usrlibdir:
24715 @echo usrlibdir='${USRLIBDIR}'
24716 libdir:
24717 @echo libdir='${LIBDIR}'
24718 _ACEOF
24719 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24720 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24721 for ac_var in incroot usrlibdir libdir; do
24722 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24723 done
24724 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24725 for ac_extension in a so sl dylib la dll; do
24726 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24727 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24728 ac_im_usrlibdir=$ac_im_libdir; break
24729 fi
24730 done
24731 # Screen out bogus values from the imake configuration. They are
24732 # bogus both because they are the default anyway, and because
24733 # using them would break gcc on systems where it needs fixed includes.
24734 case $ac_im_incroot in
24735 /usr/include) ac_x_includes= ;;
24736 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24737 esac
24738 case $ac_im_usrlibdir in
24739 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24740 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24741 esac
24742 fi
24743 cd ..
24744 rm -f -r conftest.dir
24745 fi
24746
24747 # Standard set of common directories for X headers.
24748 # Check X11 before X11Rn because it is often a symlink to the current release.
24749 ac_x_header_dirs='
24750 /usr/X11/include
24751 /usr/X11R7/include
24752 /usr/X11R6/include
24753 /usr/X11R5/include
24754 /usr/X11R4/include
24755
24756 /usr/include/X11
24757 /usr/include/X11R7
24758 /usr/include/X11R6
24759 /usr/include/X11R5
24760 /usr/include/X11R4
24761
24762 /usr/local/X11/include
24763 /usr/local/X11R7/include
24764 /usr/local/X11R6/include
24765 /usr/local/X11R5/include
24766 /usr/local/X11R4/include
24767
24768 /usr/local/include/X11
24769 /usr/local/include/X11R7
24770 /usr/local/include/X11R6
24771 /usr/local/include/X11R5
24772 /usr/local/include/X11R4
24773
24774 /usr/X386/include
24775 /usr/x386/include
24776 /usr/XFree86/include/X11
24777
24778 /usr/include
24779 /usr/local/include
24780 /usr/unsupported/include
24781 /usr/athena/include
24782 /usr/local/x11r5/include
24783 /usr/lpp/Xamples/include
24784
24785 /usr/openwin/include
24786 /usr/openwin/share/include'
24787
24788 if test "$ac_x_includes" = no; then
24789 # Guess where to find include files, by looking for Xlib.h.
24790 # First, try using that file with no special directory specified.
24791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24792 /* end confdefs.h. */
24793 #include <X11/Xlib.h>
24794 _ACEOF
24795 if ac_fn_c_try_cpp "$LINENO"; then :
24796 # We can compile using X headers with no special include directory.
24797 ac_x_includes=
24798 else
24799 for ac_dir in $ac_x_header_dirs; do
24800 if test -r "$ac_dir/X11/Xlib.h"; then
24801 ac_x_includes=$ac_dir
24802 break
24803 fi
24804 done
24805 fi
24806 rm -f conftest.err conftest.i conftest.$ac_ext
24807 fi # $ac_x_includes = no
24808
24809 if test "$ac_x_libraries" = no; then
24810 # Check for the libraries.
24811 # See if we find them without any special options.
24812 # Don't add to $LIBS permanently.
24813 ac_save_LIBS=$LIBS
24814 LIBS="-lX11 $LIBS"
24815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24816 /* end confdefs.h. */
24817 #include <X11/Xlib.h>
24818 int
24819 main ()
24820 {
24821 XrmInitialize ()
24822 ;
24823 return 0;
24824 }
24825 _ACEOF
24826 if ac_fn_c_try_link "$LINENO"; then :
24827 LIBS=$ac_save_LIBS
24828 # We can link X programs with no special library path.
24829 ac_x_libraries=
24830 else
24831 LIBS=$ac_save_LIBS
24832 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24833 do
24834 # Don't even attempt the hair of trying to link an X program!
24835 for ac_extension in a so sl dylib la dll; do
24836 if test -r "$ac_dir/libX11.$ac_extension"; then
24837 ac_x_libraries=$ac_dir
24838 break 2
24839 fi
24840 done
24841 done
24842 fi
24843 rm -f core conftest.err conftest.$ac_objext \
24844 conftest$ac_exeext conftest.$ac_ext
24845 fi # $ac_x_libraries = no
24846
24847 case $ac_x_includes,$ac_x_libraries in #(
24848 no,* | *,no | *\'*)
24849 # Didn't find X, or a directory has "'" in its name.
24850 ac_cv_have_x="have_x=no";; #(
24851 *)
24852 # Record where we found X for the cache.
24853 ac_cv_have_x="have_x=yes\
24854 ac_x_includes='$ac_x_includes'\
24855 ac_x_libraries='$ac_x_libraries'"
24856 esac
24857 fi
24858 ;; #(
24859 *) have_x=yes;;
24860 esac
24861 eval "$ac_cv_have_x"
24862 fi # $with_x != no
24863
24864 if test "$have_x" != yes; then
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24866 $as_echo "$have_x" >&6; }
24867 no_x=yes
24868 else
24869 # If each of the values was on the command line, it overrides each guess.
24870 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24871 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24872 # Update the cache value to reflect the command line values.
24873 ac_cv_have_x="have_x=yes\
24874 ac_x_includes='$x_includes'\
24875 ac_x_libraries='$x_libraries'"
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24877 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24878 fi
24879
24880 if test "$no_x" = yes; then
24881 # Not all programs may use this symbol, but it does not hurt to define it.
24882
24883 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24884
24885 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24886 else
24887 if test -n "$x_includes"; then
24888 X_CFLAGS="$X_CFLAGS -I$x_includes"
24889 fi
24890
24891 # It would also be nice to do this for all -L options, not just this one.
24892 if test -n "$x_libraries"; then
24893 X_LIBS="$X_LIBS -L$x_libraries"
24894 # For Solaris; some versions of Sun CC require a space after -R and
24895 # others require no space. Words are not sufficient . . . .
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24897 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24898 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24899 ac_xsave_c_werror_flag=$ac_c_werror_flag
24900 ac_c_werror_flag=yes
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h. */
24903
24904 int
24905 main ()
24906 {
24907
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 if ac_fn_c_try_link "$LINENO"; then :
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24914 $as_echo "no" >&6; }
24915 X_LIBS="$X_LIBS -R$x_libraries"
24916 else
24917 LIBS="$ac_xsave_LIBS -R $x_libraries"
24918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24919 /* end confdefs.h. */
24920
24921 int
24922 main ()
24923 {
24924
24925 ;
24926 return 0;
24927 }
24928 _ACEOF
24929 if ac_fn_c_try_link "$LINENO"; then :
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24931 $as_echo "yes" >&6; }
24932 X_LIBS="$X_LIBS -R $x_libraries"
24933 else
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24935 $as_echo "neither works" >&6; }
24936 fi
24937 rm -f core conftest.err conftest.$ac_objext \
24938 conftest$ac_exeext conftest.$ac_ext
24939 fi
24940 rm -f core conftest.err conftest.$ac_objext \
24941 conftest$ac_exeext conftest.$ac_ext
24942 ac_c_werror_flag=$ac_xsave_c_werror_flag
24943 LIBS=$ac_xsave_LIBS
24944 fi
24945
24946 # Check for system-dependent libraries X programs must link with.
24947 # Do this before checking for the system-independent R6 libraries
24948 # (-lICE), since we may need -lsocket or whatever for X linking.
24949
24950 if test "$ISC" = yes; then
24951 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24952 else
24953 # Martyn Johnson says this is needed for Ultrix, if the X
24954 # libraries were built with DECnet support. And Karl Berry says
24955 # the Alpha needs dnet_stub (dnet does not exist).
24956 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959
24960 /* Override any GCC internal prototype to avoid an error.
24961 Use char because int might match the return type of a GCC
24962 builtin and then its argument prototype would still apply. */
24963 #ifdef __cplusplus
24964 extern "C"
24965 #endif
24966 char XOpenDisplay ();
24967 int
24968 main ()
24969 {
24970 return XOpenDisplay ();
24971 ;
24972 return 0;
24973 }
24974 _ACEOF
24975 if ac_fn_c_try_link "$LINENO"; then :
24976
24977 else
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24979 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24980 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24981 $as_echo_n "(cached) " >&6
24982 else
24983 ac_check_lib_save_LIBS=$LIBS
24984 LIBS="-ldnet $LIBS"
24985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24986 /* end confdefs.h. */
24987
24988 /* Override any GCC internal prototype to avoid an error.
24989 Use char because int might match the return type of a GCC
24990 builtin and then its argument prototype would still apply. */
24991 #ifdef __cplusplus
24992 extern "C"
24993 #endif
24994 char dnet_ntoa ();
24995 int
24996 main ()
24997 {
24998 return dnet_ntoa ();
24999 ;
25000 return 0;
25001 }
25002 _ACEOF
25003 if ac_fn_c_try_link "$LINENO"; then :
25004 ac_cv_lib_dnet_dnet_ntoa=yes
25005 else
25006 ac_cv_lib_dnet_dnet_ntoa=no
25007 fi
25008 rm -f core conftest.err conftest.$ac_objext \
25009 conftest$ac_exeext conftest.$ac_ext
25010 LIBS=$ac_check_lib_save_LIBS
25011 fi
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25013 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25014 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25015 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25016 fi
25017
25018 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25020 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25021 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25022 $as_echo_n "(cached) " >&6
25023 else
25024 ac_check_lib_save_LIBS=$LIBS
25025 LIBS="-ldnet_stub $LIBS"
25026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25027 /* end confdefs.h. */
25028
25029 /* Override any GCC internal prototype to avoid an error.
25030 Use char because int might match the return type of a GCC
25031 builtin and then its argument prototype would still apply. */
25032 #ifdef __cplusplus
25033 extern "C"
25034 #endif
25035 char dnet_ntoa ();
25036 int
25037 main ()
25038 {
25039 return dnet_ntoa ();
25040 ;
25041 return 0;
25042 }
25043 _ACEOF
25044 if ac_fn_c_try_link "$LINENO"; then :
25045 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25046 else
25047 ac_cv_lib_dnet_stub_dnet_ntoa=no
25048 fi
25049 rm -f core conftest.err conftest.$ac_objext \
25050 conftest$ac_exeext conftest.$ac_ext
25051 LIBS=$ac_check_lib_save_LIBS
25052 fi
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25054 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25055 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25056 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25057 fi
25058
25059 fi
25060 fi
25061 rm -f core conftest.err conftest.$ac_objext \
25062 conftest$ac_exeext conftest.$ac_ext
25063 LIBS="$ac_xsave_LIBS"
25064
25065 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25066 # to get the SysV transport functions.
25067 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25068 # needs -lnsl.
25069 # The nsl library prevents programs from opening the X display
25070 # on Irix 5.2, according to T.E. Dickey.
25071 # The functions gethostbyname, getservbyname, and inet_addr are
25072 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25073 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25074 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25075
25076 fi
25077
25078 if test $ac_cv_func_gethostbyname = no; then
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25080 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25081 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25084 ac_check_lib_save_LIBS=$LIBS
25085 LIBS="-lnsl $LIBS"
25086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h. */
25088
25089 /* Override any GCC internal prototype to avoid an error.
25090 Use char because int might match the return type of a GCC
25091 builtin and then its argument prototype would still apply. */
25092 #ifdef __cplusplus
25093 extern "C"
25094 #endif
25095 char gethostbyname ();
25096 int
25097 main ()
25098 {
25099 return gethostbyname ();
25100 ;
25101 return 0;
25102 }
25103 _ACEOF
25104 if ac_fn_c_try_link "$LINENO"; then :
25105 ac_cv_lib_nsl_gethostbyname=yes
25106 else
25107 ac_cv_lib_nsl_gethostbyname=no
25108 fi
25109 rm -f core conftest.err conftest.$ac_objext \
25110 conftest$ac_exeext conftest.$ac_ext
25111 LIBS=$ac_check_lib_save_LIBS
25112 fi
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25114 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25115 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25117 fi
25118
25119 if test $ac_cv_lib_nsl_gethostbyname = no; then
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25121 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25122 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25123 $as_echo_n "(cached) " >&6
25124 else
25125 ac_check_lib_save_LIBS=$LIBS
25126 LIBS="-lbsd $LIBS"
25127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25129
25130 /* Override any GCC internal prototype to avoid an error.
25131 Use char because int might match the return type of a GCC
25132 builtin and then its argument prototype would still apply. */
25133 #ifdef __cplusplus
25134 extern "C"
25135 #endif
25136 char gethostbyname ();
25137 int
25138 main ()
25139 {
25140 return gethostbyname ();
25141 ;
25142 return 0;
25143 }
25144 _ACEOF
25145 if ac_fn_c_try_link "$LINENO"; then :
25146 ac_cv_lib_bsd_gethostbyname=yes
25147 else
25148 ac_cv_lib_bsd_gethostbyname=no
25149 fi
25150 rm -f core conftest.err conftest.$ac_objext \
25151 conftest$ac_exeext conftest.$ac_ext
25152 LIBS=$ac_check_lib_save_LIBS
25153 fi
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25155 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25156 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25158 fi
25159
25160 fi
25161 fi
25162
25163 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25164 # socket/setsockopt and other routines are undefined under SCO ODT
25165 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25166 # on later versions), says Simon Leinen: it contains gethostby*
25167 # variants that don't use the name server (or something). -lsocket
25168 # must be given before -lnsl if both are needed. We assume that
25169 # if connect needs -lnsl, so does gethostbyname.
25170 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25171 if test "x$ac_cv_func_connect" = xyes; then :
25172
25173 fi
25174
25175 if test $ac_cv_func_connect = no; then
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25177 $as_echo_n "checking for connect in -lsocket... " >&6; }
25178 if ${ac_cv_lib_socket_connect+:} false; then :
25179 $as_echo_n "(cached) " >&6
25180 else
25181 ac_check_lib_save_LIBS=$LIBS
25182 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25184 /* end confdefs.h. */
25185
25186 /* Override any GCC internal prototype to avoid an error.
25187 Use char because int might match the return type of a GCC
25188 builtin and then its argument prototype would still apply. */
25189 #ifdef __cplusplus
25190 extern "C"
25191 #endif
25192 char connect ();
25193 int
25194 main ()
25195 {
25196 return connect ();
25197 ;
25198 return 0;
25199 }
25200 _ACEOF
25201 if ac_fn_c_try_link "$LINENO"; then :
25202 ac_cv_lib_socket_connect=yes
25203 else
25204 ac_cv_lib_socket_connect=no
25205 fi
25206 rm -f core conftest.err conftest.$ac_objext \
25207 conftest$ac_exeext conftest.$ac_ext
25208 LIBS=$ac_check_lib_save_LIBS
25209 fi
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25211 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25212 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25213 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25214 fi
25215
25216 fi
25217
25218 # Guillermo Gomez says -lposix is necessary on A/UX.
25219 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25220 if test "x$ac_cv_func_remove" = xyes; then :
25221
25222 fi
25223
25224 if test $ac_cv_func_remove = no; then
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25226 $as_echo_n "checking for remove in -lposix... " >&6; }
25227 if ${ac_cv_lib_posix_remove+:} false; then :
25228 $as_echo_n "(cached) " >&6
25229 else
25230 ac_check_lib_save_LIBS=$LIBS
25231 LIBS="-lposix $LIBS"
25232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25233 /* end confdefs.h. */
25234
25235 /* Override any GCC internal prototype to avoid an error.
25236 Use char because int might match the return type of a GCC
25237 builtin and then its argument prototype would still apply. */
25238 #ifdef __cplusplus
25239 extern "C"
25240 #endif
25241 char remove ();
25242 int
25243 main ()
25244 {
25245 return remove ();
25246 ;
25247 return 0;
25248 }
25249 _ACEOF
25250 if ac_fn_c_try_link "$LINENO"; then :
25251 ac_cv_lib_posix_remove=yes
25252 else
25253 ac_cv_lib_posix_remove=no
25254 fi
25255 rm -f core conftest.err conftest.$ac_objext \
25256 conftest$ac_exeext conftest.$ac_ext
25257 LIBS=$ac_check_lib_save_LIBS
25258 fi
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25260 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25261 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25263 fi
25264
25265 fi
25266
25267 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25268 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25269 if test "x$ac_cv_func_shmat" = xyes; then :
25270
25271 fi
25272
25273 if test $ac_cv_func_shmat = no; then
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25275 $as_echo_n "checking for shmat in -lipc... " >&6; }
25276 if ${ac_cv_lib_ipc_shmat+:} false; then :
25277 $as_echo_n "(cached) " >&6
25278 else
25279 ac_check_lib_save_LIBS=$LIBS
25280 LIBS="-lipc $LIBS"
25281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25283
25284 /* Override any GCC internal prototype to avoid an error.
25285 Use char because int might match the return type of a GCC
25286 builtin and then its argument prototype would still apply. */
25287 #ifdef __cplusplus
25288 extern "C"
25289 #endif
25290 char shmat ();
25291 int
25292 main ()
25293 {
25294 return shmat ();
25295 ;
25296 return 0;
25297 }
25298 _ACEOF
25299 if ac_fn_c_try_link "$LINENO"; then :
25300 ac_cv_lib_ipc_shmat=yes
25301 else
25302 ac_cv_lib_ipc_shmat=no
25303 fi
25304 rm -f core conftest.err conftest.$ac_objext \
25305 conftest$ac_exeext conftest.$ac_ext
25306 LIBS=$ac_check_lib_save_LIBS
25307 fi
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25309 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25310 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25311 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25312 fi
25313
25314 fi
25315 fi
25316
25317 # Check for libraries that X11R6 Xt/Xaw programs need.
25318 ac_save_LDFLAGS=$LDFLAGS
25319 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25320 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25321 # check for ICE first), but we must link in the order -lSM -lICE or
25322 # we get undefined symbols. So assume we have SM if we have ICE.
25323 # These have to be linked with before -lX11, unlike the other
25324 # libraries we check for below, so use a different variable.
25325 # John Interrante, Karl Berry
25326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25327 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25328 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25329 $as_echo_n "(cached) " >&6
25330 else
25331 ac_check_lib_save_LIBS=$LIBS
25332 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25334 /* end confdefs.h. */
25335
25336 /* Override any GCC internal prototype to avoid an error.
25337 Use char because int might match the return type of a GCC
25338 builtin and then its argument prototype would still apply. */
25339 #ifdef __cplusplus
25340 extern "C"
25341 #endif
25342 char IceConnectionNumber ();
25343 int
25344 main ()
25345 {
25346 return IceConnectionNumber ();
25347 ;
25348 return 0;
25349 }
25350 _ACEOF
25351 if ac_fn_c_try_link "$LINENO"; then :
25352 ac_cv_lib_ICE_IceConnectionNumber=yes
25353 else
25354 ac_cv_lib_ICE_IceConnectionNumber=no
25355 fi
25356 rm -f core conftest.err conftest.$ac_objext \
25357 conftest$ac_exeext conftest.$ac_ext
25358 LIBS=$ac_check_lib_save_LIBS
25359 fi
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25361 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25362 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25363 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25364 fi
25365
25366 LDFLAGS=$ac_save_LDFLAGS
25367
25368 fi
25369
25370
25371 if test "$no_x" = "yes"; then
25372 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25373 fi
25374
25375 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25376 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25377 AFMINSTALL=afminstall
25378 COMPILED_X_PROGRAM=0
25379
25380 fi
25381
25382 if test "$wxUSE_X11" = 1; then
25383 if test "$wxUSE_NANOX" = "yes"; then
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25385 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25386 if test "x$MICROWIN" = x ; then
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25388 $as_echo "not found" >&6; }
25389 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25390 else
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25392 $as_echo "$MICROWIN" >&6; }
25393 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25394
25395 fi
25396 fi
25397
25398 if test "$wxUSE_UNICODE" = "yes"; then
25399
25400
25401 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25402 if test -n "$ac_tool_prefix"; then
25403 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25404 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25406 $as_echo_n "checking for $ac_word... " >&6; }
25407 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25408 $as_echo_n "(cached) " >&6
25409 else
25410 case $PKG_CONFIG in
25411 [\\/]* | ?:[\\/]*)
25412 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25413 ;;
25414 *)
25415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25416 for as_dir in $PATH
25417 do
25418 IFS=$as_save_IFS
25419 test -z "$as_dir" && as_dir=.
25420 for ac_exec_ext in '' $ac_executable_extensions; do
25421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25422 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25424 break 2
25425 fi
25426 done
25427 done
25428 IFS=$as_save_IFS
25429
25430 ;;
25431 esac
25432 fi
25433 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25434 if test -n "$PKG_CONFIG"; then
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25436 $as_echo "$PKG_CONFIG" >&6; }
25437 else
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25439 $as_echo "no" >&6; }
25440 fi
25441
25442
25443 fi
25444 if test -z "$ac_cv_path_PKG_CONFIG"; then
25445 ac_pt_PKG_CONFIG=$PKG_CONFIG
25446 # Extract the first word of "pkg-config", so it can be a program name with args.
25447 set dummy pkg-config; ac_word=$2
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25449 $as_echo_n "checking for $ac_word... " >&6; }
25450 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25451 $as_echo_n "(cached) " >&6
25452 else
25453 case $ac_pt_PKG_CONFIG in
25454 [\\/]* | ?:[\\/]*)
25455 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25456 ;;
25457 *)
25458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25459 for as_dir in $PATH
25460 do
25461 IFS=$as_save_IFS
25462 test -z "$as_dir" && as_dir=.
25463 for ac_exec_ext in '' $ac_executable_extensions; do
25464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25465 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25467 break 2
25468 fi
25469 done
25470 done
25471 IFS=$as_save_IFS
25472
25473 ;;
25474 esac
25475 fi
25476 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25477 if test -n "$ac_pt_PKG_CONFIG"; then
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25479 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25480 else
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25482 $as_echo "no" >&6; }
25483 fi
25484
25485 if test "x$ac_pt_PKG_CONFIG" = x; then
25486 PKG_CONFIG=""
25487 else
25488 case $cross_compiling:$ac_tool_warned in
25489 yes:)
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25492 ac_tool_warned=yes ;;
25493 esac
25494 PKG_CONFIG=$ac_pt_PKG_CONFIG
25495 fi
25496 else
25497 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25498 fi
25499
25500 fi
25501 if test -n "$PKG_CONFIG"; then
25502 _pkg_min_version=0.9.0
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25504 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25505 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25507 $as_echo "yes" >&6; }
25508 else
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25510 $as_echo "no" >&6; }
25511 PKG_CONFIG=""
25512 fi
25513
25514 fi
25515
25516
25517 pkg_failed=no
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25519 $as_echo_n "checking for PANGOX... " >&6; }
25520
25521 if test -n "$PKG_CONFIG"; then
25522 if test -n "$PANGOX_CFLAGS"; then
25523 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25524 else
25525 if test -n "$PKG_CONFIG" && \
25526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25527 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25528 ac_status=$?
25529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25530 test $ac_status = 0; }; then
25531 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25532 else
25533 pkg_failed=yes
25534 fi
25535 fi
25536 else
25537 pkg_failed=untried
25538 fi
25539 if test -n "$PKG_CONFIG"; then
25540 if test -n "$PANGOX_LIBS"; then
25541 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25542 else
25543 if test -n "$PKG_CONFIG" && \
25544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25545 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25546 ac_status=$?
25547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25548 test $ac_status = 0; }; then
25549 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25550 else
25551 pkg_failed=yes
25552 fi
25553 fi
25554 else
25555 pkg_failed=untried
25556 fi
25557
25558
25559
25560 if test $pkg_failed = yes; then
25561
25562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25563 _pkg_short_errors_supported=yes
25564 else
25565 _pkg_short_errors_supported=no
25566 fi
25567 if test $_pkg_short_errors_supported = yes; then
25568 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25569 else
25570 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25571 fi
25572 # Put the nasty error message in config.log where it belongs
25573 echo "$PANGOX_PKG_ERRORS" >&5
25574
25575
25576 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25577
25578
25579 elif test $pkg_failed = untried; then
25580
25581 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25582
25583
25584 else
25585 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25586 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25588 $as_echo "yes" >&6; }
25589
25590 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25591 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25593
25594 fi
25595
25596 pkg_failed=no
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25598 $as_echo_n "checking for PANGOFT2... " >&6; }
25599
25600 if test -n "$PKG_CONFIG"; then
25601 if test -n "$PANGOFT2_CFLAGS"; then
25602 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25603 else
25604 if test -n "$PKG_CONFIG" && \
25605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25606 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25607 ac_status=$?
25608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25609 test $ac_status = 0; }; then
25610 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25611 else
25612 pkg_failed=yes
25613 fi
25614 fi
25615 else
25616 pkg_failed=untried
25617 fi
25618 if test -n "$PKG_CONFIG"; then
25619 if test -n "$PANGOFT2_LIBS"; then
25620 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25621 else
25622 if test -n "$PKG_CONFIG" && \
25623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25624 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25625 ac_status=$?
25626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25627 test $ac_status = 0; }; then
25628 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25629 else
25630 pkg_failed=yes
25631 fi
25632 fi
25633 else
25634 pkg_failed=untried
25635 fi
25636
25637
25638
25639 if test $pkg_failed = yes; then
25640
25641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25642 _pkg_short_errors_supported=yes
25643 else
25644 _pkg_short_errors_supported=no
25645 fi
25646 if test $_pkg_short_errors_supported = yes; then
25647 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25648 else
25649 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25650 fi
25651 # Put the nasty error message in config.log where it belongs
25652 echo "$PANGOFT2_PKG_ERRORS" >&5
25653
25654
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25656 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25657 wxUSE_PRINTING_ARCHITECTURE="no"
25658
25659
25660 elif test $pkg_failed = untried; then
25661
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25663 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25664 wxUSE_PRINTING_ARCHITECTURE="no"
25665
25666
25667 else
25668 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25669 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25671 $as_echo "yes" >&6; }
25672
25673 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25674 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25675 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25676
25677 fi
25678
25679 pkg_failed=no
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25681 $as_echo_n "checking for PANGOXFT... " >&6; }
25682
25683 if test -n "$PKG_CONFIG"; then
25684 if test -n "$PANGOXFT_CFLAGS"; then
25685 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25686 else
25687 if test -n "$PKG_CONFIG" && \
25688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25689 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25690 ac_status=$?
25691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25692 test $ac_status = 0; }; then
25693 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25694 else
25695 pkg_failed=yes
25696 fi
25697 fi
25698 else
25699 pkg_failed=untried
25700 fi
25701 if test -n "$PKG_CONFIG"; then
25702 if test -n "$PANGOXFT_LIBS"; then
25703 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25704 else
25705 if test -n "$PKG_CONFIG" && \
25706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25707 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25708 ac_status=$?
25709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25710 test $ac_status = 0; }; then
25711 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25712 else
25713 pkg_failed=yes
25714 fi
25715 fi
25716 else
25717 pkg_failed=untried
25718 fi
25719
25720
25721
25722 if test $pkg_failed = yes; then
25723
25724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25725 _pkg_short_errors_supported=yes
25726 else
25727 _pkg_short_errors_supported=no
25728 fi
25729 if test $_pkg_short_errors_supported = yes; then
25730 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25731 else
25732 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25733 fi
25734 # Put the nasty error message in config.log where it belongs
25735 echo "$PANGOXFT_PKG_ERRORS" >&5
25736
25737
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25739 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25740
25741
25742 elif test $pkg_failed = untried; then
25743
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25745 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25746
25747
25748 else
25749 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25750 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25752 $as_echo "yes" >&6; }
25753
25754 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25755
25756 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25757 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25758 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25759
25760 fi
25761 save_LIBS="$LIBS"
25762 LIBS="$LIBS $PANGOX_LIBS"
25763 for ac_func in pango_font_family_is_monospace
25764 do :
25765 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25766 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25767 cat >>confdefs.h <<_ACEOF
25768 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25769 _ACEOF
25770
25771 fi
25772 done
25773
25774 LIBS="$save_LIBS"
25775 fi
25776
25777 wxUSE_UNIVERSAL="yes"
25778
25779 if test "$wxUSE_NANOX" = "yes"; then
25780 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25781 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"
25782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25783 else
25784 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25785 fi
25786
25787 TOOLKIT=X11
25788 GUIDIST=X11_DIST
25789 fi
25790
25791 if test "$wxUSE_MOTIF" = 1; then
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25793 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25794
25795 ac_find_includes=
25796 for ac_dir in $SEARCH_INCLUDE /usr/include
25797 do
25798 if test -f "$ac_dir/Xm/Xm.h"; then
25799 ac_find_includes=$ac_dir
25800 break
25801 fi
25802 done
25803
25804 if test "$ac_find_includes" != "" ; then
25805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25806 $as_echo "found in $ac_find_includes" >&6; }
25807
25808 if test "x$ac_find_includes" = "x/usr/include"; then
25809 ac_path_to_include=""
25810 else
25811 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25812 result=$?
25813 if test $result = 0; then
25814 ac_path_to_include=""
25815 else
25816 ac_path_to_include=" -I$ac_find_includes"
25817 fi
25818 fi
25819
25820 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25821 else
25822 save_CFLAGS=$CFLAGS
25823 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25824
25825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25827
25828 #include <Xm/Xm.h>
25829
25830 int
25831 main ()
25832 {
25833
25834 int version;
25835 version = xmUseVersion;
25836
25837 ;
25838 return 0;
25839 }
25840 _ACEOF
25841 if ac_fn_c_try_compile "$LINENO"; then :
25842
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25844 $as_echo "found in default search path" >&6; }
25845 COMPILED_X_PROGRAM=1
25846
25847 else
25848
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25850 $as_echo "no" >&6; }
25851 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25852
25853
25854 fi
25855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25856
25857 CFLAGS=$save_CFLAGS
25858 fi
25859
25860
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25862 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25863
25864 ac_find_libraries=
25865 for ac_dir in $SEARCH_LIB
25866 do
25867 for ac_extension in a so sl dylib dll.a; do
25868 if test -f "$ac_dir/libXm.$ac_extension"; then
25869 ac_find_libraries=$ac_dir
25870 break 2
25871 fi
25872 done
25873 done
25874
25875
25876 if test "x$ac_find_libraries" != "x" ; then
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25878 $as_echo "found in $ac_find_libraries" >&6; }
25879
25880
25881 if test "$ac_find_libraries" = "default location"; then
25882 ac_path_to_link=""
25883 else
25884 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25885 result=$?
25886 if test $result = 0; then
25887 ac_path_to_link=""
25888 else
25889 ac_path_to_link=" -L$ac_find_libraries"
25890 fi
25891 fi
25892
25893 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25894 else
25895 save_CFLAGS=$CFLAGS
25896 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25897 save_LIBS="$LIBS"
25898 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25899
25900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25901 /* end confdefs.h. */
25902
25903 #include <Xm/Xm.h>
25904
25905 int
25906 main ()
25907 {
25908
25909 int version;
25910 version = xmUseVersion;
25911
25912 ;
25913 return 0;
25914 }
25915 _ACEOF
25916 if ac_fn_c_try_link "$LINENO"; then :
25917
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25919 $as_echo "found in default search path" >&6; }
25920 COMPILED_X_PROGRAM=1
25921
25922 else
25923
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25925 $as_echo "no" >&6; }
25926 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25927
25928
25929 fi
25930 rm -f core conftest.err conftest.$ac_objext \
25931 conftest$ac_exeext conftest.$ac_ext
25932
25933 CFLAGS=$save_CFLAGS
25934 LIBS="$save_LIBS"
25935 fi
25936
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25938 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25939 libp_link=""
25940 libsm_ice_link=""
25941 libs_found=0
25942 for libp in "" " -lXp"; do
25943 if test "$libs_found" = 0; then
25944 for libsm_ice in "" " -lSM -lICE"; do
25945 if test "$libs_found" = 0; then
25946 save_LIBS="$LIBS"
25947 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25948 save_CFLAGS=$CFLAGS
25949 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25950
25951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25952 /* end confdefs.h. */
25953
25954 #include <Xm/Xm.h>
25955 #include <Xm/List.h>
25956
25957 int
25958 main ()
25959 {
25960
25961 XmString string = NULL;
25962 Widget w = NULL;
25963 int position = 0;
25964 XmListAddItem(w, string, position);
25965
25966 ;
25967 return 0;
25968 }
25969 _ACEOF
25970 if ac_fn_c_try_link "$LINENO"; then :
25971
25972 libp_link="$libp"
25973 libsm_ice_link="$libsm_ice"
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25975 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25976 libs_found=1
25977
25978 fi
25979 rm -f core conftest.err conftest.$ac_objext \
25980 conftest$ac_exeext conftest.$ac_ext
25981
25982 LIBS="$save_LIBS"
25983 CFLAGS=$save_CFLAGS
25984 fi
25985 done
25986 fi
25987 done
25988
25989 if test "$libs_found" = 0; then
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25991 $as_echo "can't find the right libraries" >&6; }
25992 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25993 fi
25994
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25996 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25997 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
25998 $as_echo_n "(cached) " >&6
25999 else
26000 ac_check_lib_save_LIBS=$LIBS
26001 LIBS="-lSgm $LIBS"
26002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26003 /* end confdefs.h. */
26004
26005 /* Override any GCC internal prototype to avoid an error.
26006 Use char because int might match the return type of a GCC
26007 builtin and then its argument prototype would still apply. */
26008 #ifdef __cplusplus
26009 extern "C"
26010 #endif
26011 char SgCreateList ();
26012 int
26013 main ()
26014 {
26015 return SgCreateList ();
26016 ;
26017 return 0;
26018 }
26019 _ACEOF
26020 if ac_fn_c_try_link "$LINENO"; then :
26021 ac_cv_lib_Sgm_SgCreateList=yes
26022 else
26023 ac_cv_lib_Sgm_SgCreateList=no
26024 fi
26025 rm -f core conftest.err conftest.$ac_objext \
26026 conftest$ac_exeext conftest.$ac_ext
26027 LIBS=$ac_check_lib_save_LIBS
26028 fi
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26030 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26031 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26032 libsgm_link=" -lSgm"
26033 fi
26034
26035
26036 save_CFLAGS=$CFLAGS
26037 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26038
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26040 $as_echo_n "checking for Motif 2... " >&6; }
26041 if ${wx_cv_lib_motif2+:} false; then :
26042 $as_echo_n "(cached) " >&6
26043 else
26044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26045 /* end confdefs.h. */
26046
26047 #include <Xm/Xm.h>
26048
26049 int
26050 main ()
26051 {
26052
26053 #if XmVersion < 2000
26054 Not Motif 2
26055 #endif
26056
26057 ;
26058 return 0;
26059 }
26060 _ACEOF
26061 if ac_fn_c_try_compile "$LINENO"; then :
26062 wx_cv_lib_motif2="yes"
26063 else
26064 wx_cv_lib_motif2="no"
26065 fi
26066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26067 fi
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26069 $as_echo "$wx_cv_lib_motif2" >&6; }
26070 if test "$wx_cv_lib_motif2" = "yes"; then
26071 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26072
26073 else
26074 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26075
26076 fi
26077
26078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26079 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26080 if ${wx_cv_lib_lesstif+:} false; then :
26081 $as_echo_n "(cached) " >&6
26082 else
26083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26084 /* end confdefs.h. */
26085
26086 #include <Xm/Xm.h>
26087
26088 int
26089 main ()
26090 {
26091
26092 #if !defined(LesstifVersion) || LesstifVersion <= 0
26093 Not Lesstif
26094 #endif
26095
26096 ;
26097 return 0;
26098 }
26099 _ACEOF
26100 if ac_fn_c_try_compile "$LINENO"; then :
26101 wx_cv_lib_lesstif="yes"
26102 else
26103 wx_cv_lib_lesstif="no"
26104 fi
26105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26106
26107 fi
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26109 $as_echo "$wx_cv_lib_lesstif" >&6; }
26110 if test "$wx_cv_lib_lesstif" = "yes"; then
26111 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26112
26113 else
26114 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26115
26116 fi
26117
26118 CFLAGS=$save_CFLAGS
26119
26120 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26121 TOOLKIT=MOTIF
26122 GUIDIST=MOTIF_DIST
26123 fi
26124
26125 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26126 if test "$wxUSE_LIBXPM" = "sys"; then
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26128 $as_echo_n "checking for Xpm library... " >&6; }
26129
26130 ac_find_libraries=
26131 for ac_dir in $SEARCH_LIB
26132 do
26133 for ac_extension in a so sl dylib dll.a; do
26134 if test -f "$ac_dir/libXpm.$ac_extension"; then
26135 ac_find_libraries=$ac_dir
26136 break 2
26137 fi
26138 done
26139 done
26140
26141 if test "$ac_find_libraries" != "" ; then
26142
26143 if test "$ac_find_libraries" = "default location"; then
26144 ac_path_to_link=""
26145 else
26146 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26147 result=$?
26148 if test $result = 0; then
26149 ac_path_to_link=""
26150 else
26151 ac_path_to_link=" -L$ac_find_libraries"
26152 fi
26153 fi
26154
26155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26157 $as_echo "found in $ac_find_libraries" >&6; }
26158
26159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26160 $as_echo_n "checking for X11/xpm.h... " >&6; }
26161 if ${wx_cv_x11_xpm_h+:} false; then :
26162 $as_echo_n "(cached) " >&6
26163 else
26164
26165 save_CFLAGS=$CFLAGS
26166 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26167
26168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h. */
26170
26171 #include <X11/xpm.h>
26172
26173 int
26174 main ()
26175 {
26176
26177 int version;
26178 version = XpmLibraryVersion();
26179
26180 ;
26181 return 0;
26182 }
26183 _ACEOF
26184 if ac_fn_c_try_compile "$LINENO"; then :
26185 wx_cv_x11_xpm_h=yes
26186 else
26187 wx_cv_x11_xpm_h=no
26188
26189 fi
26190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26191
26192 CFLAGS=$save_CFLAGS
26193
26194
26195 fi
26196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26197 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26198
26199 if test $wx_cv_x11_xpm_h = "yes"; then
26200 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26201 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26202
26203 else
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26205 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26206 fi
26207 fi
26208
26209 fi
26210
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26212 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26213 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26214 $as_echo_n "(cached) " >&6
26215 else
26216 ac_check_lib_save_LIBS=$LIBS
26217 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26220
26221 /* Override any GCC internal prototype to avoid an error.
26222 Use char because int might match the return type of a GCC
26223 builtin and then its argument prototype would still apply. */
26224 #ifdef __cplusplus
26225 extern "C"
26226 #endif
26227 char XShapeQueryExtension ();
26228 int
26229 main ()
26230 {
26231 return XShapeQueryExtension ();
26232 ;
26233 return 0;
26234 }
26235 _ACEOF
26236 if ac_fn_c_try_link "$LINENO"; then :
26237 ac_cv_lib_Xext_XShapeQueryExtension=yes
26238 else
26239 ac_cv_lib_Xext_XShapeQueryExtension=no
26240 fi
26241 rm -f core conftest.err conftest.$ac_objext \
26242 conftest$ac_exeext conftest.$ac_ext
26243 LIBS=$ac_check_lib_save_LIBS
26244 fi
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26246 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26247 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26248
26249 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26250 wxHAVE_XEXT_LIB=1
26251
26252 fi
26253
26254
26255 if test "$wxHAVE_XEXT_LIB" = 1; then
26256 save_CFLAGS="$CFLAGS"
26257 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26258
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26260 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26262 /* end confdefs.h. */
26263
26264 #include <X11/Xlib.h>
26265 #include <X11/extensions/shape.h>
26266
26267 int
26268 main ()
26269 {
26270
26271 int dummy1, dummy2;
26272 XShapeQueryExtension((Display*)NULL,
26273 (int*)NULL, (int*)NULL);
26274
26275 ;
26276 return 0;
26277 }
26278 _ACEOF
26279 if ac_fn_c_try_compile "$LINENO"; then :
26280
26281 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26282
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26284 $as_echo "found" >&6; }
26285
26286 else
26287
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26289 $as_echo "not found" >&6; }
26290
26291 fi
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293 CFLAGS="$save_CFLAGS"
26294
26295 fi
26296 fi
26297
26298 if test "$wxUSE_OSX_CARBON" = 1; then
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26300 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26301 if test "$GCC" = yes; then
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26303 $as_echo "gcc" >&6; }
26304 CPPFLAGS_PASCAL="-fpascal-strings"
26305 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26307 $as_echo "xlc" >&6; }
26308 CPPFLAGS_PASCAL="-qmacpstr"
26309 else
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26311 $as_echo "none" >&6; }
26312 fi
26313
26314 if test "x$wxUSE_UNIX" = "xyes"; then
26315 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26316 else
26317 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26318 fi
26319
26320 TOOLKIT=OSX_CARBON
26321 GUIDIST=OSX_CARBON_DIST
26322 WXBASEPORT="_carbon"
26323
26324 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26325 fi
26326
26327 if test "$wxUSE_OSX_COCOA" = 1; then
26328 TOOLKIT=OSX_COCOA
26329 GUIDIST=OSX_COCOA_DIST
26330
26331 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26332 fi
26333
26334 if test "$wxUSE_OSX_IPHONE" = 1; then
26335 TOOLKIT=OSX_IPHONE
26336 fi
26337
26338 if test "$wxUSE_OLD_COCOA" = 1; then
26339 TOOLKIT=COCOA
26340 GUIDIST=COCOA_DIST
26341 fi
26342
26343 if test "$wxUSE_PM" = 1; then
26344 TOOLKIT=PM
26345 GUIDIST=PM_DIST
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26347 $as_echo_n "checking for type SPBCDATA... " >&6; }
26348 if ${wx_cv_spbcdata+:} false; then :
26349 $as_echo_n "(cached) " >&6
26350 else
26351
26352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h. */
26354
26355 #define INCL_PM
26356 #include <os2.h>
26357
26358 int
26359 main ()
26360 {
26361
26362 SPBCDATA test;
26363
26364 ;
26365 return 0;
26366 }
26367 _ACEOF
26368 if ac_fn_c_try_compile "$LINENO"; then :
26369 wx_cv_spbcdata=yes
26370 else
26371 wx_cv_spbcdata=no
26372
26373 fi
26374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26375
26376
26377 fi
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26379 $as_echo "$wx_cv_spbcdata" >&6; }
26380
26381 if test $wx_cv_spbcdata = "yes"; then
26382 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26383
26384 fi
26385 fi
26386
26387 if test "$TOOLKIT" = "PM" ; then
26388 TOOLKIT_DIR="os2"
26389 else
26390 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26391 fi
26392
26393 if test "$wxUSE_UNIVERSAL" = "yes"; then
26394 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26395 WIDGET_SET=univ
26396 fi
26397
26398 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26399 DISTDIR="wx\$(TOOLKIT)"
26400 else
26401 USE_GUI=0
26402
26403 TOOLKIT_DIR="base"
26404
26405 if test "$USE_WIN32" = 1 ; then
26406 TOOLKIT="MSW"
26407 fi
26408
26409 GUIDIST="BASE_DIST"
26410 DISTDIR="wxBase"
26411 fi
26412
26413
26414
26415 if test "$wxUSE_GUI" = "yes"; then
26416 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26417 for ac_header in X11/Xlib.h
26418 do :
26419 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26420 "
26421 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26422 cat >>confdefs.h <<_ACEOF
26423 #define HAVE_X11_XLIB_H 1
26424 _ACEOF
26425
26426 fi
26427
26428 done
26429
26430 for ac_header in X11/XKBlib.h
26431 do :
26432 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26433 #if HAVE_X11_XLIB_H
26434 #include <X11/Xlib.h>
26435 #endif
26436
26437 "
26438 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26439 cat >>confdefs.h <<_ACEOF
26440 #define HAVE_X11_XKBLIB_H 1
26441 _ACEOF
26442
26443 fi
26444
26445 done
26446
26447 fi
26448 fi
26449
26450
26451
26452 USE_XINERAMA=0
26453 if test "$wxUSE_DISPLAY" = "yes"; then
26454 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26455
26456 ac_find_libraries=
26457
26458 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26459
26460
26461 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26462 if test -n "$ac_tool_prefix"; then
26463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26466 $as_echo_n "checking for $ac_word... " >&6; }
26467 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26468 $as_echo_n "(cached) " >&6
26469 else
26470 case $PKG_CONFIG in
26471 [\\/]* | ?:[\\/]*)
26472 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26473 ;;
26474 *)
26475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26476 for as_dir in $PATH
26477 do
26478 IFS=$as_save_IFS
26479 test -z "$as_dir" && as_dir=.
26480 for ac_exec_ext in '' $ac_executable_extensions; do
26481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26482 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26484 break 2
26485 fi
26486 done
26487 done
26488 IFS=$as_save_IFS
26489
26490 ;;
26491 esac
26492 fi
26493 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26494 if test -n "$PKG_CONFIG"; then
26495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26496 $as_echo "$PKG_CONFIG" >&6; }
26497 else
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26499 $as_echo "no" >&6; }
26500 fi
26501
26502
26503 fi
26504 if test -z "$ac_cv_path_PKG_CONFIG"; then
26505 ac_pt_PKG_CONFIG=$PKG_CONFIG
26506 # Extract the first word of "pkg-config", so it can be a program name with args.
26507 set dummy pkg-config; ac_word=$2
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26509 $as_echo_n "checking for $ac_word... " >&6; }
26510 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26511 $as_echo_n "(cached) " >&6
26512 else
26513 case $ac_pt_PKG_CONFIG in
26514 [\\/]* | ?:[\\/]*)
26515 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26516 ;;
26517 *)
26518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26519 for as_dir in $PATH
26520 do
26521 IFS=$as_save_IFS
26522 test -z "$as_dir" && as_dir=.
26523 for ac_exec_ext in '' $ac_executable_extensions; do
26524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26525 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26527 break 2
26528 fi
26529 done
26530 done
26531 IFS=$as_save_IFS
26532
26533 ;;
26534 esac
26535 fi
26536 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26537 if test -n "$ac_pt_PKG_CONFIG"; then
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26539 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26540 else
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26542 $as_echo "no" >&6; }
26543 fi
26544
26545 if test "x$ac_pt_PKG_CONFIG" = x; then
26546 PKG_CONFIG=""
26547 else
26548 case $cross_compiling:$ac_tool_warned in
26549 yes:)
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26552 ac_tool_warned=yes ;;
26553 esac
26554 PKG_CONFIG=$ac_pt_PKG_CONFIG
26555 fi
26556 else
26557 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26558 fi
26559
26560 fi
26561 if test -n "$PKG_CONFIG"; then
26562 _pkg_min_version=0.9.0
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26564 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26565 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26567 $as_echo "yes" >&6; }
26568 else
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26570 $as_echo "no" >&6; }
26571 PKG_CONFIG=""
26572 fi
26573
26574 fi 6> /dev/null
26575
26576 pkg_failed=no
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26578 $as_echo_n "checking for Xinerama... " >&6; }
26579
26580 if test -n "$PKG_CONFIG"; then
26581 if test -n "$Xinerama_CFLAGS"; then
26582 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26583 else
26584 if test -n "$PKG_CONFIG" && \
26585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26586 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26587 ac_status=$?
26588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26589 test $ac_status = 0; }; then
26590 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26591 else
26592 pkg_failed=yes
26593 fi
26594 fi
26595 else
26596 pkg_failed=untried
26597 fi
26598 if test -n "$PKG_CONFIG"; then
26599 if test -n "$Xinerama_LIBS"; then
26600 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26601 else
26602 if test -n "$PKG_CONFIG" && \
26603 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26604 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26605 ac_status=$?
26606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26607 test $ac_status = 0; }; then
26608 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26609 else
26610 pkg_failed=yes
26611 fi
26612 fi
26613 else
26614 pkg_failed=untried
26615 fi
26616
26617
26618
26619 if test $pkg_failed = yes; then
26620
26621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26622 _pkg_short_errors_supported=yes
26623 else
26624 _pkg_short_errors_supported=no
26625 fi
26626 if test $_pkg_short_errors_supported = yes; then
26627 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26628 else
26629 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26630 fi
26631 # Put the nasty error message in config.log where it belongs
26632 echo "$Xinerama_PKG_ERRORS" >&5
26633
26634
26635 if test "x$ac_find_libraries" = "x"; then
26636 if test "xXineramaQueryScreens" != "x"; then
26637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26638 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26639 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26640 $as_echo_n "(cached) " >&6
26641 else
26642 ac_check_lib_save_LIBS=$LIBS
26643 LIBS="-lXinerama $LIBS"
26644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26645 /* end confdefs.h. */
26646
26647 /* Override any GCC internal prototype to avoid an error.
26648 Use char because int might match the return type of a GCC
26649 builtin and then its argument prototype would still apply. */
26650 #ifdef __cplusplus
26651 extern "C"
26652 #endif
26653 char XineramaQueryScreens ();
26654 int
26655 main ()
26656 {
26657 return XineramaQueryScreens ();
26658 ;
26659 return 0;
26660 }
26661 _ACEOF
26662 if ac_fn_c_try_link "$LINENO"; then :
26663 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26664 else
26665 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26666 fi
26667 rm -f core conftest.err conftest.$ac_objext \
26668 conftest$ac_exeext conftest.$ac_ext
26669 LIBS=$ac_check_lib_save_LIBS
26670 fi
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26672 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26673 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26674 ac_find_libraries="std"
26675 fi
26676
26677 fi
26678 fi
26679
26680 if test "x$ac_find_libraries" = "x"; then
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26682 $as_echo_n "checking elsewhere... " >&6; }
26683
26684 ac_find_libraries=
26685 for ac_dir in $SEARCH_LIB
26686 do
26687 for ac_extension in a so sl dylib dll.a; do
26688 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26689 ac_find_libraries=$ac_dir
26690 break 2
26691 fi
26692 done
26693 done
26694
26695 if test "x$ac_find_libraries" != "x"; then
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26697 $as_echo "yes" >&6; }
26698 else
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26700 $as_echo "no" >&6; }
26701 fi
26702 fi
26703
26704 elif test $pkg_failed = untried; then
26705
26706 if test "x$ac_find_libraries" = "x"; then
26707 if test "xXineramaQueryScreens" != "x"; then
26708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26709 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26710 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26711 $as_echo_n "(cached) " >&6
26712 else
26713 ac_check_lib_save_LIBS=$LIBS
26714 LIBS="-lXinerama $LIBS"
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26717
26718 /* Override any GCC internal prototype to avoid an error.
26719 Use char because int might match the return type of a GCC
26720 builtin and then its argument prototype would still apply. */
26721 #ifdef __cplusplus
26722 extern "C"
26723 #endif
26724 char XineramaQueryScreens ();
26725 int
26726 main ()
26727 {
26728 return XineramaQueryScreens ();
26729 ;
26730 return 0;
26731 }
26732 _ACEOF
26733 if ac_fn_c_try_link "$LINENO"; then :
26734 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26735 else
26736 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26737 fi
26738 rm -f core conftest.err conftest.$ac_objext \
26739 conftest$ac_exeext conftest.$ac_ext
26740 LIBS=$ac_check_lib_save_LIBS
26741 fi
26742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26743 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26744 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26745 ac_find_libraries="std"
26746 fi
26747
26748 fi
26749 fi
26750
26751 if test "x$ac_find_libraries" = "x"; then
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26753 $as_echo_n "checking elsewhere... " >&6; }
26754
26755 ac_find_libraries=
26756 for ac_dir in $SEARCH_LIB
26757 do
26758 for ac_extension in a so sl dylib dll.a; do
26759 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26760 ac_find_libraries=$ac_dir
26761 break 2
26762 fi
26763 done
26764 done
26765
26766 if test "x$ac_find_libraries" != "x"; then
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26768 $as_echo "yes" >&6; }
26769 else
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26771 $as_echo "no" >&6; }
26772 fi
26773 fi
26774
26775 else
26776 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26777 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26779 $as_echo "yes" >&6; }
26780
26781 ac_find_libraries="std"
26782
26783 eval ac_find_cflags=\$Xinerama_CFLAGS
26784 eval fl_libs=\$Xinerama_LIBS
26785
26786 for fl_path in $fl_libs
26787 do
26788 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26789 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26790 fi
26791 done
26792
26793 fi
26794
26795 if test "$ac_find_libraries" != "" ; then
26796 if test "$ac_find_libraries" != "std" ; then
26797
26798 if test "$ac_find_libraries" = "default location"; then
26799 ac_path_to_link=""
26800 else
26801 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26802 result=$?
26803 if test $result = 0; then
26804 ac_path_to_link=""
26805 else
26806 ac_path_to_link=" -L$ac_find_libraries"
26807 fi
26808 fi
26809
26810 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26811 LDFLAGS="$LDFLAGS $ac_path_to_link"
26812 fi
26813 fi
26814 USE_XINERAMA=1
26815 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26816 else
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26818 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26819 wxUSE_DISPLAY="no"
26820 fi
26821 elif test "$wxUSE_MSW" = 1; then
26822 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26823 "
26824 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26825
26826 fi
26827
26828
26829 fi
26830 fi
26831
26832 if test "$wxUSE_DISPLAY" = "yes"; then
26833 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26834
26835 ac_find_libraries=
26836
26837 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26838
26839
26840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26841 if test -n "$ac_tool_prefix"; then
26842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26845 $as_echo_n "checking for $ac_word... " >&6; }
26846 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26847 $as_echo_n "(cached) " >&6
26848 else
26849 case $PKG_CONFIG in
26850 [\\/]* | ?:[\\/]*)
26851 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26852 ;;
26853 *)
26854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26855 for as_dir in $PATH
26856 do
26857 IFS=$as_save_IFS
26858 test -z "$as_dir" && as_dir=.
26859 for ac_exec_ext in '' $ac_executable_extensions; do
26860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26861 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26863 break 2
26864 fi
26865 done
26866 done
26867 IFS=$as_save_IFS
26868
26869 ;;
26870 esac
26871 fi
26872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26873 if test -n "$PKG_CONFIG"; then
26874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26875 $as_echo "$PKG_CONFIG" >&6; }
26876 else
26877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26878 $as_echo "no" >&6; }
26879 fi
26880
26881
26882 fi
26883 if test -z "$ac_cv_path_PKG_CONFIG"; then
26884 ac_pt_PKG_CONFIG=$PKG_CONFIG
26885 # Extract the first word of "pkg-config", so it can be a program name with args.
26886 set dummy pkg-config; ac_word=$2
26887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26888 $as_echo_n "checking for $ac_word... " >&6; }
26889 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26890 $as_echo_n "(cached) " >&6
26891 else
26892 case $ac_pt_PKG_CONFIG in
26893 [\\/]* | ?:[\\/]*)
26894 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26895 ;;
26896 *)
26897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26898 for as_dir in $PATH
26899 do
26900 IFS=$as_save_IFS
26901 test -z "$as_dir" && as_dir=.
26902 for ac_exec_ext in '' $ac_executable_extensions; do
26903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26904 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26906 break 2
26907 fi
26908 done
26909 done
26910 IFS=$as_save_IFS
26911
26912 ;;
26913 esac
26914 fi
26915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26916 if test -n "$ac_pt_PKG_CONFIG"; then
26917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26919 else
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26921 $as_echo "no" >&6; }
26922 fi
26923
26924 if test "x$ac_pt_PKG_CONFIG" = x; then
26925 PKG_CONFIG=""
26926 else
26927 case $cross_compiling:$ac_tool_warned in
26928 yes:)
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26931 ac_tool_warned=yes ;;
26932 esac
26933 PKG_CONFIG=$ac_pt_PKG_CONFIG
26934 fi
26935 else
26936 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26937 fi
26938
26939 fi
26940 if test -n "$PKG_CONFIG"; then
26941 _pkg_min_version=0.9.0
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26943 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26944 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26946 $as_echo "yes" >&6; }
26947 else
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26949 $as_echo "no" >&6; }
26950 PKG_CONFIG=""
26951 fi
26952
26953 fi 6> /dev/null
26954
26955 pkg_failed=no
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26957 $as_echo_n "checking for Xxf86vm... " >&6; }
26958
26959 if test -n "$PKG_CONFIG"; then
26960 if test -n "$Xxf86vm_CFLAGS"; then
26961 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26962 else
26963 if test -n "$PKG_CONFIG" && \
26964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26965 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26966 ac_status=$?
26967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26968 test $ac_status = 0; }; then
26969 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26970 else
26971 pkg_failed=yes
26972 fi
26973 fi
26974 else
26975 pkg_failed=untried
26976 fi
26977 if test -n "$PKG_CONFIG"; then
26978 if test -n "$Xxf86vm_LIBS"; then
26979 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26980 else
26981 if test -n "$PKG_CONFIG" && \
26982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26983 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26984 ac_status=$?
26985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26986 test $ac_status = 0; }; then
26987 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26988 else
26989 pkg_failed=yes
26990 fi
26991 fi
26992 else
26993 pkg_failed=untried
26994 fi
26995
26996
26997
26998 if test $pkg_failed = yes; then
26999
27000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27001 _pkg_short_errors_supported=yes
27002 else
27003 _pkg_short_errors_supported=no
27004 fi
27005 if test $_pkg_short_errors_supported = yes; then
27006 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27007 else
27008 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27009 fi
27010 # Put the nasty error message in config.log where it belongs
27011 echo "$Xxf86vm_PKG_ERRORS" >&5
27012
27013
27014 if test "x$ac_find_libraries" = "x"; then
27015 if test "xXF86VidModeQueryExtension" != "x"; then
27016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27017 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27018 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27019 $as_echo_n "(cached) " >&6
27020 else
27021 ac_check_lib_save_LIBS=$LIBS
27022 LIBS="-lXxf86vm $LIBS"
27023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27024 /* end confdefs.h. */
27025
27026 /* Override any GCC internal prototype to avoid an error.
27027 Use char because int might match the return type of a GCC
27028 builtin and then its argument prototype would still apply. */
27029 #ifdef __cplusplus
27030 extern "C"
27031 #endif
27032 char XF86VidModeQueryExtension ();
27033 int
27034 main ()
27035 {
27036 return XF86VidModeQueryExtension ();
27037 ;
27038 return 0;
27039 }
27040 _ACEOF
27041 if ac_fn_c_try_link "$LINENO"; then :
27042 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27043 else
27044 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27045 fi
27046 rm -f core conftest.err conftest.$ac_objext \
27047 conftest$ac_exeext conftest.$ac_ext
27048 LIBS=$ac_check_lib_save_LIBS
27049 fi
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27051 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27052 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27053 ac_find_libraries="std"
27054 fi
27055
27056 fi
27057 fi
27058
27059 if test "x$ac_find_libraries" = "x"; then
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27061 $as_echo_n "checking elsewhere... " >&6; }
27062
27063 ac_find_libraries=
27064 for ac_dir in $SEARCH_LIB
27065 do
27066 for ac_extension in a so sl dylib dll.a; do
27067 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27068 ac_find_libraries=$ac_dir
27069 break 2
27070 fi
27071 done
27072 done
27073
27074 if test "x$ac_find_libraries" != "x"; then
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27076 $as_echo "yes" >&6; }
27077 else
27078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27079 $as_echo "no" >&6; }
27080 fi
27081 fi
27082
27083 elif test $pkg_failed = untried; then
27084
27085 if test "x$ac_find_libraries" = "x"; then
27086 if test "xXF86VidModeQueryExtension" != "x"; then
27087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27088 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27089 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27090 $as_echo_n "(cached) " >&6
27091 else
27092 ac_check_lib_save_LIBS=$LIBS
27093 LIBS="-lXxf86vm $LIBS"
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27096
27097 /* Override any GCC internal prototype to avoid an error.
27098 Use char because int might match the return type of a GCC
27099 builtin and then its argument prototype would still apply. */
27100 #ifdef __cplusplus
27101 extern "C"
27102 #endif
27103 char XF86VidModeQueryExtension ();
27104 int
27105 main ()
27106 {
27107 return XF86VidModeQueryExtension ();
27108 ;
27109 return 0;
27110 }
27111 _ACEOF
27112 if ac_fn_c_try_link "$LINENO"; then :
27113 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27114 else
27115 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27116 fi
27117 rm -f core conftest.err conftest.$ac_objext \
27118 conftest$ac_exeext conftest.$ac_ext
27119 LIBS=$ac_check_lib_save_LIBS
27120 fi
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27122 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27123 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27124 ac_find_libraries="std"
27125 fi
27126
27127 fi
27128 fi
27129
27130 if test "x$ac_find_libraries" = "x"; then
27131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27132 $as_echo_n "checking elsewhere... " >&6; }
27133
27134 ac_find_libraries=
27135 for ac_dir in $SEARCH_LIB
27136 do
27137 for ac_extension in a so sl dylib dll.a; do
27138 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27139 ac_find_libraries=$ac_dir
27140 break 2
27141 fi
27142 done
27143 done
27144
27145 if test "x$ac_find_libraries" != "x"; then
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27147 $as_echo "yes" >&6; }
27148 else
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27150 $as_echo "no" >&6; }
27151 fi
27152 fi
27153
27154 else
27155 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27156 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27158 $as_echo "yes" >&6; }
27159
27160 ac_find_libraries="std"
27161
27162 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27163 eval fl_libs=\$Xxf86vm_LIBS
27164
27165 for fl_path in $fl_libs
27166 do
27167 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27168 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27169 fi
27170 done
27171
27172 fi
27173
27174 if test "$ac_find_libraries" != "" ; then
27175 for ac_header in X11/extensions/xf86vmode.h
27176 do :
27177 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27178 #if HAVE_X11_XLIB_H
27179 #include <X11/Xlib.h>
27180 #endif
27181
27182 "
27183 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27184 cat >>confdefs.h <<_ACEOF
27185 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27186 _ACEOF
27187
27188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27189
27190 fi
27191
27192 done
27193
27194 fi
27195 fi
27196 fi
27197
27198 if test "$wxUSE_DETECT_SM" = "yes"; then
27199 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27200
27201 ac_find_libraries=
27202
27203 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27204
27205
27206 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27207 if test -n "$ac_tool_prefix"; then
27208 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27209 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27211 $as_echo_n "checking for $ac_word... " >&6; }
27212 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27213 $as_echo_n "(cached) " >&6
27214 else
27215 case $PKG_CONFIG in
27216 [\\/]* | ?:[\\/]*)
27217 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27218 ;;
27219 *)
27220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27221 for as_dir in $PATH
27222 do
27223 IFS=$as_save_IFS
27224 test -z "$as_dir" && as_dir=.
27225 for ac_exec_ext in '' $ac_executable_extensions; do
27226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27227 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27229 break 2
27230 fi
27231 done
27232 done
27233 IFS=$as_save_IFS
27234
27235 ;;
27236 esac
27237 fi
27238 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27239 if test -n "$PKG_CONFIG"; then
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27241 $as_echo "$PKG_CONFIG" >&6; }
27242 else
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27244 $as_echo "no" >&6; }
27245 fi
27246
27247
27248 fi
27249 if test -z "$ac_cv_path_PKG_CONFIG"; then
27250 ac_pt_PKG_CONFIG=$PKG_CONFIG
27251 # Extract the first word of "pkg-config", so it can be a program name with args.
27252 set dummy pkg-config; ac_word=$2
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27254 $as_echo_n "checking for $ac_word... " >&6; }
27255 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27256 $as_echo_n "(cached) " >&6
27257 else
27258 case $ac_pt_PKG_CONFIG in
27259 [\\/]* | ?:[\\/]*)
27260 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27261 ;;
27262 *)
27263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27264 for as_dir in $PATH
27265 do
27266 IFS=$as_save_IFS
27267 test -z "$as_dir" && as_dir=.
27268 for ac_exec_ext in '' $ac_executable_extensions; do
27269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27270 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27272 break 2
27273 fi
27274 done
27275 done
27276 IFS=$as_save_IFS
27277
27278 ;;
27279 esac
27280 fi
27281 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27282 if test -n "$ac_pt_PKG_CONFIG"; then
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27284 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27285 else
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27287 $as_echo "no" >&6; }
27288 fi
27289
27290 if test "x$ac_pt_PKG_CONFIG" = x; then
27291 PKG_CONFIG=""
27292 else
27293 case $cross_compiling:$ac_tool_warned in
27294 yes:)
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27297 ac_tool_warned=yes ;;
27298 esac
27299 PKG_CONFIG=$ac_pt_PKG_CONFIG
27300 fi
27301 else
27302 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27303 fi
27304
27305 fi
27306 if test -n "$PKG_CONFIG"; then
27307 _pkg_min_version=0.9.0
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27309 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27310 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27312 $as_echo "yes" >&6; }
27313 else
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27315 $as_echo "no" >&6; }
27316 PKG_CONFIG=""
27317 fi
27318
27319 fi 6> /dev/null
27320
27321 pkg_failed=no
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27323 $as_echo_n "checking for SM... " >&6; }
27324
27325 if test -n "$PKG_CONFIG"; then
27326 if test -n "$SM_CFLAGS"; then
27327 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27328 else
27329 if test -n "$PKG_CONFIG" && \
27330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27331 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27332 ac_status=$?
27333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27334 test $ac_status = 0; }; then
27335 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27336 else
27337 pkg_failed=yes
27338 fi
27339 fi
27340 else
27341 pkg_failed=untried
27342 fi
27343 if test -n "$PKG_CONFIG"; then
27344 if test -n "$SM_LIBS"; then
27345 pkg_cv_SM_LIBS="$SM_LIBS"
27346 else
27347 if test -n "$PKG_CONFIG" && \
27348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27349 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27350 ac_status=$?
27351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27352 test $ac_status = 0; }; then
27353 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27354 else
27355 pkg_failed=yes
27356 fi
27357 fi
27358 else
27359 pkg_failed=untried
27360 fi
27361
27362
27363
27364 if test $pkg_failed = yes; then
27365
27366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27367 _pkg_short_errors_supported=yes
27368 else
27369 _pkg_short_errors_supported=no
27370 fi
27371 if test $_pkg_short_errors_supported = yes; then
27372 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27373 else
27374 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27375 fi
27376 # Put the nasty error message in config.log where it belongs
27377 echo "$SM_PKG_ERRORS" >&5
27378
27379
27380 if test "x$ac_find_libraries" = "x"; then
27381 if test "xSmcOpenConnection" != "x"; then
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27383 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27384 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27385 $as_echo_n "(cached) " >&6
27386 else
27387 ac_check_lib_save_LIBS=$LIBS
27388 LIBS="-lSM $LIBS"
27389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27390 /* end confdefs.h. */
27391
27392 /* Override any GCC internal prototype to avoid an error.
27393 Use char because int might match the return type of a GCC
27394 builtin and then its argument prototype would still apply. */
27395 #ifdef __cplusplus
27396 extern "C"
27397 #endif
27398 char SmcOpenConnection ();
27399 int
27400 main ()
27401 {
27402 return SmcOpenConnection ();
27403 ;
27404 return 0;
27405 }
27406 _ACEOF
27407 if ac_fn_c_try_link "$LINENO"; then :
27408 ac_cv_lib_SM_SmcOpenConnection=yes
27409 else
27410 ac_cv_lib_SM_SmcOpenConnection=no
27411 fi
27412 rm -f core conftest.err conftest.$ac_objext \
27413 conftest$ac_exeext conftest.$ac_ext
27414 LIBS=$ac_check_lib_save_LIBS
27415 fi
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27417 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27418 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27419 ac_find_libraries="std"
27420 fi
27421
27422 fi
27423 fi
27424
27425 if test "x$ac_find_libraries" = "x"; then
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27427 $as_echo_n "checking elsewhere... " >&6; }
27428
27429 ac_find_libraries=
27430 for ac_dir in $SEARCH_LIB
27431 do
27432 for ac_extension in a so sl dylib dll.a; do
27433 if test -f "$ac_dir/libSM.$ac_extension"; then
27434 ac_find_libraries=$ac_dir
27435 break 2
27436 fi
27437 done
27438 done
27439
27440 if test "x$ac_find_libraries" != "x"; then
27441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27442 $as_echo "yes" >&6; }
27443 else
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27445 $as_echo "no" >&6; }
27446 fi
27447 fi
27448
27449 elif test $pkg_failed = untried; then
27450
27451 if test "x$ac_find_libraries" = "x"; then
27452 if test "xSmcOpenConnection" != "x"; then
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27454 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27455 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27456 $as_echo_n "(cached) " >&6
27457 else
27458 ac_check_lib_save_LIBS=$LIBS
27459 LIBS="-lSM $LIBS"
27460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27461 /* end confdefs.h. */
27462
27463 /* Override any GCC internal prototype to avoid an error.
27464 Use char because int might match the return type of a GCC
27465 builtin and then its argument prototype would still apply. */
27466 #ifdef __cplusplus
27467 extern "C"
27468 #endif
27469 char SmcOpenConnection ();
27470 int
27471 main ()
27472 {
27473 return SmcOpenConnection ();
27474 ;
27475 return 0;
27476 }
27477 _ACEOF
27478 if ac_fn_c_try_link "$LINENO"; then :
27479 ac_cv_lib_SM_SmcOpenConnection=yes
27480 else
27481 ac_cv_lib_SM_SmcOpenConnection=no
27482 fi
27483 rm -f core conftest.err conftest.$ac_objext \
27484 conftest$ac_exeext conftest.$ac_ext
27485 LIBS=$ac_check_lib_save_LIBS
27486 fi
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27488 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27489 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27490 ac_find_libraries="std"
27491 fi
27492
27493 fi
27494 fi
27495
27496 if test "x$ac_find_libraries" = "x"; then
27497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27498 $as_echo_n "checking elsewhere... " >&6; }
27499
27500 ac_find_libraries=
27501 for ac_dir in $SEARCH_LIB
27502 do
27503 for ac_extension in a so sl dylib dll.a; do
27504 if test -f "$ac_dir/libSM.$ac_extension"; then
27505 ac_find_libraries=$ac_dir
27506 break 2
27507 fi
27508 done
27509 done
27510
27511 if test "x$ac_find_libraries" != "x"; then
27512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27513 $as_echo "yes" >&6; }
27514 else
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27516 $as_echo "no" >&6; }
27517 fi
27518 fi
27519
27520 else
27521 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27522 SM_LIBS=$pkg_cv_SM_LIBS
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27524 $as_echo "yes" >&6; }
27525
27526 ac_find_libraries="std"
27527
27528 eval ac_find_cflags=\$SM_CFLAGS
27529 eval fl_libs=\$SM_LIBS
27530
27531 for fl_path in $fl_libs
27532 do
27533 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27534 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27535 fi
27536 done
27537
27538 fi
27539
27540 if test "$ac_find_libraries" != "" ; then
27541 if test "$ac_find_libraries" != "std" ; then
27542
27543 if test "$ac_find_libraries" = "default location"; then
27544 ac_path_to_link=""
27545 else
27546 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27547 result=$?
27548 if test $result = 0; then
27549 ac_path_to_link=""
27550 else
27551 ac_path_to_link=" -L$ac_find_libraries"
27552 fi
27553 fi
27554
27555 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27556 LDFLAGS="$LDFLAGS $ac_path_to_link"
27557 fi
27558 fi
27559 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27560 else
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27562 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27563 wxUSE_DETECT_SM="no"
27564 fi
27565 else
27566 wxUSE_DETECT_SM="no"
27567 fi
27568 fi
27569
27570
27571
27572 USE_OPENGL=0
27573 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27574
27575
27576 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27577 OPENGL_LIBS="-framework OpenGL -framework AGL"
27578 elif test "$wxUSE_MSW" = 1; then
27579 OPENGL_LIBS="-lopengl32 -lglu32"
27580 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27581
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27583 $as_echo_n "checking for OpenGL headers... " >&6; }
27584
27585 ac_find_includes=
27586 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27587 do
27588 if test -f "$ac_dir/GL/gl.h"; then
27589 ac_find_includes=$ac_dir
27590 break
27591 fi
27592 done
27593
27594 if test "$ac_find_includes" != "" ; then
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27596 $as_echo "found in $ac_find_includes" >&6; }
27597
27598 if test "x$ac_find_includes" = "x/usr/include"; then
27599 ac_path_to_include=""
27600 else
27601 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27602 result=$?
27603 if test $result = 0; then
27604 ac_path_to_include=""
27605 else
27606 ac_path_to_include=" -I$ac_find_includes"
27607 fi
27608 fi
27609
27610 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27611 else
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27613 $as_echo "not found" >&6; }
27614 fi
27615
27616 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27617 "
27618 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27619
27620 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27621 "
27622 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27623
27624 found_gl=0
27625
27626
27627 ac_find_libraries=
27628
27629 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27630
27631
27632 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27633 if test -n "$ac_tool_prefix"; then
27634 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27635 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27637 $as_echo_n "checking for $ac_word... " >&6; }
27638 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27639 $as_echo_n "(cached) " >&6
27640 else
27641 case $PKG_CONFIG in
27642 [\\/]* | ?:[\\/]*)
27643 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27644 ;;
27645 *)
27646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27647 for as_dir in $PATH
27648 do
27649 IFS=$as_save_IFS
27650 test -z "$as_dir" && as_dir=.
27651 for ac_exec_ext in '' $ac_executable_extensions; do
27652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27653 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27655 break 2
27656 fi
27657 done
27658 done
27659 IFS=$as_save_IFS
27660
27661 ;;
27662 esac
27663 fi
27664 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27665 if test -n "$PKG_CONFIG"; then
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27667 $as_echo "$PKG_CONFIG" >&6; }
27668 else
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27670 $as_echo "no" >&6; }
27671 fi
27672
27673
27674 fi
27675 if test -z "$ac_cv_path_PKG_CONFIG"; then
27676 ac_pt_PKG_CONFIG=$PKG_CONFIG
27677 # Extract the first word of "pkg-config", so it can be a program name with args.
27678 set dummy pkg-config; ac_word=$2
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27680 $as_echo_n "checking for $ac_word... " >&6; }
27681 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27682 $as_echo_n "(cached) " >&6
27683 else
27684 case $ac_pt_PKG_CONFIG in
27685 [\\/]* | ?:[\\/]*)
27686 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27687 ;;
27688 *)
27689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27690 for as_dir in $PATH
27691 do
27692 IFS=$as_save_IFS
27693 test -z "$as_dir" && as_dir=.
27694 for ac_exec_ext in '' $ac_executable_extensions; do
27695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27696 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27698 break 2
27699 fi
27700 done
27701 done
27702 IFS=$as_save_IFS
27703
27704 ;;
27705 esac
27706 fi
27707 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27708 if test -n "$ac_pt_PKG_CONFIG"; then
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27710 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27711 else
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27713 $as_echo "no" >&6; }
27714 fi
27715
27716 if test "x$ac_pt_PKG_CONFIG" = x; then
27717 PKG_CONFIG=""
27718 else
27719 case $cross_compiling:$ac_tool_warned in
27720 yes:)
27721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27723 ac_tool_warned=yes ;;
27724 esac
27725 PKG_CONFIG=$ac_pt_PKG_CONFIG
27726 fi
27727 else
27728 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27729 fi
27730
27731 fi
27732 if test -n "$PKG_CONFIG"; then
27733 _pkg_min_version=0.9.0
27734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27735 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27736 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27738 $as_echo "yes" >&6; }
27739 else
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27741 $as_echo "no" >&6; }
27742 PKG_CONFIG=""
27743 fi
27744
27745 fi 6> /dev/null
27746
27747 pkg_failed=no
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27749 $as_echo_n "checking for GL... " >&6; }
27750
27751 if test -n "$PKG_CONFIG"; then
27752 if test -n "$GL_CFLAGS"; then
27753 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27754 else
27755 if test -n "$PKG_CONFIG" && \
27756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27757 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27758 ac_status=$?
27759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27760 test $ac_status = 0; }; then
27761 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27762 else
27763 pkg_failed=yes
27764 fi
27765 fi
27766 else
27767 pkg_failed=untried
27768 fi
27769 if test -n "$PKG_CONFIG"; then
27770 if test -n "$GL_LIBS"; then
27771 pkg_cv_GL_LIBS="$GL_LIBS"
27772 else
27773 if test -n "$PKG_CONFIG" && \
27774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27775 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27776 ac_status=$?
27777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27778 test $ac_status = 0; }; then
27779 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27780 else
27781 pkg_failed=yes
27782 fi
27783 fi
27784 else
27785 pkg_failed=untried
27786 fi
27787
27788
27789
27790 if test $pkg_failed = yes; then
27791
27792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27793 _pkg_short_errors_supported=yes
27794 else
27795 _pkg_short_errors_supported=no
27796 fi
27797 if test $_pkg_short_errors_supported = yes; then
27798 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27799 else
27800 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27801 fi
27802 # Put the nasty error message in config.log where it belongs
27803 echo "$GL_PKG_ERRORS" >&5
27804
27805
27806 if test "x$ac_find_libraries" = "x"; then
27807 if test "xglBegin" != "x"; then
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27809 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27810 if ${ac_cv_lib_GL_glBegin+:} false; then :
27811 $as_echo_n "(cached) " >&6
27812 else
27813 ac_check_lib_save_LIBS=$LIBS
27814 LIBS="-lGL $LIBS"
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817
27818 /* Override any GCC internal prototype to avoid an error.
27819 Use char because int might match the return type of a GCC
27820 builtin and then its argument prototype would still apply. */
27821 #ifdef __cplusplus
27822 extern "C"
27823 #endif
27824 char glBegin ();
27825 int
27826 main ()
27827 {
27828 return glBegin ();
27829 ;
27830 return 0;
27831 }
27832 _ACEOF
27833 if ac_fn_c_try_link "$LINENO"; then :
27834 ac_cv_lib_GL_glBegin=yes
27835 else
27836 ac_cv_lib_GL_glBegin=no
27837 fi
27838 rm -f core conftest.err conftest.$ac_objext \
27839 conftest$ac_exeext conftest.$ac_ext
27840 LIBS=$ac_check_lib_save_LIBS
27841 fi
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27843 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27844 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27845 ac_find_libraries="std"
27846 fi
27847
27848 fi
27849 fi
27850
27851 if test "x$ac_find_libraries" = "x"; then
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27853 $as_echo_n "checking elsewhere... " >&6; }
27854
27855 ac_find_libraries=
27856 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27857 do
27858 for ac_extension in a so sl dylib dll.a; do
27859 if test -f "$ac_dir/libGL.$ac_extension"; then
27860 ac_find_libraries=$ac_dir
27861 break 2
27862 fi
27863 done
27864 done
27865
27866 if test "x$ac_find_libraries" != "x"; then
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27868 $as_echo "yes" >&6; }
27869 else
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27871 $as_echo "no" >&6; }
27872 fi
27873 fi
27874
27875 elif test $pkg_failed = untried; then
27876
27877 if test "x$ac_find_libraries" = "x"; then
27878 if test "xglBegin" != "x"; then
27879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27880 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27881 if ${ac_cv_lib_GL_glBegin+:} false; then :
27882 $as_echo_n "(cached) " >&6
27883 else
27884 ac_check_lib_save_LIBS=$LIBS
27885 LIBS="-lGL $LIBS"
27886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27887 /* end confdefs.h. */
27888
27889 /* Override any GCC internal prototype to avoid an error.
27890 Use char because int might match the return type of a GCC
27891 builtin and then its argument prototype would still apply. */
27892 #ifdef __cplusplus
27893 extern "C"
27894 #endif
27895 char glBegin ();
27896 int
27897 main ()
27898 {
27899 return glBegin ();
27900 ;
27901 return 0;
27902 }
27903 _ACEOF
27904 if ac_fn_c_try_link "$LINENO"; then :
27905 ac_cv_lib_GL_glBegin=yes
27906 else
27907 ac_cv_lib_GL_glBegin=no
27908 fi
27909 rm -f core conftest.err conftest.$ac_objext \
27910 conftest$ac_exeext conftest.$ac_ext
27911 LIBS=$ac_check_lib_save_LIBS
27912 fi
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27914 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27915 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27916 ac_find_libraries="std"
27917 fi
27918
27919 fi
27920 fi
27921
27922 if test "x$ac_find_libraries" = "x"; then
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27924 $as_echo_n "checking elsewhere... " >&6; }
27925
27926 ac_find_libraries=
27927 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27928 do
27929 for ac_extension in a so sl dylib dll.a; do
27930 if test -f "$ac_dir/libGL.$ac_extension"; then
27931 ac_find_libraries=$ac_dir
27932 break 2
27933 fi
27934 done
27935 done
27936
27937 if test "x$ac_find_libraries" != "x"; then
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27939 $as_echo "yes" >&6; }
27940 else
27941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27942 $as_echo "no" >&6; }
27943 fi
27944 fi
27945
27946 else
27947 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27948 GL_LIBS=$pkg_cv_GL_LIBS
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27950 $as_echo "yes" >&6; }
27951
27952 ac_find_libraries="std"
27953
27954 eval ac_find_cflags=\$GL_CFLAGS
27955 eval fl_libs=\$GL_LIBS
27956
27957 for fl_path in $fl_libs
27958 do
27959 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27960 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27961 fi
27962 done
27963
27964 fi
27965
27966 if test "$ac_find_libraries" != "" ; then
27967 if test "$ac_find_libraries" != "std" ; then
27968
27969 if test "$ac_find_libraries" = "default location"; then
27970 ac_path_to_link=""
27971 else
27972 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27973 result=$?
27974 if test $result = 0; then
27975 ac_path_to_link=""
27976 else
27977 ac_path_to_link=" -L$ac_find_libraries"
27978 fi
27979 fi
27980
27981 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27982 LDFLAGS_GL="$ac_path_to_link"
27983 fi
27984 fi
27985
27986
27987 ac_find_libraries=
27988
27989 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27990
27991
27992 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27993 if test -n "$ac_tool_prefix"; then
27994 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27995 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27997 $as_echo_n "checking for $ac_word... " >&6; }
27998 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27999 $as_echo_n "(cached) " >&6
28000 else
28001 case $PKG_CONFIG in
28002 [\\/]* | ?:[\\/]*)
28003 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28004 ;;
28005 *)
28006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28007 for as_dir in $PATH
28008 do
28009 IFS=$as_save_IFS
28010 test -z "$as_dir" && as_dir=.
28011 for ac_exec_ext in '' $ac_executable_extensions; do
28012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28013 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28015 break 2
28016 fi
28017 done
28018 done
28019 IFS=$as_save_IFS
28020
28021 ;;
28022 esac
28023 fi
28024 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28025 if test -n "$PKG_CONFIG"; then
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28027 $as_echo "$PKG_CONFIG" >&6; }
28028 else
28029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28030 $as_echo "no" >&6; }
28031 fi
28032
28033
28034 fi
28035 if test -z "$ac_cv_path_PKG_CONFIG"; then
28036 ac_pt_PKG_CONFIG=$PKG_CONFIG
28037 # Extract the first word of "pkg-config", so it can be a program name with args.
28038 set dummy pkg-config; ac_word=$2
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28040 $as_echo_n "checking for $ac_word... " >&6; }
28041 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28042 $as_echo_n "(cached) " >&6
28043 else
28044 case $ac_pt_PKG_CONFIG in
28045 [\\/]* | ?:[\\/]*)
28046 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28047 ;;
28048 *)
28049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28050 for as_dir in $PATH
28051 do
28052 IFS=$as_save_IFS
28053 test -z "$as_dir" && as_dir=.
28054 for ac_exec_ext in '' $ac_executable_extensions; do
28055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28056 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28058 break 2
28059 fi
28060 done
28061 done
28062 IFS=$as_save_IFS
28063
28064 ;;
28065 esac
28066 fi
28067 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28068 if test -n "$ac_pt_PKG_CONFIG"; then
28069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28070 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28071 else
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28073 $as_echo "no" >&6; }
28074 fi
28075
28076 if test "x$ac_pt_PKG_CONFIG" = x; then
28077 PKG_CONFIG=""
28078 else
28079 case $cross_compiling:$ac_tool_warned in
28080 yes:)
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28083 ac_tool_warned=yes ;;
28084 esac
28085 PKG_CONFIG=$ac_pt_PKG_CONFIG
28086 fi
28087 else
28088 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28089 fi
28090
28091 fi
28092 if test -n "$PKG_CONFIG"; then
28093 _pkg_min_version=0.9.0
28094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28095 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28096 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28098 $as_echo "yes" >&6; }
28099 else
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28101 $as_echo "no" >&6; }
28102 PKG_CONFIG=""
28103 fi
28104
28105 fi 6> /dev/null
28106
28107 pkg_failed=no
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28109 $as_echo_n "checking for GLU... " >&6; }
28110
28111 if test -n "$PKG_CONFIG"; then
28112 if test -n "$GLU_CFLAGS"; then
28113 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28114 else
28115 if test -n "$PKG_CONFIG" && \
28116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28117 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28118 ac_status=$?
28119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28120 test $ac_status = 0; }; then
28121 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28122 else
28123 pkg_failed=yes
28124 fi
28125 fi
28126 else
28127 pkg_failed=untried
28128 fi
28129 if test -n "$PKG_CONFIG"; then
28130 if test -n "$GLU_LIBS"; then
28131 pkg_cv_GLU_LIBS="$GLU_LIBS"
28132 else
28133 if test -n "$PKG_CONFIG" && \
28134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28135 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28136 ac_status=$?
28137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28138 test $ac_status = 0; }; then
28139 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28140 else
28141 pkg_failed=yes
28142 fi
28143 fi
28144 else
28145 pkg_failed=untried
28146 fi
28147
28148
28149
28150 if test $pkg_failed = yes; then
28151
28152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28153 _pkg_short_errors_supported=yes
28154 else
28155 _pkg_short_errors_supported=no
28156 fi
28157 if test $_pkg_short_errors_supported = yes; then
28158 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28159 else
28160 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28161 fi
28162 # Put the nasty error message in config.log where it belongs
28163 echo "$GLU_PKG_ERRORS" >&5
28164
28165
28166 if test "x$ac_find_libraries" = "x"; then
28167 if test "xgluBeginCurve" != "x"; then
28168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28169 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28170 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28171 $as_echo_n "(cached) " >&6
28172 else
28173 ac_check_lib_save_LIBS=$LIBS
28174 LIBS="-lGLU $LIBS"
28175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28176 /* end confdefs.h. */
28177
28178 /* Override any GCC internal prototype to avoid an error.
28179 Use char because int might match the return type of a GCC
28180 builtin and then its argument prototype would still apply. */
28181 #ifdef __cplusplus
28182 extern "C"
28183 #endif
28184 char gluBeginCurve ();
28185 int
28186 main ()
28187 {
28188 return gluBeginCurve ();
28189 ;
28190 return 0;
28191 }
28192 _ACEOF
28193 if ac_fn_c_try_link "$LINENO"; then :
28194 ac_cv_lib_GLU_gluBeginCurve=yes
28195 else
28196 ac_cv_lib_GLU_gluBeginCurve=no
28197 fi
28198 rm -f core conftest.err conftest.$ac_objext \
28199 conftest$ac_exeext conftest.$ac_ext
28200 LIBS=$ac_check_lib_save_LIBS
28201 fi
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28203 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28204 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28205 ac_find_libraries="std"
28206 fi
28207
28208 fi
28209 fi
28210
28211 if test "x$ac_find_libraries" = "x"; then
28212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28213 $as_echo_n "checking elsewhere... " >&6; }
28214
28215 ac_find_libraries=
28216 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28217 do
28218 for ac_extension in a so sl dylib dll.a; do
28219 if test -f "$ac_dir/libGLU.$ac_extension"; then
28220 ac_find_libraries=$ac_dir
28221 break 2
28222 fi
28223 done
28224 done
28225
28226 if test "x$ac_find_libraries" != "x"; then
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28228 $as_echo "yes" >&6; }
28229 else
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28231 $as_echo "no" >&6; }
28232 fi
28233 fi
28234
28235 elif test $pkg_failed = untried; then
28236
28237 if test "x$ac_find_libraries" = "x"; then
28238 if test "xgluBeginCurve" != "x"; then
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28240 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28241 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28242 $as_echo_n "(cached) " >&6
28243 else
28244 ac_check_lib_save_LIBS=$LIBS
28245 LIBS="-lGLU $LIBS"
28246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28247 /* end confdefs.h. */
28248
28249 /* Override any GCC internal prototype to avoid an error.
28250 Use char because int might match the return type of a GCC
28251 builtin and then its argument prototype would still apply. */
28252 #ifdef __cplusplus
28253 extern "C"
28254 #endif
28255 char gluBeginCurve ();
28256 int
28257 main ()
28258 {
28259 return gluBeginCurve ();
28260 ;
28261 return 0;
28262 }
28263 _ACEOF
28264 if ac_fn_c_try_link "$LINENO"; then :
28265 ac_cv_lib_GLU_gluBeginCurve=yes
28266 else
28267 ac_cv_lib_GLU_gluBeginCurve=no
28268 fi
28269 rm -f core conftest.err conftest.$ac_objext \
28270 conftest$ac_exeext conftest.$ac_ext
28271 LIBS=$ac_check_lib_save_LIBS
28272 fi
28273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28274 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28275 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28276 ac_find_libraries="std"
28277 fi
28278
28279 fi
28280 fi
28281
28282 if test "x$ac_find_libraries" = "x"; then
28283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28284 $as_echo_n "checking elsewhere... " >&6; }
28285
28286 ac_find_libraries=
28287 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28288 do
28289 for ac_extension in a so sl dylib dll.a; do
28290 if test -f "$ac_dir/libGLU.$ac_extension"; then
28291 ac_find_libraries=$ac_dir
28292 break 2
28293 fi
28294 done
28295 done
28296
28297 if test "x$ac_find_libraries" != "x"; then
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28299 $as_echo "yes" >&6; }
28300 else
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28302 $as_echo "no" >&6; }
28303 fi
28304 fi
28305
28306 else
28307 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28308 GLU_LIBS=$pkg_cv_GLU_LIBS
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28310 $as_echo "yes" >&6; }
28311
28312 ac_find_libraries="std"
28313
28314 eval ac_find_cflags=\$GLU_CFLAGS
28315 eval fl_libs=\$GLU_LIBS
28316
28317 for fl_path in $fl_libs
28318 do
28319 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28320 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28321 fi
28322 done
28323
28324 fi
28325
28326 if test "$ac_find_libraries" != "" ; then
28327 if test "$ac_find_libraries" != "std" ; then
28328
28329 if test "$ac_find_libraries" = "default location"; then
28330 ac_path_to_link=""
28331 else
28332 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28333 result=$?
28334 if test $result = 0; then
28335 ac_path_to_link=""
28336 else
28337 ac_path_to_link=" -L$ac_find_libraries"
28338 fi
28339 fi
28340
28341 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28342 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28343 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28344 fi
28345 fi
28346
28347 found_gl=1
28348 OPENGL_LIBS="-lGL -lGLU"
28349 fi
28350 fi
28351
28352 if test "$found_gl" != 1; then
28353
28354 ac_find_libraries=
28355
28356 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28357
28358
28359 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28360 if test -n "$ac_tool_prefix"; then
28361 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28362 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28364 $as_echo_n "checking for $ac_word... " >&6; }
28365 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28366 $as_echo_n "(cached) " >&6
28367 else
28368 case $PKG_CONFIG in
28369 [\\/]* | ?:[\\/]*)
28370 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28371 ;;
28372 *)
28373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28374 for as_dir in $PATH
28375 do
28376 IFS=$as_save_IFS
28377 test -z "$as_dir" && as_dir=.
28378 for ac_exec_ext in '' $ac_executable_extensions; do
28379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28380 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28382 break 2
28383 fi
28384 done
28385 done
28386 IFS=$as_save_IFS
28387
28388 ;;
28389 esac
28390 fi
28391 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28392 if test -n "$PKG_CONFIG"; then
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28394 $as_echo "$PKG_CONFIG" >&6; }
28395 else
28396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28397 $as_echo "no" >&6; }
28398 fi
28399
28400
28401 fi
28402 if test -z "$ac_cv_path_PKG_CONFIG"; then
28403 ac_pt_PKG_CONFIG=$PKG_CONFIG
28404 # Extract the first word of "pkg-config", so it can be a program name with args.
28405 set dummy pkg-config; ac_word=$2
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28407 $as_echo_n "checking for $ac_word... " >&6; }
28408 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28409 $as_echo_n "(cached) " >&6
28410 else
28411 case $ac_pt_PKG_CONFIG in
28412 [\\/]* | ?:[\\/]*)
28413 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28414 ;;
28415 *)
28416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28417 for as_dir in $PATH
28418 do
28419 IFS=$as_save_IFS
28420 test -z "$as_dir" && as_dir=.
28421 for ac_exec_ext in '' $ac_executable_extensions; do
28422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28423 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28425 break 2
28426 fi
28427 done
28428 done
28429 IFS=$as_save_IFS
28430
28431 ;;
28432 esac
28433 fi
28434 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28435 if test -n "$ac_pt_PKG_CONFIG"; then
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28437 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28438 else
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28440 $as_echo "no" >&6; }
28441 fi
28442
28443 if test "x$ac_pt_PKG_CONFIG" = x; then
28444 PKG_CONFIG=""
28445 else
28446 case $cross_compiling:$ac_tool_warned in
28447 yes:)
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28450 ac_tool_warned=yes ;;
28451 esac
28452 PKG_CONFIG=$ac_pt_PKG_CONFIG
28453 fi
28454 else
28455 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28456 fi
28457
28458 fi
28459 if test -n "$PKG_CONFIG"; then
28460 _pkg_min_version=0.9.0
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28462 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28463 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28465 $as_echo "yes" >&6; }
28466 else
28467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28468 $as_echo "no" >&6; }
28469 PKG_CONFIG=""
28470 fi
28471
28472 fi 6> /dev/null
28473
28474 pkg_failed=no
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28476 $as_echo_n "checking for MesaGL... " >&6; }
28477
28478 if test -n "$PKG_CONFIG"; then
28479 if test -n "$MesaGL_CFLAGS"; then
28480 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28481 else
28482 if test -n "$PKG_CONFIG" && \
28483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28484 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28485 ac_status=$?
28486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28487 test $ac_status = 0; }; then
28488 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28489 else
28490 pkg_failed=yes
28491 fi
28492 fi
28493 else
28494 pkg_failed=untried
28495 fi
28496 if test -n "$PKG_CONFIG"; then
28497 if test -n "$MesaGL_LIBS"; then
28498 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28499 else
28500 if test -n "$PKG_CONFIG" && \
28501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28502 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28503 ac_status=$?
28504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28505 test $ac_status = 0; }; then
28506 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28507 else
28508 pkg_failed=yes
28509 fi
28510 fi
28511 else
28512 pkg_failed=untried
28513 fi
28514
28515
28516
28517 if test $pkg_failed = yes; then
28518
28519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28520 _pkg_short_errors_supported=yes
28521 else
28522 _pkg_short_errors_supported=no
28523 fi
28524 if test $_pkg_short_errors_supported = yes; then
28525 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28526 else
28527 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28528 fi
28529 # Put the nasty error message in config.log where it belongs
28530 echo "$MesaGL_PKG_ERRORS" >&5
28531
28532
28533 if test "x$ac_find_libraries" = "x"; then
28534 if test "xglEnable" != "x"; then
28535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28536 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28537 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28538 $as_echo_n "(cached) " >&6
28539 else
28540 ac_check_lib_save_LIBS=$LIBS
28541 LIBS="-lMesaGL $LIBS"
28542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28543 /* end confdefs.h. */
28544
28545 /* Override any GCC internal prototype to avoid an error.
28546 Use char because int might match the return type of a GCC
28547 builtin and then its argument prototype would still apply. */
28548 #ifdef __cplusplus
28549 extern "C"
28550 #endif
28551 char glEnable ();
28552 int
28553 main ()
28554 {
28555 return glEnable ();
28556 ;
28557 return 0;
28558 }
28559 _ACEOF
28560 if ac_fn_c_try_link "$LINENO"; then :
28561 ac_cv_lib_MesaGL_glEnable=yes
28562 else
28563 ac_cv_lib_MesaGL_glEnable=no
28564 fi
28565 rm -f core conftest.err conftest.$ac_objext \
28566 conftest$ac_exeext conftest.$ac_ext
28567 LIBS=$ac_check_lib_save_LIBS
28568 fi
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28570 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28571 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28572 ac_find_libraries="std"
28573 fi
28574
28575 fi
28576 fi
28577
28578 if test "x$ac_find_libraries" = "x"; then
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28580 $as_echo_n "checking elsewhere... " >&6; }
28581
28582 ac_find_libraries=
28583 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28584 do
28585 for ac_extension in a so sl dylib dll.a; do
28586 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28587 ac_find_libraries=$ac_dir
28588 break 2
28589 fi
28590 done
28591 done
28592
28593 if test "x$ac_find_libraries" != "x"; then
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28595 $as_echo "yes" >&6; }
28596 else
28597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28598 $as_echo "no" >&6; }
28599 fi
28600 fi
28601
28602 elif test $pkg_failed = untried; then
28603
28604 if test "x$ac_find_libraries" = "x"; then
28605 if test "xglEnable" != "x"; then
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28607 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28608 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28609 $as_echo_n "(cached) " >&6
28610 else
28611 ac_check_lib_save_LIBS=$LIBS
28612 LIBS="-lMesaGL $LIBS"
28613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28614 /* end confdefs.h. */
28615
28616 /* Override any GCC internal prototype to avoid an error.
28617 Use char because int might match the return type of a GCC
28618 builtin and then its argument prototype would still apply. */
28619 #ifdef __cplusplus
28620 extern "C"
28621 #endif
28622 char glEnable ();
28623 int
28624 main ()
28625 {
28626 return glEnable ();
28627 ;
28628 return 0;
28629 }
28630 _ACEOF
28631 if ac_fn_c_try_link "$LINENO"; then :
28632 ac_cv_lib_MesaGL_glEnable=yes
28633 else
28634 ac_cv_lib_MesaGL_glEnable=no
28635 fi
28636 rm -f core conftest.err conftest.$ac_objext \
28637 conftest$ac_exeext conftest.$ac_ext
28638 LIBS=$ac_check_lib_save_LIBS
28639 fi
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28641 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28642 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28643 ac_find_libraries="std"
28644 fi
28645
28646 fi
28647 fi
28648
28649 if test "x$ac_find_libraries" = "x"; then
28650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28651 $as_echo_n "checking elsewhere... " >&6; }
28652
28653 ac_find_libraries=
28654 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28655 do
28656 for ac_extension in a so sl dylib dll.a; do
28657 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28658 ac_find_libraries=$ac_dir
28659 break 2
28660 fi
28661 done
28662 done
28663
28664 if test "x$ac_find_libraries" != "x"; then
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28666 $as_echo "yes" >&6; }
28667 else
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28669 $as_echo "no" >&6; }
28670 fi
28671 fi
28672
28673 else
28674 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28675 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28677 $as_echo "yes" >&6; }
28678
28679 ac_find_libraries="std"
28680
28681 eval ac_find_cflags=\$MesaGL_CFLAGS
28682 eval fl_libs=\$MesaGL_LIBS
28683
28684 for fl_path in $fl_libs
28685 do
28686 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28687 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28688 fi
28689 done
28690
28691 fi
28692
28693 if test "$ac_find_libraries" != "" ; then
28694 if test "$ac_find_libraries" != "std" ; then
28695
28696 if test "$ac_find_libraries" = "default location"; then
28697 ac_path_to_link=""
28698 else
28699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28700 result=$?
28701 if test $result = 0; then
28702 ac_path_to_link=""
28703 else
28704 ac_path_to_link=" -L$ac_find_libraries"
28705 fi
28706 fi
28707
28708 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28709 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28710 fi
28711 fi
28712 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28713 fi
28714 fi
28715
28716 fi
28717
28718
28719
28720 fi
28721
28722
28723
28724 if test "x$OPENGL_LIBS" = "x"; then
28725 if test "$wxUSE_OPENGL" = "yes"; then
28726 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28727 else
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28729 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28730 wxUSE_OPENGL=no
28731 USE_OPENGL=0
28732 fi
28733 fi
28734 else
28735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28736 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28737 wxUSE_OPENGL="no"
28738 fi
28739
28740 if test "$wxUSE_OPENGL" = "auto"; then
28741 wxUSE_OPENGL=yes
28742 fi
28743
28744 if test "$wxUSE_OPENGL" = "yes"; then
28745 USE_OPENGL=1
28746 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28747
28748 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28749
28750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28751 fi
28752 fi
28753
28754
28755 if test -n "$TOOLKIT" ; then
28756 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28757 fi
28758
28759
28760
28761 if test "$wxUSE_SHARED" = "yes"; then
28762 case "${host}" in
28763 *-pc-msdosdjgpp )
28764 wxUSE_SHARED=no
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28766 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28767 ;;
28768 esac
28769 fi
28770
28771 if test "$wxUSE_SHARED" = "yes"; then
28772
28773
28774 case "${host}" in
28775 *-*-cygwin* | *-*-mingw* )
28776 wx_cv_version_script=no
28777 ;;
28778
28779 *)
28780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28781 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28782 if ${wx_cv_version_script+:} false; then :
28783 $as_echo_n "(cached) " >&6
28784 else
28785
28786 echo "VER_1 { *; };" >conftest.sym
28787 echo "int main() { return 0; }" >conftest.cpp
28788
28789 if { ac_try='
28790 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28791 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28792 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28793 (eval $ac_try) 2>&5
28794 ac_status=$?
28795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28796 test $ac_status = 0; }; } ; then
28797 if test -s conftest.stderr ; then
28798 wx_cv_version_script=no
28799 else
28800 wx_cv_version_script=yes
28801 fi
28802 else
28803 wx_cv_version_script=no
28804 fi
28805
28806 if test $wx_cv_version_script = yes
28807 then
28808 echo "struct B { virtual ~B() { } }; \
28809 struct D : public B { }; \
28810 void F() { D d; }" > conftest.cpp
28811
28812 if { ac_try='
28813 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28814 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28815 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28816 (eval $ac_try) 2>&5
28817 ac_status=$?
28818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28819 test $ac_status = 0; }; } &&
28820 { ac_try='
28821 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28822 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28824 (eval $ac_try) 2>&5
28825 ac_status=$?
28826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28827 test $ac_status = 0; }; }
28828 then
28829 if { ac_try='
28830 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28831 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28832 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28833 (eval $ac_try) 2>&5
28834 ac_status=$?
28835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28836 test $ac_status = 0; }; }
28837 then
28838 wx_cv_version_script=yes
28839 else
28840 wx_cv_version_script=no
28841 fi
28842 fi
28843 fi
28844
28845 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28846 rm -f conftest1.output conftest2.output conftest3.output
28847
28848 fi
28849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28850 $as_echo "$wx_cv_version_script" >&6; }
28851
28852 if test $wx_cv_version_script = yes ; then
28853 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28854 fi
28855 ;;
28856 esac
28857
28858
28859 if test "$wxUSE_VISIBILITY" != "no"; then
28860
28861
28862 if test -n "$GCC"; then
28863 CFLAGS_VISIBILITY="-fvisibility=hidden"
28864 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28866 $as_echo_n "checking for symbols visibility support... " >&6; }
28867 if ${wx_cv_cc_visibility+:} false; then :
28868 $as_echo_n "(cached) " >&6
28869 else
28870
28871 wx_save_CXXFLAGS="$CXXFLAGS"
28872 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28873 ac_ext=cpp
28874 ac_cpp='$CXXCPP $CPPFLAGS'
28875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28878
28879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28880 /* end confdefs.h. */
28881
28882 /* we need gcc >= 4.0, older versions with visibility support
28883 didn't have class visibility: */
28884 #if defined(__GNUC__) && __GNUC__ < 4
28885 error this gcc is too old;
28886 #endif
28887
28888 /* visibility only makes sense for ELF shared libs: */
28889 #if !defined(__ELF__) && !defined(__APPLE__)
28890 error this platform has no visibility;
28891 #endif
28892
28893 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28894 #if defined(__clang__)
28895 clang compiler is still broken w.r.t. visibility;
28896 #endif
28897
28898 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28899 extern __attribute__((__visibility__("default"))) int exportedvar;
28900 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28901 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28902 class __attribute__((__visibility__("default"))) Foo {
28903 Foo() {}
28904 };
28905
28906 int
28907 main ()
28908 {
28909
28910 ;
28911 return 0;
28912 }
28913 _ACEOF
28914 if ac_fn_cxx_try_compile "$LINENO"; then :
28915 wx_cv_cc_visibility=yes
28916 else
28917 wx_cv_cc_visibility=no
28918 fi
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28920 ac_ext=c
28921 ac_cpp='$CPP $CPPFLAGS'
28922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28925
28926 CXXFLAGS="$wx_save_CXXFLAGS"
28927 fi
28928
28929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28930 $as_echo "$wx_cv_cc_visibility" >&6; }
28931 if test $wx_cv_cc_visibility = yes; then
28932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28933 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28934 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28935 $as_echo_n "(cached) " >&6
28936 else
28937
28938 wx_save_CXXFLAGS="$CXXFLAGS"
28939 wx_save_LDFLAGS="$LDFLAGS"
28940 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28941 LDFLAGS="$LDFLAGS -shared -fPIC"
28942 ac_ext=cpp
28943 ac_cpp='$CXXCPP $CPPFLAGS'
28944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28947
28948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28949 /* end confdefs.h. */
28950
28951 #include <string>
28952
28953 int
28954 main ()
28955 {
28956
28957 std::string s("hello");
28958 return s.length();
28959
28960 ;
28961 return 0;
28962 }
28963 _ACEOF
28964 if ac_fn_cxx_try_link "$LINENO"; then :
28965 wx_cv_cc_broken_libstdcxx_visibility=no
28966 else
28967 wx_cv_cc_broken_libstdcxx_visibility=yes
28968 fi
28969 rm -f core conftest.err conftest.$ac_objext \
28970 conftest$ac_exeext conftest.$ac_ext
28971 ac_ext=c
28972 ac_cpp='$CPP $CPPFLAGS'
28973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28976
28977 CXXFLAGS="$wx_save_CXXFLAGS"
28978 LDFLAGS="$wx_save_LDFLAGS"
28979 fi
28980
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28982 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28983
28984 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28986 $as_echo_n "checking whether we can work around it... " >&6; }
28987 if ${wx_cv_cc_visibility_workaround+:} false; then :
28988 $as_echo_n "(cached) " >&6
28989 else
28990
28991 ac_ext=cpp
28992 ac_cpp='$CXXCPP $CPPFLAGS'
28993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28996
28997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28998 /* end confdefs.h. */
28999
29000 #pragma GCC visibility push(default)
29001 #include <string>
29002 #pragma GCC visibility pop
29003
29004 int
29005 main ()
29006 {
29007
29008 std::string s("hello");
29009 return s.length();
29010
29011 ;
29012 return 0;
29013 }
29014 _ACEOF
29015 if ac_fn_cxx_try_link "$LINENO"; then :
29016 wx_cv_cc_visibility_workaround=no
29017 else
29018 wx_cv_cc_visibility_workaround=yes
29019 fi
29020 rm -f core conftest.err conftest.$ac_objext \
29021 conftest$ac_exeext conftest.$ac_ext
29022 ac_ext=c
29023 ac_cpp='$CPP $CPPFLAGS'
29024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29027
29028
29029 fi
29030
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29032 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29033
29034 if test $wx_cv_cc_visibility_workaround = no; then
29035 wx_cv_cc_visibility=no
29036 fi
29037 fi
29038 fi
29039
29040 if test $wx_cv_cc_visibility = yes; then
29041 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29042
29043 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29044 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29045
29046 fi
29047 else
29048 CFLAGS_VISIBILITY=""
29049 CXXFLAGS_VISIBILITY=""
29050 fi
29051
29052
29053 fi
29054
29055 fi
29056
29057 if test "x$SUNCXX" = xyes; then
29058 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29059 WXCONFIG_RPATH="-R\$libdir"
29060 else
29061 case "${host}" in
29062 *-*-linux* | *-*-gnu* )
29063 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29064 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29065 ;;
29066
29067 *-*-solaris2* )
29068
29069 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29070
29071 saveLdflags="$LDFLAGS"
29072 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29074 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29076 /* end confdefs.h. */
29077
29078 int
29079 main ()
29080 {
29081
29082 ;
29083 return 0;
29084 }
29085 _ACEOF
29086 if ac_fn_c_try_link "$LINENO"; then :
29087
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29089 $as_echo "yes" >&6; }
29090 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29091 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29092
29093 else
29094
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29096 $as_echo "no" >&6; }
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29098 $as_echo_n "checking if the linker accepts -R... " >&6; }
29099 LDFLAGS="$saveLdflags -Wl,-R,/"
29100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29101 /* end confdefs.h. */
29102
29103 int
29104 main ()
29105 {
29106
29107 ;
29108 return 0;
29109 }
29110 _ACEOF
29111 if ac_fn_c_try_link "$LINENO"; then :
29112
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29114 $as_echo "yes" >&6; }
29115 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29116 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29117
29118 else
29119
29120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29121 $as_echo "no" >&6; }
29122
29123 fi
29124 rm -f core conftest.err conftest.$ac_objext \
29125 conftest$ac_exeext conftest.$ac_ext
29126
29127 fi
29128 rm -f core conftest.err conftest.$ac_objext \
29129 conftest$ac_exeext conftest.$ac_ext
29130 LDFLAGS="$saveLdflags"
29131 ;;
29132
29133 *-*-darwin* )
29134 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29135 if test "$install_name_tool" -a -x "$install_name_tool"; then
29136 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29137 cat <<EOF >change-install-names
29138 #!/bin/sh
29139 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29140 for i in \${libnames} ; do
29141 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29142 for dep in \${libnames} ; do
29143 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29144 done
29145 done
29146 EOF
29147 chmod +x change-install-names
29148 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29149 fi
29150
29151 HEADER_PAD_OPTION="-headerpad_max_install_names"
29152 ;;
29153
29154 *-*-cygwin* | *-*-mingw32* )
29155 ;;
29156
29157 *-*-hpux* )
29158 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29159 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29160 ;;
29161
29162 esac
29163 fi
29164
29165 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29166
29167 if test $wxUSE_RPATH = "no"; then
29168 SAMPLES_RPATH_FLAG=''
29169 DYLIB_PATH_POSTLINK=''
29170 WXCONFIG_RPATH=''
29171 fi
29172
29173 SHARED=1
29174
29175 else
29176
29177 config_linkage_component="-static"
29178 SHARED=0
29179
29180 fi
29181
29182
29183 UNICODE=0
29184 lib_unicode_suffix=
29185 WX_CHARTYPE="ansi"
29186 if test "$wxUSE_UNICODE" = "yes"; then
29187 lib_unicode_suffix=u
29188 WX_CHARTYPE="unicode"
29189 UNICODE=1
29190 fi
29191
29192 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29193 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29194
29195 DEBUG_INFO=0
29196 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29197 DEBUG_INFO=1
29198 fi
29199
29200 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29201
29202 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29203
29204 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29205
29206
29207 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29208 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29209 else
29210 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29211 fi
29212 if test "${TOOLKIT_DIR}" = "os2"; then
29213 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29214 else
29215 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29216 fi
29217
29218
29219
29220 if test "$wxUSE_OLD_COCOA" = 1; then
29221
29222 ac_ext=c
29223 ac_cpp='$CPP $CPPFLAGS'
29224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29227
29228 ac_ext=m
29229
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29231 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29233 /* end confdefs.h. */
29234 #include <AppKit/NSEvent.h>
29235 #include <CoreFoundation/CoreFoundation.h>
29236
29237 int
29238 main ()
29239 {
29240
29241 ;
29242 return 0;
29243 }
29244 _ACEOF
29245 if ac_fn_c_try_compile "$LINENO"; then :
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29247 $as_echo "no" >&6; }
29248 else
29249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29250 $as_echo "yes" >&6; }
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29252 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h. */
29255 #define __Point__ 1
29256 #include <AppKit/NSEvent.h>
29257 #include <CoreFoundation/CoreFoundation.h>
29258
29259 int
29260 main ()
29261 {
29262
29263 ;
29264 return 0;
29265 }
29266 _ACEOF
29267 if ac_fn_c_try_compile "$LINENO"; then :
29268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29269 $as_echo "yes" >&6; }
29270 $as_echo "#define __Point__ 1" >>confdefs.h
29271
29272
29273 else
29274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29276 as_fn_error $? "no
29277 See \`config.log' for more details" "$LINENO" 5; }
29278
29279 fi
29280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29281
29282 fi
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29284 ac_ext=c
29285 ac_cpp='$CPP $CPPFLAGS'
29286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29289
29290 fi
29291
29292
29293 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29294 if test "x$ac_cv_type_mode_t" = xyes; then :
29295
29296 else
29297
29298 cat >>confdefs.h <<_ACEOF
29299 #define mode_t int
29300 _ACEOF
29301
29302 fi
29303
29304 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29305 if test "x$ac_cv_type_off_t" = xyes; then :
29306
29307 else
29308
29309 cat >>confdefs.h <<_ACEOF
29310 #define off_t long int
29311 _ACEOF
29312
29313 fi
29314
29315 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29316 if test "x$ac_cv_type_pid_t" = xyes; then :
29317
29318 else
29319
29320 cat >>confdefs.h <<_ACEOF
29321 #define pid_t int
29322 _ACEOF
29323
29324 fi
29325
29326 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29327 if test "x$ac_cv_type_size_t" = xyes; then :
29328
29329 else
29330
29331 cat >>confdefs.h <<_ACEOF
29332 #define size_t unsigned int
29333 _ACEOF
29334
29335 fi
29336
29337
29338 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29339 if test "x$ac_cv_type_ssize_t" = xyes; then :
29340
29341 cat >>confdefs.h <<_ACEOF
29342 #define HAVE_SSIZE_T 1
29343 _ACEOF
29344
29345
29346 fi
29347
29348
29349 ac_ext=cpp
29350 ac_cpp='$CXXCPP $CPPFLAGS'
29351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29355 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29356 if ${wx_cv_size_t_is_uint+:} false; then :
29357 $as_echo_n "(cached) " >&6
29358 else
29359
29360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29361 /* end confdefs.h. */
29362 #include <stddef.h>
29363 int
29364 main ()
29365 {
29366
29367 return 0; }
29368
29369 struct Foo { void foo(size_t); void foo(unsigned int); };
29370
29371 int bar() {
29372
29373 ;
29374 return 0;
29375 }
29376 _ACEOF
29377 if ac_fn_cxx_try_compile "$LINENO"; then :
29378 wx_cv_size_t_is_uint=no
29379 else
29380 wx_cv_size_t_is_uint=yes
29381
29382 fi
29383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384
29385
29386 fi
29387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29388 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29389
29390 if test "$wx_cv_size_t_is_uint" = "yes"; then
29391 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29392
29393 else
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29395 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29396 if ${wx_cv_size_t_is_ulong+:} false; then :
29397 $as_echo_n "(cached) " >&6
29398 else
29399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29400 /* end confdefs.h. */
29401 #include <stddef.h>
29402 int
29403 main ()
29404 {
29405
29406 return 0; }
29407
29408 struct Foo { void foo(size_t); void foo(unsigned long); };
29409
29410 int bar() {
29411
29412 ;
29413 return 0;
29414 }
29415 _ACEOF
29416 if ac_fn_cxx_try_compile "$LINENO"; then :
29417 wx_cv_size_t_is_ulong=no
29418 else
29419 wx_cv_size_t_is_ulong=yes
29420
29421 fi
29422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29423
29424 fi
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29426 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29427
29428 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29429 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29430
29431 fi
29432 fi
29433
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29435 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29436 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29437 $as_echo_n "(cached) " >&6
29438 else
29439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29441 #include <wchar.h>
29442 int
29443 main ()
29444 {
29445
29446 return 0; }
29447
29448 struct Foo { void foo(wchar_t);
29449 void foo(unsigned short);
29450 void foo(unsigned int);
29451 void foo(unsigned long); };
29452
29453 int bar() {
29454
29455 ;
29456 return 0;
29457 }
29458 _ACEOF
29459 if ac_fn_cxx_try_compile "$LINENO"; then :
29460 wx_cv_wchar_t_is_separate_type=yes
29461 else
29462 wx_cv_wchar_t_is_separate_type=no
29463
29464 fi
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29466
29467 fi
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29469 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29470
29471 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29472 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29473
29474 else
29475 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29476
29477 fi
29478
29479 ac_ext=c
29480 ac_cpp='$CPP $CPPFLAGS'
29481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29484
29485
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29487 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29488 if ${wx_cv_struct_pw_gecos+:} false; then :
29489 $as_echo_n "(cached) " >&6
29490 else
29491
29492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29494 #include <pwd.h>
29495 int
29496 main ()
29497 {
29498
29499 char *p;
29500 struct passwd *pw;
29501 p = pw->pw_gecos;
29502
29503 ;
29504 return 0;
29505 }
29506 _ACEOF
29507 if ac_fn_c_try_compile "$LINENO"; then :
29508
29509 wx_cv_struct_pw_gecos=yes
29510
29511 else
29512
29513 wx_cv_struct_pw_gecos=no
29514
29515
29516 fi
29517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518
29519
29520 fi
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29522 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29523
29524 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29525 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29526
29527 fi
29528
29529
29530 WCSLEN_FOUND=0
29531 WCHAR_LINK=
29532 for ac_func in wcslen
29533 do :
29534 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29535 if test "x$ac_cv_func_wcslen" = xyes; then :
29536 cat >>confdefs.h <<_ACEOF
29537 #define HAVE_WCSLEN 1
29538 _ACEOF
29539 WCSLEN_FOUND=1
29540 fi
29541 done
29542
29543
29544 if test "$WCSLEN_FOUND" = 0; then
29545 if test "$TOOLKIT" = "MSW"; then
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29547 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29548 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29549 $as_echo_n "(cached) " >&6
29550 else
29551 ac_check_lib_save_LIBS=$LIBS
29552 LIBS="-lmsvcrt $LIBS"
29553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29554 /* end confdefs.h. */
29555
29556 /* Override any GCC internal prototype to avoid an error.
29557 Use char because int might match the return type of a GCC
29558 builtin and then its argument prototype would still apply. */
29559 #ifdef __cplusplus
29560 extern "C"
29561 #endif
29562 char wcslen ();
29563 int
29564 main ()
29565 {
29566 return wcslen ();
29567 ;
29568 return 0;
29569 }
29570 _ACEOF
29571 if ac_fn_c_try_link "$LINENO"; then :
29572 ac_cv_lib_msvcrt_wcslen=yes
29573 else
29574 ac_cv_lib_msvcrt_wcslen=no
29575 fi
29576 rm -f core conftest.err conftest.$ac_objext \
29577 conftest$ac_exeext conftest.$ac_ext
29578 LIBS=$ac_check_lib_save_LIBS
29579 fi
29580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29581 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29582 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29583 WCHAR_OK=1
29584 fi
29585
29586 else
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29588 $as_echo_n "checking for wcslen in -lw... " >&6; }
29589 if ${ac_cv_lib_w_wcslen+:} false; then :
29590 $as_echo_n "(cached) " >&6
29591 else
29592 ac_check_lib_save_LIBS=$LIBS
29593 LIBS="-lw $LIBS"
29594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29595 /* end confdefs.h. */
29596
29597 /* Override any GCC internal prototype to avoid an error.
29598 Use char because int might match the return type of a GCC
29599 builtin and then its argument prototype would still apply. */
29600 #ifdef __cplusplus
29601 extern "C"
29602 #endif
29603 char wcslen ();
29604 int
29605 main ()
29606 {
29607 return wcslen ();
29608 ;
29609 return 0;
29610 }
29611 _ACEOF
29612 if ac_fn_c_try_link "$LINENO"; then :
29613 ac_cv_lib_w_wcslen=yes
29614 else
29615 ac_cv_lib_w_wcslen=no
29616 fi
29617 rm -f core conftest.err conftest.$ac_objext \
29618 conftest$ac_exeext conftest.$ac_ext
29619 LIBS=$ac_check_lib_save_LIBS
29620 fi
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29622 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29623 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29624
29625 WCHAR_LINK=" -lw"
29626 WCSLEN_FOUND=1
29627
29628 fi
29629
29630 fi
29631 fi
29632
29633 if test "$WCSLEN_FOUND" = 1; then
29634 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29635
29636 fi
29637
29638 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29639 do :
29640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29645 _ACEOF
29646
29647 fi
29648 done
29649
29650
29651 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29652 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29653 fi
29654
29655 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29656 "
29657 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29658
29659 cat >>confdefs.h <<_ACEOF
29660 #define HAVE_MBSTATE_T 1
29661 _ACEOF
29662
29663 for ac_func in wcsrtombs
29664 do :
29665 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29666 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29667 cat >>confdefs.h <<_ACEOF
29668 #define HAVE_WCSRTOMBS 1
29669 _ACEOF
29670
29671 fi
29672 done
29673
29674 fi
29675
29676
29677 for ac_func in snprintf vsnprintf vsscanf
29678 do :
29679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29681 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29682 cat >>confdefs.h <<_ACEOF
29683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29684 _ACEOF
29685
29686 fi
29687 done
29688
29689
29690 ac_ext=cpp
29691 ac_cpp='$CXXCPP $CPPFLAGS'
29692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29695
29696 if test "$ac_cv_func_vsnprintf" = "yes"; then
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29698 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29699 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29700 $as_echo_n "(cached) " >&6
29701 else
29702
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705
29706 #include <stdio.h>
29707 #include <stdarg.h>
29708
29709 int
29710 main ()
29711 {
29712
29713 char *buf;
29714 va_list ap;
29715 vsnprintf(buf, 10u, "%s", ap);
29716
29717 ;
29718 return 0;
29719 }
29720 _ACEOF
29721 if ac_fn_cxx_try_compile "$LINENO"; then :
29722 wx_cv_func_vsnprintf_decl=yes
29723 else
29724 wx_cv_func_vsnprintf_decl=no
29725
29726 fi
29727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29728
29729
29730 fi
29731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29732 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29733
29734 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29735 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29736
29737
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29739 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29740 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29741 $as_echo_n "(cached) " >&6
29742 else
29743
29744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29745 /* end confdefs.h. */
29746
29747 #include <stdio.h>
29748 #include <stdarg.h>
29749 #ifdef __MSL__
29750 #if __MSL__ >= 0x6000
29751 namespace std {}
29752 using namespace std;
29753 #endif
29754 #endif
29755
29756 int
29757 main ()
29758 {
29759
29760 char *buf;
29761 va_list ap;
29762 const char *fmt = "%s";
29763 vsnprintf(buf, 10u, fmt, ap);
29764
29765 ;
29766 return 0;
29767 }
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770 wx_cv_func_broken_vsnprintf_decl=no
29771 else
29772 wx_cv_func_broken_vsnprintf_decl=yes
29773
29774 fi
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776
29777
29778 fi
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29780 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29781
29782 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29783 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29784
29785 fi
29786 fi
29787 fi
29788
29789 if test "$ac_cv_func_snprintf" = "yes"; then
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29791 $as_echo_n "checking for snprintf declaration... " >&6; }
29792 if ${wx_cv_func_snprintf_decl+:} false; then :
29793 $as_echo_n "(cached) " >&6
29794 else
29795
29796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29797 /* end confdefs.h. */
29798
29799 #include <stdio.h>
29800 #include <stdarg.h>
29801 #ifdef __MSL__
29802 #if __MSL__ >= 0x6000
29803 namespace std {}
29804 using namespace std;
29805 #endif
29806 #endif
29807
29808 int
29809 main ()
29810 {
29811
29812 char *buf;
29813 snprintf(buf, 10u, "%s", "wx");
29814
29815 ;
29816 return 0;
29817 }
29818 _ACEOF
29819 if ac_fn_cxx_try_compile "$LINENO"; then :
29820 wx_cv_func_snprintf_decl=yes
29821 else
29822 wx_cv_func_snprintf_decl=no
29823
29824 fi
29825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29826
29827
29828 fi
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29830 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29831
29832 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29833 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29834
29835 fi
29836
29837 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29838
29839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29840 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29841 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29842 $as_echo_n "(cached) " >&6
29843 else
29844
29845 if test "$cross_compiling" = yes; then :
29846
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29848 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29849 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29850 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29851 wx_cv_func_snprintf_pos_params=no
29852
29853
29854 else
29855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29856 /* end confdefs.h. */
29857
29858 #include <stdio.h>
29859
29860 int main (void)
29861 {
29862 char buffer[128];
29863 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29864 if (strcmp ("2 3 1", buffer) == 0)
29865 exit (0);
29866 exit (1);
29867 }
29868
29869 _ACEOF
29870 if ac_fn_cxx_try_run "$LINENO"; then :
29871 wx_cv_func_snprintf_pos_params=no
29872 else
29873 wx_cv_func_snprintf_pos_params=yes
29874 fi
29875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29876 conftest.$ac_objext conftest.beam conftest.$ac_ext
29877 fi
29878
29879
29880
29881 fi
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29883 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29884
29885 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29886 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29887
29888 fi
29889 fi
29890 fi
29891
29892 if test "$ac_cv_func_vsscanf" = "yes"; then
29893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29894 $as_echo_n "checking for vsscanf declaration... " >&6; }
29895 if ${wx_cv_func_vsscanf_decl+:} false; then :
29896 $as_echo_n "(cached) " >&6
29897 else
29898
29899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29900 /* end confdefs.h. */
29901
29902 #include <stdio.h>
29903 #include <stdarg.h>
29904 #ifdef __MSL__
29905 #if __MSL__ >= 0x6000
29906 namespace std {}
29907 using namespace std;
29908 #endif
29909 #endif
29910
29911 int
29912 main ()
29913 {
29914
29915 char *buf;
29916 va_list args;
29917 vsscanf(buf, "%s", args);
29918
29919 ;
29920 return 0;
29921 }
29922 _ACEOF
29923 if ac_fn_cxx_try_compile "$LINENO"; then :
29924 wx_cv_func_vsscanf_decl=yes
29925 else
29926 wx_cv_func_vsscanf_decl=no
29927
29928 fi
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930
29931
29932 fi
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29934 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29935
29936 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29937 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29938
29939 fi
29940 fi
29941 ac_ext=c
29942 ac_cpp='$CPP $CPPFLAGS'
29943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29946
29947
29948 if test "$wxUSE_UNICODE" = yes; then
29949
29950 wchar_headers="#include <stdio.h>
29951 #include <wchar.h>"
29952 case "${host}" in
29953 *-*-solaris2* )
29954 for ac_header in widec.h
29955 do :
29956 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29957 "
29958 if test "x$ac_cv_header_widec_h" = xyes; then :
29959 cat >>confdefs.h <<_ACEOF
29960 #define HAVE_WIDEC_H 1
29961 _ACEOF
29962
29963 fi
29964
29965 done
29966
29967 if test "$ac_cv_header_widec_h" = "yes"; then
29968 wchar_headers="$wchar_headers
29969 #include <widec.h>"
29970 fi
29971 esac
29972
29973
29974 for wx_func in putws fputws wprintf vswprintf vswscanf
29975 do
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29977 $as_echo_n "checking for $wx_func... " >&6; }
29978 if eval \${wx_cv_func_$wx_func+:} false; then :
29979 $as_echo_n "(cached) " >&6
29980 else
29981
29982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29983 /* end confdefs.h. */
29984
29985
29986 $wchar_headers
29987 $ac_includes_default
29988
29989 int
29990 main ()
29991 {
29992
29993 #ifndef $wx_func
29994 &$wx_func;
29995 #endif
29996
29997
29998 ;
29999 return 0;
30000 }
30001
30002 _ACEOF
30003 if ac_fn_c_try_link "$LINENO"; then :
30004 eval wx_cv_func_$wx_func=yes
30005 else
30006 eval wx_cv_func_$wx_func=no
30007 fi
30008 rm -f core conftest.err conftest.$ac_objext \
30009 conftest$ac_exeext conftest.$ac_ext
30010
30011 fi
30012 eval ac_res=\$wx_cv_func_$wx_func
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30014 $as_echo "$ac_res" >&6; }
30015
30016 if eval test \$wx_cv_func_$wx_func = yes
30017 then
30018 cat >>confdefs.h <<_ACEOF
30019 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30020 _ACEOF
30021
30022
30023 else
30024 :
30025
30026 fi
30027 done
30028
30029
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30031 $as_echo_n "checking for _vsnwprintf... " >&6; }
30032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30033 /* end confdefs.h. */
30034 #include <wchar.h>
30035 int
30036 main ()
30037 {
30038 &_vsnwprintf;
30039 ;
30040 return 0;
30041 }
30042 _ACEOF
30043 if ac_fn_c_try_compile "$LINENO"; then :
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30045 $as_echo "yes" >&6; }
30046 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30047
30048 else
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30050 $as_echo "no" >&6; }
30051 fi
30052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30053 fi
30054
30055 if test "$wxUSE_FILE" = "yes"; then
30056
30057 for wx_func in fsync
30058 do
30059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30060 $as_echo_n "checking for $wx_func... " >&6; }
30061 if eval \${wx_cv_func_$wx_func+:} false; then :
30062 $as_echo_n "(cached) " >&6
30063 else
30064
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30067
30068
30069
30070 $ac_includes_default
30071
30072 int
30073 main ()
30074 {
30075
30076 #ifndef $wx_func
30077 &$wx_func;
30078 #endif
30079
30080
30081 ;
30082 return 0;
30083 }
30084
30085 _ACEOF
30086 if ac_fn_c_try_link "$LINENO"; then :
30087 eval wx_cv_func_$wx_func=yes
30088 else
30089 eval wx_cv_func_$wx_func=no
30090 fi
30091 rm -f core conftest.err conftest.$ac_objext \
30092 conftest$ac_exeext conftest.$ac_ext
30093
30094 fi
30095 eval ac_res=\$wx_cv_func_$wx_func
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30097 $as_echo "$ac_res" >&6; }
30098
30099 if eval test \$wx_cv_func_$wx_func = yes
30100 then
30101 cat >>confdefs.h <<_ACEOF
30102 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30103 _ACEOF
30104
30105
30106 else
30107 :
30108
30109 fi
30110 done
30111
30112 fi
30113
30114 ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119
30120
30121 for wx_func in round
30122 do
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30124 $as_echo_n "checking for $wx_func... " >&6; }
30125 if eval \${wx_cv_func_$wx_func+:} false; then :
30126 $as_echo_n "(cached) " >&6
30127 else
30128
30129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30130 /* end confdefs.h. */
30131
30132
30133 #include <math.h>
30134 $ac_includes_default
30135
30136 int
30137 main ()
30138 {
30139
30140 #ifndef $wx_func
30141 &$wx_func;
30142 #endif
30143
30144
30145 ;
30146 return 0;
30147 }
30148
30149 _ACEOF
30150 if ac_fn_cxx_try_link "$LINENO"; then :
30151 eval wx_cv_func_$wx_func=yes
30152 else
30153 eval wx_cv_func_$wx_func=no
30154 fi
30155 rm -f core conftest.err conftest.$ac_objext \
30156 conftest$ac_exeext conftest.$ac_ext
30157
30158 fi
30159 eval ac_res=\$wx_cv_func_$wx_func
30160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30161 $as_echo "$ac_res" >&6; }
30162
30163 if eval test \$wx_cv_func_$wx_func = yes
30164 then
30165 cat >>confdefs.h <<_ACEOF
30166 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30167 _ACEOF
30168
30169
30170 else
30171 :
30172
30173 fi
30174 done
30175
30176 ac_ext=c
30177 ac_cpp='$CPP $CPPFLAGS'
30178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30181
30182
30183 if test "$TOOLKIT" != "MSW"; then
30184
30185 if test "$wxUSE_LIBICONV" != "no" ; then
30186
30187
30188
30189 # Check whether --with-libiconv-prefix was given.
30190 if test "${with_libiconv_prefix+set}" = set; then :
30191 withval=$with_libiconv_prefix;
30192 for dir in `echo "$withval" | tr : ' '`; do
30193 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30194 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30195 done
30196
30197 fi
30198
30199
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30201 $as_echo_n "checking for iconv... " >&6; }
30202 if ${am_cv_func_iconv+:} false; then :
30203 $as_echo_n "(cached) " >&6
30204 else
30205
30206 am_cv_func_iconv="no, consider installing GNU libiconv"
30207 am_cv_lib_iconv=no
30208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30209 /* end confdefs.h. */
30210 #include <stdlib.h>
30211 #include <iconv.h>
30212 int
30213 main ()
30214 {
30215 iconv_t cd = iconv_open("","");
30216 iconv(cd,NULL,NULL,NULL,NULL);
30217 iconv_close(cd);
30218 ;
30219 return 0;
30220 }
30221 _ACEOF
30222 if ac_fn_c_try_link "$LINENO"; then :
30223 am_cv_func_iconv=yes
30224 fi
30225 rm -f core conftest.err conftest.$ac_objext \
30226 conftest$ac_exeext conftest.$ac_ext
30227 if test "$am_cv_func_iconv" != yes; then
30228 am_save_LIBS="$LIBS"
30229 LIBS="$LIBS -liconv"
30230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30231 /* end confdefs.h. */
30232 #include <stdlib.h>
30233 #include <iconv.h>
30234 int
30235 main ()
30236 {
30237 iconv_t cd = iconv_open("","");
30238 iconv(cd,NULL,NULL,NULL,NULL);
30239 iconv_close(cd);
30240 ;
30241 return 0;
30242 }
30243 _ACEOF
30244 if ac_fn_c_try_link "$LINENO"; then :
30245 am_cv_lib_iconv=yes
30246 am_cv_func_iconv=yes
30247 fi
30248 rm -f core conftest.err conftest.$ac_objext \
30249 conftest$ac_exeext conftest.$ac_ext
30250 LIBS="$am_save_LIBS"
30251 fi
30252
30253 fi
30254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30255 $as_echo "$am_cv_func_iconv" >&6; }
30256 if test "$am_cv_func_iconv" = yes; then
30257
30258 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30259
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30261 $as_echo_n "checking if iconv needs const... " >&6; }
30262 if ${wx_cv_func_iconv_const+:} false; then :
30263 $as_echo_n "(cached) " >&6
30264 else
30265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30266 /* end confdefs.h. */
30267
30268 #include <stdlib.h>
30269 #include <iconv.h>
30270 extern
30271 #ifdef __cplusplus
30272 "C"
30273 #endif
30274 #if defined(__STDC__) || defined(__cplusplus)
30275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30276 #else
30277 size_t iconv();
30278 #endif
30279
30280 int
30281 main ()
30282 {
30283
30284 ;
30285 return 0;
30286 }
30287 _ACEOF
30288 if ac_fn_c_try_compile "$LINENO"; then :
30289 wx_cv_func_iconv_const="no"
30290 else
30291 wx_cv_func_iconv_const="yes"
30292
30293 fi
30294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30295
30296 fi
30297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30298 $as_echo "$wx_cv_func_iconv_const" >&6; }
30299
30300 iconv_const=
30301 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30302 iconv_const="const"
30303 fi
30304
30305
30306 cat >>confdefs.h <<_ACEOF
30307 #define ICONV_CONST $iconv_const
30308 _ACEOF
30309
30310 fi
30311 LIBICONV=
30312 if test "$am_cv_lib_iconv" = yes; then
30313 LIBICONV="-liconv"
30314 fi
30315
30316
30317 LIBS="$LIBICONV $LIBS"
30318 fi
30319
30320 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30321 for ac_func in sigaction
30322 do :
30323 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30324 if test "x$ac_cv_func_sigaction" = xyes; then :
30325 cat >>confdefs.h <<_ACEOF
30326 #define HAVE_SIGACTION 1
30327 _ACEOF
30328
30329 fi
30330 done
30331
30332
30333 if test "$ac_cv_func_sigaction" = "no"; then
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30335 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30336 wxUSE_ON_FATAL_EXCEPTION=no
30337 fi
30338
30339 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30341 $as_echo_n "checking for sa_handler type... " >&6; }
30342 if ${wx_cv_type_sa_handler+:} false; then :
30343 $as_echo_n "(cached) " >&6
30344 else
30345
30346 ac_ext=cpp
30347 ac_cpp='$CXXCPP $CPPFLAGS'
30348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30351
30352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30353 /* end confdefs.h. */
30354 #include <signal.h>
30355 int
30356 main ()
30357 {
30358
30359 extern void testSigHandler(int);
30360
30361 struct sigaction sa;
30362 sa.sa_handler = testSigHandler;
30363
30364 ;
30365 return 0;
30366 }
30367 _ACEOF
30368 if ac_fn_cxx_try_compile "$LINENO"; then :
30369
30370 wx_cv_type_sa_handler=int
30371
30372 else
30373
30374 wx_cv_type_sa_handler=void
30375
30376 fi
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384
30385 fi
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30387 $as_echo "$wx_cv_type_sa_handler" >&6; }
30388
30389 cat >>confdefs.h <<_ACEOF
30390 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30391 _ACEOF
30392
30393 fi
30394 fi
30395
30396 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30398 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30399 if ${wx_cv_func_backtrace+:} false; then :
30400 $as_echo_n "(cached) " >&6
30401 else
30402
30403 ac_ext=cpp
30404 ac_cpp='$CXXCPP $CPPFLAGS'
30405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30408
30409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30410 /* end confdefs.h. */
30411 #include <execinfo.h>
30412 int
30413 main ()
30414 {
30415
30416 void *trace[1];
30417 char **messages;
30418
30419 backtrace(trace, 1);
30420 messages = backtrace_symbols(trace, 1);
30421
30422 ;
30423 return 0;
30424 }
30425 _ACEOF
30426 if ac_fn_cxx_try_compile "$LINENO"; then :
30427 wx_cv_func_backtrace=yes
30428 else
30429 wx_cv_func_backtrace=no
30430
30431 fi
30432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30433 ac_ext=c
30434 ac_cpp='$CPP $CPPFLAGS'
30435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30438
30439
30440
30441 fi
30442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30443 $as_echo "$wx_cv_func_backtrace" >&6; }
30444
30445
30446 if test "$wx_cv_func_backtrace" = "no"; then
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30448 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30449 wxUSE_STACKWALKER=no
30450 else
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30452 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30453 if ${wx_cv_func_cxa_demangle+:} false; then :
30454 $as_echo_n "(cached) " >&6
30455 else
30456
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30462
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <cxxabi.h>
30466 int
30467 main ()
30468 {
30469
30470 int rc;
30471 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30472
30473 ;
30474 return 0;
30475 }
30476 _ACEOF
30477 if ac_fn_cxx_try_link "$LINENO"; then :
30478 wx_cv_func_cxa_demangle=yes
30479 else
30480 wx_cv_func_cxa_demangle=no
30481
30482 fi
30483 rm -f core conftest.err conftest.$ac_objext \
30484 conftest$ac_exeext conftest.$ac_ext
30485 ac_ext=c
30486 ac_cpp='$CPP $CPPFLAGS'
30487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30490
30491
30492
30493 fi
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30495 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30496
30497 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30498 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30499
30500 fi
30501 fi
30502 fi
30503
30504 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30506 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30507 wxUSE_STACKWALKER=no
30508 fi
30509
30510
30511 for ac_func in mkstemp mktemp
30512 do :
30513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30516 cat >>confdefs.h <<_ACEOF
30517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30518 _ACEOF
30519 break
30520 fi
30521 done
30522
30523
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30525 $as_echo_n "checking for statfs... " >&6; }
30526 if ${wx_cv_func_statfs+:} false; then :
30527 $as_echo_n "(cached) " >&6
30528 else
30529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h. */
30531
30532 #if defined(__BSD__)
30533 #include <sys/param.h>
30534 #include <sys/mount.h>
30535 #else
30536 #include <sys/vfs.h>
30537 #endif
30538
30539 int
30540 main ()
30541 {
30542
30543 long l;
30544 struct statfs fs;
30545 statfs("/", &fs);
30546 l = fs.f_bsize;
30547 l += fs.f_blocks;
30548 l += fs.f_bavail;
30549
30550 ;
30551 return 0;
30552 }
30553 _ACEOF
30554 if ac_fn_c_try_compile "$LINENO"; then :
30555 wx_cv_func_statfs=yes
30556 else
30557 wx_cv_func_statfs=no
30558
30559 fi
30560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30561
30562 fi
30563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30564 $as_echo "$wx_cv_func_statfs" >&6; }
30565
30566 if test "$wx_cv_func_statfs" = "yes"; then
30567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30568 $as_echo_n "checking for statfs declaration... " >&6; }
30569 if ${wx_cv_func_statfs_decl+:} false; then :
30570 $as_echo_n "(cached) " >&6
30571 else
30572 ac_ext=cpp
30573 ac_cpp='$CXXCPP $CPPFLAGS'
30574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30577
30578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30579 /* end confdefs.h. */
30580
30581 #if defined(__BSD__)
30582 #include <sys/param.h>
30583 #include <sys/mount.h>
30584 #else
30585 #include <sys/vfs.h>
30586 #endif
30587
30588 int
30589 main ()
30590 {
30591
30592 struct statfs fs;
30593 statfs("", &fs);
30594
30595 ;
30596 return 0;
30597 }
30598 _ACEOF
30599 if ac_fn_cxx_try_compile "$LINENO"; then :
30600 wx_cv_func_statfs_decl=yes
30601 else
30602 wx_cv_func_statfs_decl=no
30603
30604 fi
30605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30606 ac_ext=c
30607 ac_cpp='$CPP $CPPFLAGS'
30608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30611
30612
30613 fi
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30615 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30616
30617 if test "$wx_cv_func_statfs_decl" = "yes"; then
30618 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30619
30620 fi
30621
30622 wx_cv_type_statvfs_t="struct statfs"
30623 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30624
30625 else
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30627 $as_echo_n "checking for statvfs... " >&6; }
30628 if ${wx_cv_func_statvfs+:} false; then :
30629 $as_echo_n "(cached) " >&6
30630 else
30631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30632 /* end confdefs.h. */
30633
30634 #include <stddef.h>
30635 #include <sys/statvfs.h>
30636
30637 int
30638 main ()
30639 {
30640
30641 statvfs("/", NULL);
30642
30643 ;
30644 return 0;
30645 }
30646 _ACEOF
30647 if ac_fn_c_try_compile "$LINENO"; then :
30648 wx_cv_func_statvfs=yes
30649 else
30650 wx_cv_func_statvfs=no
30651
30652 fi
30653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30654
30655 fi
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30657 $as_echo "$wx_cv_func_statvfs" >&6; }
30658
30659 if test "$wx_cv_func_statvfs" = "yes"; then
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30661 $as_echo_n "checking for statvfs argument type... " >&6; }
30662 if ${wx_cv_type_statvfs_t+:} false; then :
30663 $as_echo_n "(cached) " >&6
30664 else
30665 ac_ext=cpp
30666 ac_cpp='$CXXCPP $CPPFLAGS'
30667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30670
30671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30672 /* end confdefs.h. */
30673
30674 #include <sys/statvfs.h>
30675
30676 int
30677 main ()
30678 {
30679
30680 long l;
30681 statvfs_t fs;
30682 statvfs("/", &fs);
30683 l = fs.f_bsize;
30684 l += fs.f_blocks;
30685 l += fs.f_bavail;
30686
30687 ;
30688 return 0;
30689 }
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692 wx_cv_type_statvfs_t=statvfs_t
30693 else
30694
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30697
30698 #include <sys/statvfs.h>
30699
30700 int
30701 main ()
30702 {
30703
30704 long l;
30705 struct statvfs fs;
30706 statvfs("/", &fs);
30707 l = fs.f_bsize;
30708 l += fs.f_blocks;
30709 l += fs.f_bavail;
30710
30711 ;
30712 return 0;
30713 }
30714 _ACEOF
30715 if ac_fn_cxx_try_compile "$LINENO"; then :
30716 wx_cv_type_statvfs_t="struct statvfs"
30717 else
30718 wx_cv_type_statvfs_t="unknown"
30719
30720 fi
30721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30722
30723
30724 fi
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30726 ac_ext=c
30727 ac_cpp='$CPP $CPPFLAGS'
30728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30731
30732
30733 fi
30734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30735 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30736
30737 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30738 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30739
30740 fi
30741 else
30742 wx_cv_type_statvfs_t="unknown"
30743 fi
30744 fi
30745
30746 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30747 cat >>confdefs.h <<_ACEOF
30748 #define WX_STATFS_T $wx_cv_type_statvfs_t
30749 _ACEOF
30750
30751 else
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30753 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30754 fi
30755
30756 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30757 for ac_func in fcntl flock
30758 do :
30759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30761 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30762 cat >>confdefs.h <<_ACEOF
30763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30764 _ACEOF
30765 break
30766 fi
30767 done
30768
30769
30770 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30772 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30773 wxUSE_SNGLINST_CHECKER=no
30774 fi
30775 fi
30776
30777 for ac_func in setenv putenv
30778 do :
30779 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30780 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30781 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30782 cat >>confdefs.h <<_ACEOF
30783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30784 _ACEOF
30785 break
30786 fi
30787 done
30788
30789 if test "$ac_cv_func_setenv" = "yes"; then
30790 for ac_func in unsetenv
30791 do :
30792 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30793 if test "x$ac_cv_func_unsetenv" = xyes; then :
30794 cat >>confdefs.h <<_ACEOF
30795 #define HAVE_UNSETENV 1
30796 _ACEOF
30797
30798 fi
30799 done
30800
30801 fi
30802
30803 HAVE_SOME_SLEEP_FUNC=0
30804 if test "$USE_BEOS" = 1; then
30805 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30806
30807 HAVE_SOME_SLEEP_FUNC=1
30808 fi
30809
30810 if test "$USE_DARWIN" = 1; then
30811 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30812
30813 HAVE_SOME_SLEEP_FUNC=1
30814 fi
30815
30816 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30817 POSIX4_LINK=
30818 for ac_func in nanosleep
30819 do :
30820 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30821 if test "x$ac_cv_func_nanosleep" = xyes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE_NANOSLEEP 1
30824 _ACEOF
30825 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30826
30827 else
30828
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30830 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30831 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30832 $as_echo_n "(cached) " >&6
30833 else
30834 ac_check_lib_save_LIBS=$LIBS
30835 LIBS="-lposix4 $LIBS"
30836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30837 /* end confdefs.h. */
30838
30839 /* Override any GCC internal prototype to avoid an error.
30840 Use char because int might match the return type of a GCC
30841 builtin and then its argument prototype would still apply. */
30842 #ifdef __cplusplus
30843 extern "C"
30844 #endif
30845 char nanosleep ();
30846 int
30847 main ()
30848 {
30849 return nanosleep ();
30850 ;
30851 return 0;
30852 }
30853 _ACEOF
30854 if ac_fn_c_try_link "$LINENO"; then :
30855 ac_cv_lib_posix4_nanosleep=yes
30856 else
30857 ac_cv_lib_posix4_nanosleep=no
30858 fi
30859 rm -f core conftest.err conftest.$ac_objext \
30860 conftest$ac_exeext conftest.$ac_ext
30861 LIBS=$ac_check_lib_save_LIBS
30862 fi
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30864 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30865 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30866
30867 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30868
30869 POSIX4_LINK=" -lposix4"
30870
30871 else
30872
30873
30874 for wx_func in usleep
30875 do
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30877 $as_echo_n "checking for $wx_func... " >&6; }
30878 if eval \${wx_cv_func_$wx_func+:} false; then :
30879 $as_echo_n "(cached) " >&6
30880 else
30881
30882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30883 /* end confdefs.h. */
30884
30885
30886
30887 $ac_includes_default
30888
30889 int
30890 main ()
30891 {
30892
30893 #ifndef $wx_func
30894 &$wx_func;
30895 #endif
30896
30897
30898 ;
30899 return 0;
30900 }
30901
30902 _ACEOF
30903 if ac_fn_c_try_link "$LINENO"; then :
30904 eval wx_cv_func_$wx_func=yes
30905 else
30906 eval wx_cv_func_$wx_func=no
30907 fi
30908 rm -f core conftest.err conftest.$ac_objext \
30909 conftest$ac_exeext conftest.$ac_ext
30910
30911 fi
30912 eval ac_res=\$wx_cv_func_$wx_func
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30914 $as_echo "$ac_res" >&6; }
30915
30916 if eval test \$wx_cv_func_$wx_func = yes
30917 then
30918 cat >>confdefs.h <<_ACEOF
30919 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30920 _ACEOF
30921
30922
30923 else
30924 :
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30926 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30927
30928 fi
30929 done
30930
30931
30932
30933 fi
30934
30935
30936
30937 fi
30938 done
30939
30940 fi
30941
30942
30943 for wx_func in uname
30944 do
30945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30946 $as_echo_n "checking for $wx_func... " >&6; }
30947 if eval \${wx_cv_func_$wx_func+:} false; then :
30948 $as_echo_n "(cached) " >&6
30949 else
30950
30951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30952 /* end confdefs.h. */
30953
30954
30955 #include <sys/utsname.h>
30956 $ac_includes_default
30957
30958 int
30959 main ()
30960 {
30961
30962 #ifndef $wx_func
30963 &$wx_func;
30964 #endif
30965
30966
30967 ;
30968 return 0;
30969 }
30970
30971 _ACEOF
30972 if ac_fn_c_try_link "$LINENO"; then :
30973 eval wx_cv_func_$wx_func=yes
30974 else
30975 eval wx_cv_func_$wx_func=no
30976 fi
30977 rm -f core conftest.err conftest.$ac_objext \
30978 conftest$ac_exeext conftest.$ac_ext
30979
30980 fi
30981 eval ac_res=\$wx_cv_func_$wx_func
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30983 $as_echo "$ac_res" >&6; }
30984
30985 if eval test \$wx_cv_func_$wx_func = yes
30986 then
30987 cat >>confdefs.h <<_ACEOF
30988 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30989 _ACEOF
30990
30991
30992 else
30993 :
30994
30995 fi
30996 done
30997
30998 if test "$wx_cv_func_uname" != yes; then
30999
31000 for wx_func in gethostname
31001 do
31002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31003 $as_echo_n "checking for $wx_func... " >&6; }
31004 if eval \${wx_cv_func_$wx_func+:} false; then :
31005 $as_echo_n "(cached) " >&6
31006 else
31007
31008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31009 /* end confdefs.h. */
31010
31011
31012
31013 $ac_includes_default
31014
31015 int
31016 main ()
31017 {
31018
31019 #ifndef $wx_func
31020 &$wx_func;
31021 #endif
31022
31023
31024 ;
31025 return 0;
31026 }
31027
31028 _ACEOF
31029 if ac_fn_c_try_link "$LINENO"; then :
31030 eval wx_cv_func_$wx_func=yes
31031 else
31032 eval wx_cv_func_$wx_func=no
31033 fi
31034 rm -f core conftest.err conftest.$ac_objext \
31035 conftest$ac_exeext conftest.$ac_ext
31036
31037 fi
31038 eval ac_res=\$wx_cv_func_$wx_func
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31040 $as_echo "$ac_res" >&6; }
31041
31042 if eval test \$wx_cv_func_$wx_func = yes
31043 then
31044 cat >>confdefs.h <<_ACEOF
31045 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31046 _ACEOF
31047
31048
31049 else
31050 :
31051
31052 fi
31053 done
31054
31055 fi
31056
31057
31058 for wx_func in strtok_r
31059 do
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31061 $as_echo_n "checking for $wx_func... " >&6; }
31062 if eval \${wx_cv_func_$wx_func+:} false; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31065
31066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31067 /* end confdefs.h. */
31068
31069
31070 #define _REENTRANT
31071 $ac_includes_default
31072
31073 int
31074 main ()
31075 {
31076
31077 #ifndef $wx_func
31078 &$wx_func;
31079 #endif
31080
31081
31082 ;
31083 return 0;
31084 }
31085
31086 _ACEOF
31087 if ac_fn_c_try_link "$LINENO"; then :
31088 eval wx_cv_func_$wx_func=yes
31089 else
31090 eval wx_cv_func_$wx_func=no
31091 fi
31092 rm -f core conftest.err conftest.$ac_objext \
31093 conftest$ac_exeext conftest.$ac_ext
31094
31095 fi
31096 eval ac_res=\$wx_cv_func_$wx_func
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31098 $as_echo "$ac_res" >&6; }
31099
31100 if eval test \$wx_cv_func_$wx_func = yes
31101 then
31102 cat >>confdefs.h <<_ACEOF
31103 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31104 _ACEOF
31105
31106
31107 else
31108 :
31109
31110 fi
31111 done
31112
31113
31114 INET_LINK=
31115 for ac_func in inet_addr
31116 do :
31117 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31118 if test "x$ac_cv_func_inet_addr" = xyes; then :
31119 cat >>confdefs.h <<_ACEOF
31120 #define HAVE_INET_ADDR 1
31121 _ACEOF
31122 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31123
31124 else
31125
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31127 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31128 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31129 $as_echo_n "(cached) " >&6
31130 else
31131 ac_check_lib_save_LIBS=$LIBS
31132 LIBS="-lnsl $LIBS"
31133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31134 /* end confdefs.h. */
31135
31136 /* Override any GCC internal prototype to avoid an error.
31137 Use char because int might match the return type of a GCC
31138 builtin and then its argument prototype would still apply. */
31139 #ifdef __cplusplus
31140 extern "C"
31141 #endif
31142 char inet_addr ();
31143 int
31144 main ()
31145 {
31146 return inet_addr ();
31147 ;
31148 return 0;
31149 }
31150 _ACEOF
31151 if ac_fn_c_try_link "$LINENO"; then :
31152 ac_cv_lib_nsl_inet_addr=yes
31153 else
31154 ac_cv_lib_nsl_inet_addr=no
31155 fi
31156 rm -f core conftest.err conftest.$ac_objext \
31157 conftest$ac_exeext conftest.$ac_ext
31158 LIBS=$ac_check_lib_save_LIBS
31159 fi
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31161 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31162 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31163 INET_LINK="nsl"
31164 else
31165
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31167 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31168 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31169 $as_echo_n "(cached) " >&6
31170 else
31171 ac_check_lib_save_LIBS=$LIBS
31172 LIBS="-lresolv $LIBS"
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175
31176 /* Override any GCC internal prototype to avoid an error.
31177 Use char because int might match the return type of a GCC
31178 builtin and then its argument prototype would still apply. */
31179 #ifdef __cplusplus
31180 extern "C"
31181 #endif
31182 char inet_addr ();
31183 int
31184 main ()
31185 {
31186 return inet_addr ();
31187 ;
31188 return 0;
31189 }
31190 _ACEOF
31191 if ac_fn_c_try_link "$LINENO"; then :
31192 ac_cv_lib_resolv_inet_addr=yes
31193 else
31194 ac_cv_lib_resolv_inet_addr=no
31195 fi
31196 rm -f core conftest.err conftest.$ac_objext \
31197 conftest$ac_exeext conftest.$ac_ext
31198 LIBS=$ac_check_lib_save_LIBS
31199 fi
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31201 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31202 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31203 INET_LINK="resolv"
31204 else
31205
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31207 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31208 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31209 $as_echo_n "(cached) " >&6
31210 else
31211 ac_check_lib_save_LIBS=$LIBS
31212 LIBS="-lsocket $LIBS"
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215
31216 /* Override any GCC internal prototype to avoid an error.
31217 Use char because int might match the return type of a GCC
31218 builtin and then its argument prototype would still apply. */
31219 #ifdef __cplusplus
31220 extern "C"
31221 #endif
31222 char inet_addr ();
31223 int
31224 main ()
31225 {
31226 return inet_addr ();
31227 ;
31228 return 0;
31229 }
31230 _ACEOF
31231 if ac_fn_c_try_link "$LINENO"; then :
31232 ac_cv_lib_socket_inet_addr=yes
31233 else
31234 ac_cv_lib_socket_inet_addr=no
31235 fi
31236 rm -f core conftest.err conftest.$ac_objext \
31237 conftest$ac_exeext conftest.$ac_ext
31238 LIBS=$ac_check_lib_save_LIBS
31239 fi
31240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31241 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31242 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31243 INET_LINK="socket"
31244
31245 fi
31246
31247
31248
31249 fi
31250
31251
31252
31253 fi
31254
31255
31256
31257 fi
31258 done
31259
31260
31261 for ac_func in inet_aton
31262 do :
31263 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31264 if test "x$ac_cv_func_inet_aton" = xyes; then :
31265 cat >>confdefs.h <<_ACEOF
31266 #define HAVE_INET_ATON 1
31267 _ACEOF
31268 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31269
31270 else
31271
31272 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31274 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31275 if eval \${$as_ac_Lib+:} false; then :
31276 $as_echo_n "(cached) " >&6
31277 else
31278 ac_check_lib_save_LIBS=$LIBS
31279 LIBS="-l$INET_LINK $LIBS"
31280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31281 /* end confdefs.h. */
31282
31283 /* Override any GCC internal prototype to avoid an error.
31284 Use char because int might match the return type of a GCC
31285 builtin and then its argument prototype would still apply. */
31286 #ifdef __cplusplus
31287 extern "C"
31288 #endif
31289 char inet_aton ();
31290 int
31291 main ()
31292 {
31293 return inet_aton ();
31294 ;
31295 return 0;
31296 }
31297 _ACEOF
31298 if ac_fn_c_try_link "$LINENO"; then :
31299 eval "$as_ac_Lib=yes"
31300 else
31301 eval "$as_ac_Lib=no"
31302 fi
31303 rm -f core conftest.err conftest.$ac_objext \
31304 conftest$ac_exeext conftest.$ac_ext
31305 LIBS=$ac_check_lib_save_LIBS
31306 fi
31307 eval ac_res=\$$as_ac_Lib
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31309 $as_echo "$ac_res" >&6; }
31310 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31311 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31312
31313 fi
31314
31315
31316 fi
31317 done
31318
31319
31320 if test "x$INET_LINK" != "x"; then
31321 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31322
31323 INET_LINK=" -l$INET_LINK"
31324 fi
31325
31326
31327 for wx_func in fdopen
31328 do
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31330 $as_echo_n "checking for $wx_func... " >&6; }
31331 if eval \${wx_cv_func_$wx_func+:} false; then :
31332 $as_echo_n "(cached) " >&6
31333 else
31334
31335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31336 /* end confdefs.h. */
31337
31338
31339
31340 $ac_includes_default
31341
31342 int
31343 main ()
31344 {
31345
31346 #ifndef $wx_func
31347 &$wx_func;
31348 #endif
31349
31350
31351 ;
31352 return 0;
31353 }
31354
31355 _ACEOF
31356 if ac_fn_c_try_link "$LINENO"; then :
31357 eval wx_cv_func_$wx_func=yes
31358 else
31359 eval wx_cv_func_$wx_func=no
31360 fi
31361 rm -f core conftest.err conftest.$ac_objext \
31362 conftest$ac_exeext conftest.$ac_ext
31363
31364 fi
31365 eval ac_res=\$wx_cv_func_$wx_func
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31367 $as_echo "$ac_res" >&6; }
31368
31369 if eval test \$wx_cv_func_$wx_func = yes
31370 then
31371 cat >>confdefs.h <<_ACEOF
31372 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31373 _ACEOF
31374
31375
31376 else
31377 :
31378
31379 fi
31380 done
31381
31382
31383 if test "$wxUSE_TARSTREAM" = "yes"; then
31384
31385 for wx_func in sysconf
31386 do
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31388 $as_echo_n "checking for $wx_func... " >&6; }
31389 if eval \${wx_cv_func_$wx_func+:} false; then :
31390 $as_echo_n "(cached) " >&6
31391 else
31392
31393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31395
31396
31397
31398 $ac_includes_default
31399
31400 int
31401 main ()
31402 {
31403
31404 #ifndef $wx_func
31405 &$wx_func;
31406 #endif
31407
31408
31409 ;
31410 return 0;
31411 }
31412
31413 _ACEOF
31414 if ac_fn_c_try_link "$LINENO"; then :
31415 eval wx_cv_func_$wx_func=yes
31416 else
31417 eval wx_cv_func_$wx_func=no
31418 fi
31419 rm -f core conftest.err conftest.$ac_objext \
31420 conftest$ac_exeext conftest.$ac_ext
31421
31422 fi
31423 eval ac_res=\$wx_cv_func_$wx_func
31424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31425 $as_echo "$ac_res" >&6; }
31426
31427 if eval test \$wx_cv_func_$wx_func = yes
31428 then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31431 _ACEOF
31432
31433
31434 else
31435 :
31436
31437 fi
31438 done
31439
31440
31441
31442 for wx_func in getpwuid_r
31443 do
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31445 $as_echo_n "checking for $wx_func... " >&6; }
31446 if eval \${wx_cv_func_$wx_func+:} false; then :
31447 $as_echo_n "(cached) " >&6
31448 else
31449
31450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h. */
31452
31453
31454
31455 #define _REENTRANT
31456 #include <pwd.h>
31457
31458 $ac_includes_default
31459
31460 int
31461 main ()
31462 {
31463
31464 #ifndef $wx_func
31465 &$wx_func;
31466 #endif
31467
31468 struct passwd pw, *ppw;
31469 char buf[1024];
31470 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31471
31472
31473 ;
31474 return 0;
31475 }
31476
31477 _ACEOF
31478 if ac_fn_c_try_link "$LINENO"; then :
31479 eval wx_cv_func_$wx_func=yes
31480 else
31481 eval wx_cv_func_$wx_func=no
31482 fi
31483 rm -f core conftest.err conftest.$ac_objext \
31484 conftest$ac_exeext conftest.$ac_ext
31485
31486 fi
31487 eval ac_res=\$wx_cv_func_$wx_func
31488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31489 $as_echo "$ac_res" >&6; }
31490
31491 if eval test \$wx_cv_func_$wx_func = yes
31492 then
31493 cat >>confdefs.h <<_ACEOF
31494 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31495 _ACEOF
31496
31497
31498 else
31499 :
31500
31501 fi
31502 done
31503
31504
31505
31506 for wx_func in getgrgid_r
31507 do
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31509 $as_echo_n "checking for $wx_func... " >&6; }
31510 if eval \${wx_cv_func_$wx_func+:} false; then :
31511 $as_echo_n "(cached) " >&6
31512 else
31513
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31516
31517
31518
31519 #define _REENTRANT
31520 #include <grp.h>
31521
31522 $ac_includes_default
31523
31524 int
31525 main ()
31526 {
31527
31528 #ifndef $wx_func
31529 &$wx_func;
31530 #endif
31531
31532 struct group grp, *pgrp;
31533 char buf[1024];
31534 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31535
31536
31537 ;
31538 return 0;
31539 }
31540
31541 _ACEOF
31542 if ac_fn_c_try_link "$LINENO"; then :
31543 eval wx_cv_func_$wx_func=yes
31544 else
31545 eval wx_cv_func_$wx_func=no
31546 fi
31547 rm -f core conftest.err conftest.$ac_objext \
31548 conftest$ac_exeext conftest.$ac_ext
31549
31550 fi
31551 eval ac_res=\$wx_cv_func_$wx_func
31552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31553 $as_echo "$ac_res" >&6; }
31554
31555 if eval test \$wx_cv_func_$wx_func = yes
31556 then
31557 cat >>confdefs.h <<_ACEOF
31558 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31559 _ACEOF
31560
31561
31562 else
31563 :
31564
31565 fi
31566 done
31567
31568 fi
31569
31570 fi
31571
31572
31573
31574 cat >confcache <<\_ACEOF
31575 # This file is a shell script that caches the results of configure
31576 # tests run on this system so they can be shared between configure
31577 # scripts and configure runs, see configure's option --config-cache.
31578 # It is not useful on other systems. If it contains results you don't
31579 # want to keep, you may remove or edit it.
31580 #
31581 # config.status only pays attention to the cache file if you give it
31582 # the --recheck option to rerun configure.
31583 #
31584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31586 # following values.
31587
31588 _ACEOF
31589
31590 # The following way of writing the cache mishandles newlines in values,
31591 # but we know of no workaround that is simple, portable, and efficient.
31592 # So, we kill variables containing newlines.
31593 # Ultrix sh set writes to stderr and can't be redirected directly,
31594 # and sets the high bit in the cache file unless we assign to the vars.
31595 (
31596 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31597 eval ac_val=\$$ac_var
31598 case $ac_val in #(
31599 *${as_nl}*)
31600 case $ac_var in #(
31601 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31603 esac
31604 case $ac_var in #(
31605 _ | IFS | as_nl) ;; #(
31606 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31607 *) { eval $ac_var=; unset $ac_var;} ;;
31608 esac ;;
31609 esac
31610 done
31611
31612 (set) 2>&1 |
31613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31614 *${as_nl}ac_space=\ *)
31615 # `set' does not quote correctly, so add quotes: double-quote
31616 # substitution turns \\\\ into \\, and sed turns \\ into \.
31617 sed -n \
31618 "s/'/'\\\\''/g;
31619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31620 ;; #(
31621 *)
31622 # `set' quotes correctly as required by POSIX, so do not add quotes.
31623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31624 ;;
31625 esac |
31626 sort
31627 ) |
31628 sed '
31629 /^ac_cv_env_/b end
31630 t clear
31631 :clear
31632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31633 t end
31634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31635 :end' >>confcache
31636 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31637 if test -w "$cache_file"; then
31638 if test "x$cache_file" != "x/dev/null"; then
31639 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31640 $as_echo "$as_me: updating cache $cache_file" >&6;}
31641 if test ! -f "$cache_file" || test -h "$cache_file"; then
31642 cat confcache >"$cache_file"
31643 else
31644 case $cache_file in #(
31645 */* | ?:*)
31646 mv -f confcache "$cache_file"$$ &&
31647 mv -f "$cache_file"$$ "$cache_file" ;; #(
31648 *)
31649 mv -f confcache "$cache_file" ;;
31650 esac
31651 fi
31652 fi
31653 else
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31656 fi
31657 fi
31658 rm -f confcache
31659
31660
31661 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31662
31663
31664 THREADS_LINK=
31665 THREADS_CFLAGS=
31666
31667 if test "$wxUSE_THREADS" = "yes" ; then
31668 if test "$USE_BEOS" = 1; then
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31670 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31671 wxUSE_THREADS="no"
31672 fi
31673 fi
31674
31675 if test "$wxUSE_THREADS" = "yes" ; then
31676
31677
31678 THREAD_OPTS="-pthread"
31679 if test "x$SUNCXX" = xyes; then
31680 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31681 fi
31682
31683 case "${host}" in
31684 *-*-solaris2* | *-*-sunos4* )
31685 if test "x$GCC" = "xyes"; then
31686 THREAD_OPTS="-pthreads $THREAD_OPTS"
31687 fi
31688 ;;
31689 *-*-freebsd*)
31690 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31691 ;;
31692 *-*-darwin* | *-*-cygwin* )
31693 THREAD_OPTS=""
31694 ;;
31695 *-*-aix*)
31696 THREAD_OPTS="pthreads"
31697 ;;
31698 *-hp-hpux* )
31699 if test "x$GCC" = "xyes"; then
31700 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31701 THREAD_OPTS=""
31702 else
31703 THREAD_OPTS="-mt"
31704 fi
31705 ;;
31706
31707 *-*-irix* )
31708 if test "x$GCC" = "xyes"; then
31709 THREAD_OPTS=""
31710 fi
31711 ;;
31712
31713 *-*-qnx*)
31714 THREAD_OPTS=""
31715 ;;
31716
31717 *-*-*UnixWare*)
31718 if test "x$GCC" != "xyes"; then
31719 THREAD_OPTS="-Ethread"
31720 fi
31721 ;;
31722 esac
31723
31724 case "${host}" in
31725 *-*-qnx*)
31726 THREAD_OPTS="none pthread"
31727 ;;
31728
31729 *)
31730 THREAD_OPTS="$THREAD_OPTS pthread none"
31731 ;;
31732 esac
31733
31734 THREADS_OK=no
31735 for flag in $THREAD_OPTS; do
31736 case $flag in
31737 none)
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31739 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31740 ;;
31741
31742 -*)
31743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31744 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31745 THREADS_CFLAGS="$flag"
31746 ;;
31747
31748 *)
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31750 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31751 THREADS_LINK="-l$flag"
31752 ;;
31753 esac
31754
31755 save_LIBS="$LIBS"
31756 save_CFLAGS="$CFLAGS"
31757 LIBS="$THREADS_LINK $LIBS"
31758 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31759
31760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31761 /* end confdefs.h. */
31762 #include <pthread.h>
31763 int
31764 main ()
31765 {
31766 pthread_create(0,0,0,0);
31767 ;
31768 return 0;
31769 }
31770 _ACEOF
31771 if ac_fn_c_try_link "$LINENO"; then :
31772 THREADS_OK=yes
31773 fi
31774 rm -f core conftest.err conftest.$ac_objext \
31775 conftest$ac_exeext conftest.$ac_ext
31776
31777 LIBS="$save_LIBS"
31778 CFLAGS="$save_CFLAGS"
31779
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31781 $as_echo "$THREADS_OK" >&6; }
31782 if test "x$THREADS_OK" = "xyes"; then
31783 break;
31784 fi
31785
31786 THREADS_LINK=""
31787 THREADS_CFLAGS=""
31788 done
31789
31790 if test "x$THREADS_OK" != "xyes"; then
31791 wxUSE_THREADS=no
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31793 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31794 else
31795 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31796 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31797 LIBS="$THREADS_LINK $LIBS"
31798
31799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31800 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31801 flag=no
31802 case "${host}" in
31803 *-aix*)
31804 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31805 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31806 flag="-D_THREAD_SAFE"
31807 ;;
31808 *-freebsd*)
31809 flag="-D_THREAD_SAFE"
31810 ;;
31811 *-hp-hpux* )
31812 flag="-D_REENTRANT"
31813 if test "x$GCC" != "xyes"; then
31814 flag="$flag -D_RWSTD_MULTI_THREAD"
31815 fi
31816 ;;
31817 *solaris* | alpha*-osf*)
31818 flag="-D_REENTRANT"
31819 ;;
31820 esac
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31822 $as_echo "${flag}" >&6; }
31823 if test "x$flag" != xno; then
31824 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31825 fi
31826
31827 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31828 fi
31829 fi
31830
31831 if test "$wxUSE_THREADS" = "yes" ; then
31832 for ac_func in pthread_setconcurrency
31833 do :
31834 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31835 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE_PTHREAD_SETCONCURRENCY 1
31838 _ACEOF
31839 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31840
31841 else
31842
31843 for ac_func in thr_setconcurrency
31844 do :
31845 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31846 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31847 cat >>confdefs.h <<_ACEOF
31848 #define HAVE_THR_SETCONCURRENCY 1
31849 _ACEOF
31850 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31851
31852 else
31853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31854 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31855 fi
31856 done
31857
31858
31859 fi
31860 done
31861
31862
31863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31864 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31865 if ${wx_cv_func_pthread_cleanup+:} false; then :
31866 $as_echo_n "(cached) " >&6
31867 else
31868
31869 ac_ext=cpp
31870 ac_cpp='$CXXCPP $CPPFLAGS'
31871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31874
31875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31876 /* end confdefs.h. */
31877 #include <pthread.h>
31878 void ThreadCleanupFunc(void *p);
31879
31880 int
31881 main ()
31882 {
31883
31884 void *p;
31885 pthread_cleanup_push(ThreadCleanupFunc, p);
31886 pthread_cleanup_pop(0);
31887
31888 ;
31889 return 0;
31890 }
31891 _ACEOF
31892 if ac_fn_cxx_try_compile "$LINENO"; then :
31893
31894 wx_cv_func_pthread_cleanup=yes
31895
31896 else
31897
31898 wx_cv_func_pthread_cleanup=no
31899
31900
31901 fi
31902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31903 ac_ext=c
31904 ac_cpp='$CPP $CPPFLAGS'
31905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31908
31909
31910 fi
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31912 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31913 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31914 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31915
31916 fi
31917
31918 for ac_header in sched.h
31919 do :
31920 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31921 "
31922 if test "x$ac_cv_header_sched_h" = xyes; then :
31923 cat >>confdefs.h <<_ACEOF
31924 #define HAVE_SCHED_H 1
31925 _ACEOF
31926
31927 fi
31928
31929 done
31930
31931 if test "$ac_cv_header_sched_h" = "yes"; then
31932 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31933 if test "x$ac_cv_func_sched_yield" = xyes; then :
31934 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31935
31936 else
31937
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31939 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31940 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31941 $as_echo_n "(cached) " >&6
31942 else
31943 ac_check_lib_save_LIBS=$LIBS
31944 LIBS="-lposix4 $LIBS"
31945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31946 /* end confdefs.h. */
31947
31948 /* Override any GCC internal prototype to avoid an error.
31949 Use char because int might match the return type of a GCC
31950 builtin and then its argument prototype would still apply. */
31951 #ifdef __cplusplus
31952 extern "C"
31953 #endif
31954 char sched_yield ();
31955 int
31956 main ()
31957 {
31958 return sched_yield ();
31959 ;
31960 return 0;
31961 }
31962 _ACEOF
31963 if ac_fn_c_try_link "$LINENO"; then :
31964 ac_cv_lib_posix4_sched_yield=yes
31965 else
31966 ac_cv_lib_posix4_sched_yield=no
31967 fi
31968 rm -f core conftest.err conftest.$ac_objext \
31969 conftest$ac_exeext conftest.$ac_ext
31970 LIBS=$ac_check_lib_save_LIBS
31971 fi
31972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31973 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31974 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
31975 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31976 POSIX4_LINK=" -lposix4"
31977 else
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31979 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31980
31981 fi
31982
31983
31984
31985 fi
31986
31987 fi
31988
31989 HAVE_PRIOR_FUNCS=0
31990 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31991 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
31992 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31993 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
31994 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31995 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
31996 HAVE_PRIOR_FUNCS=1
31997 else
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31999 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32000 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32001 $as_echo_n "(cached) " >&6
32002 else
32003 ac_check_lib_save_LIBS=$LIBS
32004 LIBS="-lposix4 $LIBS"
32005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32006 /* end confdefs.h. */
32007
32008 /* Override any GCC internal prototype to avoid an error.
32009 Use char because int might match the return type of a GCC
32010 builtin and then its argument prototype would still apply. */
32011 #ifdef __cplusplus
32012 extern "C"
32013 #endif
32014 char sched_get_priority_max ();
32015 int
32016 main ()
32017 {
32018 return sched_get_priority_max ();
32019 ;
32020 return 0;
32021 }
32022 _ACEOF
32023 if ac_fn_c_try_link "$LINENO"; then :
32024 ac_cv_lib_posix4_sched_get_priority_max=yes
32025 else
32026 ac_cv_lib_posix4_sched_get_priority_max=no
32027 fi
32028 rm -f core conftest.err conftest.$ac_objext \
32029 conftest$ac_exeext conftest.$ac_ext
32030 LIBS=$ac_check_lib_save_LIBS
32031 fi
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32033 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32034 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32035
32036 HAVE_PRIOR_FUNCS=1
32037 POSIX4_LINK=" -lposix4"
32038
32039 fi
32040
32041
32042 fi
32043
32044
32045 fi
32046
32047
32048 fi
32049
32050
32051 if test "$HAVE_PRIOR_FUNCS" = 1; then
32052 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32053
32054 else
32055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32056 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32057 fi
32058
32059 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32060 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32061 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32062
32063 else
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32065 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32066 fi
32067
32068
32069 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32070 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32071 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32072
32073 else
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32075 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32076 fi
32077
32078
32079 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32080 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32081 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32082
32083 fi
32084
32085
32086
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32088 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32089 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32090 $as_echo_n "(cached) " >&6
32091 else
32092
32093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32094 /* end confdefs.h. */
32095 #include <pthread.h>
32096 int
32097 main ()
32098 {
32099
32100 pthread_mutexattr_t attr;
32101 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32102
32103 ;
32104 return 0;
32105 }
32106 _ACEOF
32107 if ac_fn_c_try_compile "$LINENO"; then :
32108 wx_cv_type_pthread_mutexattr_t=yes
32109 else
32110 wx_cv_type_pthread_mutexattr_t=no
32111
32112 fi
32113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32114
32115 fi
32116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32117 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32118
32119 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32120 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32121
32122
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32124 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32125 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32126 $as_echo_n "(cached) " >&6
32127 else
32128
32129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32130 /* end confdefs.h. */
32131 #include <pthread.h>
32132 int
32133 main ()
32134 {
32135
32136 pthread_mutexattr_t attr;
32137 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32138
32139 ;
32140 return 0;
32141 }
32142 _ACEOF
32143 if ac_fn_c_try_compile "$LINENO"; then :
32144 wx_cv_func_pthread_mutexattr_settype_decl=yes
32145 else
32146 wx_cv_func_pthread_mutexattr_settype_decl=no
32147
32148 fi
32149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32150
32151 fi
32152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32153 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32154 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32155 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32156
32157 fi
32158 else
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32160 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32161 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32162 $as_echo_n "(cached) " >&6
32163 else
32164
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <pthread.h>
32168 int
32169 main ()
32170 {
32171
32172 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32173
32174 ;
32175 return 0;
32176 }
32177 _ACEOF
32178 if ac_fn_c_try_compile "$LINENO"; then :
32179
32180 wx_cv_type_pthread_rec_mutex_init=yes
32181
32182 else
32183
32184 wx_cv_type_pthread_rec_mutex_init=no
32185
32186
32187 fi
32188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32189
32190 fi
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32192 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32193 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32194 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32195
32196 else
32197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32198 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32199 fi
32200 fi
32201
32202 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32203 if test "$USE_NETBSD" = 1; then
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32205 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32206 wxUSE_COMPILER_TLS=no
32207 else
32208 wxUSE_COMPILER_TLS=yes
32209 fi
32210 fi
32211
32212 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32214 $as_echo_n "checking for __thread keyword... " >&6; }
32215 if ${wx_cv_cc___thread+:} false; then :
32216 $as_echo_n "(cached) " >&6
32217 else
32218
32219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <pthread.h>
32222 int
32223 main ()
32224 {
32225
32226 static __thread int n = 0;
32227 static __thread int *p = 0;
32228
32229 ;
32230 return 0;
32231 }
32232 _ACEOF
32233 if ac_fn_c_try_compile "$LINENO"; then :
32234 wx_cv_cc___thread=yes
32235 else
32236 wx_cv_cc___thread=no
32237
32238 fi
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240
32241
32242 fi
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32244 $as_echo "$wx_cv_cc___thread" >&6; }
32245
32246 if test "$wx_cv_cc___thread" = "yes"; then
32247
32248 GXX_VERSION=""
32249
32250
32251
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32253 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32254
32255 if test "x$GCC" = "xyes" ; then :
32256
32257 if test -z "" ; then :
32258
32259 ax_gcc_option_test="int main()
32260 {
32261 return 0;
32262 }"
32263
32264 else
32265
32266 ax_gcc_option_test=""
32267
32268 fi
32269
32270 # Dump the test program to file
32271 cat <<EOF > conftest.c
32272 $ax_gcc_option_test
32273 EOF
32274
32275 # Dump back the file to the log, useful for debugging purposes
32276 { ac_try='cat conftest.c 1>&5'
32277 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32278 (eval $ac_try) 2>&5
32279 ac_status=$?
32280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32281 test $ac_status = 0; }; }
32282
32283 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32284 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32285 (eval $ac_try) 2>&5
32286 ac_status=$?
32287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32288 test $ac_status = 0; }; } ; then :
32289
32290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32291 $as_echo "yes" >&6; }
32292
32293 ax_gcc_version_option=yes
32294
32295
32296 else
32297
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32299 $as_echo "no" >&6; }
32300
32301 ax_gcc_version_option=no
32302
32303
32304 fi
32305
32306 else
32307
32308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32309 $as_echo "no gcc available" >&6; }
32310
32311 fi
32312
32313 if test "x$GXX" = "xyes"; then :
32314
32315 if test "x$ax_gxx_version_option" != "no"; then :
32316
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32318 $as_echo_n "checking gxx version... " >&6; }
32319 if ${ax_cv_gxx_version+:} false; then :
32320 $as_echo_n "(cached) " >&6
32321 else
32322
32323 ax_cv_gxx_version="`$CXX -dumpversion`"
32324 if test "x$ax_cv_gxx_version" = "x"; then :
32325
32326 ax_cv_gxx_version=""
32327
32328 fi
32329
32330 fi
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32332 $as_echo "$ax_cv_gxx_version" >&6; }
32333 GXX_VERSION=$ax_cv_gxx_version
32334
32335 fi
32336
32337 fi
32338
32339
32340 if test -n "$ax_cv_gxx_version"; then
32341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32342 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32343 case "$ax_cv_gxx_version" in
32344 1.* | 2.* | 3.* )
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32346 $as_echo "no, it's broken" >&6; }
32347 wx_cv_cc___thread=no
32348 ;;
32349 *)
32350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32351 $as_echo "yes, it works" >&6; }
32352 ;;
32353 esac
32354 fi
32355 fi
32356
32357 if test "$wx_cv_cc___thread" = "yes"; then
32358 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32359
32360 fi
32361 fi
32362 fi
32363
32364 else
32365 if test "$wxUSE_THREADS" = "yes" ; then
32366 case "${host}" in
32367 x86_64-*-mingw32* )
32368 ;;
32369 *-*-mingw32* )
32370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32371 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32372 if ${wx_cv_cflags_mthread+:} false; then :
32373 $as_echo_n "(cached) " >&6
32374 else
32375
32376 CFLAGS_OLD="$CFLAGS"
32377 CFLAGS="-mthreads $CFLAGS"
32378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32379 /* end confdefs.h. */
32380
32381 int
32382 main ()
32383 {
32384
32385 ;
32386 return 0;
32387 }
32388 _ACEOF
32389 if ac_fn_c_try_compile "$LINENO"; then :
32390 wx_cv_cflags_mthread=yes
32391 else
32392 wx_cv_cflags_mthread=no
32393
32394 fi
32395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32396
32397
32398 fi
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32400 $as_echo "$wx_cv_cflags_mthread" >&6; }
32401
32402 if test "$wx_cv_cflags_mthread" = "yes"; then
32403 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32404 LDFLAGS="$LDFLAGS -mthreads"
32405 else
32406 CFLAGS="$CFLAGS_OLD"
32407 fi
32408 ;;
32409 *-pc-os2*emx )
32410 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32411 LDFLAGS="$LDFLAGS -Zmt"
32412 ;;
32413 esac
32414 fi
32415 fi
32416
32417 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32418 if test "x$ac_cv_func_localtime_r" = xyes; then :
32419 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32420
32421 fi
32422
32423 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32424 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32425 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32426
32427 fi
32428
32429
32430
32431
32432 ac_ext=c
32433 ac_cpp='$CPP $CPPFLAGS'
32434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32437
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32439 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32440
32441 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32442 $as_echo_n "(cached) " >&6
32443 else
32444
32445
32446 ################################################################
32447
32448 ac_cv_func_which_gethostbyname_r=unknown
32449
32450 #
32451 # ONE ARGUMENT (sanity check)
32452 #
32453
32454 # This should fail, as there is no variant of gethostbyname_r() that takes
32455 # a single argument. If it actually compiles, then we can assume that
32456 # netdb.h is not declaring the function, and the compiler is thereby
32457 # assuming an implicit prototype. In which case, we're out of luck.
32458 #
32459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32460 /* end confdefs.h. */
32461 #include <netdb.h>
32462 int
32463 main ()
32464 {
32465
32466 char *name = "www.gnu.org";
32467 (void)gethostbyname_r(name) /* ; */
32468
32469
32470 ;
32471 return 0;
32472 }
32473 _ACEOF
32474 if ac_fn_c_try_compile "$LINENO"; then :
32475 ac_cv_func_which_gethostbyname_r=no
32476
32477 fi
32478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479
32480 #
32481 # SIX ARGUMENTS
32482 # (e.g. Linux)
32483 #
32484
32485 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32486
32487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32488 /* end confdefs.h. */
32489 #include <netdb.h>
32490 int
32491 main ()
32492 {
32493
32494 char *name = "www.gnu.org";
32495 struct hostent ret, *retp;
32496 char buf[1024];
32497 int buflen = 1024;
32498 int my_h_errno;
32499 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32500
32501
32502 ;
32503 return 0;
32504 }
32505 _ACEOF
32506 if ac_fn_c_try_compile "$LINENO"; then :
32507 ac_cv_func_which_gethostbyname_r=six
32508
32509 fi
32510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32511
32512 fi
32513
32514 #
32515 # FIVE ARGUMENTS
32516 # (e.g. Solaris)
32517 #
32518
32519 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32520
32521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h. */
32523 #include <netdb.h>
32524 int
32525 main ()
32526 {
32527
32528 char *name = "www.gnu.org";
32529 struct hostent ret;
32530 char buf[1024];
32531 int buflen = 1024;
32532 int my_h_errno;
32533 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32534
32535
32536 ;
32537 return 0;
32538 }
32539 _ACEOF
32540 if ac_fn_c_try_compile "$LINENO"; then :
32541 ac_cv_func_which_gethostbyname_r=five
32542
32543 fi
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545
32546 fi
32547
32548 #
32549 # THREE ARGUMENTS
32550 # (e.g. AIX, HP-UX, Tru64)
32551 #
32552
32553 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32554
32555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32556 /* end confdefs.h. */
32557 #include <netdb.h>
32558 int
32559 main ()
32560 {
32561
32562 char *name = "www.gnu.org";
32563 struct hostent ret;
32564 struct hostent_data data;
32565 (void)gethostbyname_r(name, &ret, &data) /* ; */
32566
32567
32568 ;
32569 return 0;
32570 }
32571 _ACEOF
32572 if ac_fn_c_try_compile "$LINENO"; then :
32573 ac_cv_func_which_gethostbyname_r=three
32574
32575 fi
32576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32577
32578 fi
32579
32580 ################################################################
32581
32582
32583 fi
32584
32585 case "$ac_cv_func_which_gethostbyname_r" in
32586 three)
32587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32588 $as_echo "three" >&6; }
32589 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32590
32591 ;;
32592
32593 five)
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32595 $as_echo "five" >&6; }
32596 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32597
32598 ;;
32599
32600 six)
32601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32602 $as_echo "six" >&6; }
32603 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32604
32605 ;;
32606
32607 no)
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32609 $as_echo "cannot find function declaration in netdb.h" >&6; }
32610 ;;
32611
32612 unknown)
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32614 $as_echo "can't tell" >&6; }
32615 ;;
32616
32617 *)
32618 as_fn_error $? "internal error" "$LINENO" 5
32619 ;;
32620 esac
32621
32622 ac_ext=c
32623 ac_cpp='$CPP $CPPFLAGS'
32624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32627
32628
32629
32630 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32631 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32632 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32633 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32634 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32635
32636 fi
32637
32638 fi
32639
32640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32641 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32642 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32643 $as_echo_n "(cached) " >&6
32644 else
32645
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32651
32652
32653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654 /* end confdefs.h. */
32655 #include <netdb.h>
32656 int
32657 main ()
32658 {
32659
32660 char *name;
32661 char *proto;
32662 struct servent *se, *res;
32663 char buffer[2048];
32664 int buflen = 2048;
32665 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32666
32667 ;
32668 return 0;
32669 }
32670 _ACEOF
32671 if ac_fn_cxx_try_compile "$LINENO"; then :
32672 ac_cv_func_which_getservbyname_r=six
32673 else
32674
32675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32676 /* end confdefs.h. */
32677 #include <netdb.h>
32678 int
32679 main ()
32680 {
32681
32682 char *name;
32683 char *proto;
32684 struct servent *se;
32685 char buffer[2048];
32686 int buflen = 2048;
32687 (void) getservbyname_r(name, proto, se, buffer, buflen)
32688
32689 ;
32690 return 0;
32691 }
32692 _ACEOF
32693 if ac_fn_cxx_try_compile "$LINENO"; then :
32694 ac_cv_func_which_getservbyname_r=five
32695 else
32696
32697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32698 /* end confdefs.h. */
32699 #include <netdb.h>
32700 int
32701 main ()
32702 {
32703
32704 char *name;
32705 char *proto;
32706 struct servent *se;
32707 struct servent_data data;
32708 (void) getservbyname_r(name, proto, se, &data);
32709
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 if ac_fn_cxx_try_compile "$LINENO"; then :
32715 ac_cv_func_which_getservbyname_r=four
32716 else
32717 ac_cv_func_which_getservbyname_r=no
32718
32719 fi
32720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32721
32722
32723 fi
32724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32725
32726
32727 fi
32728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32729 ac_ext=c
32730 ac_cpp='$CPP $CPPFLAGS'
32731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32734
32735
32736
32737 fi
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32739 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32740
32741 if test $ac_cv_func_which_getservbyname_r = six; then
32742 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32743
32744 elif test $ac_cv_func_which_getservbyname_r = five; then
32745 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32746
32747 elif test $ac_cv_func_which_getservbyname_r = four; then
32748 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32749
32750 fi
32751
32752
32753 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32754 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32755 for ac_func in getservbyname
32756 do :
32757 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32758 if test "x$ac_cv_func_getservbyname" = xyes; then :
32759 cat >>confdefs.h <<_ACEOF
32760 #define HAVE_GETSERVBYNAME 1
32761 _ACEOF
32762 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32763
32764 fi
32765 done
32766
32767 fi
32768
32769 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32770
32771
32772 if test "$wxUSE_THREADS" = "yes"; then
32773 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32774
32775
32776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32777 else
32778 if test "$wx_cv_func_strtok_r" = "yes"; then
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32780 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32781 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32782 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32784 $as_echo "yes" >&6; }
32785 else
32786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32787 $as_echo "no" >&6; }
32788 fi
32789 fi
32790 fi
32791
32792 if test "$WXGTK3" = 1 ; then
32793 cat >>confdefs.h <<_ACEOF
32794 #define __WXGTK3__ 1
32795 _ACEOF
32796
32797 WXGTK2=1
32798 fi
32799 if test "$WXGTK2" = 1 ; then
32800 cat >>confdefs.h <<_ACEOF
32801 #define __WXGTK20__ $WXGTK2
32802 _ACEOF
32803
32804 fi
32805
32806 if test "$WXGTK127" = 1 ; then
32807 cat >>confdefs.h <<_ACEOF
32808 #define __WXGTK127__ $WXGTK127
32809 _ACEOF
32810
32811 fi
32812
32813 if test "$WXGPE" = 1 ; then
32814 cat >>confdefs.h <<_ACEOF
32815 #define __WXGPE__ $WXGPE
32816 _ACEOF
32817
32818 fi
32819
32820 DEBUG_CFLAGS=
32821 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32823 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32824 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32825 DEBUG_CFLAGS="-g"
32826 fi
32827
32828 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32829 wxUSE_DEBUG_INFO=yes
32830 if test "$GCC" = yes; then
32831 DEBUG_CFLAGS="-ggdb"
32832 fi
32833 fi
32834
32835 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32836 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32837
32838 if test "$wxUSE_GTK" = 1 ; then
32839 if test "$WXGTK2" = 1 ; then
32840 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32841 else
32842 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32843 fi
32844 fi
32845 fi
32846
32847 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32848 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32849
32850 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32851
32852 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32853
32854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32855 fi
32856
32857 if test "$wxUSE_DMALLOC" = "yes" ; then
32858 DMALLOC_LIBS="-ldmallocthcxx"
32859 fi
32860
32861 PROFILE_FLAGS=
32862 if test "$wxUSE_PROFILE" = "yes" ; then
32863 PROFILE_FLAGS=" -pg"
32864 fi
32865
32866 if test "$GCC" = "yes" ; then
32867 if test "$wxUSE_NO_RTTI" = "yes" ; then
32868 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32869 fi
32870 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32871 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32872 fi
32873 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32874 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32875 fi
32876
32877 case "${host}" in
32878 powerpc*-*-aix* )
32879 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32880 ;;
32881 *-hppa* )
32882 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32883 ;;
32884 esac
32885 fi
32886
32887 OPTIMISE_CFLAGS=
32888 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32890 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32891 else
32892 if test "$wxUSE_OPTIMISE" = "no" ; then
32893 if test "$GCC" = yes ; then
32894 OPTIMISE_CFLAGS="-O0"
32895 fi
32896 else
32897 if test "$GCC" = yes ; then
32898 case "${host}" in
32899 *-pc-os2_emx | *-pc-os2-emx )
32900 OPTIMISE_CFLAGS="-O2"
32901 ;;
32902 *)
32903 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32904 ;;
32905 esac
32906 else
32907 OPTIMISE_CFLAGS="-O"
32908 fi
32909 fi
32910 fi
32911
32912
32913 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32914 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32915
32916
32917 WXWIN_COMPATIBILITY_2_8="yes"
32918 fi
32919
32920 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32921 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32922
32923 fi
32924
32925
32926 if test "$wxUSE_GUI" = "yes"; then
32927 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32928
32929
32930 fi
32931
32932
32933 if test "$wxUSE_UNIX" = "yes"; then
32934 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32935
32936 fi
32937
32938
32939 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32940
32941 HAVE_DL_FUNCS=0
32942 HAVE_SHL_FUNCS=0
32943 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32944 if test "$USE_DOS" = 1; then
32945 HAVE_DL_FUNCS=0
32946 else
32947 for ac_func in dlopen
32948 do :
32949 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32950 if test "x$ac_cv_func_dlopen" = xyes; then :
32951 cat >>confdefs.h <<_ACEOF
32952 #define HAVE_DLOPEN 1
32953 _ACEOF
32954
32955 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32956
32957 HAVE_DL_FUNCS=1
32958
32959 else
32960
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32962 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32963 if ${ac_cv_lib_dl_dlopen+:} false; then :
32964 $as_echo_n "(cached) " >&6
32965 else
32966 ac_check_lib_save_LIBS=$LIBS
32967 LIBS="-ldl $LIBS"
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970
32971 /* Override any GCC internal prototype to avoid an error.
32972 Use char because int might match the return type of a GCC
32973 builtin and then its argument prototype would still apply. */
32974 #ifdef __cplusplus
32975 extern "C"
32976 #endif
32977 char dlopen ();
32978 int
32979 main ()
32980 {
32981 return dlopen ();
32982 ;
32983 return 0;
32984 }
32985 _ACEOF
32986 if ac_fn_c_try_link "$LINENO"; then :
32987 ac_cv_lib_dl_dlopen=yes
32988 else
32989 ac_cv_lib_dl_dlopen=no
32990 fi
32991 rm -f core conftest.err conftest.$ac_objext \
32992 conftest$ac_exeext conftest.$ac_ext
32993 LIBS=$ac_check_lib_save_LIBS
32994 fi
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32996 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32997 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32998
32999 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33000
33001 HAVE_DL_FUNCS=1
33002 DL_LINK=" -ldl$DL_LINK"
33003
33004 else
33005
33006 for ac_func in shl_load
33007 do :
33008 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33009 if test "x$ac_cv_func_shl_load" = xyes; then :
33010 cat >>confdefs.h <<_ACEOF
33011 #define HAVE_SHL_LOAD 1
33012 _ACEOF
33013
33014 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33015
33016 HAVE_SHL_FUNCS=1
33017
33018 else
33019
33020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33021 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33022 if ${ac_cv_lib_shl_load_dld+:} false; then :
33023 $as_echo_n "(cached) " >&6
33024 else
33025 ac_check_lib_save_LIBS=$LIBS
33026 LIBS="-lshl_load $LIBS"
33027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33028 /* end confdefs.h. */
33029
33030 /* Override any GCC internal prototype to avoid an error.
33031 Use char because int might match the return type of a GCC
33032 builtin and then its argument prototype would still apply. */
33033 #ifdef __cplusplus
33034 extern "C"
33035 #endif
33036 char dld ();
33037 int
33038 main ()
33039 {
33040 return dld ();
33041 ;
33042 return 0;
33043 }
33044 _ACEOF
33045 if ac_fn_c_try_link "$LINENO"; then :
33046 ac_cv_lib_shl_load_dld=yes
33047 else
33048 ac_cv_lib_shl_load_dld=no
33049 fi
33050 rm -f core conftest.err conftest.$ac_objext \
33051 conftest$ac_exeext conftest.$ac_ext
33052 LIBS=$ac_check_lib_save_LIBS
33053 fi
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33055 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33056 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33057
33058 HAVE_SHL_FUNCS=1
33059 DL_LINK=" -ldld$DL_LINK"
33060
33061 fi
33062
33063
33064 fi
33065 done
33066
33067
33068 fi
33069
33070
33071 fi
33072 done
33073
33074
33075 if test "$HAVE_DL_FUNCS" = 1; then
33076 for ac_func in dlerror
33077 do :
33078 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33079 if test "x$ac_cv_func_dlerror" = xyes; then :
33080 cat >>confdefs.h <<_ACEOF
33081 #define HAVE_DLERROR 1
33082 _ACEOF
33083 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33084
33085 else
33086
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33088 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33089 if ${ac_cv_lib_dl_dlerror+:} false; then :
33090 $as_echo_n "(cached) " >&6
33091 else
33092 ac_check_lib_save_LIBS=$LIBS
33093 LIBS="-ldl $LIBS"
33094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33095 /* end confdefs.h. */
33096
33097 /* Override any GCC internal prototype to avoid an error.
33098 Use char because int might match the return type of a GCC
33099 builtin and then its argument prototype would still apply. */
33100 #ifdef __cplusplus
33101 extern "C"
33102 #endif
33103 char dlerror ();
33104 int
33105 main ()
33106 {
33107 return dlerror ();
33108 ;
33109 return 0;
33110 }
33111 _ACEOF
33112 if ac_fn_c_try_link "$LINENO"; then :
33113 ac_cv_lib_dl_dlerror=yes
33114 else
33115 ac_cv_lib_dl_dlerror=no
33116 fi
33117 rm -f core conftest.err conftest.$ac_objext \
33118 conftest$ac_exeext conftest.$ac_ext
33119 LIBS=$ac_check_lib_save_LIBS
33120 fi
33121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33122 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33123 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33124 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33125
33126 fi
33127
33128
33129
33130 fi
33131 done
33132
33133 fi
33134 fi
33135
33136 if test "$USE_DARWIN" = 1; then
33137 HAVE_DL_FUNCS=1
33138 fi
33139
33140 if test "$HAVE_DL_FUNCS" = 0; then
33141 if test "$HAVE_SHL_FUNCS" = 0; then
33142 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33144 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33145 wxUSE_DYNAMIC_LOADER=no
33146 wxUSE_DYNLIB_CLASS=no
33147 else
33148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33149 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33150 fi
33151 fi
33152 fi
33153 fi
33154 fi
33155
33156 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33157 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33158
33159 fi
33160 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33161 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33162
33163 fi
33164
33165
33166
33167 if test "$wxUSE_PLUGINS" = "yes" ; then
33168 if test "$wxUSE_SHARED" = "no" ; then
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33170 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33171 wxUSE_PLUGINS=no
33172 fi
33173 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33175 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33176 wxUSE_PLUGINS=no
33177 fi
33178 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33180 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33181 wxUSE_PLUGINS=no
33182 fi
33183 if test "$wxUSE_PLUGINS" = "yes" ; then
33184 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33185
33186 fi
33187 fi
33188
33189
33190 if test "$wxUSE_FSWATCHER" = "yes"; then
33191 if test "$wxUSE_MSW" != "1"; then
33192 if test "$wxUSE_UNIX" = "yes"; then
33193 for ac_header in sys/inotify.h
33194 do :
33195 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33196 "
33197 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33198 cat >>confdefs.h <<_ACEOF
33199 #define HAVE_SYS_INOTIFY_H 1
33200 _ACEOF
33201
33202 fi
33203
33204 done
33205
33206 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33207 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33208
33209 else
33210 for ac_header in sys/event.h
33211 do :
33212 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33213 "
33214 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33215 cat >>confdefs.h <<_ACEOF
33216 #define HAVE_SYS_EVENT_H 1
33217 _ACEOF
33218
33219 fi
33220
33221 done
33222
33223 if test "$ac_cv_header_sys_event_h" = "yes"; then
33224 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33225
33226 else
33227 wxUSE_FSWATCHER=no
33228 fi
33229 fi
33230 else
33231 wxUSE_FSWATCHER=no
33232 fi
33233 else
33234 if test "$wxUSE_THREADS" != "yes"; then
33235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33236 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33237 wxUSE_FSWATCHER=no
33238 fi
33239 fi
33240
33241 if test "$wxUSE_FSWATCHER" = "yes"; then
33242 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33243
33244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33245 else
33246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33247 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33248 fi
33249 fi
33250
33251
33252 if test "$wxUSE_STL" = "yes"; then
33253 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33254
33255 fi
33256
33257 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33258 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33259
33260 fi
33261
33262 if test "$wxUSE_ANY" = "yes"; then
33263 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33264
33265 fi
33266
33267 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33268 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33269
33270 fi
33271
33272 if test "$wxUSE_TIMER" = "yes"; then
33273 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33274
33275 fi
33276
33277 if test "$USE_UNIX" = 1 ; then
33278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33279 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33280 if ${ac_cv_header_sys_soundcard+:} false; then :
33281 $as_echo_n "(cached) " >&6
33282 else
33283
33284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33285 /* end confdefs.h. */
33286
33287 #include <sys/ioctl.h>
33288 #include <sys/soundcard.h>
33289
33290 int
33291 main ()
33292 {
33293
33294 ioctl(0, SNDCTL_DSP_SPEED, 0);
33295
33296 ;
33297 return 0;
33298 }
33299 _ACEOF
33300 if ac_fn_c_try_link "$LINENO"; then :
33301 ac_cv_header_sys_soundcard=yes
33302 else
33303
33304 saveLibs="$LIBS"
33305 LIBS="$saveLibs -lossaudio"
33306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33307 /* end confdefs.h. */
33308
33309 #include <sys/ioctl.h>
33310 #include <sys/soundcard.h>
33311
33312 int
33313 main ()
33314 {
33315
33316 ioctl(0, SNDCTL_DSP_SPEED, 0);
33317
33318 ;
33319 return 0;
33320 }
33321 _ACEOF
33322 if ac_fn_c_try_link "$LINENO"; then :
33323 ac_cv_header_sys_soundcard=yes
33324 else
33325
33326 LIBS="$saveLibs"
33327 ac_cv_header_sys_soundcard=no
33328
33329
33330 fi
33331 rm -f core conftest.err conftest.$ac_objext \
33332 conftest$ac_exeext conftest.$ac_ext
33333
33334
33335 fi
33336 rm -f core conftest.err conftest.$ac_objext \
33337 conftest$ac_exeext conftest.$ac_ext
33338
33339 fi
33340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33341 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33342
33343 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33344 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33345
33346 fi
33347 fi
33348
33349 WITH_PLUGIN_SDL=0
33350 if test "$wxUSE_SOUND" = "yes"; then
33351 if test "$USE_UNIX" = 1 ; then
33352 if test "$wxUSE_LIBSDL" != "no"; then
33353
33354 # Check whether --with-sdl-prefix was given.
33355 if test "${with_sdl_prefix+set}" = set; then :
33356 withval=$with_sdl_prefix; sdl_prefix="$withval"
33357 else
33358 sdl_prefix=""
33359 fi
33360
33361
33362 # Check whether --with-sdl-exec-prefix was given.
33363 if test "${with_sdl_exec_prefix+set}" = set; then :
33364 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33365 else
33366 sdl_exec_prefix=""
33367 fi
33368
33369 # Check whether --enable-sdltest was given.
33370 if test "${enable_sdltest+set}" = set; then :
33371 enableval=$enable_sdltest;
33372 else
33373 enable_sdltest=yes
33374 fi
33375
33376
33377 if test x$sdl_exec_prefix != x ; then
33378 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33379 if test x${SDL_CONFIG+set} != xset ; then
33380 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33381 fi
33382 fi
33383 if test x$sdl_prefix != x ; then
33384 sdl_args="$sdl_args --prefix=$sdl_prefix"
33385 if test x${SDL_CONFIG+set} != xset ; then
33386 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33387 fi
33388 fi
33389
33390 if test "x$prefix" != xNONE; then
33391 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33392 fi
33393 # Extract the first word of "sdl-config", so it can be a program name with args.
33394 set dummy sdl-config; ac_word=$2
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33396 $as_echo_n "checking for $ac_word... " >&6; }
33397 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33398 $as_echo_n "(cached) " >&6
33399 else
33400 case $SDL_CONFIG in
33401 [\\/]* | ?:[\\/]*)
33402 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33403 ;;
33404 *)
33405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33406 for as_dir in $PATH
33407 do
33408 IFS=$as_save_IFS
33409 test -z "$as_dir" && as_dir=.
33410 for ac_exec_ext in '' $ac_executable_extensions; do
33411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33412 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33414 break 2
33415 fi
33416 done
33417 done
33418 IFS=$as_save_IFS
33419
33420 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33421 ;;
33422 esac
33423 fi
33424 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33425 if test -n "$SDL_CONFIG"; then
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33427 $as_echo "$SDL_CONFIG" >&6; }
33428 else
33429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33430 $as_echo "no" >&6; }
33431 fi
33432
33433
33434 min_sdl_version=1.2.0
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33436 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33437 no_sdl=""
33438 if test "$SDL_CONFIG" = "no" ; then
33439 no_sdl=yes
33440 else
33441 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33442 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33443
33444 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33446 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33448 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33450 if test "x$enable_sdltest" = "xyes" ; then
33451 ac_save_CFLAGS="$CFLAGS"
33452 ac_save_CXXFLAGS="$CXXFLAGS"
33453 ac_save_LIBS="$LIBS"
33454 CFLAGS="$CFLAGS $SDL_CFLAGS"
33455 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33456 LIBS="$LIBS $SDL_LIBS"
33457 rm -f conf.sdltest
33458 if test "$cross_compiling" = yes; then :
33459 echo $ac_n "cross compiling; assumed OK... $ac_c"
33460 else
33461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33462 /* end confdefs.h. */
33463
33464 #include <stdio.h>
33465 #include <stdlib.h>
33466 #include <string.h>
33467 #include "SDL.h"
33468
33469 char*
33470 my_strdup (char *str)
33471 {
33472 char *new_str;
33473
33474 if (str)
33475 {
33476 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33477 strcpy (new_str, str);
33478 }
33479 else
33480 new_str = NULL;
33481
33482 return new_str;
33483 }
33484
33485 int main (int argc, char *argv[])
33486 {
33487 int major, minor, micro;
33488 char *tmp_version;
33489
33490 /* This hangs on some systems (?)
33491 system ("touch conf.sdltest");
33492 */
33493 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33494
33495 /* HP/UX 9 (%@#!) writes to sscanf strings */
33496 tmp_version = my_strdup("$min_sdl_version");
33497 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33498 printf("%s, bad version string\n", "$min_sdl_version");
33499 exit(1);
33500 }
33501
33502 if (($sdl_major_version > major) ||
33503 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33504 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33505 {
33506 return 0;
33507 }
33508 else
33509 {
33510 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33511 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33512 printf("*** best to upgrade to the required version.\n");
33513 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33514 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33515 printf("*** config.cache before re-running configure\n");
33516 return 1;
33517 }
33518 }
33519
33520
33521 _ACEOF
33522 if ac_fn_c_try_run "$LINENO"; then :
33523
33524 else
33525 no_sdl=yes
33526 fi
33527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33528 conftest.$ac_objext conftest.beam conftest.$ac_ext
33529 fi
33530
33531 CFLAGS="$ac_save_CFLAGS"
33532 CXXFLAGS="$ac_save_CXXFLAGS"
33533 LIBS="$ac_save_LIBS"
33534 fi
33535 fi
33536 if test "x$no_sdl" = x ; then
33537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33538 $as_echo "yes" >&6; }
33539
33540 EXTRALIBS_SDL="$SDL_LIBS"
33541 CFLAGS="$SDL_CFLAGS $CFLAGS"
33542 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33543 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33544
33545
33546 else
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33548 $as_echo "no" >&6; }
33549 if test "$SDL_CONFIG" = "no" ; then
33550 echo "*** The sdl-config script installed by SDL could not be found"
33551 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33552 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33553 echo "*** full path to sdl-config."
33554 else
33555 if test -f conf.sdltest ; then
33556 :
33557 else
33558 echo "*** Could not run SDL test program, checking why..."
33559 CFLAGS="$CFLAGS $SDL_CFLAGS"
33560 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33561 LIBS="$LIBS $SDL_LIBS"
33562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33563 /* end confdefs.h. */
33564
33565 #include <stdio.h>
33566 #include "SDL.h"
33567
33568 int main(int argc, char *argv[])
33569 { return 0; }
33570 #undef main
33571 #define main K_and_R_C_main
33572
33573 int
33574 main ()
33575 {
33576 return 0;
33577 ;
33578 return 0;
33579 }
33580 _ACEOF
33581 if ac_fn_c_try_link "$LINENO"; then :
33582 echo "*** The test program compiled, but did not run. This usually means"
33583 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33584 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33586 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33587 echo "*** is required on your system"
33588 echo "***"
33589 echo "*** If you have an old version installed, it is best to remove it, although"
33590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33591 else
33592 echo "*** The test program failed to compile or link. See the file config.log for the"
33593 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33594 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33595 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33596 fi
33597 rm -f core conftest.err conftest.$ac_objext \
33598 conftest$ac_exeext conftest.$ac_ext
33599 CFLAGS="$ac_save_CFLAGS"
33600 CXXFLAGS="$ac_save_CXXFLAGS"
33601 LIBS="$ac_save_LIBS"
33602 fi
33603 fi
33604 SDL_CFLAGS=""
33605 SDL_LIBS=""
33606 wxUSE_LIBSDL="no"
33607 fi
33608
33609
33610 rm -f conf.sdltest
33611
33612 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33613 WITH_PLUGIN_SDL=1
33614 fi
33615 fi
33616 fi
33617 fi
33618
33619 if test "$wxUSE_SOUND" = "yes"; then
33620 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33621
33622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33623 fi
33624
33625 if test "$WXGTK2" = 1; then
33626
33627
33628 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33629 if test -n "$ac_tool_prefix"; then
33630 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33631 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33633 $as_echo_n "checking for $ac_word... " >&6; }
33634 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33635 $as_echo_n "(cached) " >&6
33636 else
33637 case $PKG_CONFIG in
33638 [\\/]* | ?:[\\/]*)
33639 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33640 ;;
33641 *)
33642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33643 for as_dir in $PATH
33644 do
33645 IFS=$as_save_IFS
33646 test -z "$as_dir" && as_dir=.
33647 for ac_exec_ext in '' $ac_executable_extensions; do
33648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33649 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33651 break 2
33652 fi
33653 done
33654 done
33655 IFS=$as_save_IFS
33656
33657 ;;
33658 esac
33659 fi
33660 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33661 if test -n "$PKG_CONFIG"; then
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33663 $as_echo "$PKG_CONFIG" >&6; }
33664 else
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33666 $as_echo "no" >&6; }
33667 fi
33668
33669
33670 fi
33671 if test -z "$ac_cv_path_PKG_CONFIG"; then
33672 ac_pt_PKG_CONFIG=$PKG_CONFIG
33673 # Extract the first word of "pkg-config", so it can be a program name with args.
33674 set dummy pkg-config; ac_word=$2
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33676 $as_echo_n "checking for $ac_word... " >&6; }
33677 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33678 $as_echo_n "(cached) " >&6
33679 else
33680 case $ac_pt_PKG_CONFIG in
33681 [\\/]* | ?:[\\/]*)
33682 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33683 ;;
33684 *)
33685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33686 for as_dir in $PATH
33687 do
33688 IFS=$as_save_IFS
33689 test -z "$as_dir" && as_dir=.
33690 for ac_exec_ext in '' $ac_executable_extensions; do
33691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33692 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33694 break 2
33695 fi
33696 done
33697 done
33698 IFS=$as_save_IFS
33699
33700 ;;
33701 esac
33702 fi
33703 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33704 if test -n "$ac_pt_PKG_CONFIG"; then
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33706 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33707 else
33708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33709 $as_echo "no" >&6; }
33710 fi
33711
33712 if test "x$ac_pt_PKG_CONFIG" = x; then
33713 PKG_CONFIG=""
33714 else
33715 case $cross_compiling:$ac_tool_warned in
33716 yes:)
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33719 ac_tool_warned=yes ;;
33720 esac
33721 PKG_CONFIG=$ac_pt_PKG_CONFIG
33722 fi
33723 else
33724 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33725 fi
33726
33727 fi
33728 if test -n "$PKG_CONFIG"; then
33729 _pkg_min_version=0.9.0
33730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33731 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33734 $as_echo "yes" >&6; }
33735 else
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33737 $as_echo "no" >&6; }
33738 PKG_CONFIG=""
33739 fi
33740
33741 fi
33742
33743 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33744
33745 if test "$wxUSE_GTKPRINT" = "yes" ; then
33746 if test "$WXGTK3" = 1; then
33747 gtk_unix_print="gtk+-unix-print-3.0"
33748 else
33749 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33750 fi
33751
33752 pkg_failed=no
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33754 $as_echo_n "checking for GTKPRINT... " >&6; }
33755
33756 if test -n "$PKG_CONFIG"; then
33757 if test -n "$GTKPRINT_CFLAGS"; then
33758 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33759 else
33760 if test -n "$PKG_CONFIG" && \
33761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33762 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33763 ac_status=$?
33764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33765 test $ac_status = 0; }; then
33766 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33767 else
33768 pkg_failed=yes
33769 fi
33770 fi
33771 else
33772 pkg_failed=untried
33773 fi
33774 if test -n "$PKG_CONFIG"; then
33775 if test -n "$GTKPRINT_LIBS"; then
33776 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33777 else
33778 if test -n "$PKG_CONFIG" && \
33779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33780 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33781 ac_status=$?
33782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33783 test $ac_status = 0; }; then
33784 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33785 else
33786 pkg_failed=yes
33787 fi
33788 fi
33789 else
33790 pkg_failed=untried
33791 fi
33792
33793
33794
33795 if test $pkg_failed = yes; then
33796
33797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33798 _pkg_short_errors_supported=yes
33799 else
33800 _pkg_short_errors_supported=no
33801 fi
33802 if test $_pkg_short_errors_supported = yes; then
33803 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33804 else
33805 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33806 fi
33807 # Put the nasty error message in config.log where it belongs
33808 echo "$GTKPRINT_PKG_ERRORS" >&5
33809
33810
33811 { $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
33812 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33813 wxUSE_GTKPRINT="no"
33814
33815
33816 elif test $pkg_failed = untried; then
33817
33818 { $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
33819 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33820 wxUSE_GTKPRINT="no"
33821
33822
33823 else
33824 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33825 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33827 $as_echo "yes" >&6; }
33828
33829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33830 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33831 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33832 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33833
33834
33835 fi
33836 fi
33837
33838 if test "$WXGTK3" = 1; then
33839 wxUSE_LIBGNOMEPRINT=no
33840 fi
33841
33842 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33843
33844
33845 pkg_failed=no
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33847 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33848
33849 if test -n "$PKG_CONFIG"; then
33850 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33851 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33852 else
33853 if test -n "$PKG_CONFIG" && \
33854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33855 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33856 ac_status=$?
33857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33858 test $ac_status = 0; }; then
33859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33860 else
33861 pkg_failed=yes
33862 fi
33863 fi
33864 else
33865 pkg_failed=untried
33866 fi
33867 if test -n "$PKG_CONFIG"; then
33868 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33869 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33870 else
33871 if test -n "$PKG_CONFIG" && \
33872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33873 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33874 ac_status=$?
33875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33876 test $ac_status = 0; }; then
33877 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33878 else
33879 pkg_failed=yes
33880 fi
33881 fi
33882 else
33883 pkg_failed=untried
33884 fi
33885
33886
33887
33888 if test $pkg_failed = yes; then
33889
33890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33891 _pkg_short_errors_supported=yes
33892 else
33893 _pkg_short_errors_supported=no
33894 fi
33895 if test $_pkg_short_errors_supported = yes; then
33896 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33897 else
33898 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33899 fi
33900 # Put the nasty error message in config.log where it belongs
33901 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33902
33903
33904 if test "$wxUSE_GTKPRINT" = yes; then
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33906 $as_echo "no" >&6; }
33907 else
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33909 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33910 fi
33911 wxUSE_LIBGNOMEPRINT="no"
33912
33913
33914 elif test $pkg_failed = untried; then
33915
33916 if test "$wxUSE_GTKPRINT" = yes; then
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33918 $as_echo "no" >&6; }
33919 else
33920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33921 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33922 fi
33923 wxUSE_LIBGNOMEPRINT="no"
33924
33925
33926 else
33927 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33928 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33930 $as_echo "yes" >&6; }
33931
33932 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
33933 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33934 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33935 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33936
33937
33938 fi
33939 fi
33940 fi
33941
33942 if test "$wxUSE_MIMETYPE" = "yes" ; then
33943 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33944
33945
33946 pkg_failed=no
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33948 $as_echo_n "checking for GNOMEVFS... " >&6; }
33949
33950 if test -n "$PKG_CONFIG"; then
33951 if test -n "$GNOMEVFS_CFLAGS"; then
33952 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33953 else
33954 if test -n "$PKG_CONFIG" && \
33955 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33956 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33957 ac_status=$?
33958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33959 test $ac_status = 0; }; then
33960 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33961 else
33962 pkg_failed=yes
33963 fi
33964 fi
33965 else
33966 pkg_failed=untried
33967 fi
33968 if test -n "$PKG_CONFIG"; then
33969 if test -n "$GNOMEVFS_LIBS"; then
33970 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33971 else
33972 if test -n "$PKG_CONFIG" && \
33973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33974 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33975 ac_status=$?
33976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33977 test $ac_status = 0; }; then
33978 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33979 else
33980 pkg_failed=yes
33981 fi
33982 fi
33983 else
33984 pkg_failed=untried
33985 fi
33986
33987
33988
33989 if test $pkg_failed = yes; then
33990
33991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33992 _pkg_short_errors_supported=yes
33993 else
33994 _pkg_short_errors_supported=no
33995 fi
33996 if test $_pkg_short_errors_supported = yes; then
33997 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33998 else
33999 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34000 fi
34001 # Put the nasty error message in config.log where it belongs
34002 echo "$GNOMEVFS_PKG_ERRORS" >&5
34003
34004
34005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34006 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34007 wxUSE_LIBGNOMEVFS="no"
34008
34009
34010 elif test $pkg_failed = untried; then
34011
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34013 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34014 wxUSE_LIBGNOMEVFS="no"
34015
34016
34017 else
34018 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34019 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34021 $as_echo "yes" >&6; }
34022
34023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34024 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34025 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34026 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34027
34028
34029 fi
34030 fi
34031 fi
34032
34033 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34034 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34035 HAVE_LIBNOTIFY=0
34036
34037 pkg_failed=no
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34039 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34040
34041 if test -n "$PKG_CONFIG"; then
34042 if test -n "$LIBNOTIFY_CFLAGS"; then
34043 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34044 else
34045 if test -n "$PKG_CONFIG" && \
34046 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34047 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34048 ac_status=$?
34049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34050 test $ac_status = 0; }; then
34051 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34052 else
34053 pkg_failed=yes
34054 fi
34055 fi
34056 else
34057 pkg_failed=untried
34058 fi
34059 if test -n "$PKG_CONFIG"; then
34060 if test -n "$LIBNOTIFY_LIBS"; then
34061 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34062 else
34063 if test -n "$PKG_CONFIG" && \
34064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34065 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34066 ac_status=$?
34067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34068 test $ac_status = 0; }; then
34069 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34070 else
34071 pkg_failed=yes
34072 fi
34073 fi
34074 else
34075 pkg_failed=untried
34076 fi
34077
34078
34079
34080 if test $pkg_failed = yes; then
34081
34082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34083 _pkg_short_errors_supported=yes
34084 else
34085 _pkg_short_errors_supported=no
34086 fi
34087 if test $_pkg_short_errors_supported = yes; then
34088 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34089 else
34090 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34091 fi
34092 # Put the nasty error message in config.log where it belongs
34093 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34094
34095
34096
34097 pkg_failed=no
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34099 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34100
34101 if test -n "$PKG_CONFIG"; then
34102 if test -n "$LIBNOTIFY_CFLAGS"; then
34103 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34104 else
34105 if test -n "$PKG_CONFIG" && \
34106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34107 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34108 ac_status=$?
34109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34110 test $ac_status = 0; }; then
34111 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34112 else
34113 pkg_failed=yes
34114 fi
34115 fi
34116 else
34117 pkg_failed=untried
34118 fi
34119 if test -n "$PKG_CONFIG"; then
34120 if test -n "$LIBNOTIFY_LIBS"; then
34121 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34122 else
34123 if test -n "$PKG_CONFIG" && \
34124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34125 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34126 ac_status=$?
34127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34128 test $ac_status = 0; }; then
34129 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34130 else
34131 pkg_failed=yes
34132 fi
34133 fi
34134 else
34135 pkg_failed=untried
34136 fi
34137
34138
34139
34140 if test $pkg_failed = yes; then
34141
34142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34143 _pkg_short_errors_supported=yes
34144 else
34145 _pkg_short_errors_supported=no
34146 fi
34147 if test $_pkg_short_errors_supported = yes; then
34148 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34149 else
34150 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34151 fi
34152 # Put the nasty error message in config.log where it belongs
34153 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34154
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34156 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34157
34158 elif test $pkg_failed = untried; then
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34160 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34161
34162 else
34163 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34164 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34166 $as_echo "yes" >&6; }
34167 HAVE_LIBNOTIFY=1
34168 fi
34169
34170
34171 elif test $pkg_failed = untried; then
34172
34173
34174 pkg_failed=no
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34176 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34177
34178 if test -n "$PKG_CONFIG"; then
34179 if test -n "$LIBNOTIFY_CFLAGS"; then
34180 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34181 else
34182 if test -n "$PKG_CONFIG" && \
34183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34184 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34185 ac_status=$?
34186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34187 test $ac_status = 0; }; then
34188 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34189 else
34190 pkg_failed=yes
34191 fi
34192 fi
34193 else
34194 pkg_failed=untried
34195 fi
34196 if test -n "$PKG_CONFIG"; then
34197 if test -n "$LIBNOTIFY_LIBS"; then
34198 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34199 else
34200 if test -n "$PKG_CONFIG" && \
34201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34202 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34203 ac_status=$?
34204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34205 test $ac_status = 0; }; then
34206 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34207 else
34208 pkg_failed=yes
34209 fi
34210 fi
34211 else
34212 pkg_failed=untried
34213 fi
34214
34215
34216
34217 if test $pkg_failed = yes; then
34218
34219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34220 _pkg_short_errors_supported=yes
34221 else
34222 _pkg_short_errors_supported=no
34223 fi
34224 if test $_pkg_short_errors_supported = yes; then
34225 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34226 else
34227 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34228 fi
34229 # Put the nasty error message in config.log where it belongs
34230 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34231
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34233 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34234
34235 elif test $pkg_failed = untried; then
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34237 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34238
34239 else
34240 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34241 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34243 $as_echo "yes" >&6; }
34244 HAVE_LIBNOTIFY=1
34245 fi
34246
34247
34248 else
34249 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34250 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34252 $as_echo "yes" >&6; }
34253
34254 HAVE_LIBNOTIFY=1
34255 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34256
34257
34258 fi
34259
34260 if test "$HAVE_LIBNOTIFY" = "1" ; then
34261 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34262 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34263 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34264 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34265
34266 fi
34267 fi
34268 fi
34269
34270 if test "$wxUSE_LIBHILDON" = "yes" ; then
34271
34272 pkg_failed=no
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34274 $as_echo_n "checking for HILDON... " >&6; }
34275
34276 if test -n "$PKG_CONFIG"; then
34277 if test -n "$HILDON_CFLAGS"; then
34278 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34279 else
34280 if test -n "$PKG_CONFIG" && \
34281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34282 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34283 ac_status=$?
34284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34285 test $ac_status = 0; }; then
34286 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34287 else
34288 pkg_failed=yes
34289 fi
34290 fi
34291 else
34292 pkg_failed=untried
34293 fi
34294 if test -n "$PKG_CONFIG"; then
34295 if test -n "$HILDON_LIBS"; then
34296 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34297 else
34298 if test -n "$PKG_CONFIG" && \
34299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34300 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34301 ac_status=$?
34302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34303 test $ac_status = 0; }; then
34304 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34305 else
34306 pkg_failed=yes
34307 fi
34308 fi
34309 else
34310 pkg_failed=untried
34311 fi
34312
34313
34314
34315 if test $pkg_failed = yes; then
34316
34317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34318 _pkg_short_errors_supported=yes
34319 else
34320 _pkg_short_errors_supported=no
34321 fi
34322 if test $_pkg_short_errors_supported = yes; then
34323 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34324 else
34325 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34326 fi
34327 # Put the nasty error message in config.log where it belongs
34328 echo "$HILDON_PKG_ERRORS" >&5
34329
34330
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34332 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34333 wxUSE_LIBHILDON="no"
34334 ac_hildon_lgpl=0
34335
34336
34337 elif test $pkg_failed = untried; then
34338
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34340 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34341 wxUSE_LIBHILDON="no"
34342 ac_hildon_lgpl=0
34343
34344
34345 else
34346 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34347 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34349 $as_echo "yes" >&6; }
34350
34351 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34352 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34353 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34354 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34355
34356 ac_hildon_lgpl=1
34357
34358 fi
34359
34360 if test "$ac_hildon_lgpl" = 0 ; then
34361
34362 pkg_failed=no
34363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34364 $as_echo_n "checking for HILDON2... " >&6; }
34365
34366 if test -n "$PKG_CONFIG"; then
34367 if test -n "$HILDON2_CFLAGS"; then
34368 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34369 else
34370 if test -n "$PKG_CONFIG" && \
34371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34372 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34373 ac_status=$?
34374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34375 test $ac_status = 0; }; then
34376 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34377 else
34378 pkg_failed=yes
34379 fi
34380 fi
34381 else
34382 pkg_failed=untried
34383 fi
34384 if test -n "$PKG_CONFIG"; then
34385 if test -n "$HILDON2_LIBS"; then
34386 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34387 else
34388 if test -n "$PKG_CONFIG" && \
34389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34390 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34391 ac_status=$?
34392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34393 test $ac_status = 0; }; then
34394 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34395 else
34396 pkg_failed=yes
34397 fi
34398 fi
34399 else
34400 pkg_failed=untried
34401 fi
34402
34403
34404
34405 if test $pkg_failed = yes; then
34406
34407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34408 _pkg_short_errors_supported=yes
34409 else
34410 _pkg_short_errors_supported=no
34411 fi
34412 if test $_pkg_short_errors_supported = yes; then
34413 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34414 else
34415 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34416 fi
34417 # Put the nasty error message in config.log where it belongs
34418 echo "$HILDON2_PKG_ERRORS" >&5
34419
34420
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34422 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34423 wxUSE_LIBHILDON2="no"
34424
34425
34426 elif test $pkg_failed = untried; then
34427
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34429 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34430 wxUSE_LIBHILDON2="no"
34431
34432
34433 else
34434 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34435 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34437 $as_echo "yes" >&6; }
34438
34439 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34440 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34441 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34442 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34443
34444
34445 fi
34446 fi
34447 fi
34448 fi
34449
34450 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34451 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34452
34453 fi
34454
34455 if test "$wxUSE_STOPWATCH" = "yes"; then
34456 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34457
34458 fi
34459
34460 if test "$wxUSE_DATETIME" = "yes"; then
34461 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34462
34463 fi
34464
34465 if test "$wxUSE_FILE" = "yes"; then
34466 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34467
34468 fi
34469
34470 if test "$wxUSE_FFILE" = "yes"; then
34471 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34472
34473 fi
34474
34475 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34476 if test "$wxUSE_STREAMS" != yes; then
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34478 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34479 wxUSE_ARCHIVE_STREAMS=no
34480 else
34481 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34482
34483 fi
34484 fi
34485
34486 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34487 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34489 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34490 elif test "$wxUSE_ZLIB" = "no"; then
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34492 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34493 else
34494 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34495
34496 fi
34497 fi
34498
34499 if test "$wxUSE_TARSTREAM" = "yes"; then
34500 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34502 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34503 else
34504 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34505
34506 fi
34507 fi
34508
34509 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34510 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34511
34512 fi
34513
34514 if test "$wxUSE_FILESYSTEM" = "yes"; then
34515 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34517 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34518 wxUSE_FILESYSTEM=no
34519 else
34520 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34521
34522 fi
34523 fi
34524
34525 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34526 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34528 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34529 else
34530 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34531
34532 fi
34533 fi
34534
34535 if test "$wxUSE_FS_ZIP" = "yes"; then
34536 if test "$wxUSE_FS_ARCHIVE" != yes; then
34537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34538 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34539 else
34540 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34541
34542 fi
34543 fi
34544
34545 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34546 if test "$USE_UNIX" != 1; then
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34548 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34549 wxUSE_ON_FATAL_EXCEPTION=no
34550 else
34551 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34552
34553 fi
34554 fi
34555
34556 if test "$wxUSE_STACKWALKER" = "yes"; then
34557 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34558
34559 fi
34560
34561 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34562 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34564 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34565 wxUSE_DEBUGREPORT=no
34566 else
34567 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34568
34569 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34571 fi
34572 fi
34573 fi
34574
34575 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34576 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34577
34578 fi
34579
34580 if test "$wxUSE_BUSYINFO" = "yes"; then
34581 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34582
34583 fi
34584
34585 if test "$wxUSE_HOTKEY" = "yes"; then
34586 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34588 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34589 wxUSE_HOTKEY=no
34590 fi
34591 elif test "$wxUSE_HOTKEY" = "auto"; then
34592 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34593 wxUSE_HOTKEY=yes
34594 fi
34595 fi
34596 if test "$wxUSE_HOTKEY" = "yes"; then
34597 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34598
34599 fi
34600
34601 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34602 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34603
34604 fi
34605
34606 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34607 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34608
34609 fi
34610
34611 if test "$wxUSE_STD_STRING" = "yes"; then
34612 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34613
34614 fi
34615
34616 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34617 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34618
34619 fi
34620
34621 if test "$wxUSE_STDPATHS" = "yes"; then
34622 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34623
34624 fi
34625
34626 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34627 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34628
34629 fi
34630
34631 if test "$wxUSE_TEXTFILE" = "yes"; then
34632 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34634 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34635 else
34636 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34637
34638 fi
34639 fi
34640
34641 if test "$wxUSE_CONFIG" = "yes" ; then
34642 if test "$wxUSE_TEXTFILE" != "yes"; then
34643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34644 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34645 else
34646 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34647
34648 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34649
34650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34651 fi
34652 fi
34653
34654 if test "$wxUSE_INTL" = "yes" ; then
34655 if test "$wxUSE_FILE" != "yes"; then
34656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34657 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34658 else
34659 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34660
34661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34662 GUIDIST="$GUIDIST INTL_DIST"
34663 fi
34664 fi
34665
34666 if test "$wxUSE_XLOCALE" = "yes" ; then
34667 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34668
34669 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34670 #include <locale.h>
34671 "
34672 if test "x$ac_cv_type_locale_t" = xyes; then :
34673
34674 cat >>confdefs.h <<_ACEOF
34675 #define HAVE_LOCALE_T 1
34676 _ACEOF
34677
34678
34679 fi
34680
34681 fi
34682
34683 if test "$wxUSE_LOG" = "yes"; then
34684 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34685
34686
34687 if test "$wxUSE_LOGGUI" = "yes"; then
34688 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34689
34690 fi
34691
34692 if test "$wxUSE_LOGWINDOW" = "yes"; then
34693 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34694
34695 fi
34696
34697 if test "$wxUSE_LOGDIALOG" = "yes"; then
34698 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34699
34700 fi
34701
34702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34703 fi
34704
34705 if test "$wxUSE_LONGLONG" = "yes"; then
34706 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34707
34708 fi
34709
34710 if test "$wxUSE_GEOMETRY" = "yes"; then
34711 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34712
34713 fi
34714
34715 if test "$wxUSE_BASE64" = "yes"; then
34716 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34717
34718 fi
34719
34720 if test "$wxUSE_STREAMS" = "yes" ; then
34721 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34722
34723 fi
34724
34725 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34726 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34727
34728 fi
34729
34730 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34731 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34732
34733 fi
34734
34735
34736 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34737 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34738
34739
34740 if test "$wxUSE_UNIX" = "yes"; then
34741 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34742 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34743
34744 fi
34745
34746 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34747 for ac_header in sys/epoll.h
34748 do :
34749 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34750 "
34751 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34752 cat >>confdefs.h <<_ACEOF
34753 #define HAVE_SYS_EPOLL_H 1
34754 _ACEOF
34755
34756 fi
34757
34758 done
34759
34760 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34761 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34762
34763 else
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34765 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34766 fi
34767 fi
34768 fi
34769 fi
34770
34771
34772 for ac_func in gettimeofday ftime
34773 do :
34774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34777 cat >>confdefs.h <<_ACEOF
34778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34779 _ACEOF
34780 break
34781 fi
34782 done
34783
34784
34785 if test "$ac_cv_func_gettimeofday" = "yes"; then
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34787 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34788 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34789 $as_echo_n "(cached) " >&6
34790 else
34791
34792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34793 /* end confdefs.h. */
34794
34795 #include <sys/time.h>
34796 #include <unistd.h>
34797
34798 int
34799 main ()
34800 {
34801
34802 struct timeval tv;
34803 gettimeofday(&tv, NULL);
34804
34805 ;
34806 return 0;
34807 }
34808 _ACEOF
34809 if ac_fn_c_try_compile "$LINENO"; then :
34810 wx_cv_func_gettimeofday_has_2_args=yes
34811 else
34812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34813 /* end confdefs.h. */
34814
34815 #include <sys/time.h>
34816 #include <unistd.h>
34817
34818 int
34819 main ()
34820 {
34821
34822 struct timeval tv;
34823 gettimeofday(&tv);
34824
34825 ;
34826 return 0;
34827 }
34828 _ACEOF
34829 if ac_fn_c_try_compile "$LINENO"; then :
34830 wx_cv_func_gettimeofday_has_2_args=no
34831 else
34832
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34834 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34835 wx_cv_func_gettimeofday_has_2_args=unknown
34836
34837
34838 fi
34839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34840
34841 fi
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843
34844 fi
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34846 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34847
34848 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34849 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34850
34851 fi
34852 fi
34853
34854 if test "$wxUSE_DATETIME" = "yes"; then
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34856 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34857 if ${wx_cv_var_timezone+:} false; then :
34858 $as_echo_n "(cached) " >&6
34859 else
34860
34861 ac_ext=cpp
34862 ac_cpp='$CXXCPP $CPPFLAGS'
34863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34866
34867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34868 /* end confdefs.h. */
34869
34870 #include <time.h>
34871
34872 int
34873 main ()
34874 {
34875
34876 int tz;
34877 tz = timezone;
34878
34879 ;
34880 return 0;
34881 }
34882 _ACEOF
34883 if ac_fn_cxx_try_compile "$LINENO"; then :
34884
34885 wx_cv_var_timezone=timezone
34886
34887 else
34888
34889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34890 /* end confdefs.h. */
34891
34892 #include <time.h>
34893
34894 int
34895 main ()
34896 {
34897
34898 int tz;
34899 tz = _timezone;
34900
34901 ;
34902 return 0;
34903 }
34904 _ACEOF
34905 if ac_fn_cxx_try_compile "$LINENO"; then :
34906
34907 wx_cv_var_timezone=_timezone
34908
34909 else
34910
34911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34912 /* end confdefs.h. */
34913
34914 #include <time.h>
34915
34916 int
34917 main ()
34918 {
34919
34920 int tz;
34921 tz = __timezone;
34922
34923 ;
34924 return 0;
34925 }
34926 _ACEOF
34927 if ac_fn_cxx_try_compile "$LINENO"; then :
34928
34929 wx_cv_var_timezone=__timezone
34930
34931 else
34932
34933 if test "$USE_DOS" = 0 ; then
34934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34935 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34936 fi
34937
34938
34939 fi
34940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34941
34942
34943 fi
34944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945
34946
34947 fi
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949 ac_ext=c
34950 ac_cpp='$CPP $CPPFLAGS'
34951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34954
34955
34956
34957 fi
34958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34959 $as_echo "$wx_cv_var_timezone" >&6; }
34960
34961 if test "x$wx_cv_var_timezone" != x ; then
34962 cat >>confdefs.h <<_ACEOF
34963 #define WX_TIMEZONE $wx_cv_var_timezone
34964 _ACEOF
34965
34966 fi
34967
34968 for ac_func in localtime
34969 do :
34970 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34971 if test "x$ac_cv_func_localtime" = xyes; then :
34972 cat >>confdefs.h <<_ACEOF
34973 #define HAVE_LOCALTIME 1
34974 _ACEOF
34975
34976 fi
34977 done
34978
34979
34980 if test "$ac_cv_func_localtime" = "yes"; then
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34982 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34983 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34986
34987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34988 /* end confdefs.h. */
34989
34990 #include <time.h>
34991
34992 int
34993 main ()
34994 {
34995
34996 struct tm tm;
34997 tm.tm_gmtoff++;
34998
34999 ;
35000 return 0;
35001 }
35002 _ACEOF
35003 if ac_fn_c_try_compile "$LINENO"; then :
35004
35005 wx_cv_struct_tm_has_gmtoff=yes
35006
35007 else
35008 wx_cv_struct_tm_has_gmtoff=no
35009
35010 fi
35011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35012
35013 fi
35014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35015 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35016 fi
35017
35018 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35019 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35020
35021 fi
35022
35023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35024 fi
35025
35026
35027 if test "$wxUSE_SOCKETS" = "yes"; then
35028 if test "$TOOLKIT" != "MSW"; then
35029 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35030 if test "x$ac_cv_func_socket" = xyes; then :
35031
35032 else
35033
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35035 $as_echo_n "checking for socket in -lsocket... " >&6; }
35036 if ${ac_cv_lib_socket_socket+:} false; then :
35037 $as_echo_n "(cached) " >&6
35038 else
35039 ac_check_lib_save_LIBS=$LIBS
35040 LIBS="-lsocket $LIBS"
35041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35042 /* end confdefs.h. */
35043
35044 /* Override any GCC internal prototype to avoid an error.
35045 Use char because int might match the return type of a GCC
35046 builtin and then its argument prototype would still apply. */
35047 #ifdef __cplusplus
35048 extern "C"
35049 #endif
35050 char socket ();
35051 int
35052 main ()
35053 {
35054 return socket ();
35055 ;
35056 return 0;
35057 }
35058 _ACEOF
35059 if ac_fn_c_try_link "$LINENO"; then :
35060 ac_cv_lib_socket_socket=yes
35061 else
35062 ac_cv_lib_socket_socket=no
35063 fi
35064 rm -f core conftest.err conftest.$ac_objext \
35065 conftest$ac_exeext conftest.$ac_ext
35066 LIBS=$ac_check_lib_save_LIBS
35067 fi
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35069 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35070 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35071 if test "$INET_LINK" != " -lsocket"; then
35072 INET_LINK="$INET_LINK -lsocket"
35073 fi
35074 else
35075
35076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35077 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35078 wxUSE_SOCKETS=no
35079
35080
35081 fi
35082
35083
35084
35085 fi
35086
35087 fi
35088 fi
35089
35090 if test "$wxUSE_SOCKETS" = "yes" ; then
35091 if test "$TOOLKIT" != "MSW"; then
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35093 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35094 if ${wx_cv_type_getsockname3+:} false; then :
35095 $as_echo_n "(cached) " >&6
35096 else
35097
35098 ac_ext=cpp
35099 ac_cpp='$CXXCPP $CPPFLAGS'
35100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35103
35104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35105 /* end confdefs.h. */
35106
35107 #include <sys/types.h>
35108 #include <sys/socket.h>
35109
35110 int
35111 main ()
35112 {
35113
35114 socklen_t len;
35115 getsockname(0, 0, &len);
35116
35117 ;
35118 return 0;
35119 }
35120 _ACEOF
35121 if ac_fn_cxx_try_compile "$LINENO"; then :
35122 wx_cv_type_getsockname3=socklen_t
35123 else
35124
35125 CFLAGS_OLD="$CFLAGS"
35126 if test "$GCC" = yes ; then
35127 CFLAGS="-Werror $CFLAGS"
35128 fi
35129
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132
35133 #include <sys/types.h>
35134 #include <sys/socket.h>
35135
35136 int
35137 main ()
35138 {
35139
35140 size_t len;
35141 getsockname(0, 0, &len);
35142
35143 ;
35144 return 0;
35145 }
35146 _ACEOF
35147 if ac_fn_cxx_try_compile "$LINENO"; then :
35148 wx_cv_type_getsockname3=size_t
35149 else
35150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h. */
35152
35153 #include <sys/types.h>
35154 #include <sys/socket.h>
35155
35156 int
35157 main ()
35158 {
35159
35160 int len;
35161 getsockname(0, 0, &len);
35162
35163 ;
35164 return 0;
35165 }
35166 _ACEOF
35167 if ac_fn_cxx_try_compile "$LINENO"; then :
35168 wx_cv_type_getsockname3=int
35169 else
35170 wx_cv_type_getsockname3=unknown
35171
35172 fi
35173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35174
35175 fi
35176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35177
35178 CFLAGS="$CFLAGS_OLD"
35179
35180
35181 fi
35182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35183 ac_ext=c
35184 ac_cpp='$CPP $CPPFLAGS'
35185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35188
35189
35190 fi
35191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35192 $as_echo "$wx_cv_type_getsockname3" >&6; }
35193
35194 if test "$wx_cv_type_getsockname3" = "unknown"; then
35195 wxUSE_SOCKETS=no
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35197 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35198 else
35199 cat >>confdefs.h <<_ACEOF
35200 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35201 _ACEOF
35202
35203 fi
35204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35205 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35206 if ${wx_cv_type_getsockopt5+:} false; then :
35207 $as_echo_n "(cached) " >&6
35208 else
35209
35210 ac_ext=cpp
35211 ac_cpp='$CXXCPP $CPPFLAGS'
35212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35215
35216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35217 /* end confdefs.h. */
35218
35219 #include <sys/types.h>
35220 #include <sys/socket.h>
35221
35222 int
35223 main ()
35224 {
35225
35226 socklen_t len;
35227 getsockopt(0, 0, 0, 0, &len);
35228
35229 ;
35230 return 0;
35231 }
35232 _ACEOF
35233 if ac_fn_cxx_try_compile "$LINENO"; then :
35234 wx_cv_type_getsockopt5=socklen_t
35235 else
35236
35237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35238 /* end confdefs.h. */
35239
35240 #include <sys/types.h>
35241 #include <sys/socket.h>
35242
35243 int
35244 main ()
35245 {
35246
35247 size_t len;
35248 getsockopt(0, 0, 0, 0, &len);
35249
35250 ;
35251 return 0;
35252 }
35253 _ACEOF
35254 if ac_fn_cxx_try_compile "$LINENO"; then :
35255 wx_cv_type_getsockopt5=size_t
35256 else
35257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35258 /* end confdefs.h. */
35259
35260 #include <sys/types.h>
35261 #include <sys/socket.h>
35262
35263 int
35264 main ()
35265 {
35266
35267 int len;
35268 getsockopt(0, 0, 0, 0, &len);
35269
35270 ;
35271 return 0;
35272 }
35273 _ACEOF
35274 if ac_fn_cxx_try_compile "$LINENO"; then :
35275 wx_cv_type_getsockopt5=int
35276 else
35277 wx_cv_type_getsockopt5=unknown
35278
35279 fi
35280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35281
35282 fi
35283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35284
35285
35286 fi
35287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35288 ac_ext=c
35289 ac_cpp='$CPP $CPPFLAGS'
35290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35293
35294
35295 fi
35296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35297 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35298
35299 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35300 wxUSE_SOCKETS=no
35301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35302 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35303 else
35304 cat >>confdefs.h <<_ACEOF
35305 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35306 _ACEOF
35307
35308 fi
35309 fi
35310 fi
35311
35312 if test "$wxUSE_SOCKETS" = "yes" ; then
35313 if test "$wxUSE_IPV6" = "yes"; then
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35315 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35316 if ${wx_cv_type_sockaddr_in6+:} false; then :
35317 $as_echo_n "(cached) " >&6
35318 else
35319
35320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35321 /* end confdefs.h. */
35322
35323 #include <sys/types.h>
35324 #include <sys/socket.h>
35325 #include <netinet/in.h>
35326
35327 int
35328 main ()
35329 {
35330
35331 struct sockaddr_in6 sa6;
35332
35333 ;
35334 return 0;
35335 }
35336 _ACEOF
35337 if ac_fn_c_try_compile "$LINENO"; then :
35338 wx_cv_type_sockaddr_in6=yes
35339 else
35340 wx_cv_type_sockaddr_in6=no
35341
35342 fi
35343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35344
35345
35346 fi
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35348 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35349
35350 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35351 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35352
35353 else
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35355 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35356 fi
35357 fi
35358
35359 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35360
35361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35362 fi
35363
35364 if test "$wxUSE_PROTOCOL" = "yes"; then
35365 if test "$wxUSE_SOCKETS" != "yes"; then
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35367 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35368 wxUSE_PROTOCOL=no
35369 fi
35370 fi
35371
35372 if test "$wxUSE_PROTOCOL" = "yes"; then
35373 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35374
35375
35376 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35377 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35378
35379 fi
35380 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35381 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35382
35383 fi
35384 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35385 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35386
35387 fi
35388 else
35389 if test "$wxUSE_FS_INET" = "yes"; then
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35391 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35392 wxUSE_FS_INET="no"
35393 fi
35394 fi
35395
35396 if test "$wxUSE_URL" = "yes"; then
35397 if test "$wxUSE_PROTOCOL" != "yes"; then
35398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35399 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35400 wxUSE_URL=no
35401 fi
35402 if test "$wxUSE_URL" = "yes"; then
35403 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35404
35405 fi
35406 fi
35407
35408 if test "$wxUSE_VARIANT" = "yes"; then
35409 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35410
35411 fi
35412
35413 if test "$wxUSE_FS_INET" = "yes"; then
35414 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35415
35416 fi
35417
35418
35419 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35420 wxUSE_JOYSTICK=no
35421
35422 if test "$TOOLKIT" = "MSW"; then
35423 wxUSE_JOYSTICK=yes
35424
35425 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35426 if test "$USE_DARWIN" = 1; then
35427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35428 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35429 ac_ext=cpp
35430 ac_cpp='$CXXCPP $CPPFLAGS'
35431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35434
35435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35436 /* end confdefs.h. */
35437 #include <IOKit/hid/IOHIDLib.h>
35438 int
35439 main ()
35440 {
35441 IOHIDQueueInterface *qi = NULL;
35442 IOHIDCallbackFunction cb = NULL;
35443 qi->setEventCallout(NULL, cb, NULL, NULL);
35444 ;
35445 return 0;
35446 }
35447 _ACEOF
35448 if ac_fn_cxx_try_compile "$LINENO"; then :
35449 wxUSE_JOYSTICK=yes
35450
35451 fi
35452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35453 ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35458
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35460 $as_echo "$wxUSE_JOYSTICK" >&6; }
35461 fi
35462
35463 else
35464 for ac_header in linux/joystick.h
35465 do :
35466 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35467 "
35468 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35469 cat >>confdefs.h <<_ACEOF
35470 #define HAVE_LINUX_JOYSTICK_H 1
35471 _ACEOF
35472 wxUSE_JOYSTICK=yes
35473 fi
35474
35475 done
35476
35477 fi
35478
35479 if test "$wxUSE_JOYSTICK" = "yes"; then
35480 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35481
35482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35483 else
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35485 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35486 fi
35487 fi
35488
35489
35490
35491 if test "$wxUSE_FONTENUM" = "yes" ; then
35492 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35493
35494 fi
35495
35496 if test "$wxUSE_FONTMAP" = "yes" ; then
35497 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35498
35499 fi
35500
35501 if test "$wxUSE_UNICODE" = "yes" ; then
35502 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35503
35504
35505 if test "$USE_WIN32" != 1; then
35506 wxUSE_UNICODE_MSLU=no
35507 fi
35508
35509 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35511 $as_echo_n "checking for main in -lunicows... " >&6; }
35512 if ${ac_cv_lib_unicows_main+:} false; then :
35513 $as_echo_n "(cached) " >&6
35514 else
35515 ac_check_lib_save_LIBS=$LIBS
35516 LIBS="-lunicows $LIBS"
35517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35518 /* end confdefs.h. */
35519
35520
35521 int
35522 main ()
35523 {
35524 return main ();
35525 ;
35526 return 0;
35527 }
35528 _ACEOF
35529 if ac_fn_c_try_link "$LINENO"; then :
35530 ac_cv_lib_unicows_main=yes
35531 else
35532 ac_cv_lib_unicows_main=no
35533 fi
35534 rm -f core conftest.err conftest.$ac_objext \
35535 conftest$ac_exeext conftest.$ac_ext
35536 LIBS=$ac_check_lib_save_LIBS
35537 fi
35538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35539 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35540 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35541
35542 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35543
35544
35545 else
35546
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35548 Applications will only run on Windows NT/2000/XP!" >&5
35549 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35550 Applications will only run on Windows NT/2000/XP!" >&2;}
35551 wxUSE_UNICODE_MSLU=no
35552
35553 fi
35554
35555 fi
35556 fi
35557
35558 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35559 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35560
35561
35562 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35563 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35564
35565 fi
35566 fi
35567
35568
35569 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35570 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35571
35572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35573 fi
35574
35575 if test "$wxUSE_MDI" = "yes"; then
35576 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35577
35578
35579 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35580 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35581
35582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35583 fi
35584 fi
35585
35586 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35587 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35588
35589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35590 fi
35591
35592 if test "$wxUSE_HELP" = "yes"; then
35593 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35594
35595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35596
35597 if test "$wxUSE_MSW" = 1; then
35598 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35599 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35600
35601 fi
35602 fi
35603
35604 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35605 if test "$wxUSE_HTML" = "yes"; then
35606 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35607
35608 else
35609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35610 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35611 wxUSE_WXHTML_HELP=no
35612 fi
35613 fi
35614 fi
35615
35616 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35617 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35618
35619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35620 fi
35621
35622 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35623 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35624
35625 fi
35626
35627 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35628
35629
35630 if test "$wxUSE_SVG" = "yes"; then
35631 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35632
35633 fi
35634
35635
35636 if test "$wxUSE_METAFILE" = "yes"; then
35637 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35639 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35640 wxUSE_METAFILE=no
35641 fi
35642 elif test "$wxUSE_METAFILE" = "auto"; then
35643 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35644 wxUSE_METAFILE=yes
35645 fi
35646 fi
35647
35648 if test "$wxUSE_METAFILE" = "yes"; then
35649 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35650
35651 if test "$wxUSE_MSW" = 1; then
35652 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35653
35654 fi
35655 fi
35656
35657
35658 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35659 -o "$wxUSE_CLIPBOARD" = "yes" \
35660 -o "$wxUSE_OLE" = "yes" \
35661 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35662 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35663 "
35664 if test "x$ac_cv_header_ole2_h" = xyes; then :
35665
35666 fi
35667
35668
35669
35670 if test "$ac_cv_header_ole2_h" = "yes" ; then
35671 if test "$GCC" = yes ; then
35672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35673 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35675 /* end confdefs.h. */
35676 #include <windows.h>
35677 #include <ole2.h>
35678 int
35679 main ()
35680 {
35681
35682 ;
35683 return 0;
35684 }
35685 _ACEOF
35686 if ac_fn_c_try_compile "$LINENO"; then :
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35688 $as_echo "no" >&6; }
35689 else
35690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35691 $as_echo "yes" >&6; }
35692 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35693 fi
35694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35695 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35696 if test "$wxUSE_OLE" = "yes" ; then
35697 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35698
35699 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35700
35701 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35702
35703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35704 fi
35705 fi
35706
35707 if test "$wxUSE_DATAOBJ" = "yes" ; then
35708 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35709
35710 fi
35711 else
35712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35713 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35714
35715 wxUSE_CLIPBOARD=no
35716 wxUSE_DRAG_AND_DROP=no
35717 wxUSE_DATAOBJ=no
35718 wxUSE_OLE=no
35719 fi
35720 fi
35721
35722 if test "$wxUSE_IPC" = "yes"; then
35723 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35725 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35726 wxUSE_IPC=no
35727 fi
35728
35729 if test "$wxUSE_IPC" = "yes"; then
35730 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35731
35732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35733 fi
35734 fi
35735
35736 if test "$wxUSE_DATAOBJ" = "yes"; then
35737 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35738
35739 else
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35741 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35742 wxUSE_CLIPBOARD=no
35743 wxUSE_DRAG_AND_DROP=no
35744 fi
35745
35746 if test "$wxUSE_CLIPBOARD" = "yes"; then
35747 if test "$wxUSE_DFB" = 1; then
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35749 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35750 wxUSE_CLIPBOARD=no
35751 fi
35752
35753 if test "$wxUSE_CLIPBOARD" = "yes"; then
35754 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35755
35756 fi
35757 fi
35758
35759 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35760 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35762 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35763 wxUSE_DRAG_AND_DROP=no
35764 fi
35765
35766 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35767 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35768
35769 fi
35770
35771 fi
35772
35773 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35775 fi
35776
35777 if test "$wxUSE_CLIPBOARD" = "yes"; then
35778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35779 fi
35780
35781 if test "$wxUSE_SPLINES" = "yes" ; then
35782 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35783
35784 fi
35785
35786 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35787 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35788
35789 fi
35790
35791 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35792 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35793
35794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35795 fi
35796
35797 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35798 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35799
35800 fi
35801
35802
35803 USES_CONTROLS=0
35804 if test "$wxUSE_CONTROLS" = "yes"; then
35805 USES_CONTROLS=1
35806 fi
35807
35808 if test "$wxUSE_MARKUP" = "yes"; then
35809 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35810
35811 fi
35812
35813 if test "$wxUSE_ACCEL" = "yes"; then
35814 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35815
35816 USES_CONTROLS=1
35817 fi
35818
35819 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35820 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35821
35822 USES_CONTROLS=1
35823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35824 fi
35825
35826 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35827 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35828
35829 fi
35830
35831 if test "$wxUSE_BUTTON" = "yes"; then
35832 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35833
35834 USES_CONTROLS=1
35835 fi
35836
35837 if test "$wxUSE_BMPBUTTON" = "yes"; then
35838 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35839
35840 USES_CONTROLS=1
35841 fi
35842
35843 if test "$wxUSE_CALCTRL" = "yes"; then
35844 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35845
35846 USES_CONTROLS=1
35847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35848 fi
35849
35850 if test "$wxUSE_CARET" = "yes"; then
35851 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35852
35853 USES_CONTROLS=1
35854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35855 fi
35856
35857 if test "$wxUSE_COLLPANE" = "yes"; then
35858 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35859
35860 USES_CONTROLS=1
35861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35862 fi
35863
35864 if test "$wxUSE_COMBOBOX" = "yes"; then
35865 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35866
35867 USES_CONTROLS=1
35868 fi
35869
35870 if test "$wxUSE_COMBOCTRL" = "yes"; then
35871 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35872
35873 USES_CONTROLS=1
35874 fi
35875
35876 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35877 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35878
35879 USES_CONTROLS=1
35880 fi
35881
35882 if test "$wxUSE_CHOICE" = "yes"; then
35883 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35884
35885 USES_CONTROLS=1
35886 fi
35887
35888 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35889 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35890
35891 USES_CONTROLS=1
35892 fi
35893
35894 if test "$wxUSE_CHECKBOX" = "yes"; then
35895 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35896
35897 USES_CONTROLS=1
35898 fi
35899
35900 if test "$wxUSE_CHECKLST" = "yes"; then
35901 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35902
35903 USES_CONTROLS=1
35904 fi
35905
35906 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35907 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35908
35909 USES_CONTROLS=1
35910 fi
35911
35912 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35913 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35914
35915 USES_CONTROLS=1
35916 fi
35917
35918 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35919 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35920
35921 USES_CONTROLS=1
35922 fi
35923
35924 if test "$wxUSE_FILECTRL" = "yes"; then
35925 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35926
35927 USES_CONTROLS=1
35928 fi
35929
35930 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35931 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35932
35933 USES_CONTROLS=1
35934 fi
35935
35936 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35937 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35938
35939 USES_CONTROLS=1
35940 fi
35941
35942 if test "$wxUSE_DISPLAY" = "yes"; then
35943 if test "$wxUSE_DFB" = 1; then
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35945 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35946 wxUSE_DISPLAY=no
35947 else
35948 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35949
35950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35951 fi
35952 fi
35953
35954 if test "$wxUSE_DETECT_SM" = "yes"; then
35955 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35956
35957 fi
35958
35959 if test "$wxUSE_GAUGE" = "yes"; then
35960 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35961
35962 USES_CONTROLS=1
35963 fi
35964
35965 if test "$wxUSE_GRID" = "yes"; then
35966 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35967
35968 USES_CONTROLS=1
35969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35970 fi
35971
35972 if test "$wxUSE_HEADERCTRL" = "yes"; then
35973 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35974
35975 USES_CONTROLS=1
35976 fi
35977
35978 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35979 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35980
35981 USES_CONTROLS=1
35982 fi
35983
35984 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35985 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35986
35987 USES_CONTROLS=1
35988 fi
35989
35990 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35991 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35992
35993 USES_CONTROLS=1
35994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35995 fi
35996
35997 if test "$wxUSE_IMAGLIST" = "yes"; then
35998 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35999
36000 fi
36001
36002 if test "$wxUSE_INFOBAR" = "yes"; then
36003 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36004
36005 fi
36006
36007 if test "$wxUSE_LISTBOOK" = "yes"; then
36008 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36009
36010 USES_CONTROLS=1
36011 fi
36012
36013 if test "$wxUSE_LISTBOX" = "yes"; then
36014 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36015
36016 USES_CONTROLS=1
36017 fi
36018
36019 if test "$wxUSE_LISTCTRL" = "yes"; then
36020 if test "$wxUSE_IMAGLIST" = "yes"; then
36021 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36022
36023 USES_CONTROLS=1
36024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36025 else
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36027 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36028 fi
36029 fi
36030
36031 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36032 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36033
36034 USES_CONTROLS=1
36035 fi
36036
36037 if test "$wxUSE_NOTEBOOK" = "yes"; then
36038 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36039
36040 USES_CONTROLS=1
36041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36042 fi
36043
36044 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36045 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36046
36047 fi
36048
36049 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36050 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36051
36052 USES_CONTROLS=1
36053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36054 fi
36055
36056 if test "$wxUSE_RADIOBOX" = "yes"; then
36057 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36058
36059 USES_CONTROLS=1
36060 fi
36061
36062 if test "$wxUSE_RADIOBTN" = "yes"; then
36063 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36064
36065 USES_CONTROLS=1
36066 fi
36067
36068 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36069 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36070
36071 fi
36072
36073 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36074 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36075
36076 fi
36077
36078 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36079 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36080
36081 fi
36082
36083 if test "$wxUSE_SASH" = "yes"; then
36084 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36085
36086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36087 fi
36088
36089 if test "$wxUSE_SCROLLBAR" = "yes"; then
36090 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36091
36092 USES_CONTROLS=1
36093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36094 fi
36095
36096 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36097 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36098
36099 USES_CONTROLS=1
36100 fi
36101
36102 if test "$wxUSE_SLIDER" = "yes"; then
36103 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36104
36105 USES_CONTROLS=1
36106 fi
36107
36108 if test "$wxUSE_SPINBTN" = "yes"; then
36109 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36110
36111 USES_CONTROLS=1
36112 fi
36113
36114 if test "$wxUSE_SPINCTRL" = "yes"; then
36115 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36116
36117 USES_CONTROLS=1
36118 fi
36119
36120 if test "$wxUSE_SPLITTER" = "yes"; then
36121 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36122
36123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36124 fi
36125
36126 if test "$wxUSE_STATBMP" = "yes"; then
36127 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36128
36129 USES_CONTROLS=1
36130 fi
36131
36132 if test "$wxUSE_STATBOX" = "yes"; then
36133 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36134
36135 USES_CONTROLS=1
36136 fi
36137
36138 if test "$wxUSE_STATTEXT" = "yes"; then
36139 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36140
36141 USES_CONTROLS=1
36142 fi
36143
36144 if test "$wxUSE_STATLINE" = "yes"; then
36145 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36146
36147 USES_CONTROLS=1
36148 fi
36149
36150 if test "$wxUSE_STATUSBAR" = "yes"; then
36151 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36152
36153 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36154
36155 USES_CONTROLS=1
36156
36157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36158 fi
36159
36160 if test "$wxUSE_TEXTCTRL" = "yes"; then
36161 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36162
36163 USES_CONTROLS=1
36164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36165
36166 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36167
36168 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36169
36170 fi
36171
36172 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36173 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36174
36175 USES_CONTROLS=1
36176 fi
36177
36178 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36179 if test "$wxUSE_OLD_COCOA" = 1 ; then
36180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36181 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36182 wxUSE_TOGGLEBTN=no
36183 fi
36184
36185 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36186 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36187
36188 USES_CONTROLS=1
36189 fi
36190 fi
36191
36192 if test "$wxUSE_TOOLBAR" = "yes"; then
36193 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36194
36195 USES_CONTROLS=1
36196
36197 if test "$wxUSE_UNIVERSAL" = "yes"; then
36198 wxUSE_TOOLBAR_NATIVE="no"
36199 else
36200 wxUSE_TOOLBAR_NATIVE="yes"
36201 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36202
36203 fi
36204
36205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36206 fi
36207
36208 if test "$wxUSE_TOOLTIPS" = "yes"; then
36209 if test "$wxUSE_MOTIF" = 1; then
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36211 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36212 else
36213 if test "$wxUSE_UNIVERSAL" = "yes"; then
36214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36215 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36216 else
36217 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36218
36219 fi
36220 fi
36221 fi
36222
36223 if test "$wxUSE_TREEBOOK" = "yes"; then
36224 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36225
36226 USES_CONTROLS=1
36227 fi
36228
36229 if test "$wxUSE_TOOLBOOK" = "yes"; then
36230 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36231
36232 USES_CONTROLS=1
36233 fi
36234
36235 if test "$wxUSE_TREECTRL" = "yes"; then
36236 if test "$wxUSE_IMAGLIST" = "yes"; then
36237 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36238
36239 USES_CONTROLS=1
36240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36241 else
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36243 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36244 fi
36245 fi
36246
36247 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36248 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36249
36250 USES_CONTROLS=1
36251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36252 fi
36253
36254 if test "$wxUSE_POPUPWIN" = "yes"; then
36255 if test "$wxUSE_OLD_COCOA" = 1 ; then
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36257 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36258 else
36259 if test "$wxUSE_PM" = 1; then
36260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36261 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36262 else
36263 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36264
36265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36266
36267 USES_CONTROLS=1
36268 fi
36269 fi
36270 fi
36271
36272 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36273 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36275 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36276 else
36277 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36278
36279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36280 fi
36281 fi
36282
36283 if test "$wxUSE_TIPWINDOW" = "yes"; then
36284 if test "$wxUSE_PM" = 1; then
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36286 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36287 else
36288 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36289
36290 fi
36291 fi
36292
36293 if test "$USES_CONTROLS" = 1; then
36294 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36295
36296 fi
36297
36298
36299 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36300 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36301
36302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36303 fi
36304
36305 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36306 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36307
36308 fi
36309
36310 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36311 if test "$wxUSE_GTK" != 1; then
36312 if test "$wxUSE_LIBPNG" != no -a \
36313 "$wxUSE_IMAGE" = yes -a \
36314 "$wxUSE_STREAMS" = yes; then
36315 wxUSE_ARTPROVIDER_TANGO="yes"
36316 fi
36317 fi
36318 fi
36319
36320 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36321 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36322
36323 fi
36324
36325 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36326 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36327
36328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36329 fi
36330
36331 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36332 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36334 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36335 else
36336 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36337
36338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36339 fi
36340 fi
36341
36342 USE_HTML=0
36343 if test "$wxUSE_HTML" = "yes"; then
36344 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36345
36346 USE_HTML=1
36347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36348 fi
36349 if test "$wxUSE_WEBKIT" = "yes"; then
36350 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36351 old_CPPFLAGS="$CPPFLAGS"
36352 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36353 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36354 #include <Carbon/Carbon.h>
36355 #include <WebKit/WebKit.h>
36356
36357 "
36358 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36359
36360 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36361
36362 WEBKIT_LINK="-framework WebKit"
36363
36364 else
36365
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36367 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36368 wxUSE_WEBKIT=no
36369
36370 fi
36371
36372
36373 CPPFLAGS="$old_CPPFLAGS"
36374 elif test "$wxUSE_OLD_COCOA" = 1; then
36375 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36376
36377 else
36378 wxUSE_WEBKIT=no
36379 fi
36380 if test "$wxUSE_WEBKIT" = "yes"; then
36381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36382 fi
36383 fi
36384
36385 USE_XRC=0
36386 if test "$wxUSE_XRC" = "yes"; then
36387 if test "$wxUSE_XML" != "yes"; then
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36389 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36390 wxUSE_XRC=no
36391 else
36392 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36393
36394 USE_XRC=1
36395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36396 fi
36397 fi
36398
36399 USE_AUI=0
36400 if test "$wxUSE_AUI" = "yes"; then
36401 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36402
36403 USE_AUI=1
36404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36405 fi
36406
36407 USE_PROPGRID=0
36408 if test "$wxUSE_PROPGRID" = "yes"; then
36409 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36410
36411 USE_PROPGRID=1
36412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36413 fi
36414
36415 USE_RIBBON=0
36416 if test "$wxUSE_RIBBON" = "yes"; then
36417 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36418
36419 USE_RIBBON=1
36420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36421 fi
36422
36423 USE_STC=0
36424 if test "$wxUSE_STC" = "yes"; then
36425 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36426
36427 USE_STC=1
36428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36429
36430 # Extract the first word of "python", so it can be a program name with args.
36431 set dummy python; ac_word=$2
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36433 $as_echo_n "checking for $ac_word... " >&6; }
36434 if ${ac_cv_path_PYTHON+:} false; then :
36435 $as_echo_n "(cached) " >&6
36436 else
36437 case $PYTHON in
36438 [\\/]* | ?:[\\/]*)
36439 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36440 ;;
36441 *)
36442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36443 for as_dir in $PATH
36444 do
36445 IFS=$as_save_IFS
36446 test -z "$as_dir" && as_dir=.
36447 for ac_exec_ext in '' $ac_executable_extensions; do
36448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36449 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36451 break 2
36452 fi
36453 done
36454 done
36455 IFS=$as_save_IFS
36456
36457 ;;
36458 esac
36459 fi
36460 PYTHON=$ac_cv_path_PYTHON
36461 if test -n "$PYTHON"; then
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36463 $as_echo "$PYTHON" >&6; }
36464 else
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36466 $as_echo "no" >&6; }
36467 fi
36468
36469
36470 if test "x$PYTHON" = "x"; then
36471 COND_PYTHON="#"
36472 fi
36473
36474 fi
36475
36476 if test "$wxUSE_MENUS" = "yes"; then
36477 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36478
36479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36480 fi
36481
36482 if test "$wxUSE_MIMETYPE" = "yes"; then
36483 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36484
36485 fi
36486
36487 if test "$wxUSE_MINIFRAME" = "yes"; then
36488 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36489
36490 fi
36491
36492 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36493 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36494
36495 fi
36496
36497 if test "$wxUSE_TASKBARICON" = "yes"; then
36498 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36499
36500 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36501
36502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36503 fi
36504
36505
36506 if test "$wxUSE_VALIDATORS" = "yes"; then
36507 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36508
36509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36510 fi
36511
36512 if test "$wxUSE_PALETTE" = "yes" ; then
36513 if test "$wxUSE_DFB" = 1; then
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36515 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36516 wxUSE_PALETTE=no
36517 else
36518 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36519
36520 fi
36521 fi
36522
36523 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36524 LIBS=" -lunicows $LIBS"
36525 fi
36526
36527 USE_RICHTEXT=0
36528 if test "$wxUSE_RICHTEXT" = "yes"; then
36529 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36530
36531 USE_RICHTEXT=1
36532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36533 fi
36534
36535 if test "$wxUSE_WEBVIEW" = "yes"; then
36536 USE_WEBVIEW_WEBKIT=0
36537 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36538 if test "$wxUSE_GTK" = 1; then
36539 webkitgtk=webkit-1.0
36540 if test "$WXGTK3" = 1; then
36541 webkitgtk=webkitgtk-3.0
36542 fi
36543
36544 pkg_failed=no
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36546 $as_echo_n "checking for WEBKIT... " >&6; }
36547
36548 if test -n "$PKG_CONFIG"; then
36549 if test -n "$WEBKIT_CFLAGS"; then
36550 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36551 else
36552 if test -n "$PKG_CONFIG" && \
36553 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36554 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36555 ac_status=$?
36556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36557 test $ac_status = 0; }; then
36558 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36559 else
36560 pkg_failed=yes
36561 fi
36562 fi
36563 else
36564 pkg_failed=untried
36565 fi
36566 if test -n "$PKG_CONFIG"; then
36567 if test -n "$WEBKIT_LIBS"; then
36568 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36569 else
36570 if test -n "$PKG_CONFIG" && \
36571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36572 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36573 ac_status=$?
36574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36575 test $ac_status = 0; }; then
36576 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36577 else
36578 pkg_failed=yes
36579 fi
36580 fi
36581 else
36582 pkg_failed=untried
36583 fi
36584
36585
36586
36587 if test $pkg_failed = yes; then
36588
36589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36590 _pkg_short_errors_supported=yes
36591 else
36592 _pkg_short_errors_supported=no
36593 fi
36594 if test $_pkg_short_errors_supported = yes; then
36595 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36596 else
36597 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36598 fi
36599 # Put the nasty error message in config.log where it belongs
36600 echo "$WEBKIT_PKG_ERRORS" >&5
36601
36602
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36604 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36605
36606 elif test $pkg_failed = untried; then
36607
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36609 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36610
36611 else
36612 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36613 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36615 $as_echo "yes" >&6; }
36616
36617 USE_WEBVIEW_WEBKIT=1
36618 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36619 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36620
36621 fi
36622 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36623 old_CPPFLAGS="$CPPFLAGS"
36624 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36625 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36626 #include <Carbon/Carbon.h>
36627 #include <WebKit/WebKit.h>
36628
36629 "
36630 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36631
36632 USE_WEBVIEW_WEBKIT=1
36633 WEBKIT_LINK="-framework WebKit"
36634
36635 else
36636
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36638 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36639
36640 fi
36641
36642
36643 CPPFLAGS="$old_CPPFLAGS"
36644 fi
36645 fi
36646
36647 wxUSE_WEBVIEW="no"
36648 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36649 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36650 wxUSE_WEBVIEW="yes"
36651 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36652
36653 else
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36655 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36656 fi
36657 elif test "$wxUSE_MSW" = 1; then
36658 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36659 wxUSE_WEBVIEW="yes"
36660 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36661
36662 fi
36663 fi
36664 fi
36665
36666 if test "$wxUSE_WEBVIEW" = "yes"; then
36667 USE_WEBVIEW=1
36668 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36669
36670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36671 else
36672 USE_WEBVIEW=0
36673 fi
36674
36675
36676 if test "$wxUSE_IMAGE" = "yes" ; then
36677 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36678
36679
36680 if test "$wxUSE_GIF" = "yes" ; then
36681 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36682
36683 fi
36684
36685 if test "$wxUSE_PCX" = "yes" ; then
36686 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36687
36688 fi
36689
36690 if test "$wxUSE_TGA" = "yes" ; then
36691 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36692
36693 fi
36694
36695 if test "$wxUSE_IFF" = "yes" ; then
36696 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36697
36698 fi
36699
36700 if test "$wxUSE_PNM" = "yes" ; then
36701 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36702
36703 fi
36704
36705 if test "$wxUSE_XPM" = "yes" ; then
36706 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36707
36708 fi
36709
36710 if test "$wxUSE_ICO_CUR" = "yes" ; then
36711 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36712
36713 fi
36714 fi
36715
36716
36717 if test "$wxUSE_ABOUTDLG" = "yes"; then
36718 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36719
36720 fi
36721
36722 if test "$wxUSE_CHOICEDLG" = "yes"; then
36723 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36724
36725 fi
36726
36727 if test "$wxUSE_COLOURDLG" = "yes"; then
36728 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36729
36730 fi
36731
36732 if test "$wxUSE_FILEDLG" = "yes"; then
36733 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36734
36735 fi
36736
36737 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36738 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36739
36740 fi
36741
36742 if test "$wxUSE_FONTDLG" = "yes"; then
36743 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36744
36745 fi
36746
36747 if test "$wxUSE_DIRDLG" = "yes"; then
36748 if test "$wxUSE_TREECTRL" != "yes"; then
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36750 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36751 else
36752 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36753
36754 fi
36755 fi
36756
36757 if test "$wxUSE_MSGDLG" = "yes"; then
36758 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36759
36760 fi
36761
36762 if test "$wxUSE_NUMBERDLG" = "yes"; then
36763 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36764
36765 fi
36766
36767 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36768 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36769
36770 fi
36771
36772 if test "$wxUSE_SPLASH" = "yes"; then
36773 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36774
36775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36776 fi
36777
36778 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36779 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36780
36781 fi
36782
36783 if test "$wxUSE_TEXTDLG" = "yes"; then
36784 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36785
36786 fi
36787
36788 if test "$wxUSE_WIZARDDLG" = "yes"; then
36789 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36790
36791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36792 fi
36793
36794
36795 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36796 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36797 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36798
36799 fi
36800 fi
36801
36802
36803 if test "$wxUSE_MSW" = 1 ; then
36804
36805 if test "$wxUSE_DC_CACHEING" = "yes"; then
36806 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36807
36808 fi
36809
36810 if test "$wxUSE_DIB" = "yes"; then
36811 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36812
36813 fi
36814
36815 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36816 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36817
36818 fi
36819
36820 if test "$wxUSE_UXTHEME" = "yes"; then
36821 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36822
36823 fi
36824
36825 fi
36826
36827 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36828 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36829
36830 fi
36831
36832 if test "$USE_WIN32" = 1 ; then
36833 if test "$wxUSE_INICONF" = "yes"; then
36834 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36835
36836 fi
36837
36838 if test "$wxUSE_REGKEY" = "yes"; then
36839 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36840
36841 fi
36842 fi
36843
36844
36845 if test "$wxUSE_MAC" = 1; then
36846 wxUSE_GRAPHICS_CONTEXT="yes"
36847 fi
36848
36849 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36850 wx_has_graphics=0
36851 if test "$wxUSE_MSW" = 1; then
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36853 $as_echo_n "checking if GDI+ is available... " >&6; }
36854 if ${wx_cv_lib_gdiplus+:} false; then :
36855 $as_echo_n "(cached) " >&6
36856 else
36857
36858 ac_ext=cpp
36859 ac_cpp='$CXXCPP $CPPFLAGS'
36860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36863
36864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36865 /* end confdefs.h. */
36866 #include <windows.h>
36867 #include <gdiplus.h>
36868 int
36869 main ()
36870 {
36871
36872 using namespace Gdiplus;
36873
36874 ;
36875 return 0;
36876 }
36877 _ACEOF
36878 if ac_fn_cxx_try_compile "$LINENO"; then :
36879 wx_cv_lib_gdiplus=yes
36880 else
36881 wx_cv_lib_gdiplus=no
36882
36883 fi
36884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36885 ac_ext=c
36886 ac_cpp='$CPP $CPPFLAGS'
36887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36890
36891
36892
36893 fi
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36895 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36896 if test "$wx_cv_lib_gdiplus" = "yes"; then
36897 wx_has_graphics=1
36898 fi
36899 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36900
36901 pkg_failed=no
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36903 $as_echo_n "checking for CAIRO... " >&6; }
36904
36905 if test -n "$PKG_CONFIG"; then
36906 if test -n "$CAIRO_CFLAGS"; then
36907 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36908 else
36909 if test -n "$PKG_CONFIG" && \
36910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36911 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36912 ac_status=$?
36913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36914 test $ac_status = 0; }; then
36915 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36916 else
36917 pkg_failed=yes
36918 fi
36919 fi
36920 else
36921 pkg_failed=untried
36922 fi
36923 if test -n "$PKG_CONFIG"; then
36924 if test -n "$CAIRO_LIBS"; then
36925 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36926 else
36927 if test -n "$PKG_CONFIG" && \
36928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36929 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36930 ac_status=$?
36931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36932 test $ac_status = 0; }; then
36933 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36934 else
36935 pkg_failed=yes
36936 fi
36937 fi
36938 else
36939 pkg_failed=untried
36940 fi
36941
36942
36943
36944 if test $pkg_failed = yes; then
36945
36946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36947 _pkg_short_errors_supported=yes
36948 else
36949 _pkg_short_errors_supported=no
36950 fi
36951 if test $_pkg_short_errors_supported = yes; then
36952 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36953 else
36954 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36955 fi
36956 # Put the nasty error message in config.log where it belongs
36957 echo "$CAIRO_PKG_ERRORS" >&5
36958
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36960 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36961
36962 elif test $pkg_failed = untried; then
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36964 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36965
36966 else
36967 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36968 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36970 $as_echo "yes" >&6; }
36971 wx_has_graphics=1
36972 fi
36973 if test "$wx_has_graphics" = 1; then
36974 save_LIBS="$LIBS"
36975 LIBS="$LIBS $CAIRO_LIBS"
36976 for ac_func in cairo_push_group
36977 do :
36978 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36979 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
36980 cat >>confdefs.h <<_ACEOF
36981 #define HAVE_CAIRO_PUSH_GROUP 1
36982 _ACEOF
36983
36984 fi
36985 done
36986
36987 LIBS="$save_LIBS"
36988 if test "$ac_cv_func_cairo_push_group" = "no"; then
36989 wx_has_graphics=0
36990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36991 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36992 else
36993 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36994
36995
36996 if test "$wxUSE_GTK" != 1; then
36997 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36998 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36999 fi
37000 fi
37001 fi
37002 else
37003 wx_has_graphics=1
37004 fi
37005
37006 if test "$wx_has_graphics" = 1; then
37007 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37008
37009 else
37010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37011 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37012 fi
37013 fi
37014
37015
37016 USE_MEDIA=0
37017
37018 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37019 USE_MEDIA=1
37020
37021 if test "$wxUSE_GTK" = 1; then
37022 wxUSE_GSTREAMER="no"
37023
37024 GST_VERSION_MAJOR=0
37025 GST_VERSION_MINOR=10
37026 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37027
37028 if test "$wxUSE_GSTREAMER8" = "no"; then
37029
37030 pkg_failed=no
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37032 $as_echo_n "checking for GST... " >&6; }
37033
37034 if test -n "$PKG_CONFIG"; then
37035 if test -n "$GST_CFLAGS"; then
37036 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37037 else
37038 if test -n "$PKG_CONFIG" && \
37039 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37040 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37041 ac_status=$?
37042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37043 test $ac_status = 0; }; then
37044 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37045 else
37046 pkg_failed=yes
37047 fi
37048 fi
37049 else
37050 pkg_failed=untried
37051 fi
37052 if test -n "$PKG_CONFIG"; then
37053 if test -n "$GST_LIBS"; then
37054 pkg_cv_GST_LIBS="$GST_LIBS"
37055 else
37056 if test -n "$PKG_CONFIG" && \
37057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37058 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37059 ac_status=$?
37060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37061 test $ac_status = 0; }; then
37062 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37063 else
37064 pkg_failed=yes
37065 fi
37066 fi
37067 else
37068 pkg_failed=untried
37069 fi
37070
37071
37072
37073 if test $pkg_failed = yes; then
37074
37075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37076 _pkg_short_errors_supported=yes
37077 else
37078 _pkg_short_errors_supported=no
37079 fi
37080 if test $_pkg_short_errors_supported = yes; then
37081 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37082 else
37083 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37084 fi
37085 # Put the nasty error message in config.log where it belongs
37086 echo "$GST_PKG_ERRORS" >&5
37087
37088
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37090 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37091 GST_VERSION_MINOR=8
37092
37093
37094 elif test $pkg_failed = untried; then
37095
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37097 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37098 GST_VERSION_MINOR=8
37099
37100
37101 else
37102 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37103 GST_LIBS=$pkg_cv_GST_LIBS
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37105 $as_echo "yes" >&6; }
37106
37107 wxUSE_GSTREAMER="yes"
37108 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37109
37110 fi
37111 else
37112 GST_VERSION_MINOR=8
37113 fi
37114
37115 if test $GST_VERSION_MINOR = "8"; then
37116 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37117
37118 pkg_failed=no
37119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37120 $as_echo_n "checking for GST... " >&6; }
37121
37122 if test -n "$PKG_CONFIG"; then
37123 if test -n "$GST_CFLAGS"; then
37124 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37125 else
37126 if test -n "$PKG_CONFIG" && \
37127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37129 ac_status=$?
37130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37131 test $ac_status = 0; }; then
37132 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37133 else
37134 pkg_failed=yes
37135 fi
37136 fi
37137 else
37138 pkg_failed=untried
37139 fi
37140 if test -n "$PKG_CONFIG"; then
37141 if test -n "$GST_LIBS"; then
37142 pkg_cv_GST_LIBS="$GST_LIBS"
37143 else
37144 if test -n "$PKG_CONFIG" && \
37145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37147 ac_status=$?
37148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37149 test $ac_status = 0; }; then
37150 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37151 else
37152 pkg_failed=yes
37153 fi
37154 fi
37155 else
37156 pkg_failed=untried
37157 fi
37158
37159
37160
37161 if test $pkg_failed = yes; then
37162
37163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37164 _pkg_short_errors_supported=yes
37165 else
37166 _pkg_short_errors_supported=no
37167 fi
37168 if test $_pkg_short_errors_supported = yes; then
37169 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37170 else
37171 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37172 fi
37173 # Put the nasty error message in config.log where it belongs
37174 echo "$GST_PKG_ERRORS" >&5
37175
37176
37177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37178 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37179
37180 elif test $pkg_failed = untried; then
37181
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37183 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37184
37185 else
37186 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37187 GST_LIBS=$pkg_cv_GST_LIBS
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37189 $as_echo "yes" >&6; }
37190 wxUSE_GSTREAMER="yes"
37191 fi
37192 fi
37193
37194
37195 if test "$wxUSE_GSTREAMER" = "yes"; then
37196 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37197 EXTRALIBS_MEDIA="$GST_LIBS"
37198
37199 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37200
37201 else
37202 USE_MEDIA=0
37203 fi
37204
37205 elif test "$wxUSE_MAC" = 1; then
37206 GST_LIBS="-framework QTKit"
37207 fi
37208
37209 if test $USE_MEDIA = 1; then
37210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37211 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37212
37213 else
37214 if test "$wxUSE_MEDIACTRL" = "yes"; then
37215 as_fn_error $? "GStreamer not available" "$LINENO" 5
37216 else
37217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37218 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37219 fi
37220 fi
37221 fi
37222
37223
37224 if test "$cross_compiling" != "no"; then
37225 OSINFO="\"$host\""
37226 else
37227 OSINFO=`uname -s -r -m`
37228 OSINFO="\"$OSINFO\""
37229 fi
37230
37231 cat >>confdefs.h <<_ACEOF
37232 #define WXWIN_OS_DESCRIPTION $OSINFO
37233 _ACEOF
37234
37235
37236
37237 if test "x$prefix" != "xNONE"; then
37238 wxPREFIX=$prefix
37239 else
37240 wxPREFIX=$ac_default_prefix
37241 fi
37242
37243 cat >>confdefs.h <<_ACEOF
37244 #define wxINSTALL_PREFIX "$wxPREFIX"
37245 _ACEOF
37246
37247
37248
37249
37250 STD_BASE_LIBS="base"
37251 STD_GUI_LIBS=""
37252 BUILT_WX_LIBS="base"
37253 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37254
37255 if test "$wxUSE_SOCKETS" = "yes" ; then
37256 STD_BASE_LIBS="net $STD_BASE_LIBS"
37257 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37258 fi
37259 if test "$wxUSE_XML" = "yes" ; then
37260 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37261 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37262 fi
37263
37264 if test "$wxUSE_GUI" = "yes"; then
37265 STD_GUI_LIBS="adv core"
37266 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37267
37268 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37269 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37270 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37271 fi
37272 if test "$wxUSE_HTML" = "yes" ; then
37273 STD_GUI_LIBS="html $STD_GUI_LIBS"
37274 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37275 fi
37276 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37277 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37278 fi
37279 if test "$wxUSE_OPENGL" = "yes" ; then
37280 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37281 fi
37282 if test "$wxUSE_AUI" = "yes" ; then
37283 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37284 fi
37285 if test "$wxUSE_PROPGRID" = "yes" ; then
37286 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37287 fi
37288 if test "$wxUSE_RIBBON" = "yes" ; then
37289 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37290 fi
37291 if test "$wxUSE_RICHTEXT" = "yes" ; then
37292 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37293 fi
37294 if test "$wxUSE_STC" = "yes" ; then
37295 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37296 fi
37297 if test "$wxUSE_WEBVIEW" = "yes" ; then
37298 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37299 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37300 fi
37301 if test "$wxUSE_XRC" = "yes" ; then
37302 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37303 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37304 fi
37305 fi
37306
37307
37308
37309
37310
37311
37312
37313 EXTRA_FRAMEWORKS=
37314 if test "$wxUSE_MAC" = 1 ; then
37315 if test "$USE_DARWIN" = 1; then
37316 if test "$wxUSE_OSX_IPHONE" = 1; then
37317 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37318 else
37319 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37320
37321
37322 if test "$cross_compiling" != "no"; then
37323 wx_cv_target_x86_64=no
37324 else
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37326 $as_echo_n "checking if we target only x86_64... " >&6; }
37327 if ${wx_cv_target_x86_64+:} false; then :
37328 $as_echo_n "(cached) " >&6
37329 else
37330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37331 /* end confdefs.h. */
37332 int main() { return 0; }
37333 _ACEOF
37334 if ac_fn_c_try_link "$LINENO"; then :
37335 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37336 wx_cv_target_x86_64=no
37337 else
37338 wx_cv_target_x86_64=yes
37339 fi
37340
37341 fi
37342 rm -f core conftest.err conftest.$ac_objext \
37343 conftest$ac_exeext conftest.$ac_ext
37344
37345 fi
37346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37347 $as_echo "$wx_cv_target_x86_64" >&6; }
37348 fi
37349
37350 if test "$wx_cv_target_x86_64" != "yes"; then
37351 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37352 fi
37353 fi
37354 fi
37355 fi
37356 if test "$wxUSE_OLD_COCOA" = 1 ; then
37357 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37358 if test "$wxUSE_MEDIACTRL" = "yes"; then
37359 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37360 fi
37361 fi
37362 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37363 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37364 fi
37365
37366 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37367 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37368
37369 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37370
37371 if test "$wxUSE_GUI" = "yes"; then
37372
37373
37374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37375 erase event exec font image minimal render \
37376 shaped svg taborder vscroll widgets wrapsizer"
37377
37378 if test "$wxUSE_MONOLITHIC" != "yes"; then
37379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37380 fi
37381 if test "$TOOLKIT" = "MSW"; then
37382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37383 if test "$wxUSE_UNIVERSAL" != "yes"; then
37384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37385 fi
37386 fi
37387 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37389 fi
37390 else
37391 SAMPLES_SUBDIRS="console"
37392 if test "$wxUSE_SOCKETS" = "yes" ; then
37393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37394 fi
37395 if test "$wxUSE_IPC" = "yes" ; then
37396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37397 fi
37398 fi
37399
37400
37401 if test "x$INTELCC" = "xyes" ; then
37402 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37403 elif test "$GCC" = yes ; then
37404 CWARNINGS="-Wall -Wundef"
37405 fi
37406
37407 if test "x$INTELCXX" = "xyes" ; then
37408 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37409 elif test "$GXX" = yes ; then
37410 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37412 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37413 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37414 $as_echo_n "(cached) " >&6
37415 else
37416 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37417
37418 ac_ext=cpp
37419 ac_cpp='$CXXCPP $CPPFLAGS'
37420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37423
37424 ac_save_CXXFLAGS="$CXXFLAGS"
37425 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37426 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37429
37430 int
37431 main ()
37432 {
37433 return 0;
37434 ;
37435 return 0;
37436 }
37437 _ACEOF
37438 if ac_fn_cxx_try_compile "$LINENO"; then :
37439 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37440 fi
37441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37442 done
37443 CXXFLAGS="$ac_save_CXXFLAGS"
37444 ac_ext=c
37445 ac_cpp='$CPP $CPPFLAGS'
37446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37449
37450
37451 fi
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37453 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37454 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37455 .ok|.ok,*) ;;
37456 .|.no|.no,*) ;;
37457 *)
37458 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37459 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37460 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37461 ac_status=$?
37462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37463 test $ac_status = 0; }
37464 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37465 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37466 ac_status=$?
37467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37468 test $ac_status = 0; }
37469 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37470 fi
37471 ;;
37472 esac
37473
37474
37475 if test "$wxUSE_MAC" = 1 ; then
37476 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37477 fi
37478 fi
37479
37480
37481 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37482 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37483
37484
37485 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37486 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37487 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37488 $CPPFLAGS `
37489
37490 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37491 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37492 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37493 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37494 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37495
37496 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37497
37498
37499 if test "x$MWCC" = "xyes"; then
37500
37501 CC="$CC -cwd source -I-"
37502 CXX="$CXX -cwd source -I-"
37503 fi
37504
37505
37506 LIBS=`echo $LIBS`
37507 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37508 EXTRALIBS_XML="$EXPAT_LINK"
37509 EXTRALIBS_HTML="$MSPACK_LINK"
37510 EXTRALIBS_MEDIA="$GST_LIBS"
37511 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37512 if test "$wxUSE_GUI" = "yes"; then
37513 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37514 fi
37515 if test "$wxUSE_OPENGL" = "yes"; then
37516 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37517 fi
37518
37519 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37520
37521 WXCONFIG_LIBS="$LIBS"
37522
37523 if test "$wxUSE_REGEX" = "builtin" ; then
37524 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37525 fi
37526 if test "$wxUSE_EXPAT" = "builtin" ; then
37527 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37528 fi
37529 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37530 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37531 fi
37532 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37533 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37534 fi
37535 if test "$wxUSE_LIBPNG" = "builtin" ; then
37536 wxconfig_3rdparty="png $wxconfig_3rdparty"
37537 fi
37538 if test "$wxUSE_ZLIB" = "builtin" ; then
37539 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37540 fi
37541
37542 for i in $wxconfig_3rdparty ; do
37543 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37544 done
37545
37546
37547 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37548 WXUNIV=1
37549
37550 case "$wxUNIV_THEMES" in
37551 ''|all)
37552 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37553
37554 ;;
37555
37556 *)
37557 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37558 cat >>confdefs.h <<_ACEOF
37559 #define wxUSE_THEME_$t 1
37560 _ACEOF
37561
37562 done
37563 esac
37564 else
37565 WXUNIV=0
37566 fi
37567
37568
37569
37570
37571
37572
37573
37574
37575 if test $wxUSE_MONOLITHIC = "yes" ; then
37576 MONOLITHIC=1
37577 else
37578 MONOLITHIC=0
37579 fi
37580
37581 if test $wxUSE_PLUGINS = "yes" ; then
37582 USE_PLUGINS=1
37583 else
37584 USE_PLUGINS=0
37585 fi
37586
37587 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37588 USE_QA=1
37589 else
37590 USE_QA=0
37591 fi
37592
37593 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37594 OFFICIAL_BUILD=1
37595 else
37596 OFFICIAL_BUILD=0
37597 fi
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632 case "$TOOLKIT" in
37633 GTK)
37634 TOOLKIT_DESC="GTK+"
37635 if test "$WXGTK2" = 1; then
37636 if test "$WXGTK3" = 1; then
37637 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37638 else
37639 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37640 fi
37641 if test "$wxUSE_GTKPRINT" = "yes" ; then
37642 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37643 fi
37644 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37645 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37646 fi
37647 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37648 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37649 fi
37650 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37651 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37652 fi
37653 if test "$wxUSE_LIBHILDON" = "yes"; then
37654 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37655 fi
37656 if test "$wxUSE_LIBHILDON2" = "yes"; then
37657 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37658 fi
37659
37660 if test "$TOOLKIT_EXTRA" != ""; then
37661 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37662 fi
37663 fi
37664 ;;
37665
37666 ?*)
37667 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37668 ;;
37669
37670 *)
37671 TOOLKIT_DESC="base only"
37672 ;;
37673 esac
37674
37675 if test "$wxUSE_WINE" = "yes"; then
37676 BAKEFILE_FORCE_PLATFORM=win32
37677 fi
37678
37679 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37680 then
37681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37682 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37683 if ${wx_cv_gcc_pch_bug+:} false; then :
37684 $as_echo_n "(cached) " >&6
37685 else
37686
37687 echo '#include <stdio.h>
37688 const wchar_t test_var[] = L"awidetest";' > conftest.h
37689
37690 echo '#include "conftest.h"
37691 int main()
37692 {
37693 printf("%ls", test_var);
37694 return 0;
37695 }' > conftest.cpp
37696
37697 wx_cv_gcc_pch_bug="pch not supported"
37698
37699 if $CXX conftest.h >/dev/null 2>&1
37700 then
37701 wx_cv_gcc_pch_bug=
37702
37703 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37704 then
37705 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37706 grep awidetest >/dev/null
37707 then
37708 wx_cv_gcc_pch_bug=no
37709 else
37710 wx_cv_gcc_pch_bug=yes
37711 fi
37712 fi
37713 fi
37714
37715 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37716
37717 fi
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37719 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37720
37721 if test "$wx_cv_gcc_pch_bug" = yes; then
37722 bk_use_pch=no
37723 fi
37724 fi
37725
37726 # Find a good install program. We prefer a C program (faster),
37727 # so one script is as good as another. But avoid the broken or
37728 # incompatible versions:
37729 # SysV /etc/install, /usr/sbin/install
37730 # SunOS /usr/etc/install
37731 # IRIX /sbin/install
37732 # AIX /bin/install
37733 # AmigaOS /C/install, which installs bootblocks on floppy discs
37734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37737 # OS/2's system install, which has a completely different semantic
37738 # ./install, which can be erroneously created by make from ./install.sh.
37739 # Reject install programs that cannot install multiple files.
37740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37741 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37742 if test -z "$INSTALL"; then
37743 if ${ac_cv_path_install+:} false; then :
37744 $as_echo_n "(cached) " >&6
37745 else
37746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37747 for as_dir in $PATH
37748 do
37749 IFS=$as_save_IFS
37750 test -z "$as_dir" && as_dir=.
37751 # Account for people who put trailing slashes in PATH elements.
37752 case $as_dir/ in #((
37753 ./ | .// | /[cC]/* | \
37754 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37755 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37756 /usr/ucb/* ) ;;
37757 *)
37758 # OSF1 and SCO ODT 3.0 have their own names for install.
37759 # Don't use installbsd from OSF since it installs stuff as root
37760 # by default.
37761 for ac_prog in ginstall scoinst install; do
37762 for ac_exec_ext in '' $ac_executable_extensions; do
37763 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37764 if test $ac_prog = install &&
37765 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37766 # AIX install. It has an incompatible calling convention.
37767 :
37768 elif test $ac_prog = install &&
37769 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37770 # program-specific install script used by HP pwplus--don't use.
37771 :
37772 else
37773 rm -rf conftest.one conftest.two conftest.dir
37774 echo one > conftest.one
37775 echo two > conftest.two
37776 mkdir conftest.dir
37777 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37778 test -s conftest.one && test -s conftest.two &&
37779 test -s conftest.dir/conftest.one &&
37780 test -s conftest.dir/conftest.two
37781 then
37782 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37783 break 3
37784 fi
37785 fi
37786 fi
37787 done
37788 done
37789 ;;
37790 esac
37791
37792 done
37793 IFS=$as_save_IFS
37794
37795 rm -rf conftest.one conftest.two conftest.dir
37796
37797 fi
37798 if test "${ac_cv_path_install+set}" = set; then
37799 INSTALL=$ac_cv_path_install
37800 else
37801 # As a last resort, use the slow shell script. Don't cache a
37802 # value for INSTALL within a source directory, because that will
37803 # break other packages using the cache if that directory is
37804 # removed, or if the value is a relative name.
37805 INSTALL=$ac_install_sh
37806 fi
37807 fi
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37809 $as_echo "$INSTALL" >&6; }
37810
37811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37812 # It thinks the first close brace ends the variable substitution.
37813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37814
37815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37816
37817 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37818
37819
37820
37821
37822
37823
37824
37825 if test "x$BAKEFILE_HOST" = "x"; then
37826 if test "x${host}" = "x" ; then
37827 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37828 fi
37829
37830 BAKEFILE_HOST="${host}"
37831 fi
37832
37833 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37834
37835 if test -n "$ac_tool_prefix"; then
37836 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37837 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37839 $as_echo_n "checking for $ac_word... " >&6; }
37840 if ${ac_cv_prog_RANLIB+:} false; then :
37841 $as_echo_n "(cached) " >&6
37842 else
37843 if test -n "$RANLIB"; then
37844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37845 else
37846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37847 for as_dir in $PATH
37848 do
37849 IFS=$as_save_IFS
37850 test -z "$as_dir" && as_dir=.
37851 for ac_exec_ext in '' $ac_executable_extensions; do
37852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37853 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37855 break 2
37856 fi
37857 done
37858 done
37859 IFS=$as_save_IFS
37860
37861 fi
37862 fi
37863 RANLIB=$ac_cv_prog_RANLIB
37864 if test -n "$RANLIB"; then
37865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37866 $as_echo "$RANLIB" >&6; }
37867 else
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37869 $as_echo "no" >&6; }
37870 fi
37871
37872
37873 fi
37874 if test -z "$ac_cv_prog_RANLIB"; then
37875 ac_ct_RANLIB=$RANLIB
37876 # Extract the first word of "ranlib", so it can be a program name with args.
37877 set dummy ranlib; ac_word=$2
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37879 $as_echo_n "checking for $ac_word... " >&6; }
37880 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37881 $as_echo_n "(cached) " >&6
37882 else
37883 if test -n "$ac_ct_RANLIB"; then
37884 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37885 else
37886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37887 for as_dir in $PATH
37888 do
37889 IFS=$as_save_IFS
37890 test -z "$as_dir" && as_dir=.
37891 for ac_exec_ext in '' $ac_executable_extensions; do
37892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37893 ac_cv_prog_ac_ct_RANLIB="ranlib"
37894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37895 break 2
37896 fi
37897 done
37898 done
37899 IFS=$as_save_IFS
37900
37901 fi
37902 fi
37903 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37904 if test -n "$ac_ct_RANLIB"; then
37905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37906 $as_echo "$ac_ct_RANLIB" >&6; }
37907 else
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37909 $as_echo "no" >&6; }
37910 fi
37911
37912 if test "x$ac_ct_RANLIB" = x; then
37913 RANLIB=":"
37914 else
37915 case $cross_compiling:$ac_tool_warned in
37916 yes:)
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37919 ac_tool_warned=yes ;;
37920 esac
37921 RANLIB=$ac_ct_RANLIB
37922 fi
37923 else
37924 RANLIB="$ac_cv_prog_RANLIB"
37925 fi
37926
37927
37928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37929 $as_echo_n "checking whether ln -s works... " >&6; }
37930 LN_S=$as_ln_s
37931 if test "$LN_S" = "ln -s"; then
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37933 $as_echo "yes" >&6; }
37934 else
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37936 $as_echo "no, using $LN_S" >&6; }
37937 fi
37938
37939
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37941 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37942 set x ${MAKE-make}
37943 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37944 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
37945 $as_echo_n "(cached) " >&6
37946 else
37947 cat >conftest.make <<\_ACEOF
37948 SHELL = /bin/sh
37949 all:
37950 @echo '@@@%%%=$(MAKE)=@@@%%%'
37951 _ACEOF
37952 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37953 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37954 *@@@%%%=?*=@@@%%%*)
37955 eval ac_cv_prog_make_${ac_make}_set=yes;;
37956 *)
37957 eval ac_cv_prog_make_${ac_make}_set=no;;
37958 esac
37959 rm -f conftest.make
37960 fi
37961 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37963 $as_echo "yes" >&6; }
37964 SET_MAKE=
37965 else
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37967 $as_echo "no" >&6; }
37968 SET_MAKE="MAKE=${MAKE-make}"
37969 fi
37970
37971
37972
37973 if test "x$SUNCXX" = "xyes"; then
37974 AR=$CXX
37975 AROPTIONS="-xar -o"
37976
37977 elif test "x$SGICC" = "xyes"; then
37978 AR=$CXX
37979 AROPTIONS="-ar -o"
37980
37981 else
37982 if test -n "$ac_tool_prefix"; then
37983 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37984 set dummy ${ac_tool_prefix}ar; ac_word=$2
37985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37986 $as_echo_n "checking for $ac_word... " >&6; }
37987 if ${ac_cv_prog_AR+:} false; then :
37988 $as_echo_n "(cached) " >&6
37989 else
37990 if test -n "$AR"; then
37991 ac_cv_prog_AR="$AR" # Let the user override the test.
37992 else
37993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37994 for as_dir in $PATH
37995 do
37996 IFS=$as_save_IFS
37997 test -z "$as_dir" && as_dir=.
37998 for ac_exec_ext in '' $ac_executable_extensions; do
37999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38000 ac_cv_prog_AR="${ac_tool_prefix}ar"
38001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38002 break 2
38003 fi
38004 done
38005 done
38006 IFS=$as_save_IFS
38007
38008 fi
38009 fi
38010 AR=$ac_cv_prog_AR
38011 if test -n "$AR"; then
38012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38013 $as_echo "$AR" >&6; }
38014 else
38015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38016 $as_echo "no" >&6; }
38017 fi
38018
38019
38020 fi
38021 if test -z "$ac_cv_prog_AR"; then
38022 ac_ct_AR=$AR
38023 # Extract the first word of "ar", so it can be a program name with args.
38024 set dummy ar; ac_word=$2
38025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38026 $as_echo_n "checking for $ac_word... " >&6; }
38027 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38030 if test -n "$ac_ct_AR"; then
38031 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38032 else
38033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38034 for as_dir in $PATH
38035 do
38036 IFS=$as_save_IFS
38037 test -z "$as_dir" && as_dir=.
38038 for ac_exec_ext in '' $ac_executable_extensions; do
38039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38040 ac_cv_prog_ac_ct_AR="ar"
38041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38042 break 2
38043 fi
38044 done
38045 done
38046 IFS=$as_save_IFS
38047
38048 fi
38049 fi
38050 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38051 if test -n "$ac_ct_AR"; then
38052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38053 $as_echo "$ac_ct_AR" >&6; }
38054 else
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38056 $as_echo "no" >&6; }
38057 fi
38058
38059 if test "x$ac_ct_AR" = x; then
38060 AR="ar"
38061 else
38062 case $cross_compiling:$ac_tool_warned in
38063 yes:)
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38066 ac_tool_warned=yes ;;
38067 esac
38068 AR=$ac_ct_AR
38069 fi
38070 else
38071 AR="$ac_cv_prog_AR"
38072 fi
38073
38074 AROPTIONS=rcu
38075 fi
38076
38077
38078 if test -n "$ac_tool_prefix"; then
38079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38080 set dummy ${ac_tool_prefix}strip; ac_word=$2
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38082 $as_echo_n "checking for $ac_word... " >&6; }
38083 if ${ac_cv_prog_STRIP+:} false; then :
38084 $as_echo_n "(cached) " >&6
38085 else
38086 if test -n "$STRIP"; then
38087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38088 else
38089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38090 for as_dir in $PATH
38091 do
38092 IFS=$as_save_IFS
38093 test -z "$as_dir" && as_dir=.
38094 for ac_exec_ext in '' $ac_executable_extensions; do
38095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38098 break 2
38099 fi
38100 done
38101 done
38102 IFS=$as_save_IFS
38103
38104 fi
38105 fi
38106 STRIP=$ac_cv_prog_STRIP
38107 if test -n "$STRIP"; then
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38109 $as_echo "$STRIP" >&6; }
38110 else
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38112 $as_echo "no" >&6; }
38113 fi
38114
38115
38116 fi
38117 if test -z "$ac_cv_prog_STRIP"; then
38118 ac_ct_STRIP=$STRIP
38119 # Extract the first word of "strip", so it can be a program name with args.
38120 set dummy strip; ac_word=$2
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38122 $as_echo_n "checking for $ac_word... " >&6; }
38123 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38124 $as_echo_n "(cached) " >&6
38125 else
38126 if test -n "$ac_ct_STRIP"; then
38127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38128 else
38129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38130 for as_dir in $PATH
38131 do
38132 IFS=$as_save_IFS
38133 test -z "$as_dir" && as_dir=.
38134 for ac_exec_ext in '' $ac_executable_extensions; do
38135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38136 ac_cv_prog_ac_ct_STRIP="strip"
38137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38138 break 2
38139 fi
38140 done
38141 done
38142 IFS=$as_save_IFS
38143
38144 fi
38145 fi
38146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38147 if test -n "$ac_ct_STRIP"; then
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38149 $as_echo "$ac_ct_STRIP" >&6; }
38150 else
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38152 $as_echo "no" >&6; }
38153 fi
38154
38155 if test "x$ac_ct_STRIP" = x; then
38156 STRIP=":"
38157 else
38158 case $cross_compiling:$ac_tool_warned in
38159 yes:)
38160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38162 ac_tool_warned=yes ;;
38163 esac
38164 STRIP=$ac_ct_STRIP
38165 fi
38166 else
38167 STRIP="$ac_cv_prog_STRIP"
38168 fi
38169
38170 if test -n "$ac_tool_prefix"; then
38171 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38172 set dummy ${ac_tool_prefix}nm; ac_word=$2
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38174 $as_echo_n "checking for $ac_word... " >&6; }
38175 if ${ac_cv_prog_NM+:} false; then :
38176 $as_echo_n "(cached) " >&6
38177 else
38178 if test -n "$NM"; then
38179 ac_cv_prog_NM="$NM" # Let the user override the test.
38180 else
38181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38182 for as_dir in $PATH
38183 do
38184 IFS=$as_save_IFS
38185 test -z "$as_dir" && as_dir=.
38186 for ac_exec_ext in '' $ac_executable_extensions; do
38187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38188 ac_cv_prog_NM="${ac_tool_prefix}nm"
38189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38190 break 2
38191 fi
38192 done
38193 done
38194 IFS=$as_save_IFS
38195
38196 fi
38197 fi
38198 NM=$ac_cv_prog_NM
38199 if test -n "$NM"; then
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38201 $as_echo "$NM" >&6; }
38202 else
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38204 $as_echo "no" >&6; }
38205 fi
38206
38207
38208 fi
38209 if test -z "$ac_cv_prog_NM"; then
38210 ac_ct_NM=$NM
38211 # Extract the first word of "nm", so it can be a program name with args.
38212 set dummy nm; ac_word=$2
38213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38214 $as_echo_n "checking for $ac_word... " >&6; }
38215 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38216 $as_echo_n "(cached) " >&6
38217 else
38218 if test -n "$ac_ct_NM"; then
38219 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38220 else
38221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38222 for as_dir in $PATH
38223 do
38224 IFS=$as_save_IFS
38225 test -z "$as_dir" && as_dir=.
38226 for ac_exec_ext in '' $ac_executable_extensions; do
38227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38228 ac_cv_prog_ac_ct_NM="nm"
38229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38230 break 2
38231 fi
38232 done
38233 done
38234 IFS=$as_save_IFS
38235
38236 fi
38237 fi
38238 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38239 if test -n "$ac_ct_NM"; then
38240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38241 $as_echo "$ac_ct_NM" >&6; }
38242 else
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38244 $as_echo "no" >&6; }
38245 fi
38246
38247 if test "x$ac_ct_NM" = x; then
38248 NM=":"
38249 else
38250 case $cross_compiling:$ac_tool_warned in
38251 yes:)
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38254 ac_tool_warned=yes ;;
38255 esac
38256 NM=$ac_ct_NM
38257 fi
38258 else
38259 NM="$ac_cv_prog_NM"
38260 fi
38261
38262
38263 INSTALL_DIR="mkdir -p"
38264
38265
38266 LDFLAGS_GUI=
38267 case ${BAKEFILE_HOST} in
38268 *-*-cygwin* | *-*-mingw32* )
38269 LDFLAGS_GUI="-mwindows"
38270 esac
38271
38272
38273 fi
38274
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38276 $as_echo_n "checking if make is GNU make... " >&6; }
38277 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38278 $as_echo_n "(cached) " >&6
38279 else
38280
38281 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38282 egrep -s GNU > /dev/null); then
38283 bakefile_cv_prog_makeisgnu="yes"
38284 else
38285 bakefile_cv_prog_makeisgnu="no"
38286 fi
38287
38288 fi
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38290 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38291
38292 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38293 IF_GNU_MAKE=""
38294 else
38295 IF_GNU_MAKE="#"
38296 fi
38297
38298
38299
38300 PLATFORM_UNIX=0
38301 PLATFORM_WIN32=0
38302 PLATFORM_MSDOS=0
38303 PLATFORM_MAC=0
38304 PLATFORM_MACOS=0
38305 PLATFORM_MACOSX=0
38306 PLATFORM_OS2=0
38307 PLATFORM_BEOS=0
38308
38309 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38310 case "${BAKEFILE_HOST}" in
38311 *-*-mingw32* )
38312 PLATFORM_WIN32=1
38313 ;;
38314 *-pc-msdosdjgpp )
38315 PLATFORM_MSDOS=1
38316 ;;
38317 *-pc-os2_emx | *-pc-os2-emx )
38318 PLATFORM_OS2=1
38319 ;;
38320 *-*-darwin* )
38321 PLATFORM_MAC=1
38322 PLATFORM_MACOSX=1
38323 ;;
38324 *-*-beos* )
38325 PLATFORM_BEOS=1
38326 ;;
38327 powerpc-apple-macos* )
38328 PLATFORM_MAC=1
38329 PLATFORM_MACOS=1
38330 ;;
38331 * )
38332 PLATFORM_UNIX=1
38333 ;;
38334 esac
38335 else
38336 case "$BAKEFILE_FORCE_PLATFORM" in
38337 win32 )
38338 PLATFORM_WIN32=1
38339 ;;
38340 msdos )
38341 PLATFORM_MSDOS=1
38342 ;;
38343 os2 )
38344 PLATFORM_OS2=1
38345 ;;
38346 darwin )
38347 PLATFORM_MAC=1
38348 PLATFORM_MACOSX=1
38349 ;;
38350 unix )
38351 PLATFORM_UNIX=1
38352 ;;
38353 beos )
38354 PLATFORM_BEOS=1
38355 ;;
38356 * )
38357 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38358 ;;
38359 esac
38360 fi
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372 # Check whether --enable-omf was given.
38373 if test "${enable_omf+set}" = set; then :
38374 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38375 fi
38376
38377
38378 case "${BAKEFILE_HOST}" in
38379 *-*-darwin* )
38380 if test "x$GCC" = "xyes"; then
38381 CFLAGS="$CFLAGS -fno-common"
38382 CXXFLAGS="$CXXFLAGS -fno-common"
38383 fi
38384 if test "x$XLCC" = "xyes"; then
38385 CFLAGS="$CFLAGS -qnocommon"
38386 CXXFLAGS="$CXXFLAGS -qnocommon"
38387 fi
38388 ;;
38389
38390 *-pc-os2_emx | *-pc-os2-emx )
38391 if test "x$bk_os2_use_omf" = "xyes" ; then
38392 AR=emxomfar
38393 RANLIB=:
38394 LDFLAGS="-Zomf $LDFLAGS"
38395 CFLAGS="-Zomf $CFLAGS"
38396 CXXFLAGS="-Zomf $CXXFLAGS"
38397 OS2_LIBEXT="lib"
38398 else
38399 OS2_LIBEXT="a"
38400 fi
38401 ;;
38402
38403 i*86-*-beos* )
38404 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38405 ;;
38406 esac
38407
38408
38409 SO_SUFFIX="so"
38410 SO_SUFFIX_MODULE="so"
38411 EXEEXT=""
38412 LIBPREFIX="lib"
38413 LIBEXT=".a"
38414 DLLPREFIX="lib"
38415 DLLPREFIX_MODULE=""
38416 DLLIMP_SUFFIX=""
38417 dlldir="$libdir"
38418
38419 case "${BAKEFILE_HOST}" in
38420 ia64-hp-hpux* )
38421 ;;
38422 *-hp-hpux* )
38423 SO_SUFFIX="sl"
38424 SO_SUFFIX_MODULE="sl"
38425 ;;
38426 *-*-aix* )
38427 SO_SUFFIX="a"
38428 SO_SUFFIX_MODULE="a"
38429 ;;
38430 *-*-cygwin* )
38431 SO_SUFFIX="dll"
38432 SO_SUFFIX_MODULE="dll"
38433 DLLIMP_SUFFIX="dll.a"
38434 EXEEXT=".exe"
38435 DLLPREFIX="cyg"
38436 dlldir="$bindir"
38437 ;;
38438 *-*-mingw32* )
38439 SO_SUFFIX="dll"
38440 SO_SUFFIX_MODULE="dll"
38441 DLLIMP_SUFFIX="dll.a"
38442 EXEEXT=".exe"
38443 DLLPREFIX=""
38444 dlldir="$bindir"
38445 ;;
38446 *-pc-msdosdjgpp )
38447 EXEEXT=".exe"
38448 DLLPREFIX=""
38449 dlldir="$bindir"
38450 ;;
38451 *-pc-os2_emx | *-pc-os2-emx )
38452 SO_SUFFIX="dll"
38453 SO_SUFFIX_MODULE="dll"
38454 DLLIMP_SUFFIX=$OS2_LIBEXT
38455 EXEEXT=".exe"
38456 DLLPREFIX=""
38457 LIBPREFIX=""
38458 LIBEXT=".$OS2_LIBEXT"
38459 dlldir="$bindir"
38460 ;;
38461 *-*-darwin* )
38462 SO_SUFFIX="dylib"
38463 SO_SUFFIX_MODULE="bundle"
38464 ;;
38465 esac
38466
38467 if test "x$DLLIMP_SUFFIX" = "x" ; then
38468 DLLIMP_SUFFIX="$SO_SUFFIX"
38469 fi
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482 PIC_FLAG=""
38483 if test "x$GCC" = "xyes"; then
38484 PIC_FLAG="-fPIC"
38485 fi
38486
38487 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38488 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38489 WINDOWS_IMPLIB=0
38490
38491 case "${BAKEFILE_HOST}" in
38492 *-hp-hpux* )
38493 if test "x$GCC" != "xyes"; then
38494 LDFLAGS="$LDFLAGS -L/usr/lib"
38495
38496 SHARED_LD_CC="${CC} -b -o"
38497 SHARED_LD_CXX="${CXX} -b -o"
38498 PIC_FLAG="+Z"
38499 fi
38500 ;;
38501
38502 *-*-linux* )
38503 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38504 PIC_FLAG="-KPIC"
38505 elif test "x$SUNCXX" = "xyes"; then
38506 SHARED_LD_CC="${CC} -G -o"
38507 SHARED_LD_CXX="${CXX} -G -o"
38508 PIC_FLAG="-KPIC"
38509 fi
38510 ;;
38511
38512 *-*-solaris2* )
38513 if test "x$SUNCXX" = xyes ; then
38514 SHARED_LD_CC="${CC} -G -o"
38515 SHARED_LD_CXX="${CXX} -G -o"
38516 PIC_FLAG="-KPIC"
38517 fi
38518 ;;
38519
38520 *-*-darwin* )
38521
38522 D='$'
38523 cat <<EOF >shared-ld-sh
38524 #!/bin/sh
38525 #-----------------------------------------------------------------------------
38526 #-- Name: distrib/mac/shared-ld-sh
38527 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38528 #-- Author: Gilles Depeyrot
38529 #-- Copyright: (c) 2002 Gilles Depeyrot
38530 #-- Licence: any use permitted
38531 #-----------------------------------------------------------------------------
38532
38533 verbose=0
38534 args=""
38535 objects=""
38536 linking_flag="-dynamiclib"
38537 ldargs="-r -keep_private_externs -nostdlib"
38538
38539 if test "x${D}CXX" = "x"; then
38540 CXX="c++"
38541 fi
38542
38543 while test ${D}# -gt 0; do
38544 case ${D}1 in
38545
38546 -v)
38547 verbose=1
38548 ;;
38549
38550 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38551 # collect these options and values
38552 args="${D}{args} ${D}1 ${D}2"
38553 shift
38554 ;;
38555
38556 -arch|-isysroot)
38557 # collect these options and values
38558 ldargs="${D}{ldargs} ${D}1 ${D}2"
38559 shift
38560 ;;
38561
38562 -s|-Wl,*)
38563 # collect these load args
38564 ldargs="${D}{ldargs} ${D}1"
38565 ;;
38566
38567 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38568 # collect these options
38569 args="${D}{args} ${D}1"
38570 ;;
38571
38572 -dynamiclib|-bundle)
38573 linking_flag="${D}1"
38574 ;;
38575
38576 -*)
38577 echo "shared-ld: unhandled option '${D}1'"
38578 exit 1
38579 ;;
38580
38581 *.o | *.a | *.dylib)
38582 # collect object files
38583 objects="${D}{objects} ${D}1"
38584 ;;
38585
38586 *)
38587 echo "shared-ld: unhandled argument '${D}1'"
38588 exit 1
38589 ;;
38590
38591 esac
38592 shift
38593 done
38594
38595 status=0
38596
38597 #
38598 # Link one module containing all the others
38599 #
38600 if test ${D}{verbose} = 1; then
38601 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38602 fi
38603 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38604 status=${D}?
38605
38606 #
38607 # Link the shared library from the single module created, but only if the
38608 # previous command didn't fail:
38609 #
38610 if test ${D}{status} = 0; then
38611 if test ${D}{verbose} = 1; then
38612 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38613 fi
38614 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38615 status=${D}?
38616 fi
38617
38618 #
38619 # Remove intermediate module
38620 #
38621 rm -f master.${D}${D}.o
38622
38623 exit ${D}status
38624 EOF
38625
38626 chmod +x shared-ld-sh
38627
38628 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38629 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38630
38631
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38633 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38634 if ${bakefile_cv_gcc31+:} false; then :
38635 $as_echo_n "(cached) " >&6
38636 else
38637
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38640
38641 int
38642 main ()
38643 {
38644
38645 #if (__GNUC__ < 3) || \
38646 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38647 This is old gcc
38648 #endif
38649
38650 ;
38651 return 0;
38652 }
38653 _ACEOF
38654 if ac_fn_c_try_compile "$LINENO"; then :
38655
38656 bakefile_cv_gcc31=yes
38657
38658 else
38659
38660 bakefile_cv_gcc31=no
38661
38662
38663 fi
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665
38666 fi
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38668 $as_echo "$bakefile_cv_gcc31" >&6; }
38669 if test "$bakefile_cv_gcc31" = "no"; then
38670 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38671 SHARED_LD_CXX="$SHARED_LD_CC"
38672 else
38673 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38674 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38675 fi
38676
38677 if test "x$GCC" == "xyes"; then
38678 PIC_FLAG="-dynamic -fPIC"
38679 fi
38680 if test "x$XLCC" = "xyes"; then
38681 PIC_FLAG="-dynamic -DPIC"
38682 fi
38683 ;;
38684
38685 *-*-aix* )
38686 if test "x$GCC" = "xyes"; then
38687 PIC_FLAG=""
38688
38689 case "${BAKEFILE_HOST}" in
38690 *-*-aix5* )
38691 LD_EXPFULL="-Wl,-bexpfull"
38692 ;;
38693 esac
38694
38695 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38696 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38697 else
38698 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38699 set dummy makeC++SharedLib; ac_word=$2
38700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38701 $as_echo_n "checking for $ac_word... " >&6; }
38702 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38703 $as_echo_n "(cached) " >&6
38704 else
38705 if test -n "$AIX_CXX_LD"; then
38706 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38707 else
38708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38709 for as_dir in $PATH
38710 do
38711 IFS=$as_save_IFS
38712 test -z "$as_dir" && as_dir=.
38713 for ac_exec_ext in '' $ac_executable_extensions; do
38714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38715 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38717 break 2
38718 fi
38719 done
38720 done
38721 IFS=$as_save_IFS
38722
38723 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38724 fi
38725 fi
38726 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38727 if test -n "$AIX_CXX_LD"; then
38728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38729 $as_echo "$AIX_CXX_LD" >&6; }
38730 else
38731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38732 $as_echo "no" >&6; }
38733 fi
38734
38735
38736 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38737 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38738 fi
38739 ;;
38740
38741 *-*-beos* )
38742 SHARED_LD_CC="${LD} -nostart -o"
38743 SHARED_LD_CXX="${LD} -nostart -o"
38744 ;;
38745
38746 *-*-irix* )
38747 if test "x$GCC" != "xyes"; then
38748 PIC_FLAG="-KPIC"
38749 fi
38750 ;;
38751
38752 *-*-cygwin* | *-*-mingw32* )
38753 PIC_FLAG=""
38754 SHARED_LD_CC="\$(CC) -shared -o"
38755 SHARED_LD_CXX="\$(CXX) -shared -o"
38756 WINDOWS_IMPLIB=1
38757 ;;
38758
38759 *-pc-os2_emx | *-pc-os2-emx )
38760 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38761 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38762 PIC_FLAG=""
38763
38764 D='$'
38765 cat <<EOF >dllar.sh
38766 #!/bin/sh
38767 #
38768 # dllar - a tool to build both a .dll and an .a file
38769 # from a set of object (.o) files for EMX/OS2.
38770 #
38771 # Written by Andrew Zabolotny, bit@freya.etu.ru
38772 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38773 #
38774 # This script will accept a set of files on the command line.
38775 # All the public symbols from the .o files will be exported into
38776 # a .DEF file, then linker will be run (through gcc) against them to
38777 # build a shared library consisting of all given .o files. All libraries
38778 # (.a) will be first decompressed into component .o files then act as
38779 # described above. You can optionally give a description (-d "description")
38780 # which will be put into .DLL. To see the list of accepted options (as well
38781 # as command-line format) simply run this program without options. The .DLL
38782 # is built to be imported by name (there is no guarantee that new versions
38783 # of the library you build will have same ordinals for same symbols).
38784 #
38785 # dllar is free software; you can redistribute it and/or modify
38786 # it under the terms of the GNU General Public License as published by
38787 # the Free Software Foundation; either version 2, or (at your option)
38788 # any later version.
38789 #
38790 # dllar is distributed in the hope that it will be useful,
38791 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38792 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38793 # GNU General Public License for more details.
38794 #
38795 # You should have received a copy of the GNU General Public License
38796 # along with dllar; see the file COPYING. If not, write to the Free
38797 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38798 # 02111-1307, USA.
38799
38800 # To successfuly run this program you will need:
38801 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38802 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38803 # - gcc
38804 # (used to build the .dll)
38805 # - emxexp
38806 # (used to create .def file from .o files)
38807 # - emximp
38808 # (used to create .a file from .def file)
38809 # - GNU text utilites (cat, sort, uniq)
38810 # used to process emxexp output
38811 # - GNU file utilities (mv, rm)
38812 # - GNU sed
38813 # - lxlite (optional, see flag below)
38814 # (used for general .dll cleanup)
38815 #
38816
38817 flag_USE_LXLITE=1;
38818
38819 #
38820 # helper functions
38821 # basnam, variant of basename, which does _not_ remove the path, _iff_
38822 # second argument (suffix to remove) is given
38823 basnam(){
38824 case ${D}# in
38825 1)
38826 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38827 ;;
38828 2)
38829 echo ${D}1 | sed 's/'${D}2'${D}//'
38830 ;;
38831 *)
38832 echo "error in basnam ${D}*"
38833 exit 8
38834 ;;
38835 esac
38836 }
38837
38838 # Cleanup temporary files and output
38839 CleanUp() {
38840 cd ${D}curDir
38841 for i in ${D}inputFiles ; do
38842 case ${D}i in
38843 *!)
38844 rm -rf \`basnam ${D}i !\`
38845 ;;
38846 *)
38847 ;;
38848 esac
38849 done
38850
38851 # Kill result in case of failure as there is just to many stupid make/nmake
38852 # things out there which doesn't do this.
38853 if [ ${D}# -eq 0 ]; then
38854 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38855 fi
38856 }
38857
38858 # Print usage and exit script with rc=1.
38859 PrintHelp() {
38860 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38861 echo ' [-name-mangler-script script.sh]'
38862 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38863 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38864 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38865 echo ' [*.o] [*.a]'
38866 echo '*> "output_file" should have no extension.'
38867 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38868 echo ' The import library name is derived from this and is set to "name".a,'
38869 echo ' unless overridden by -import'
38870 echo '*> "importlib_name" should have no extension.'
38871 echo ' If it has the .o, or .a extension, it is automatically removed.'
38872 echo ' This name is used as the import library name and may be longer and'
38873 echo ' more descriptive than the DLL name which has to follow the old '
38874 echo ' 8.3 convention of FAT.'
38875 echo '*> "script.sh may be given to override the output_file name by a'
38876 echo ' different name. It is mainly useful if the regular make process'
38877 echo ' of some package does not take into account OS/2 restriction of'
38878 echo ' DLL name lengths. It takes the importlib name as input and is'
38879 echo ' supposed to procude a shorter name as output. The script should'
38880 echo ' expect to get importlib_name without extension and should produce'
38881 echo ' a (max.) 8 letter name without extension.'
38882 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38883 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38884 echo ' These flags will be put at the start of GCC command line.'
38885 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38886 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38887 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38888 echo ' If the last character of a symbol is "*", all symbols beginning'
38889 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38890 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38891 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38892 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38893 echo ' C runtime DLLs.'
38894 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38895 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38896 echo ' unchanged to GCC at the end of command line.'
38897 echo '*> If you create a DLL from a library and you do not specify -o,'
38898 echo ' the basename for DLL and import library will be set to library name,'
38899 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38900 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38901 echo ' library will be renamed into gcc_s.a.'
38902 echo '--------'
38903 echo 'Example:'
38904 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38905 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38906 CleanUp
38907 exit 1
38908 }
38909
38910 # Execute a command.
38911 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38912 # @Uses Whatever CleanUp() uses.
38913 doCommand() {
38914 echo "${D}*"
38915 eval ${D}*
38916 rcCmd=${D}?
38917
38918 if [ ${D}rcCmd -ne 0 ]; then
38919 echo "command failed, exit code="${D}rcCmd
38920 CleanUp
38921 exit ${D}rcCmd
38922 fi
38923 }
38924
38925 # main routine
38926 # setup globals
38927 cmdLine=${D}*
38928 outFile=""
38929 outimpFile=""
38930 inputFiles=""
38931 renameScript=""
38932 description=""
38933 CC=gcc.exe
38934 CFLAGS="-s -Zcrtdll"
38935 EXTRA_CFLAGS=""
38936 EXPORT_BY_ORDINALS=0
38937 exclude_symbols=""
38938 library_flags=""
38939 curDir=\`pwd\`
38940 curDirS=curDir
38941 case ${D}curDirS in
38942 */)
38943 ;;
38944 *)
38945 curDirS=${D}{curDirS}"/"
38946 ;;
38947 esac
38948 # Parse commandline
38949 libsToLink=0
38950 omfLinking=0
38951 while [ ${D}1 ]; do
38952 case ${D}1 in
38953 -ord*)
38954 EXPORT_BY_ORDINALS=1;
38955 ;;
38956 -o*)
38957 shift
38958 outFile=${D}1
38959 ;;
38960 -i*)
38961 shift
38962 outimpFile=${D}1
38963 ;;
38964 -name-mangler-script)
38965 shift
38966 renameScript=${D}1
38967 ;;
38968 -d*)
38969 shift
38970 description=${D}1
38971 ;;
38972 -f*)
38973 shift
38974 CFLAGS=${D}1
38975 ;;
38976 -c*)
38977 shift
38978 CC=${D}1
38979 ;;
38980 -h*)
38981 PrintHelp
38982 ;;
38983 -ex*)
38984 shift
38985 exclude_symbols=${D}{exclude_symbols}${D}1" "
38986 ;;
38987 -libf*)
38988 shift
38989 library_flags=${D}{library_flags}${D}1" "
38990 ;;
38991 -nocrt*)
38992 CFLAGS="-s"
38993 ;;
38994 -nolxl*)
38995 flag_USE_LXLITE=0
38996 ;;
38997 -* | /*)
38998 case ${D}1 in
38999 -L* | -l*)
39000 libsToLink=1
39001 ;;
39002 -Zomf)
39003 omfLinking=1
39004 ;;
39005 *)
39006 ;;
39007 esac
39008 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39009 ;;
39010 *.dll)
39011 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39012 if [ ${D}omfLinking -eq 1 ]; then
39013 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39014 else
39015 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39016 fi
39017 ;;
39018 *)
39019 found=0;
39020 if [ ${D}libsToLink -ne 0 ]; then
39021 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39022 else
39023 for file in ${D}1 ; do
39024 if [ -f ${D}file ]; then
39025 inputFiles="${D}{inputFiles} ${D}file"
39026 found=1
39027 fi
39028 done
39029 if [ ${D}found -eq 0 ]; then
39030 echo "ERROR: No file(s) found: "${D}1
39031 exit 8
39032 fi
39033 fi
39034 ;;
39035 esac
39036 shift
39037 done # iterate cmdline words
39038
39039 #
39040 if [ -z "${D}inputFiles" ]; then
39041 echo "dllar: no input files"
39042 PrintHelp
39043 fi
39044
39045 # Now extract all .o files from .a files
39046 newInputFiles=""
39047 for file in ${D}inputFiles ; do
39048 case ${D}file in
39049 *.a | *.lib)
39050 case ${D}file in
39051 *.a)
39052 suffix=".a"
39053 AR="ar"
39054 ;;
39055 *.lib)
39056 suffix=".lib"
39057 AR="emxomfar"
39058 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39059 ;;
39060 *)
39061 ;;
39062 esac
39063 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39064 mkdir ${D}dirname
39065 if [ ${D}? -ne 0 ]; then
39066 echo "Failed to create subdirectory ./${D}dirname"
39067 CleanUp
39068 exit 8;
39069 fi
39070 # Append '!' to indicate archive
39071 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39072 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39073 cd ${D}curDir
39074 found=0;
39075 for subfile in ${D}dirname/*.o* ; do
39076 if [ -f ${D}subfile ]; then
39077 found=1
39078 if [ -s ${D}subfile ]; then
39079 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39080 newInputFiles="${D}newInputFiles ${D}subfile"
39081 fi
39082 fi
39083 done
39084 if [ ${D}found -eq 0 ]; then
39085 echo "WARNING: there are no files in archive \\'${D}file\\'"
39086 fi
39087 ;;
39088 *)
39089 newInputFiles="${D}{newInputFiles} ${D}file"
39090 ;;
39091 esac
39092 done
39093 inputFiles="${D}newInputFiles"
39094
39095 # Output filename(s).
39096 do_backup=0;
39097 if [ -z ${D}outFile ]; then
39098 do_backup=1;
39099 set outFile ${D}inputFiles; outFile=${D}2
39100 fi
39101
39102 # If it is an archive, remove the '!' and the '_%' suffixes
39103 case ${D}outFile in
39104 *_%!)
39105 outFile=\`basnam ${D}outFile _%!\`
39106 ;;
39107 *)
39108 ;;
39109 esac
39110 case ${D}outFile in
39111 *.dll)
39112 outFile=\`basnam ${D}outFile .dll\`
39113 ;;
39114 *.DLL)
39115 outFile=\`basnam ${D}outFile .DLL\`
39116 ;;
39117 *.o)
39118 outFile=\`basnam ${D}outFile .o\`
39119 ;;
39120 *.obj)
39121 outFile=\`basnam ${D}outFile .obj\`
39122 ;;
39123 *.a)
39124 outFile=\`basnam ${D}outFile .a\`
39125 ;;
39126 *.lib)
39127 outFile=\`basnam ${D}outFile .lib\`
39128 ;;
39129 *)
39130 ;;
39131 esac
39132 case ${D}outimpFile in
39133 *.a)
39134 outimpFile=\`basnam ${D}outimpFile .a\`
39135 ;;
39136 *.lib)
39137 outimpFile=\`basnam ${D}outimpFile .lib\`
39138 ;;
39139 *)
39140 ;;
39141 esac
39142 if [ -z ${D}outimpFile ]; then
39143 outimpFile=${D}outFile
39144 fi
39145 defFile="${D}{outFile}.def"
39146 arcFile="${D}{outimpFile}.a"
39147 arcFile2="${D}{outimpFile}.lib"
39148
39149 #create ${D}dllFile as something matching 8.3 restrictions,
39150 if [ -z ${D}renameScript ] ; then
39151 dllFile="${D}outFile"
39152 else
39153 dllFile=\`${D}renameScript ${D}outimpFile\`
39154 fi
39155
39156 if [ ${D}do_backup -ne 0 ] ; then
39157 if [ -f ${D}arcFile ] ; then
39158 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39159 fi
39160 if [ -f ${D}arcFile2 ] ; then
39161 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39162 fi
39163 fi
39164
39165 # Extract public symbols from all the object files.
39166 tmpdefFile=${D}{defFile}_%
39167 rm -f ${D}tmpdefFile
39168 for file in ${D}inputFiles ; do
39169 case ${D}file in
39170 *!)
39171 ;;
39172 *)
39173 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39174 ;;
39175 esac
39176 done
39177
39178 # Create the def file.
39179 rm -f ${D}defFile
39180 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39181 dllFile="${D}{dllFile}.dll"
39182 if [ ! -z ${D}description ]; then
39183 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39184 fi
39185 echo "EXPORTS" >> ${D}defFile
39186
39187 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39188 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39189
39190 # Checks if the export is ok or not.
39191 for word in ${D}exclude_symbols; do
39192 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39193 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39194 done
39195
39196
39197 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39198 sed "=" < ${D}tmpdefFile | \\
39199 sed '
39200 N
39201 : loop
39202 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39203 t loop
39204 ' > ${D}{tmpdefFile}%
39205 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39206 else
39207 rm -f ${D}{tmpdefFile}%
39208 fi
39209 cat ${D}tmpdefFile >> ${D}defFile
39210 rm -f ${D}tmpdefFile
39211
39212 # Do linking, create implib, and apply lxlite.
39213 gccCmdl="";
39214 for file in ${D}inputFiles ; do
39215 case ${D}file in
39216 *!)
39217 ;;
39218 *)
39219 gccCmdl="${D}gccCmdl ${D}file"
39220 ;;
39221 esac
39222 done
39223 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39224 touch "${D}{outFile}.dll"
39225
39226 doCommand "emximp -o ${D}arcFile ${D}defFile"
39227 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39228 add_flags="";
39229 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39230 add_flags="-ynd"
39231 fi
39232 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39233 fi
39234 doCommand "emxomf -s -l ${D}arcFile"
39235
39236 # Successful exit.
39237 CleanUp 1
39238 exit 0
39239 EOF
39240
39241 chmod +x dllar.sh
39242 ;;
39243
39244 powerpc-apple-macos* | \
39245 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39246 *-*-mirbsd* | \
39247 *-*-sunos4* | \
39248 *-*-osf* | \
39249 *-*-dgux5* | \
39250 *-*-sysv5* | \
39251 *-pc-msdosdjgpp )
39252 ;;
39253
39254 *)
39255 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39256 esac
39257
39258 if test "x$PIC_FLAG" != "x" ; then
39259 PIC_FLAG="$PIC_FLAG -DPIC"
39260 fi
39261
39262 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39263 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39264 fi
39265 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39266 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39267 fi
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277 USE_SOVERSION=0
39278 USE_SOVERLINUX=0
39279 USE_SOVERSOLARIS=0
39280 USE_SOVERCYGWIN=0
39281 USE_SOTWOSYMLINKS=0
39282 USE_MACVERSION=0
39283 SONAME_FLAG=
39284
39285 case "${BAKEFILE_HOST}" in
39286 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39287 *-*-k*bsd*-gnu | *-*-mirbsd* )
39288 if test "x$SUNCXX" = "xyes"; then
39289 SONAME_FLAG="-h "
39290 else
39291 SONAME_FLAG="-Wl,-soname,"
39292 fi
39293 USE_SOVERSION=1
39294 USE_SOVERLINUX=1
39295 USE_SOTWOSYMLINKS=1
39296 ;;
39297
39298 *-*-solaris2* )
39299 SONAME_FLAG="-h "
39300 USE_SOVERSION=1
39301 USE_SOVERSOLARIS=1
39302 ;;
39303
39304 *-*-darwin* )
39305 USE_MACVERSION=1
39306 USE_SOVERSION=1
39307 USE_SOTWOSYMLINKS=1
39308 ;;
39309
39310 *-*-cygwin* )
39311 USE_SOVERSION=1
39312 USE_SOVERCYGWIN=1
39313 ;;
39314 esac
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325 # Check whether --enable-dependency-tracking was given.
39326 if test "${enable_dependency_tracking+set}" = set; then :
39327 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39328 fi
39329
39330
39331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39332 $as_echo_n "checking for dependency tracking method... " >&6; }
39333
39334 BK_DEPS=""
39335 if test "x$bk_use_trackdeps" = "xno" ; then
39336 DEPS_TRACKING=0
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39338 $as_echo "disabled" >&6; }
39339 else
39340 DEPS_TRACKING=1
39341
39342 if test "x$GCC" = "xyes"; then
39343 DEPSMODE=gcc
39344 DEPSFLAG="-MMD"
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39346 $as_echo "gcc" >&6; }
39347 elif test "x$MWCC" = "xyes"; then
39348 DEPSMODE=mwcc
39349 DEPSFLAG="-MM"
39350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39351 $as_echo "mwcc" >&6; }
39352 elif test "x$SUNCC" = "xyes"; then
39353 DEPSMODE=unixcc
39354 DEPSFLAG="-xM1"
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39356 $as_echo "Sun cc" >&6; }
39357 elif test "x$SGICC" = "xyes"; then
39358 DEPSMODE=unixcc
39359 DEPSFLAG="-M"
39360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39361 $as_echo "SGI cc" >&6; }
39362 elif test "x$HPCC" = "xyes"; then
39363 DEPSMODE=unixcc
39364 DEPSFLAG="+make"
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39366 $as_echo "HP cc" >&6; }
39367 elif test "x$COMPAQCC" = "xyes"; then
39368 DEPSMODE=gcc
39369 DEPSFLAG="-MD"
39370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39371 $as_echo "Compaq cc" >&6; }
39372 else
39373 DEPS_TRACKING=0
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39375 $as_echo "none" >&6; }
39376 fi
39377
39378 if test $DEPS_TRACKING = 1 ; then
39379
39380 D='$'
39381 cat <<EOF >bk-deps
39382 #!/bin/sh
39383
39384 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39385 # script. It is used to track C/C++ files dependencies in portable way.
39386 #
39387 # Permission is given to use this file in any way.
39388
39389 DEPSMODE=${DEPSMODE}
39390 DEPSFLAG="${DEPSFLAG}"
39391 DEPSDIRBASE=.deps
39392
39393 if test ${D}DEPSMODE = gcc ; then
39394 ${D}* ${D}{DEPSFLAG}
39395 status=${D}?
39396
39397 # determine location of created files:
39398 while test ${D}# -gt 0; do
39399 case "${D}1" in
39400 -o )
39401 shift
39402 objfile=${D}1
39403 ;;
39404 -* )
39405 ;;
39406 * )
39407 srcfile=${D}1
39408 ;;
39409 esac
39410 shift
39411 done
39412 objfilebase=\`basename ${D}objfile\`
39413 builddir=\`dirname ${D}objfile\`
39414 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39415 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39416 depsdir=${D}builddir/${D}DEPSDIRBASE
39417 mkdir -p ${D}depsdir
39418
39419 # if the compiler failed, we're done:
39420 if test ${D}{status} != 0 ; then
39421 rm -f ${D}depfile
39422 exit ${D}{status}
39423 fi
39424
39425 # move created file to the location we want it in:
39426 if test -f ${D}depfile ; then
39427 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39428 rm -f ${D}depfile
39429 else
39430 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39431 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39432 if test ! -f ${D}depfile ; then
39433 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39434 depfile="${D}objfile.d"
39435 fi
39436 if test -f ${D}depfile ; then
39437 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39438 rm -f ${D}depfile
39439 fi
39440 fi
39441 exit 0
39442
39443 elif test ${D}DEPSMODE = mwcc ; then
39444 ${D}* || exit ${D}?
39445 # Run mwcc again with -MM and redirect into the dep file we want
39446 # NOTE: We can't use shift here because we need ${D}* to be valid
39447 prevarg=
39448 for arg in ${D}* ; do
39449 if test "${D}prevarg" = "-o"; then
39450 objfile=${D}arg
39451 else
39452 case "${D}arg" in
39453 -* )
39454 ;;
39455 * )
39456 srcfile=${D}arg
39457 ;;
39458 esac
39459 fi
39460 prevarg="${D}arg"
39461 done
39462
39463 objfilebase=\`basename ${D}objfile\`
39464 builddir=\`dirname ${D}objfile\`
39465 depsdir=${D}builddir/${D}DEPSDIRBASE
39466 mkdir -p ${D}depsdir
39467
39468 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39469 exit 0
39470
39471 elif test ${D}DEPSMODE = unixcc; then
39472 ${D}* || exit ${D}?
39473 # Run compiler again with deps flag and redirect into the dep file.
39474 # It doesn't work if the '-o FILE' option is used, but without it the
39475 # dependency file will contain the wrong name for the object. So it is
39476 # removed from the command line, and the dep file is fixed with sed.
39477 cmd=""
39478 while test ${D}# -gt 0; do
39479 case "${D}1" in
39480 -o )
39481 shift
39482 objfile=${D}1
39483 ;;
39484 * )
39485 eval arg${D}#=\\${D}1
39486 cmd="${D}cmd \\${D}arg${D}#"
39487 ;;
39488 esac
39489 shift
39490 done
39491
39492 objfilebase=\`basename ${D}objfile\`
39493 builddir=\`dirname ${D}objfile\`
39494 depsdir=${D}builddir/${D}DEPSDIRBASE
39495 mkdir -p ${D}depsdir
39496
39497 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39498 exit 0
39499
39500 else
39501 ${D}*
39502 exit ${D}?
39503 fi
39504 EOF
39505
39506 chmod +x bk-deps
39507 BK_DEPS="`pwd`/bk-deps"
39508 fi
39509 fi
39510
39511
39512
39513
39514
39515 case ${BAKEFILE_HOST} in
39516 *-*-cygwin* | *-*-mingw32* )
39517 if test -n "$ac_tool_prefix"; then
39518 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39519 set dummy ${ac_tool_prefix}windres; ac_word=$2
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39521 $as_echo_n "checking for $ac_word... " >&6; }
39522 if ${ac_cv_prog_WINDRES+:} false; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39525 if test -n "$WINDRES"; then
39526 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39527 else
39528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39529 for as_dir in $PATH
39530 do
39531 IFS=$as_save_IFS
39532 test -z "$as_dir" && as_dir=.
39533 for ac_exec_ext in '' $ac_executable_extensions; do
39534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39535 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39537 break 2
39538 fi
39539 done
39540 done
39541 IFS=$as_save_IFS
39542
39543 fi
39544 fi
39545 WINDRES=$ac_cv_prog_WINDRES
39546 if test -n "$WINDRES"; then
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39548 $as_echo "$WINDRES" >&6; }
39549 else
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39551 $as_echo "no" >&6; }
39552 fi
39553
39554
39555 fi
39556 if test -z "$ac_cv_prog_WINDRES"; then
39557 ac_ct_WINDRES=$WINDRES
39558 # Extract the first word of "windres", so it can be a program name with args.
39559 set dummy windres; ac_word=$2
39560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39561 $as_echo_n "checking for $ac_word... " >&6; }
39562 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39563 $as_echo_n "(cached) " >&6
39564 else
39565 if test -n "$ac_ct_WINDRES"; then
39566 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39567 else
39568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39569 for as_dir in $PATH
39570 do
39571 IFS=$as_save_IFS
39572 test -z "$as_dir" && as_dir=.
39573 for ac_exec_ext in '' $ac_executable_extensions; do
39574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39575 ac_cv_prog_ac_ct_WINDRES="windres"
39576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39577 break 2
39578 fi
39579 done
39580 done
39581 IFS=$as_save_IFS
39582
39583 fi
39584 fi
39585 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39586 if test -n "$ac_ct_WINDRES"; then
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39588 $as_echo "$ac_ct_WINDRES" >&6; }
39589 else
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39591 $as_echo "no" >&6; }
39592 fi
39593
39594 if test "x$ac_ct_WINDRES" = x; then
39595 WINDRES=""
39596 else
39597 case $cross_compiling:$ac_tool_warned in
39598 yes:)
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39601 ac_tool_warned=yes ;;
39602 esac
39603 WINDRES=$ac_ct_WINDRES
39604 fi
39605 else
39606 WINDRES="$ac_cv_prog_WINDRES"
39607 fi
39608
39609 ;;
39610
39611 *-*-darwin* | powerpc-apple-macos* )
39612 # Extract the first word of "Rez", so it can be a program name with args.
39613 set dummy Rez; ac_word=$2
39614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39615 $as_echo_n "checking for $ac_word... " >&6; }
39616 if ${ac_cv_prog_REZ+:} false; then :
39617 $as_echo_n "(cached) " >&6
39618 else
39619 if test -n "$REZ"; then
39620 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39621 else
39622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39623 for as_dir in $PATH
39624 do
39625 IFS=$as_save_IFS
39626 test -z "$as_dir" && as_dir=.
39627 for ac_exec_ext in '' $ac_executable_extensions; do
39628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39629 ac_cv_prog_REZ="Rez"
39630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39631 break 2
39632 fi
39633 done
39634 done
39635 IFS=$as_save_IFS
39636
39637 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39638 fi
39639 fi
39640 REZ=$ac_cv_prog_REZ
39641 if test -n "$REZ"; then
39642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39643 $as_echo "$REZ" >&6; }
39644 else
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39646 $as_echo "no" >&6; }
39647 fi
39648
39649
39650 # Extract the first word of "SetFile", so it can be a program name with args.
39651 set dummy SetFile; ac_word=$2
39652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39653 $as_echo_n "checking for $ac_word... " >&6; }
39654 if ${ac_cv_prog_SETFILE+:} false; then :
39655 $as_echo_n "(cached) " >&6
39656 else
39657 if test -n "$SETFILE"; then
39658 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39659 else
39660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39661 for as_dir in $PATH
39662 do
39663 IFS=$as_save_IFS
39664 test -z "$as_dir" && as_dir=.
39665 for ac_exec_ext in '' $ac_executable_extensions; do
39666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39667 ac_cv_prog_SETFILE="SetFile"
39668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39669 break 2
39670 fi
39671 done
39672 done
39673 IFS=$as_save_IFS
39674
39675 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39676 fi
39677 fi
39678 SETFILE=$ac_cv_prog_SETFILE
39679 if test -n "$SETFILE"; then
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39681 $as_echo "$SETFILE" >&6; }
39682 else
39683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39684 $as_echo "no" >&6; }
39685 fi
39686
39687
39688 ;;
39689 esac
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39700
39701
39702 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39703
39704
39705
39706 # Check whether --enable-precomp-headers was given.
39707 if test "${enable_precomp_headers+set}" = set; then :
39708 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39709 fi
39710
39711
39712 GCC_PCH=0
39713 ICC_PCH=0
39714 USE_PCH=0
39715 BK_MAKE_PCH=""
39716
39717 case ${BAKEFILE_HOST} in
39718 *-*-cygwin* )
39719 bk_use_pch="no"
39720 ;;
39721 esac
39722
39723 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39724 if test "x$GCC" = "xyes"; then
39725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39726 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39728 /* end confdefs.h. */
39729
39730 int
39731 main ()
39732 {
39733
39734 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39735 There is no PCH support
39736 #endif
39737 #if (__GNUC__ < 3)
39738 There is no PCH support
39739 #endif
39740 #if (__GNUC__ == 3) && \
39741 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39742 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39743 ( defined(__INTEL_COMPILER) )
39744 There is no PCH support
39745 #endif
39746
39747 ;
39748 return 0;
39749 }
39750 _ACEOF
39751 if ac_fn_c_try_compile "$LINENO"; then :
39752
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39754 $as_echo "yes" >&6; }
39755 GCC_PCH=1
39756
39757 else
39758
39759 if test "$INTELCXX8" = "yes"; then
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39761 $as_echo "yes" >&6; }
39762 ICC_PCH=1
39763 if test "$INTELCXX10" = "yes"; then
39764 ICC_PCH_CREATE_SWITCH="-pch-create"
39765 ICC_PCH_USE_SWITCH="-pch-use"
39766 else
39767 ICC_PCH_CREATE_SWITCH="-create-pch"
39768 ICC_PCH_USE_SWITCH="-use-pch"
39769 fi
39770 else
39771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39772 $as_echo "no" >&6; }
39773 fi
39774
39775 fi
39776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39777 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39778 USE_PCH=1
39779
39780 D='$'
39781 cat <<EOF >bk-make-pch
39782 #!/bin/sh
39783
39784 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39785 # script. It is used to generated precompiled headers.
39786 #
39787 # Permission is given to use this file in any way.
39788
39789 outfile="${D}{1}"
39790 header="${D}{2}"
39791 shift
39792 shift
39793
39794 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39795
39796 compiler=""
39797 headerfile=""
39798
39799 while test ${D}{#} -gt 0; do
39800 add_to_cmdline=1
39801 case "${D}{1}" in
39802 -I* )
39803 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39804 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39805 headerfile="${D}{incdir}/${D}{header}"
39806 fi
39807 ;;
39808 -use-pch|-use_pch|-pch-use )
39809 shift
39810 add_to_cmdline=0
39811 ;;
39812 esac
39813 if test ${D}add_to_cmdline = 1 ; then
39814 compiler="${D}{compiler} ${D}{1}"
39815 fi
39816 shift
39817 done
39818
39819 if test "x${D}{headerfile}" = "x" ; then
39820 echo "error: can't find header ${D}{header} in include paths" >&2
39821 else
39822 if test -f ${D}{outfile} ; then
39823 rm -f ${D}{outfile}
39824 else
39825 mkdir -p \`dirname ${D}{outfile}\`
39826 fi
39827 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39828 mkdir -p ${D}{builddir}/.deps
39829 if test "x${GCC_PCH}" = "x1" ; then
39830 # can do this because gcc is >= 3.4:
39831 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39832 elif test "x${ICC_PCH}" = "x1" ; then
39833 filename=pch_gen-${D}${D}
39834 file=${D}{filename}.c
39835 dfile=${D}{filename}.d
39836 cat > ${D}file <<EOT
39837 #include "${D}header"
39838 EOT
39839 # using -MF icc complains about differing command lines in creation/use
39840 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39841 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39842 rm -f ${D}file ${D}dfile ${D}{filename}.o
39843 fi
39844 exit ${D}{?}
39845 fi
39846 EOF
39847
39848 chmod +x bk-make-pch
39849 BK_MAKE_PCH="`pwd`/bk-make-pch"
39850 fi
39851 fi
39852 fi
39853
39854
39855
39856
39857
39858
39859
39860 COND_BUILD_DEBUG="#"
39861 if test "x$BUILD" = "xdebug" ; then
39862 COND_BUILD_DEBUG=""
39863 fi
39864
39865 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39866 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39867 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39868 fi
39869
39870 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39871 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39872 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39873 fi
39874
39875 COND_BUILD_DEBUG_UNICODE_0="#"
39876 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39877 COND_BUILD_DEBUG_UNICODE_0=""
39878 fi
39879
39880 COND_BUILD_DEBUG_UNICODE_1="#"
39881 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39882 COND_BUILD_DEBUG_UNICODE_1=""
39883 fi
39884
39885 COND_BUILD_RELEASE="#"
39886 if test "x$BUILD" = "xrelease" ; then
39887 COND_BUILD_RELEASE=""
39888 fi
39889
39890 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39891 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39892 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39893 fi
39894
39895 COND_BUILD_RELEASE_UNICODE_0="#"
39896 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39897 COND_BUILD_RELEASE_UNICODE_0=""
39898 fi
39899
39900 COND_BUILD_RELEASE_UNICODE_1="#"
39901 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39902 COND_BUILD_RELEASE_UNICODE_1=""
39903 fi
39904
39905 COND_BUILD_debug="#"
39906 if test "x$BUILD" = "xdebug" ; then
39907 COND_BUILD_debug=""
39908 fi
39909
39910 COND_BUILD_debug_DEBUG_FLAG_default="#"
39911 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39912 COND_BUILD_debug_DEBUG_FLAG_default=""
39913 fi
39914
39915 COND_BUILD_debug_DEBUG_INFO_default="#"
39916 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39917 COND_BUILD_debug_DEBUG_INFO_default=""
39918 fi
39919
39920 COND_BUILD_debug_UNICODE_0="#"
39921 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39922 COND_BUILD_debug_UNICODE_0=""
39923 fi
39924
39925 COND_BUILD_debug_UNICODE_1="#"
39926 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39927 COND_BUILD_debug_UNICODE_1=""
39928 fi
39929
39930 COND_BUILD_release="#"
39931 if test "x$BUILD" = "xrelease" ; then
39932 COND_BUILD_release=""
39933 fi
39934
39935 COND_BUILD_release_DEBUG_INFO_default="#"
39936 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39937 COND_BUILD_release_DEBUG_INFO_default=""
39938 fi
39939
39940 COND_BUILD_release_UNICODE_0="#"
39941 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39942 COND_BUILD_release_UNICODE_0=""
39943 fi
39944
39945 COND_BUILD_release_UNICODE_1="#"
39946 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39947 COND_BUILD_release_UNICODE_1=""
39948 fi
39949
39950 COND_DEBUG_FLAG_0="#"
39951 if test "x$DEBUG_FLAG" = "x0" ; then
39952 COND_DEBUG_FLAG_0=""
39953 fi
39954
39955 COND_DEBUG_FLAG_1="#"
39956 if test "x$DEBUG_FLAG" = "x1" ; then
39957 COND_DEBUG_FLAG_1=""
39958 fi
39959
39960 COND_DEBUG_INFO_0="#"
39961 if test "x$DEBUG_INFO" = "x0" ; then
39962 COND_DEBUG_INFO_0=""
39963 fi
39964
39965 COND_DEBUG_INFO_1="#"
39966 if test "x$DEBUG_INFO" = "x1" ; then
39967 COND_DEBUG_INFO_1=""
39968 fi
39969
39970 COND_DEPS_TRACKING_0="#"
39971 if test "x$DEPS_TRACKING" = "x0" ; then
39972 COND_DEPS_TRACKING_0=""
39973 fi
39974
39975 COND_DEPS_TRACKING_1="#"
39976 if test "x$DEPS_TRACKING" = "x1" ; then
39977 COND_DEPS_TRACKING_1=""
39978 fi
39979
39980 COND_GCC_PCH_1="#"
39981 if test "x$GCC_PCH" = "x1" ; then
39982 COND_GCC_PCH_1=""
39983 fi
39984
39985 COND_ICC_PCH_1="#"
39986 if test "x$ICC_PCH" = "x1" ; then
39987 COND_ICC_PCH_1=""
39988 fi
39989
39990 COND_MONOLITHIC_0="#"
39991 if test "x$MONOLITHIC" = "x0" ; then
39992 COND_MONOLITHIC_0=""
39993 fi
39994
39995 COND_MONOLITHIC_0_SHARED_0="#"
39996 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39997 COND_MONOLITHIC_0_SHARED_0=""
39998 fi
39999
40000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40001 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40002 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40003 fi
40004
40005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40007 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40008 fi
40009
40010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40011 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40012 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40013 fi
40014
40015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40016 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40017 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40018 fi
40019
40020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40022 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40023 fi
40024
40025 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40027 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40028 fi
40029
40030 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40032 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40033 fi
40034
40035 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40037 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40038 fi
40039
40040 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40042 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40043 fi
40044
40045 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40047 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40048 fi
40049
40050 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40052 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40053 fi
40054
40055 COND_MONOLITHIC_0_SHARED_1="#"
40056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40057 COND_MONOLITHIC_0_SHARED_1=""
40058 fi
40059
40060 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40062 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40063 fi
40064
40065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40068 fi
40069
40070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40073 fi
40074
40075 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40078 fi
40079
40080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40083 fi
40084
40085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40088 fi
40089
40090 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40092 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40093 fi
40094
40095 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40097 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40098 fi
40099
40100 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40102 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40103 fi
40104
40105 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40107 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40108 fi
40109
40110 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40112 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40113 fi
40114
40115 COND_MONOLITHIC_0_USE_AUI_1="#"
40116 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40117 COND_MONOLITHIC_0_USE_AUI_1=""
40118 fi
40119
40120 COND_MONOLITHIC_0_USE_GUI_1="#"
40121 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40122 COND_MONOLITHIC_0_USE_GUI_1=""
40123 fi
40124
40125 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40126 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40127 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40128 fi
40129
40130 COND_MONOLITHIC_0_USE_HTML_1="#"
40131 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40132 COND_MONOLITHIC_0_USE_HTML_1=""
40133 fi
40134
40135 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40136 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40137 COND_MONOLITHIC_0_USE_MEDIA_1=""
40138 fi
40139
40140 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40141 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40142 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40143 fi
40144
40145 COND_MONOLITHIC_0_USE_QA_1="#"
40146 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40147 COND_MONOLITHIC_0_USE_QA_1=""
40148 fi
40149
40150 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40151 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40152 COND_MONOLITHIC_0_USE_RIBBON_1=""
40153 fi
40154
40155 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40156 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40157 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40158 fi
40159
40160 COND_MONOLITHIC_0_USE_STC_1="#"
40161 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40162 COND_MONOLITHIC_0_USE_STC_1=""
40163 fi
40164
40165 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40166 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40167 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40168 fi
40169
40170 COND_MONOLITHIC_0_USE_XRC_1="#"
40171 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40172 COND_MONOLITHIC_0_USE_XRC_1=""
40173 fi
40174
40175 COND_MONOLITHIC_1="#"
40176 if test "x$MONOLITHIC" = "x1" ; then
40177 COND_MONOLITHIC_1=""
40178 fi
40179
40180 COND_MONOLITHIC_1_SHARED_0="#"
40181 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40182 COND_MONOLITHIC_1_SHARED_0=""
40183 fi
40184
40185 COND_MONOLITHIC_1_SHARED_1="#"
40186 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40187 COND_MONOLITHIC_1_SHARED_1=""
40188 fi
40189
40190 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40191 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40192 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40193 fi
40194
40195 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40196 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40197 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40198 fi
40199
40200 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40201 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40202 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40203 fi
40204
40205 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40206 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40207 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40208 fi
40209
40210 COND_PLATFORM_MACOSX_1="#"
40211 if test "x$PLATFORM_MACOSX" = "x1" ; then
40212 COND_PLATFORM_MACOSX_1=""
40213 fi
40214
40215 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40217 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40218 fi
40219
40220 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40222 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40223 fi
40224
40225 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40227 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40228 fi
40229
40230 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40232 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40233 fi
40234
40235 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40237 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40238 fi
40239
40240 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40242 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40243 fi
40244
40245 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40247 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40248 fi
40249
40250 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40251 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40252 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40253 fi
40254
40255 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40256 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40257 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40258 fi
40259
40260 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40262 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40263 fi
40264
40265 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40266 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40267 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40268 fi
40269
40270 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40271 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40272 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40273 fi
40274
40275 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40276 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40277 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40278 fi
40279
40280 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40281 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40282 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40283 fi
40284
40285 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40286 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40287 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40288 fi
40289
40290 COND_PLATFORM_MACOS_1="#"
40291 if test "x$PLATFORM_MACOS" = "x1" ; then
40292 COND_PLATFORM_MACOS_1=""
40293 fi
40294
40295 COND_PLATFORM_MAC_0="#"
40296 if test "x$PLATFORM_MAC" = "x0" ; then
40297 COND_PLATFORM_MAC_0=""
40298 fi
40299
40300 COND_PLATFORM_MAC_1="#"
40301 if test "x$PLATFORM_MAC" = "x1" ; then
40302 COND_PLATFORM_MAC_1=""
40303 fi
40304
40305 COND_PLATFORM_MSDOS_0="#"
40306 if test "x$PLATFORM_MSDOS" = "x0" ; then
40307 COND_PLATFORM_MSDOS_0=""
40308 fi
40309
40310 COND_PLATFORM_MSDOS_1="#"
40311 if test "x$PLATFORM_MSDOS" = "x1" ; then
40312 COND_PLATFORM_MSDOS_1=""
40313 fi
40314
40315 COND_PLATFORM_OS2_1="#"
40316 if test "x$PLATFORM_OS2" = "x1" ; then
40317 COND_PLATFORM_OS2_1=""
40318 fi
40319
40320 COND_PLATFORM_UNIX_0="#"
40321 if test "x$PLATFORM_UNIX" = "x0" ; then
40322 COND_PLATFORM_UNIX_0=""
40323 fi
40324
40325 COND_PLATFORM_UNIX_1="#"
40326 if test "x$PLATFORM_UNIX" = "x1" ; then
40327 COND_PLATFORM_UNIX_1=""
40328 fi
40329
40330 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40331 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40332 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40333 fi
40334
40335 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40336 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40337 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40338 fi
40339
40340 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40341 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40342 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40343 fi
40344
40345 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40346 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40347 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40348 fi
40349
40350 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40351 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40352 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40353 fi
40354
40355 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40356 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40357 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40358 fi
40359
40360 COND_PLATFORM_WIN32_0="#"
40361 if test "x$PLATFORM_WIN32" = "x0" ; then
40362 COND_PLATFORM_WIN32_0=""
40363 fi
40364
40365 COND_PLATFORM_WIN32_1="#"
40366 if test "x$PLATFORM_WIN32" = "x1" ; then
40367 COND_PLATFORM_WIN32_1=""
40368 fi
40369
40370 COND_PLATFORM_WIN32_1_SHARED_0="#"
40371 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40372 COND_PLATFORM_WIN32_1_SHARED_0=""
40373 fi
40374
40375 COND_SHARED_0="#"
40376 if test "x$SHARED" = "x0" ; then
40377 COND_SHARED_0=""
40378 fi
40379
40380 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40381 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40382 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40383 fi
40384
40385 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40386 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40387 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40388 fi
40389
40390 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40391 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40392 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40393 fi
40394
40395 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40396 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40397 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40398 fi
40399
40400 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40401 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40402 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40403 fi
40404
40405 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40406 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40407 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40408 fi
40409
40410 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40411 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40412 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40413 fi
40414
40415 COND_SHARED_0_USE_STC_1="#"
40416 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40417 COND_SHARED_0_USE_STC_1=""
40418 fi
40419
40420 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40421 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40422 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40423 fi
40424
40425 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40426 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40427 COND_SHARED_0_wxUSE_REGEX_builtin=""
40428 fi
40429
40430 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40431 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40432 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40433 fi
40434
40435 COND_SHARED_1="#"
40436 if test "x$SHARED" = "x1" ; then
40437 COND_SHARED_1=""
40438 fi
40439
40440 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40441 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40442 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40443 fi
40444
40445 COND_TOOLKIT_="#"
40446 if test "x$TOOLKIT" = "x" ; then
40447 COND_TOOLKIT_=""
40448 fi
40449
40450 COND_TOOLKIT_COCOA="#"
40451 if test "x$TOOLKIT" = "xCOCOA" ; then
40452 COND_TOOLKIT_COCOA=""
40453 fi
40454
40455 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40456 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40457 COND_TOOLKIT_COCOA_USE_GUI_1=""
40458 fi
40459
40460 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40461 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40462 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40463 fi
40464
40465 COND_TOOLKIT_DFB="#"
40466 if test "x$TOOLKIT" = "xDFB" ; then
40467 COND_TOOLKIT_DFB=""
40468 fi
40469
40470 COND_TOOLKIT_DFB_USE_GUI_1="#"
40471 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40472 COND_TOOLKIT_DFB_USE_GUI_1=""
40473 fi
40474
40475 COND_TOOLKIT_GTK="#"
40476 if test "x$TOOLKIT" = "xGTK" ; then
40477 COND_TOOLKIT_GTK=""
40478 fi
40479
40480 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40481 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40482 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40483 fi
40484
40485 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40486 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40487 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40488 fi
40489
40490 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40491 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40492 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40493 fi
40494
40495 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40496 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40497 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40498 fi
40499
40500 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40501 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40502 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40503 fi
40504
40505 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40506 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40507 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40508 fi
40509
40510 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40511 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40512 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40513 fi
40514
40515 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40516 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40517 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40518 fi
40519
40520 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40521 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40522 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40523 fi
40524
40525 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40526 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40527 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40528 fi
40529
40530 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40531 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40532 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40533 fi
40534
40535 COND_TOOLKIT_GTK_USE_GUI_1="#"
40536 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40537 COND_TOOLKIT_GTK_USE_GUI_1=""
40538 fi
40539
40540 COND_TOOLKIT_MAC="#"
40541 if test "x$TOOLKIT" = "xMAC" ; then
40542 COND_TOOLKIT_MAC=""
40543 fi
40544
40545 COND_TOOLKIT_MOTIF="#"
40546 if test "x$TOOLKIT" = "xMOTIF" ; then
40547 COND_TOOLKIT_MOTIF=""
40548 fi
40549
40550 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40551 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40552 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40553 fi
40554
40555 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40556 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40557 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40558 fi
40559
40560 COND_TOOLKIT_MSW="#"
40561 if test "x$TOOLKIT" = "xMSW" ; then
40562 COND_TOOLKIT_MSW=""
40563 fi
40564
40565 COND_TOOLKIT_MSW_USE_GUI_1="#"
40566 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40567 COND_TOOLKIT_MSW_USE_GUI_1=""
40568 fi
40569
40570 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40571 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40572 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40573 fi
40574
40575 COND_TOOLKIT_MSW_WXUNIV_0="#"
40576 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40577 COND_TOOLKIT_MSW_WXUNIV_0=""
40578 fi
40579
40580 COND_TOOLKIT_OSX_CARBON="#"
40581 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40582 COND_TOOLKIT_OSX_CARBON=""
40583 fi
40584
40585 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40586 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40587 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40588 fi
40589
40590 COND_TOOLKIT_OSX_COCOA="#"
40591 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40592 COND_TOOLKIT_OSX_COCOA=""
40593 fi
40594
40595 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40596 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40597 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40598 fi
40599
40600 COND_TOOLKIT_OSX_IPHONE="#"
40601 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40602 COND_TOOLKIT_OSX_IPHONE=""
40603 fi
40604
40605 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40606 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40607 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40608 fi
40609
40610 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40611 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40612 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40613 fi
40614
40615 COND_TOOLKIT_PM="#"
40616 if test "x$TOOLKIT" = "xPM" ; then
40617 COND_TOOLKIT_PM=""
40618 fi
40619
40620 COND_TOOLKIT_PM_USE_GUI_1="#"
40621 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40622 COND_TOOLKIT_PM_USE_GUI_1=""
40623 fi
40624
40625 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40626 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40627 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40628 fi
40629
40630 COND_TOOLKIT_WINCE="#"
40631 if test "x$TOOLKIT" = "xWINCE" ; then
40632 COND_TOOLKIT_WINCE=""
40633 fi
40634
40635 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40636 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40637 COND_TOOLKIT_WINCE_USE_GUI_1=""
40638 fi
40639
40640 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40641 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40642 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40643 fi
40644
40645 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40646 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40647 COND_TOOLKIT_WINCE_WXUNIV_0=""
40648 fi
40649
40650 COND_TOOLKIT_X11="#"
40651 if test "x$TOOLKIT" = "xX11" ; then
40652 COND_TOOLKIT_X11=""
40653 fi
40654
40655 COND_TOOLKIT_X11_USE_GUI_1="#"
40656 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40657 COND_TOOLKIT_X11_USE_GUI_1=""
40658 fi
40659
40660 COND_UNICODE_1="#"
40661 if test "x$UNICODE" = "x1" ; then
40662 COND_UNICODE_1=""
40663 fi
40664
40665 COND_USE_CAIRO_1="#"
40666 if test "x$USE_CAIRO" = "x1" ; then
40667 COND_USE_CAIRO_1=""
40668 fi
40669
40670 COND_USE_EXCEPTIONS_0="#"
40671 if test "x$USE_EXCEPTIONS" = "x0" ; then
40672 COND_USE_EXCEPTIONS_0=""
40673 fi
40674
40675 COND_USE_EXCEPTIONS_1="#"
40676 if test "x$USE_EXCEPTIONS" = "x1" ; then
40677 COND_USE_EXCEPTIONS_1=""
40678 fi
40679
40680 COND_USE_GUI_0="#"
40681 if test "x$USE_GUI" = "x0" ; then
40682 COND_USE_GUI_0=""
40683 fi
40684
40685 COND_USE_GUI_1="#"
40686 if test "x$USE_GUI" = "x1" ; then
40687 COND_USE_GUI_1=""
40688 fi
40689
40690 COND_USE_GUI_1_USE_OPENGL_1="#"
40691 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40692 COND_USE_GUI_1_USE_OPENGL_1=""
40693 fi
40694
40695 COND_USE_GUI_1_WXUNIV_0="#"
40696 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40697 COND_USE_GUI_1_WXUNIV_0=""
40698 fi
40699
40700 COND_USE_GUI_1_WXUNIV_1="#"
40701 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40702 COND_USE_GUI_1_WXUNIV_1=""
40703 fi
40704
40705 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40706 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40707 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40708 fi
40709
40710 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40711 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40712 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40713 fi
40714
40715 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40716 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40717 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40718 fi
40719
40720 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40721 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40722 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40723 fi
40724
40725 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40726 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40727 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40728 fi
40729
40730 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40731 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40732 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40733 fi
40734
40735 COND_USE_OPENGL_1="#"
40736 if test "x$USE_OPENGL" = "x1" ; then
40737 COND_USE_OPENGL_1=""
40738 fi
40739
40740 COND_USE_PCH_1="#"
40741 if test "x$USE_PCH" = "x1" ; then
40742 COND_USE_PCH_1=""
40743 fi
40744
40745 COND_USE_PLUGINS_0="#"
40746 if test "x$USE_PLUGINS" = "x0" ; then
40747 COND_USE_PLUGINS_0=""
40748 fi
40749
40750 COND_USE_RTTI_0="#"
40751 if test "x$USE_RTTI" = "x0" ; then
40752 COND_USE_RTTI_0=""
40753 fi
40754
40755 COND_USE_RTTI_1="#"
40756 if test "x$USE_RTTI" = "x1" ; then
40757 COND_USE_RTTI_1=""
40758 fi
40759
40760 COND_USE_SOTWOSYMLINKS_1="#"
40761 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40762 COND_USE_SOTWOSYMLINKS_1=""
40763 fi
40764
40765 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40766 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40767 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40768 fi
40769
40770 COND_USE_SOVERLINUX_1="#"
40771 if test "x$USE_SOVERLINUX" = "x1" ; then
40772 COND_USE_SOVERLINUX_1=""
40773 fi
40774
40775 COND_USE_SOVERSION_0="#"
40776 if test "x$USE_SOVERSION" = "x0" ; then
40777 COND_USE_SOVERSION_0=""
40778 fi
40779
40780 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40781 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40782 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40783 fi
40784
40785 COND_USE_SOVERSOLARIS_1="#"
40786 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40787 COND_USE_SOVERSOLARIS_1=""
40788 fi
40789
40790 COND_USE_STC_1="#"
40791 if test "x$USE_STC" = "x1" ; then
40792 COND_USE_STC_1=""
40793 fi
40794
40795 COND_USE_THREADS_0="#"
40796 if test "x$USE_THREADS" = "x0" ; then
40797 COND_USE_THREADS_0=""
40798 fi
40799
40800 COND_USE_THREADS_1="#"
40801 if test "x$USE_THREADS" = "x1" ; then
40802 COND_USE_THREADS_1=""
40803 fi
40804
40805 COND_USE_XRC_1="#"
40806 if test "x$USE_XRC" = "x1" ; then
40807 COND_USE_XRC_1=""
40808 fi
40809
40810 COND_WINDOWS_IMPLIB_1="#"
40811 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40812 COND_WINDOWS_IMPLIB_1=""
40813 fi
40814
40815 COND_WITH_PLUGIN_SDL_1="#"
40816 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40817 COND_WITH_PLUGIN_SDL_1=""
40818 fi
40819
40820 COND_WXUNIV_0="#"
40821 if test "x$WXUNIV" = "x0" ; then
40822 COND_WXUNIV_0=""
40823 fi
40824
40825 COND_WXUNIV_1="#"
40826 if test "x$WXUNIV" = "x1" ; then
40827 COND_WXUNIV_1=""
40828 fi
40829
40830 COND_WXUSE_EXPAT_BUILTIN="#"
40831 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40832 COND_WXUSE_EXPAT_BUILTIN=""
40833 fi
40834
40835 COND_WXUSE_LIBJPEG_BUILTIN="#"
40836 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40837 COND_WXUSE_LIBJPEG_BUILTIN=""
40838 fi
40839
40840 COND_WXUSE_LIBPNG_BUILTIN="#"
40841 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40842 COND_WXUSE_LIBPNG_BUILTIN=""
40843 fi
40844
40845 COND_WXUSE_LIBTIFF_BUILTIN="#"
40846 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40847 COND_WXUSE_LIBTIFF_BUILTIN=""
40848 fi
40849
40850 COND_WXUSE_REGEX_BUILTIN="#"
40851 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40852 COND_WXUSE_REGEX_BUILTIN=""
40853 fi
40854
40855 COND_WXUSE_ZLIB_BUILTIN="#"
40856 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40857 COND_WXUSE_ZLIB_BUILTIN=""
40858 fi
40859
40860 COND_wxUSE_EXPAT_builtin="#"
40861 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40862 COND_wxUSE_EXPAT_builtin=""
40863 fi
40864
40865 COND_wxUSE_LIBJPEG_builtin="#"
40866 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40867 COND_wxUSE_LIBJPEG_builtin=""
40868 fi
40869
40870 COND_wxUSE_LIBPNG_builtin="#"
40871 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40872 COND_wxUSE_LIBPNG_builtin=""
40873 fi
40874
40875 COND_wxUSE_LIBTIFF_builtin="#"
40876 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40877 COND_wxUSE_LIBTIFF_builtin=""
40878 fi
40879
40880 COND_wxUSE_REGEX_builtin="#"
40881 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40882 COND_wxUSE_REGEX_builtin=""
40883 fi
40884
40885 COND_wxUSE_ZLIB_builtin="#"
40886 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40887 COND_wxUSE_ZLIB_builtin=""
40888 fi
40889
40890
40891
40892 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40893 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
40894 fi
40895
40896 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40897 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
40898 fi
40899
40900
40901 case ${INSTALL} in
40902 /* ) # Absolute
40903 ;;
40904 ?:* ) # Drive letter, considered as absolute.
40905 ;;
40906 *)
40907 INSTALL=`pwd`/${INSTALL} ;;
40908 esac
40909
40910 if test "$wxUSE_GUI" = "yes"; then
40911
40912 if test "$wxUSE_MSW" = 1 ; then
40913 if test "x$WINDRES" = "x"; then
40914 as_fn_error $? "Required windres program not found" "$LINENO" 5
40915 fi
40916
40917 RESCOMP="$WINDRES"
40918 fi
40919
40920 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40921 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40922 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40923
40924 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40925
40926 # Extract the first word of "DeRez", so it can be a program name with args.
40927 set dummy DeRez; ac_word=$2
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40929 $as_echo_n "checking for $ac_word... " >&6; }
40930 if ${ac_cv_prog_DEREZ+:} false; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40933 if test -n "$DEREZ"; then
40934 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40935 else
40936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40937 for as_dir in $PATH
40938 do
40939 IFS=$as_save_IFS
40940 test -z "$as_dir" && as_dir=.
40941 for ac_exec_ext in '' $ac_executable_extensions; do
40942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40943 ac_cv_prog_DEREZ="DeRez"
40944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40945 break 2
40946 fi
40947 done
40948 done
40949 IFS=$as_save_IFS
40950
40951 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40952 fi
40953 fi
40954 DEREZ=$ac_cv_prog_DEREZ
40955 if test -n "$DEREZ"; then
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40957 $as_echo "$DEREZ" >&6; }
40958 else
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40960 $as_echo "no" >&6; }
40961 fi
40962
40963
40964
40965 MACSETFILE="\$(SETFILE)"
40966
40967 if test "$wxUSE_OSX_CARBON" = 1; then
40968 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40969 RESCOMP="$REZ"
40970 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40971 else
40972 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40973 RESCOMP="cat /dev/null \| $REZ"
40974 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40975 fi
40976
40977 else
40978 MACSETFILE="@true"
40979
40980 if test "$wxUSE_PM" = 1; then
40981 RESCOMP="emxbind"
40982 WXCONFIG_RESFLAGS="-ep"
40983
40984 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40985 else
40986 POSTLINK_COMMAND="@true"
40987 fi
40988 fi
40989
40990 fi
40991
40992
40993 if test $GCC_PCH = 1
40994 then
40995 if test "$wx_cv_gcc_pch_bug" = yes; then
40996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40997 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40999 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41001 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41002 fi
41003
41004 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41005 # the headers that benefit from precompilation are mostly C++ headers.
41006 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41007 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41008 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41009 fi
41010
41011
41012 if test "$wxUSE_MAC" = 1 ; then
41013 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41014 if test "x$disable_macosx_deps" = "xyes"; then
41015 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41016 mv temp bk-deps
41017 chmod +x bk-deps
41018 fi
41019 fi
41020 fi
41021
41022 if test "$wxUSE_SHARED" = "yes"; then
41023 case "${host}" in
41024 *-pc-os2_emx | *-pc-os2-emx )
41025 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41026 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41027 cp -p ${srcdir}/src/os2/dllnames.sh .
41028 cp -p ${srcdir}/src/os2/dllar.sh .
41029 ;;
41030 esac
41031 fi
41032 if test "$wxUSE_OMF" = "yes"; then
41033 case "${host}" in
41034 *-pc-os2_emx | *-pc-os2-emx )
41035 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41036 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41037 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41038 ;;
41039 esac
41040 fi
41041
41042 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41043
41044
41045 case "${host}" in
41046 *-*-solaris2* )
41047 if test "$GCC" = yes; then
41048 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41049 LIBS=`echo $LIBS | sed 's/-mt//g'`
41050 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41051 fi
41052 ;;
41053
41054 *-*-linux* )
41055 if test "x$SUNCXX" = xyes; then
41056 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41057 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41058 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41059 fi
41060 ;;
41061 esac
41062
41063 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41064 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41065 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41066 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41067
41068 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41130 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41131 set x ${MAKE-make}
41132 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41133 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41134 $as_echo_n "(cached) " >&6
41135 else
41136 cat >conftest.make <<\_ACEOF
41137 SHELL = /bin/sh
41138 all:
41139 @echo '@@@%%%=$(MAKE)=@@@%%%'
41140 _ACEOF
41141 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41142 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41143 *@@@%%%=?*=@@@%%%*)
41144 eval ac_cv_prog_make_${ac_make}_set=yes;;
41145 *)
41146 eval ac_cv_prog_make_${ac_make}_set=no;;
41147 esac
41148 rm -f conftest.make
41149 fi
41150 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41152 $as_echo "yes" >&6; }
41153 SET_MAKE=
41154 else
41155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41156 $as_echo "no" >&6; }
41157 SET_MAKE="MAKE=${MAKE-make}"
41158 fi
41159
41160
41161
41162 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41163
41164
41165 if test "$USE_WIN32" = 1; then
41166 ac_config_commands="$ac_config_commands rcdefs.h"
41167
41168 fi
41169
41170 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41171
41172
41173 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41174
41175
41176 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41177
41178
41179 if test "$wx_cv_version_script" = "yes"; then
41180 ac_config_files="$ac_config_files version-script"
41181
41182 fi
41183 ac_config_files="$ac_config_files Makefile"
41184
41185
41186 ac_config_commands="$ac_config_commands wx-config"
41187
41188
41189
41190 if test "$wxWITH_SUBDIRS" != "no"; then
41191 if test "$wxUSE_GUI" = "yes"; then
41192 SUBDIRS="samples demos utils"
41193 else
41194 SUBDIRS="samples utils"
41195 fi
41196
41197
41198
41199 # Check whether --with-cppunit-prefix was given.
41200 if test "${with_cppunit_prefix+set}" = set; then :
41201 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41202 else
41203 cppunit_config_prefix=""
41204 fi
41205
41206
41207 # Check whether --with-cppunit-exec-prefix was given.
41208 if test "${with_cppunit_exec_prefix+set}" = set; then :
41209 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41210 else
41211 cppunit_config_exec_prefix=""
41212 fi
41213
41214
41215 if test x$cppunit_config_exec_prefix != x ; then
41216 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41217 if test x${CPPUNIT_CONFIG+set} != xset ; then
41218 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41219 fi
41220 fi
41221 if test x$cppunit_config_prefix != x ; then
41222 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41223 if test x${CPPUNIT_CONFIG+set} != xset ; then
41224 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41225 fi
41226 fi
41227
41228 # Extract the first word of "cppunit-config", so it can be a program name with args.
41229 set dummy cppunit-config; ac_word=$2
41230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41231 $as_echo_n "checking for $ac_word... " >&6; }
41232 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41233 $as_echo_n "(cached) " >&6
41234 else
41235 case $CPPUNIT_CONFIG in
41236 [\\/]* | ?:[\\/]*)
41237 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41238 ;;
41239 *)
41240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41241 for as_dir in $PATH
41242 do
41243 IFS=$as_save_IFS
41244 test -z "$as_dir" && as_dir=.
41245 for ac_exec_ext in '' $ac_executable_extensions; do
41246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41247 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41249 break 2
41250 fi
41251 done
41252 done
41253 IFS=$as_save_IFS
41254
41255 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41256 ;;
41257 esac
41258 fi
41259 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41260 if test -n "$CPPUNIT_CONFIG"; then
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41262 $as_echo "$CPPUNIT_CONFIG" >&6; }
41263 else
41264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41265 $as_echo "no" >&6; }
41266 fi
41267
41268
41269 cppunit_version_min=1.8.0
41270
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41272 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41273 no_cppunit=""
41274 if test "$CPPUNIT_CONFIG" = "no" ; then
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41276 $as_echo "no" >&6; }
41277 no_cppunit=yes
41278 else
41279 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41280 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41281 cppunit_version=`$CPPUNIT_CONFIG --version`
41282
41283 cppunit_major_version=`echo $cppunit_version | \
41284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41285 cppunit_minor_version=`echo $cppunit_version | \
41286 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41287 cppunit_micro_version=`echo $cppunit_version | \
41288 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41289
41290 cppunit_major_min=`echo $cppunit_version_min | \
41291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41292 cppunit_minor_min=`echo $cppunit_version_min | \
41293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41294 cppunit_micro_min=`echo $cppunit_version_min | \
41295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41296
41297 cppunit_version_proper=`expr \
41298 $cppunit_major_version \> $cppunit_major_min \| \
41299 $cppunit_major_version \= $cppunit_major_min \& \
41300 $cppunit_minor_version \> $cppunit_minor_min \| \
41301 $cppunit_major_version \= $cppunit_major_min \& \
41302 $cppunit_minor_version \= $cppunit_minor_min \& \
41303 $cppunit_micro_version \>= $cppunit_micro_min `
41304
41305 if test "$cppunit_version_proper" = "1" ; then
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41307 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41308 else
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41310 $as_echo "no" >&6; }
41311 no_cppunit=yes
41312 fi
41313 fi
41314
41315 if test "x$no_cppunit" = x ; then
41316 SUBDIRS="$SUBDIRS tests"
41317 else
41318 CPPUNIT_CFLAGS=""
41319 CPPUNIT_LIBS=""
41320 :
41321 fi
41322
41323
41324
41325
41326
41327 for subdir in $SUBDIRS; do
41328 if test -d ${srcdir}/${subdir} ; then
41329 if test "$wxUSE_GUI" = "yes"; then
41330 if test ${subdir} = "samples"; then
41331 makefiles="samples/Makefile.in $makefiles"
41332 for sample in $SAMPLES_SUBDIRS; do
41333 if test -d $srcdir/samples/$sample; then
41334 makefiles="samples/$sample/Makefile.in $makefiles"
41335 fi
41336 done
41337 else
41338 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41339 eval "disabled=\$$disabled_var"
41340 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41341 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41342 fi
41343 else
41344 if test ${subdir} = "samples"; then
41345 makefiles="samples/Makefile.in $makefiles"
41346 for sample in `echo $SAMPLES_SUBDIRS`; do
41347 if test -d $srcdir/samples/$sample; then
41348 makefiles="samples/$sample/Makefile.in $makefiles"
41349 fi
41350 done
41351 elif test ${subdir} = "utils"; then
41352 makefiles=""
41353 for util in ifacecheck ; do
41354 if test -d $srcdir/utils/$util ; then
41355 makefiles="utils/$util/src/Makefile.in \
41356 $makefiles"
41357 fi
41358 done
41359 else
41360 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41361 fi
41362 fi
41363
41364 for mkin in $makefiles ; do
41365 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41366 ac_config_files="$ac_config_files $mk"
41367
41368 done
41369 fi
41370 done
41371 fi
41372 cat >confcache <<\_ACEOF
41373 # This file is a shell script that caches the results of configure
41374 # tests run on this system so they can be shared between configure
41375 # scripts and configure runs, see configure's option --config-cache.
41376 # It is not useful on other systems. If it contains results you don't
41377 # want to keep, you may remove or edit it.
41378 #
41379 # config.status only pays attention to the cache file if you give it
41380 # the --recheck option to rerun configure.
41381 #
41382 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41383 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41384 # following values.
41385
41386 _ACEOF
41387
41388 # The following way of writing the cache mishandles newlines in values,
41389 # but we know of no workaround that is simple, portable, and efficient.
41390 # So, we kill variables containing newlines.
41391 # Ultrix sh set writes to stderr and can't be redirected directly,
41392 # and sets the high bit in the cache file unless we assign to the vars.
41393 (
41394 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41395 eval ac_val=\$$ac_var
41396 case $ac_val in #(
41397 *${as_nl}*)
41398 case $ac_var in #(
41399 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41400 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41401 esac
41402 case $ac_var in #(
41403 _ | IFS | as_nl) ;; #(
41404 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41405 *) { eval $ac_var=; unset $ac_var;} ;;
41406 esac ;;
41407 esac
41408 done
41409
41410 (set) 2>&1 |
41411 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41412 *${as_nl}ac_space=\ *)
41413 # `set' does not quote correctly, so add quotes: double-quote
41414 # substitution turns \\\\ into \\, and sed turns \\ into \.
41415 sed -n \
41416 "s/'/'\\\\''/g;
41417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41418 ;; #(
41419 *)
41420 # `set' quotes correctly as required by POSIX, so do not add quotes.
41421 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41422 ;;
41423 esac |
41424 sort
41425 ) |
41426 sed '
41427 /^ac_cv_env_/b end
41428 t clear
41429 :clear
41430 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41431 t end
41432 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41433 :end' >>confcache
41434 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41435 if test -w "$cache_file"; then
41436 if test "x$cache_file" != "x/dev/null"; then
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41438 $as_echo "$as_me: updating cache $cache_file" >&6;}
41439 if test ! -f "$cache_file" || test -h "$cache_file"; then
41440 cat confcache >"$cache_file"
41441 else
41442 case $cache_file in #(
41443 */* | ?:*)
41444 mv -f confcache "$cache_file"$$ &&
41445 mv -f "$cache_file"$$ "$cache_file" ;; #(
41446 *)
41447 mv -f confcache "$cache_file" ;;
41448 esac
41449 fi
41450 fi
41451 else
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41453 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41454 fi
41455 fi
41456 rm -f confcache
41457
41458 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41459 # Let make expand exec_prefix.
41460 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41461
41462 DEFS=-DHAVE_CONFIG_H
41463
41464 ac_libobjs=
41465 ac_ltlibobjs=
41466 U=
41467 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41468 # 1. Remove the extension, and $U if already installed.
41469 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41470 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41472 # will be set to the directory where LIBOBJS objects are built.
41473 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41474 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41475 done
41476 LIBOBJS=$ac_libobjs
41477
41478 LTLIBOBJS=$ac_ltlibobjs
41479
41480
41481
41482 : "${CONFIG_STATUS=./config.status}"
41483 ac_write_fail=0
41484 ac_clean_files_save=$ac_clean_files
41485 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41487 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41488 as_write_fail=0
41489 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41490 #! $SHELL
41491 # Generated by $as_me.
41492 # Run this file to recreate the current configuration.
41493 # Compiler output produced by configure, useful for debugging
41494 # configure, is in config.log if it exists.
41495
41496 debug=false
41497 ac_cs_recheck=false
41498 ac_cs_silent=false
41499
41500 SHELL=\${CONFIG_SHELL-$SHELL}
41501 export SHELL
41502 _ASEOF
41503 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41504 ## -------------------- ##
41505 ## M4sh Initialization. ##
41506 ## -------------------- ##
41507
41508 # Be more Bourne compatible
41509 DUALCASE=1; export DUALCASE # for MKS sh
41510 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41511 emulate sh
41512 NULLCMD=:
41513 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41514 # is contrary to our usage. Disable this feature.
41515 alias -g '${1+"$@"}'='"$@"'
41516 setopt NO_GLOB_SUBST
41517 else
41518 case `(set -o) 2>/dev/null` in #(
41519 *posix*) :
41520 set -o posix ;; #(
41521 *) :
41522 ;;
41523 esac
41524 fi
41525
41526
41527 as_nl='
41528 '
41529 export as_nl
41530 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41531 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41534 # Prefer a ksh shell builtin over an external printf program on Solaris,
41535 # but without wasting forks for bash or zsh.
41536 if test -z "$BASH_VERSION$ZSH_VERSION" \
41537 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41538 as_echo='print -r --'
41539 as_echo_n='print -rn --'
41540 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41541 as_echo='printf %s\n'
41542 as_echo_n='printf %s'
41543 else
41544 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41545 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41546 as_echo_n='/usr/ucb/echo -n'
41547 else
41548 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41549 as_echo_n_body='eval
41550 arg=$1;
41551 case $arg in #(
41552 *"$as_nl"*)
41553 expr "X$arg" : "X\\(.*\\)$as_nl";
41554 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41555 esac;
41556 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41557 '
41558 export as_echo_n_body
41559 as_echo_n='sh -c $as_echo_n_body as_echo'
41560 fi
41561 export as_echo_body
41562 as_echo='sh -c $as_echo_body as_echo'
41563 fi
41564
41565 # The user is always right.
41566 if test "${PATH_SEPARATOR+set}" != set; then
41567 PATH_SEPARATOR=:
41568 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41569 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41570 PATH_SEPARATOR=';'
41571 }
41572 fi
41573
41574
41575 # IFS
41576 # We need space, tab and new line, in precisely that order. Quoting is
41577 # there to prevent editors from complaining about space-tab.
41578 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41579 # splitting by setting IFS to empty value.)
41580 IFS=" "" $as_nl"
41581
41582 # Find who we are. Look in the path if we contain no directory separator.
41583 as_myself=
41584 case $0 in #((
41585 *[\\/]* ) as_myself=$0 ;;
41586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41587 for as_dir in $PATH
41588 do
41589 IFS=$as_save_IFS
41590 test -z "$as_dir" && as_dir=.
41591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41592 done
41593 IFS=$as_save_IFS
41594
41595 ;;
41596 esac
41597 # We did not find ourselves, most probably we were run as `sh COMMAND'
41598 # in which case we are not to be found in the path.
41599 if test "x$as_myself" = x; then
41600 as_myself=$0
41601 fi
41602 if test ! -f "$as_myself"; then
41603 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41604 exit 1
41605 fi
41606
41607 # Unset variables that we do not need and which cause bugs (e.g. in
41608 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41609 # suppresses any "Segmentation fault" message there. '((' could
41610 # trigger a bug in pdksh 5.2.14.
41611 for as_var in BASH_ENV ENV MAIL MAILPATH
41612 do eval test x\${$as_var+set} = xset \
41613 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41614 done
41615 PS1='$ '
41616 PS2='> '
41617 PS4='+ '
41618
41619 # NLS nuisances.
41620 LC_ALL=C
41621 export LC_ALL
41622 LANGUAGE=C
41623 export LANGUAGE
41624
41625 # CDPATH.
41626 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41627
41628
41629 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41630 # ----------------------------------------
41631 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41632 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41633 # script with STATUS, using 1 if that was 0.
41634 as_fn_error ()
41635 {
41636 as_status=$1; test $as_status -eq 0 && as_status=1
41637 if test "$4"; then
41638 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41639 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41640 fi
41641 $as_echo "$as_me: error: $2" >&2
41642 as_fn_exit $as_status
41643 } # as_fn_error
41644
41645
41646 # as_fn_set_status STATUS
41647 # -----------------------
41648 # Set $? to STATUS, without forking.
41649 as_fn_set_status ()
41650 {
41651 return $1
41652 } # as_fn_set_status
41653
41654 # as_fn_exit STATUS
41655 # -----------------
41656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41657 as_fn_exit ()
41658 {
41659 set +e
41660 as_fn_set_status $1
41661 exit $1
41662 } # as_fn_exit
41663
41664 # as_fn_unset VAR
41665 # ---------------
41666 # Portably unset VAR.
41667 as_fn_unset ()
41668 {
41669 { eval $1=; unset $1;}
41670 }
41671 as_unset=as_fn_unset
41672 # as_fn_append VAR VALUE
41673 # ----------------------
41674 # Append the text in VALUE to the end of the definition contained in VAR. Take
41675 # advantage of any shell optimizations that allow amortized linear growth over
41676 # repeated appends, instead of the typical quadratic growth present in naive
41677 # implementations.
41678 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41679 eval 'as_fn_append ()
41680 {
41681 eval $1+=\$2
41682 }'
41683 else
41684 as_fn_append ()
41685 {
41686 eval $1=\$$1\$2
41687 }
41688 fi # as_fn_append
41689
41690 # as_fn_arith ARG...
41691 # ------------------
41692 # Perform arithmetic evaluation on the ARGs, and store the result in the
41693 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41694 # must be portable across $(()) and expr.
41695 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41696 eval 'as_fn_arith ()
41697 {
41698 as_val=$(( $* ))
41699 }'
41700 else
41701 as_fn_arith ()
41702 {
41703 as_val=`expr "$@" || test $? -eq 1`
41704 }
41705 fi # as_fn_arith
41706
41707
41708 if expr a : '\(a\)' >/dev/null 2>&1 &&
41709 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41710 as_expr=expr
41711 else
41712 as_expr=false
41713 fi
41714
41715 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41716 as_basename=basename
41717 else
41718 as_basename=false
41719 fi
41720
41721 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41722 as_dirname=dirname
41723 else
41724 as_dirname=false
41725 fi
41726
41727 as_me=`$as_basename -- "$0" ||
41728 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41729 X"$0" : 'X\(//\)$' \| \
41730 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41731 $as_echo X/"$0" |
41732 sed '/^.*\/\([^/][^/]*\)\/*$/{
41733 s//\1/
41734 q
41735 }
41736 /^X\/\(\/\/\)$/{
41737 s//\1/
41738 q
41739 }
41740 /^X\/\(\/\).*/{
41741 s//\1/
41742 q
41743 }
41744 s/.*/./; q'`
41745
41746 # Avoid depending upon Character Ranges.
41747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41750 as_cr_digits='0123456789'
41751 as_cr_alnum=$as_cr_Letters$as_cr_digits
41752
41753 ECHO_C= ECHO_N= ECHO_T=
41754 case `echo -n x` in #(((((
41755 -n*)
41756 case `echo 'xy\c'` in
41757 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41758 xy) ECHO_C='\c';;
41759 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41760 ECHO_T=' ';;
41761 esac;;
41762 *)
41763 ECHO_N='-n';;
41764 esac
41765
41766 rm -f conf$$ conf$$.exe conf$$.file
41767 if test -d conf$$.dir; then
41768 rm -f conf$$.dir/conf$$.file
41769 else
41770 rm -f conf$$.dir
41771 mkdir conf$$.dir 2>/dev/null
41772 fi
41773 if (echo >conf$$.file) 2>/dev/null; then
41774 if ln -s conf$$.file conf$$ 2>/dev/null; then
41775 as_ln_s='ln -s'
41776 # ... but there are two gotchas:
41777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41779 # In both cases, we have to default to `cp -pR'.
41780 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41781 as_ln_s='cp -pR'
41782 elif ln conf$$.file conf$$ 2>/dev/null; then
41783 as_ln_s=ln
41784 else
41785 as_ln_s='cp -pR'
41786 fi
41787 else
41788 as_ln_s='cp -pR'
41789 fi
41790 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41791 rmdir conf$$.dir 2>/dev/null
41792
41793
41794 # as_fn_mkdir_p
41795 # -------------
41796 # Create "$as_dir" as a directory, including parents if necessary.
41797 as_fn_mkdir_p ()
41798 {
41799
41800 case $as_dir in #(
41801 -*) as_dir=./$as_dir;;
41802 esac
41803 test -d "$as_dir" || eval $as_mkdir_p || {
41804 as_dirs=
41805 while :; do
41806 case $as_dir in #(
41807 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41808 *) as_qdir=$as_dir;;
41809 esac
41810 as_dirs="'$as_qdir' $as_dirs"
41811 as_dir=`$as_dirname -- "$as_dir" ||
41812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41813 X"$as_dir" : 'X\(//\)[^/]' \| \
41814 X"$as_dir" : 'X\(//\)$' \| \
41815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41816 $as_echo X"$as_dir" |
41817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41818 s//\1/
41819 q
41820 }
41821 /^X\(\/\/\)[^/].*/{
41822 s//\1/
41823 q
41824 }
41825 /^X\(\/\/\)$/{
41826 s//\1/
41827 q
41828 }
41829 /^X\(\/\).*/{
41830 s//\1/
41831 q
41832 }
41833 s/.*/./; q'`
41834 test -d "$as_dir" && break
41835 done
41836 test -z "$as_dirs" || eval "mkdir $as_dirs"
41837 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41838
41839
41840 } # as_fn_mkdir_p
41841 if mkdir -p . 2>/dev/null; then
41842 as_mkdir_p='mkdir -p "$as_dir"'
41843 else
41844 test -d ./-p && rmdir ./-p
41845 as_mkdir_p=false
41846 fi
41847
41848
41849 # as_fn_executable_p FILE
41850 # -----------------------
41851 # Test if FILE is an executable regular file.
41852 as_fn_executable_p ()
41853 {
41854 test -f "$1" && test -x "$1"
41855 } # as_fn_executable_p
41856 as_test_x='test -x'
41857 as_executable_p=as_fn_executable_p
41858
41859 # Sed expression to map a string onto a valid CPP name.
41860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41861
41862 # Sed expression to map a string onto a valid variable name.
41863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41864
41865
41866 exec 6>&1
41867 ## ----------------------------------- ##
41868 ## Main body of $CONFIG_STATUS script. ##
41869 ## ----------------------------------- ##
41870 _ASEOF
41871 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41872
41873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41874 # Save the log message, to keep $0 and so on meaningful, and to
41875 # report actual input values of CONFIG_FILES etc. instead of their
41876 # values after options handling.
41877 ac_log="
41878 This file was extended by wxWidgets $as_me 2.9.5, which was
41879 generated by GNU Autoconf 2.69. Invocation command line was
41880
41881 CONFIG_FILES = $CONFIG_FILES
41882 CONFIG_HEADERS = $CONFIG_HEADERS
41883 CONFIG_LINKS = $CONFIG_LINKS
41884 CONFIG_COMMANDS = $CONFIG_COMMANDS
41885 $ $0 $@
41886
41887 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41888 "
41889
41890 _ACEOF
41891
41892 case $ac_config_files in *"
41893 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41894 esac
41895
41896 case $ac_config_headers in *"
41897 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41898 esac
41899
41900
41901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41902 # Files that config.status was made for.
41903 config_files="$ac_config_files"
41904 config_headers="$ac_config_headers"
41905 config_commands="$ac_config_commands"
41906
41907 _ACEOF
41908
41909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41910 ac_cs_usage="\
41911 \`$as_me' instantiates files and other configuration actions
41912 from templates according to the current configuration. Unless the files
41913 and actions are specified as TAGs, all are instantiated by default.
41914
41915 Usage: $0 [OPTION]... [TAG]...
41916
41917 -h, --help print this help, then exit
41918 -V, --version print version number and configuration settings, then exit
41919 --config print configuration, then exit
41920 -q, --quiet, --silent
41921 do not print progress messages
41922 -d, --debug don't remove temporary files
41923 --recheck update $as_me by reconfiguring in the same conditions
41924 --file=FILE[:TEMPLATE]
41925 instantiate the configuration file FILE
41926 --header=FILE[:TEMPLATE]
41927 instantiate the configuration header FILE
41928
41929 Configuration files:
41930 $config_files
41931
41932 Configuration headers:
41933 $config_headers
41934
41935 Configuration commands:
41936 $config_commands
41937
41938 Report bugs to <wx-dev@lists.wxwidgets.org>."
41939
41940 _ACEOF
41941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41942 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41943 ac_cs_version="\\
41944 wxWidgets config.status 2.9.5
41945 configured by $0, generated by GNU Autoconf 2.69,
41946 with options \\"\$ac_cs_config\\"
41947
41948 Copyright (C) 2012 Free Software Foundation, Inc.
41949 This config.status script is free software; the Free Software Foundation
41950 gives unlimited permission to copy, distribute and modify it."
41951
41952 ac_pwd='$ac_pwd'
41953 srcdir='$srcdir'
41954 INSTALL='$INSTALL'
41955 test -n "\$AWK" || AWK=awk
41956 _ACEOF
41957
41958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41959 # The default lists apply if the user does not specify any file.
41960 ac_need_defaults=:
41961 while test $# != 0
41962 do
41963 case $1 in
41964 --*=?*)
41965 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41966 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41967 ac_shift=:
41968 ;;
41969 --*=)
41970 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41971 ac_optarg=
41972 ac_shift=:
41973 ;;
41974 *)
41975 ac_option=$1
41976 ac_optarg=$2
41977 ac_shift=shift
41978 ;;
41979 esac
41980
41981 case $ac_option in
41982 # Handling of the options.
41983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41984 ac_cs_recheck=: ;;
41985 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41986 $as_echo "$ac_cs_version"; exit ;;
41987 --config | --confi | --conf | --con | --co | --c )
41988 $as_echo "$ac_cs_config"; exit ;;
41989 --debug | --debu | --deb | --de | --d | -d )
41990 debug=: ;;
41991 --file | --fil | --fi | --f )
41992 $ac_shift
41993 case $ac_optarg in
41994 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41995 '') as_fn_error $? "missing file argument" ;;
41996 esac
41997 as_fn_append CONFIG_FILES " '$ac_optarg'"
41998 ac_need_defaults=false;;
41999 --header | --heade | --head | --hea )
42000 $ac_shift
42001 case $ac_optarg in
42002 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42003 esac
42004 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42005 ac_need_defaults=false;;
42006 --he | --h)
42007 # Conflict between --help and --header
42008 as_fn_error $? "ambiguous option: \`$1'
42009 Try \`$0 --help' for more information.";;
42010 --help | --hel | -h )
42011 $as_echo "$ac_cs_usage"; exit ;;
42012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42013 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42014 ac_cs_silent=: ;;
42015
42016 # This is an error.
42017 -*) as_fn_error $? "unrecognized option: \`$1'
42018 Try \`$0 --help' for more information." ;;
42019
42020 *) as_fn_append ac_config_targets " $1"
42021 ac_need_defaults=false ;;
42022
42023 esac
42024 shift
42025 done
42026
42027 ac_configure_extra_args=
42028
42029 if $ac_cs_silent; then
42030 exec 6>/dev/null
42031 ac_configure_extra_args="$ac_configure_extra_args --silent"
42032 fi
42033
42034 _ACEOF
42035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42036 if \$ac_cs_recheck; then
42037 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42038 shift
42039 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42040 CONFIG_SHELL='$SHELL'
42041 export CONFIG_SHELL
42042 exec "\$@"
42043 fi
42044
42045 _ACEOF
42046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42047 exec 5>>config.log
42048 {
42049 echo
42050 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42051 ## Running $as_me. ##
42052 _ASBOX
42053 $as_echo "$ac_log"
42054 } >&5
42055
42056 _ACEOF
42057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42058 #
42059 # INIT-COMMANDS
42060 #
42061
42062 CPP="$CPP"
42063 infile="$srcdir/include/wx/msw/genrcdefs.h"
42064 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42065
42066
42067 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42068 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42069 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42070 LN_S="${LN_S}"
42071
42072
42073 _ACEOF
42074
42075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42076
42077 # Handling of arguments.
42078 for ac_config_target in $ac_config_targets
42079 do
42080 case $ac_config_target in
42081 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42082 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42083 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42084 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42085 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42086 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42087 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42088 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42089 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42090
42091 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42092 esac
42093 done
42094
42095
42096 # If the user did not use the arguments to specify the items to instantiate,
42097 # then the envvar interface is used. Set only those that are not.
42098 # We use the long form for the default assignment because of an extremely
42099 # bizarre bug on SunOS 4.1.3.
42100 if $ac_need_defaults; then
42101 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42102 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42103 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42104 fi
42105
42106 # Have a temporary directory for convenience. Make it in the build tree
42107 # simply because there is no reason against having it here, and in addition,
42108 # creating and moving files from /tmp can sometimes cause problems.
42109 # Hook for its removal unless debugging.
42110 # Note that there is a small window in which the directory will not be cleaned:
42111 # after its creation but before its name has been assigned to `$tmp'.
42112 $debug ||
42113 {
42114 tmp= ac_tmp=
42115 trap 'exit_status=$?
42116 : "${ac_tmp:=$tmp}"
42117 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42118 ' 0
42119 trap 'as_fn_exit 1' 1 2 13 15
42120 }
42121 # Create a (secure) tmp directory for tmp files.
42122
42123 {
42124 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42125 test -d "$tmp"
42126 } ||
42127 {
42128 tmp=./conf$$-$RANDOM
42129 (umask 077 && mkdir "$tmp")
42130 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42131 ac_tmp=$tmp
42132
42133 # Set up the scripts for CONFIG_FILES section.
42134 # No need to generate them if there are no CONFIG_FILES.
42135 # This happens for instance with `./config.status config.h'.
42136 if test -n "$CONFIG_FILES"; then
42137
42138
42139 ac_cr=`echo X | tr X '\015'`
42140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42141 # But we know of no other shell where ac_cr would be empty at this
42142 # point, so we can use a bashism as a fallback.
42143 if test "x$ac_cr" = x; then
42144 eval ac_cr=\$\'\\r\'
42145 fi
42146 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42148 ac_cs_awk_cr='\\r'
42149 else
42150 ac_cs_awk_cr=$ac_cr
42151 fi
42152
42153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42154 _ACEOF
42155
42156
42157 {
42158 echo "cat >conf$$subs.awk <<_ACEOF" &&
42159 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42160 echo "_ACEOF"
42161 } >conf$$subs.sh ||
42162 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42163 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42164 ac_delim='%!_!# '
42165 for ac_last_try in false false false false false :; do
42166 . ./conf$$subs.sh ||
42167 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42168
42169 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42170 if test $ac_delim_n = $ac_delim_num; then
42171 break
42172 elif $ac_last_try; then
42173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42174 else
42175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42176 fi
42177 done
42178 rm -f conf$$subs.sh
42179
42180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42181 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42182 _ACEOF
42183 sed -n '
42184 h
42185 s/^/S["/; s/!.*/"]=/
42186 p
42187 g
42188 s/^[^!]*!//
42189 :repl
42190 t repl
42191 s/'"$ac_delim"'$//
42192 t delim
42193 :nl
42194 h
42195 s/\(.\{148\}\)..*/\1/
42196 t more1
42197 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42198 p
42199 n
42200 b repl
42201 :more1
42202 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42203 p
42204 g
42205 s/.\{148\}//
42206 t nl
42207 :delim
42208 h
42209 s/\(.\{148\}\)..*/\1/
42210 t more2
42211 s/["\\]/\\&/g; s/^/"/; s/$/"/
42212 p
42213 b
42214 :more2
42215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42216 p
42217 g
42218 s/.\{148\}//
42219 t delim
42220 ' <conf$$subs.awk | sed '
42221 /^[^""]/{
42222 N
42223 s/\n//
42224 }
42225 ' >>$CONFIG_STATUS || ac_write_fail=1
42226 rm -f conf$$subs.awk
42227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42228 _ACAWK
42229 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42230 for (key in S) S_is_set[key] = 1
42231 FS = "\a"
42232
42233 }
42234 {
42235 line = $ 0
42236 nfields = split(line, field, "@")
42237 substed = 0
42238 len = length(field[1])
42239 for (i = 2; i < nfields; i++) {
42240 key = field[i]
42241 keylen = length(key)
42242 if (S_is_set[key]) {
42243 value = S[key]
42244 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42245 len += length(value) + length(field[++i])
42246 substed = 1
42247 } else
42248 len += 1 + keylen
42249 }
42250
42251 print line
42252 }
42253
42254 _ACAWK
42255 _ACEOF
42256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42257 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42258 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42259 else
42260 cat
42261 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42262 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42263 _ACEOF
42264
42265 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42266 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42267 # trailing colons and then remove the whole line if VPATH becomes empty
42268 # (actually we leave an empty line to preserve line numbers).
42269 if test "x$srcdir" = x.; then
42270 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42271 h
42272 s///
42273 s/^/:/
42274 s/[ ]*$/:/
42275 s/:\$(srcdir):/:/g
42276 s/:\${srcdir}:/:/g
42277 s/:@srcdir@:/:/g
42278 s/^:*//
42279 s/:*$//
42280 x
42281 s/\(=[ ]*\).*/\1/
42282 G
42283 s/\n//
42284 s/^[^=]*=[ ]*$//
42285 }'
42286 fi
42287
42288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42289 fi # test -n "$CONFIG_FILES"
42290
42291 # Set up the scripts for CONFIG_HEADERS section.
42292 # No need to generate them if there are no CONFIG_HEADERS.
42293 # This happens for instance with `./config.status Makefile'.
42294 if test -n "$CONFIG_HEADERS"; then
42295 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42296 BEGIN {
42297 _ACEOF
42298
42299 # Transform confdefs.h into an awk script `defines.awk', embedded as
42300 # here-document in config.status, that substitutes the proper values into
42301 # config.h.in to produce config.h.
42302
42303 # Create a delimiter string that does not exist in confdefs.h, to ease
42304 # handling of long lines.
42305 ac_delim='%!_!# '
42306 for ac_last_try in false false :; do
42307 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42308 if test -z "$ac_tt"; then
42309 break
42310 elif $ac_last_try; then
42311 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42312 else
42313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42314 fi
42315 done
42316
42317 # For the awk script, D is an array of macro values keyed by name,
42318 # likewise P contains macro parameters if any. Preserve backslash
42319 # newline sequences.
42320
42321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42322 sed -n '
42323 s/.\{148\}/&'"$ac_delim"'/g
42324 t rset
42325 :rset
42326 s/^[ ]*#[ ]*define[ ][ ]*/ /
42327 t def
42328 d
42329 :def
42330 s/\\$//
42331 t bsnl
42332 s/["\\]/\\&/g
42333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42334 D["\1"]=" \3"/p
42335 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42336 d
42337 :bsnl
42338 s/["\\]/\\&/g
42339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42340 D["\1"]=" \3\\\\\\n"\\/p
42341 t cont
42342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42343 t cont
42344 d
42345 :cont
42346 n
42347 s/.\{148\}/&'"$ac_delim"'/g
42348 t clear
42349 :clear
42350 s/\\$//
42351 t bsnlc
42352 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42353 d
42354 :bsnlc
42355 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42356 b cont
42357 ' <confdefs.h | sed '
42358 s/'"$ac_delim"'/"\\\
42359 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42360
42361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42362 for (key in D) D_is_set[key] = 1
42363 FS = "\a"
42364 }
42365 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42366 line = \$ 0
42367 split(line, arg, " ")
42368 if (arg[1] == "#") {
42369 defundef = arg[2]
42370 mac1 = arg[3]
42371 } else {
42372 defundef = substr(arg[1], 2)
42373 mac1 = arg[2]
42374 }
42375 split(mac1, mac2, "(") #)
42376 macro = mac2[1]
42377 prefix = substr(line, 1, index(line, defundef) - 1)
42378 if (D_is_set[macro]) {
42379 # Preserve the white space surrounding the "#".
42380 print prefix "define", macro P[macro] D[macro]
42381 next
42382 } else {
42383 # Replace #undef with comments. This is necessary, for example,
42384 # in the case of _POSIX_SOURCE, which is predefined and required
42385 # on some systems where configure will not decide to define it.
42386 if (defundef == "undef") {
42387 print "/*", prefix defundef, macro, "*/"
42388 next
42389 }
42390 }
42391 }
42392 { print }
42393 _ACAWK
42394 _ACEOF
42395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42396 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42397 fi # test -n "$CONFIG_HEADERS"
42398
42399
42400 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42401 shift
42402 for ac_tag
42403 do
42404 case $ac_tag in
42405 :[FHLC]) ac_mode=$ac_tag; continue;;
42406 esac
42407 case $ac_mode$ac_tag in
42408 :[FHL]*:*);;
42409 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42410 :[FH]-) ac_tag=-:-;;
42411 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42412 esac
42413 ac_save_IFS=$IFS
42414 IFS=:
42415 set x $ac_tag
42416 IFS=$ac_save_IFS
42417 shift
42418 ac_file=$1
42419 shift
42420
42421 case $ac_mode in
42422 :L) ac_source=$1;;
42423 :[FH])
42424 ac_file_inputs=
42425 for ac_f
42426 do
42427 case $ac_f in
42428 -) ac_f="$ac_tmp/stdin";;
42429 *) # Look for the file first in the build tree, then in the source tree
42430 # (if the path is not absolute). The absolute path cannot be DOS-style,
42431 # because $ac_f cannot contain `:'.
42432 test -f "$ac_f" ||
42433 case $ac_f in
42434 [\\/$]*) false;;
42435 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42436 esac ||
42437 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42438 esac
42439 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42440 as_fn_append ac_file_inputs " '$ac_f'"
42441 done
42442
42443 # Let's still pretend it is `configure' which instantiates (i.e., don't
42444 # use $as_me), people would be surprised to read:
42445 # /* config.h. Generated by config.status. */
42446 configure_input='Generated from '`
42447 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42448 `' by configure.'
42449 if test x"$ac_file" != x-; then
42450 configure_input="$ac_file. $configure_input"
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42452 $as_echo "$as_me: creating $ac_file" >&6;}
42453 fi
42454 # Neutralize special characters interpreted by sed in replacement strings.
42455 case $configure_input in #(
42456 *\&* | *\|* | *\\* )
42457 ac_sed_conf_input=`$as_echo "$configure_input" |
42458 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42459 *) ac_sed_conf_input=$configure_input;;
42460 esac
42461
42462 case $ac_tag in
42463 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42464 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42465 esac
42466 ;;
42467 esac
42468
42469 ac_dir=`$as_dirname -- "$ac_file" ||
42470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42471 X"$ac_file" : 'X\(//\)[^/]' \| \
42472 X"$ac_file" : 'X\(//\)$' \| \
42473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42474 $as_echo X"$ac_file" |
42475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42476 s//\1/
42477 q
42478 }
42479 /^X\(\/\/\)[^/].*/{
42480 s//\1/
42481 q
42482 }
42483 /^X\(\/\/\)$/{
42484 s//\1/
42485 q
42486 }
42487 /^X\(\/\).*/{
42488 s//\1/
42489 q
42490 }
42491 s/.*/./; q'`
42492 as_dir="$ac_dir"; as_fn_mkdir_p
42493 ac_builddir=.
42494
42495 case "$ac_dir" in
42496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42497 *)
42498 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42499 # A ".." for each directory in $ac_dir_suffix.
42500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42501 case $ac_top_builddir_sub in
42502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42504 esac ;;
42505 esac
42506 ac_abs_top_builddir=$ac_pwd
42507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42508 # for backward compatibility:
42509 ac_top_builddir=$ac_top_build_prefix
42510
42511 case $srcdir in
42512 .) # We are building in place.
42513 ac_srcdir=.
42514 ac_top_srcdir=$ac_top_builddir_sub
42515 ac_abs_top_srcdir=$ac_pwd ;;
42516 [\\/]* | ?:[\\/]* ) # Absolute name.
42517 ac_srcdir=$srcdir$ac_dir_suffix;
42518 ac_top_srcdir=$srcdir
42519 ac_abs_top_srcdir=$srcdir ;;
42520 *) # Relative name.
42521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42522 ac_top_srcdir=$ac_top_build_prefix$srcdir
42523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42524 esac
42525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42526
42527
42528 case $ac_mode in
42529 :F)
42530 #
42531 # CONFIG_FILE
42532 #
42533
42534 case $INSTALL in
42535 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42536 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42537 esac
42538 _ACEOF
42539
42540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42541 # If the template does not know about datarootdir, expand it.
42542 # FIXME: This hack should be removed a few years after 2.60.
42543 ac_datarootdir_hack=; ac_datarootdir_seen=
42544 ac_sed_dataroot='
42545 /datarootdir/ {
42546 p
42547 q
42548 }
42549 /@datadir@/p
42550 /@docdir@/p
42551 /@infodir@/p
42552 /@localedir@/p
42553 /@mandir@/p'
42554 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42555 *datarootdir*) ac_datarootdir_seen=yes;;
42556 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42558 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42559 _ACEOF
42560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42561 ac_datarootdir_hack='
42562 s&@datadir@&$datadir&g
42563 s&@docdir@&$docdir&g
42564 s&@infodir@&$infodir&g
42565 s&@localedir@&$localedir&g
42566 s&@mandir@&$mandir&g
42567 s&\\\${datarootdir}&$datarootdir&g' ;;
42568 esac
42569 _ACEOF
42570
42571 # Neutralize VPATH when `$srcdir' = `.'.
42572 # Shell code in configure.ac might set extrasub.
42573 # FIXME: do we really want to maintain this feature?
42574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42575 ac_sed_extra="$ac_vpsub
42576 $extrasub
42577 _ACEOF
42578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42579 :t
42580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42581 s|@configure_input@|$ac_sed_conf_input|;t t
42582 s&@top_builddir@&$ac_top_builddir_sub&;t t
42583 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42584 s&@srcdir@&$ac_srcdir&;t t
42585 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42586 s&@top_srcdir@&$ac_top_srcdir&;t t
42587 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42588 s&@builddir@&$ac_builddir&;t t
42589 s&@abs_builddir@&$ac_abs_builddir&;t t
42590 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42591 s&@INSTALL@&$ac_INSTALL&;t t
42592 $ac_datarootdir_hack
42593 "
42594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42595 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42596
42597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42598 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42600 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42602 which seems to be undefined. Please make sure it is defined" >&5
42603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42604 which seems to be undefined. Please make sure it is defined" >&2;}
42605
42606 rm -f "$ac_tmp/stdin"
42607 case $ac_file in
42608 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42609 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42610 esac \
42611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42612 ;;
42613 :H)
42614 #
42615 # CONFIG_HEADER
42616 #
42617 if test x"$ac_file" != x-; then
42618 {
42619 $as_echo "/* $configure_input */" \
42620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42621 } >"$ac_tmp/config.h" \
42622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42626 else
42627 rm -f "$ac_file"
42628 mv "$ac_tmp/config.h" "$ac_file" \
42629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42630 fi
42631 else
42632 $as_echo "/* $configure_input */" \
42633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42634 || as_fn_error $? "could not create -" "$LINENO" 5
42635 fi
42636 ;;
42637
42638 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42639 $as_echo "$as_me: executing $ac_file commands" >&6;}
42640 ;;
42641 esac
42642
42643
42644 case $ac_file$ac_mode in
42645 "rcdefs.h":C)
42646 mkdir -p $outdir &&
42647 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42648 ;;
42649 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42650 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42651 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42652 "wx-config":C) rm -f wx-config
42653 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42654 ;;
42655
42656 esac
42657 done # for ac_tag
42658
42659
42660 as_fn_exit 0
42661 _ACEOF
42662 ac_clean_files=$ac_clean_files_save
42663
42664 test $ac_write_fail = 0 ||
42665 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42666
42667
42668 # configure is writing to config.log, and then calls config.status.
42669 # config.status does its own redirection, appending to config.log.
42670 # Unfortunately, on DOS this fails, as config.log is still kept open
42671 # by configure, so config.status won't be able to write to it; its
42672 # output is simply discarded. So we exec the FD to /dev/null,
42673 # effectively closing config.log, so it can be properly (re)opened and
42674 # appended to by config.status. When coming back to configure, we
42675 # need to make the FD available again.
42676 if test "$no_create" != yes; then
42677 ac_cs_success=:
42678 ac_config_status_args=
42679 test "$silent" = yes &&
42680 ac_config_status_args="$ac_config_status_args --quiet"
42681 exec 5>/dev/null
42682 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42683 exec 5>>config.log
42684 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42685 # would make configure fail if this is the last instruction.
42686 $ac_cs_success || as_fn_exit 1
42687 fi
42688
42689 #
42690 # CONFIG_SUBDIRS section.
42691 #
42692 if test "$no_recursion" != yes; then
42693
42694 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42695 # so they do not pile up.
42696 ac_sub_configure_args=
42697 ac_prev=
42698 eval "set x $ac_configure_args"
42699 shift
42700 for ac_arg
42701 do
42702 if test -n "$ac_prev"; then
42703 ac_prev=
42704 continue
42705 fi
42706 case $ac_arg in
42707 -cache-file | --cache-file | --cache-fil | --cache-fi \
42708 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42709 ac_prev=cache_file ;;
42710 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42711 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42712 | --c=*)
42713 ;;
42714 --config-cache | -C)
42715 ;;
42716 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42717 ac_prev=srcdir ;;
42718 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42719 ;;
42720 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42721 ac_prev=prefix ;;
42722 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42723 ;;
42724 --disable-option-checking)
42725 ;;
42726 *)
42727 case $ac_arg in
42728 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42729 esac
42730 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42731 esac
42732 done
42733
42734 # Always prepend --prefix to ensure using the same prefix
42735 # in subdir configurations.
42736 ac_arg="--prefix=$prefix"
42737 case $ac_arg in
42738 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42739 esac
42740 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42741
42742 # Pass --silent
42743 if test "$silent" = yes; then
42744 ac_sub_configure_args="--silent $ac_sub_configure_args"
42745 fi
42746
42747 # Always prepend --disable-option-checking to silence warnings, since
42748 # different subdirs can have different --enable and --with options.
42749 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42750
42751 ac_popdir=`pwd`
42752 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42753
42754 # Do not complain, so a configure script can configure whichever
42755 # parts of a large source tree are present.
42756 test -d "$srcdir/$ac_dir" || continue
42757
42758 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42759 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42760 $as_echo "$ac_msg" >&6
42761 as_dir="$ac_dir"; as_fn_mkdir_p
42762 ac_builddir=.
42763
42764 case "$ac_dir" in
42765 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42766 *)
42767 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42768 # A ".." for each directory in $ac_dir_suffix.
42769 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42770 case $ac_top_builddir_sub in
42771 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42772 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42773 esac ;;
42774 esac
42775 ac_abs_top_builddir=$ac_pwd
42776 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42777 # for backward compatibility:
42778 ac_top_builddir=$ac_top_build_prefix
42779
42780 case $srcdir in
42781 .) # We are building in place.
42782 ac_srcdir=.
42783 ac_top_srcdir=$ac_top_builddir_sub
42784 ac_abs_top_srcdir=$ac_pwd ;;
42785 [\\/]* | ?:[\\/]* ) # Absolute name.
42786 ac_srcdir=$srcdir$ac_dir_suffix;
42787 ac_top_srcdir=$srcdir
42788 ac_abs_top_srcdir=$srcdir ;;
42789 *) # Relative name.
42790 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42791 ac_top_srcdir=$ac_top_build_prefix$srcdir
42792 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42793 esac
42794 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42795
42796
42797 cd "$ac_dir"
42798
42799 # Check for guested configure; otherwise get Cygnus style configure.
42800 if test -f "$ac_srcdir/configure.gnu"; then
42801 ac_sub_configure=$ac_srcdir/configure.gnu
42802 elif test -f "$ac_srcdir/configure"; then
42803 ac_sub_configure=$ac_srcdir/configure
42804 elif test -f "$ac_srcdir/configure.in"; then
42805 # This should be Cygnus configure.
42806 ac_sub_configure=$ac_aux_dir/configure
42807 else
42808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42809 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42810 ac_sub_configure=
42811 fi
42812
42813 # The recursion is here.
42814 if test -n "$ac_sub_configure"; then
42815 # Make the cache file name correct relative to the subdirectory.
42816 case $cache_file in
42817 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42818 *) # Relative name.
42819 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42820 esac
42821
42822 { $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
42823 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42824 # The eval makes quoting arguments work.
42825 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42826 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42827 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42828 fi
42829
42830 cd "$ac_popdir"
42831 done
42832 fi
42833 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42835 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42836 fi
42837
42838
42839 echo
42840 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42841 echo ""
42842 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42843 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42844 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42845 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42846 if test "$wxUSE_UNICODE" = "yes"; then
42847 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42848 echo " (using UTF-8)"
42849 else
42850 echo " (using wchar_t)"
42851 fi
42852 else
42853 echo
42854 fi
42855
42856 echo " What level of wxWidgets compatibility should be enabled?"
42857 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42858 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42859
42860 echo " Which libraries should wxWidgets use?"
42861 echo " STL ${wxUSE_STL}"
42862 echo " jpeg ${wxUSE_LIBJPEG-none}"
42863 echo " png ${wxUSE_LIBPNG-none}"
42864 echo " regex ${wxUSE_REGEX}"
42865 echo " tiff ${wxUSE_LIBTIFF-none}"
42866 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42867 echo " xpm ${wxUSE_LIBXPM-none}"
42868 fi
42869 echo " zlib ${wxUSE_ZLIB}"
42870 echo " expat ${wxUSE_EXPAT}"
42871 echo " libmspack ${wxUSE_LIBMSPACK}"
42872 echo " sdl ${wxUSE_LIBSDL}"
42873
42874 echo ""
42875