]> git.saurik.com Git - wxWidgets.git/blob - configure
make local functions static
[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-webviewwebkit 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-webviewie 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_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2813 # ---------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_cxx_check_header_compile ()
2817 {
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822 $as_echo_n "(cached) " >&6
2823 else
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2826 $4
2827 #include <$2>
2828 _ACEOF
2829 if ac_fn_cxx_try_compile "$LINENO"; then :
2830 eval "$3=yes"
2831 else
2832 eval "$3=no"
2833 fi
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 fi
2836 eval ac_res=\$$3
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840
2841 } # ac_fn_cxx_check_header_compile
2842
2843 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2844 # --------------------------------------------
2845 # Tries to find the compile-time value of EXPR in a program that includes
2846 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2847 # computed
2848 ac_fn_c_compute_int ()
2849 {
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 if test "$cross_compiling" = yes; then
2852 # Depending upon the size, compute the lo and hi bounds.
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2855 $4
2856 int
2857 main ()
2858 {
2859 static int test_array [1 - 2 * !(($2) >= 0)];
2860 test_array [0] = 0;
2861 return test_array [0];
2862
2863 ;
2864 return 0;
2865 }
2866 _ACEOF
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868 ac_lo=0 ac_mid=0
2869 while :; do
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2872 $4
2873 int
2874 main ()
2875 {
2876 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2877 test_array [0] = 0;
2878 return test_array [0];
2879
2880 ;
2881 return 0;
2882 }
2883 _ACEOF
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885 ac_hi=$ac_mid; break
2886 else
2887 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2888 if test $ac_lo -le $ac_mid; then
2889 ac_lo= ac_hi=
2890 break
2891 fi
2892 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2893 fi
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 done
2896 else
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2899 $4
2900 int
2901 main ()
2902 {
2903 static int test_array [1 - 2 * !(($2) < 0)];
2904 test_array [0] = 0;
2905 return test_array [0];
2906
2907 ;
2908 return 0;
2909 }
2910 _ACEOF
2911 if ac_fn_c_try_compile "$LINENO"; then :
2912 ac_hi=-1 ac_mid=-1
2913 while :; do
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2916 $4
2917 int
2918 main ()
2919 {
2920 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2921 test_array [0] = 0;
2922 return test_array [0];
2923
2924 ;
2925 return 0;
2926 }
2927 _ACEOF
2928 if ac_fn_c_try_compile "$LINENO"; then :
2929 ac_lo=$ac_mid; break
2930 else
2931 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2932 if test $ac_mid -le $ac_hi; then
2933 ac_lo= ac_hi=
2934 break
2935 fi
2936 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2937 fi
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 done
2940 else
2941 ac_lo= ac_hi=
2942 fi
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2944 fi
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 # Binary search between lo and hi bounds.
2947 while test "x$ac_lo" != "x$ac_hi"; do
2948 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2951 $4
2952 int
2953 main ()
2954 {
2955 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2956 test_array [0] = 0;
2957 return test_array [0];
2958
2959 ;
2960 return 0;
2961 }
2962 _ACEOF
2963 if ac_fn_c_try_compile "$LINENO"; then :
2964 ac_hi=$ac_mid
2965 else
2966 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2967 fi
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 done
2970 case $ac_lo in #((
2971 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2972 '') ac_retval=1 ;;
2973 esac
2974 else
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2977 $4
2978 static long int longval () { return $2; }
2979 static unsigned long int ulongval () { return $2; }
2980 #include <stdio.h>
2981 #include <stdlib.h>
2982 int
2983 main ()
2984 {
2985
2986 FILE *f = fopen ("conftest.val", "w");
2987 if (! f)
2988 return 1;
2989 if (($2) < 0)
2990 {
2991 long int i = longval ();
2992 if (i != ($2))
2993 return 1;
2994 fprintf (f, "%ld", i);
2995 }
2996 else
2997 {
2998 unsigned long int i = ulongval ();
2999 if (i != ($2))
3000 return 1;
3001 fprintf (f, "%lu", i);
3002 }
3003 /* Do not output a trailing newline, as this causes \r\n confusion
3004 on some platforms. */
3005 return ferror (f) || fclose (f) != 0;
3006
3007 ;
3008 return 0;
3009 }
3010 _ACEOF
3011 if ac_fn_c_try_run "$LINENO"; then :
3012 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3013 else
3014 ac_retval=1
3015 fi
3016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3017 conftest.$ac_objext conftest.beam conftest.$ac_ext
3018 rm -f conftest.val
3019
3020 fi
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 as_fn_set_status $ac_retval
3023
3024 } # ac_fn_c_compute_int
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
20049 ac_ext=cpp
20050 ac_cpp='$CXXCPP $CPPFLAGS'
20051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20054
20055 for ac_header in cxxabi.h
20056 do :
20057 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20058 "
20059 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20060 cat >>confdefs.h <<_ACEOF
20061 #define HAVE_CXXABI_H 1
20062 _ACEOF
20063
20064 fi
20065
20066 done
20067
20068 ac_ext=c
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20073
20074 fi
20075
20076
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20078 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20079 if ${ac_cv_c_const+:} false; then :
20080 $as_echo_n "(cached) " >&6
20081 else
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084
20085 int
20086 main ()
20087 {
20088
20089 #ifndef __cplusplus
20090 /* Ultrix mips cc rejects this sort of thing. */
20091 typedef int charset[2];
20092 const charset cs = { 0, 0 };
20093 /* SunOS 4.1.1 cc rejects this. */
20094 char const *const *pcpcc;
20095 char **ppc;
20096 /* NEC SVR4.0.2 mips cc rejects this. */
20097 struct point {int x, y;};
20098 static struct point const zero = {0,0};
20099 /* AIX XL C 1.02.0.0 rejects this.
20100 It does not let you subtract one const X* pointer from another in
20101 an arm of an if-expression whose if-part is not a constant
20102 expression */
20103 const char *g = "string";
20104 pcpcc = &g + (g ? g-g : 0);
20105 /* HPUX 7.0 cc rejects these. */
20106 ++pcpcc;
20107 ppc = (char**) pcpcc;
20108 pcpcc = (char const *const *) ppc;
20109 { /* SCO 3.2v4 cc rejects this sort of thing. */
20110 char tx;
20111 char *t = &tx;
20112 char const *s = 0 ? (char *) 0 : (char const *) 0;
20113
20114 *t++ = 0;
20115 if (s) return 0;
20116 }
20117 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20118 int x[] = {25, 17};
20119 const int *foo = &x[0];
20120 ++foo;
20121 }
20122 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20123 typedef const int *iptr;
20124 iptr p = 0;
20125 ++p;
20126 }
20127 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20128 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20129 struct s { int j; const int *ap[3]; } bx;
20130 struct s *b = &bx; b->j = 5;
20131 }
20132 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20133 const int foo = 10;
20134 if (!foo) return 0;
20135 }
20136 return !cs[0] && !zero.x;
20137 #endif
20138
20139 ;
20140 return 0;
20141 }
20142 _ACEOF
20143 if ac_fn_c_try_compile "$LINENO"; then :
20144 ac_cv_c_const=yes
20145 else
20146 ac_cv_c_const=no
20147 fi
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20149 fi
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20151 $as_echo "$ac_cv_c_const" >&6; }
20152 if test $ac_cv_c_const = no; then
20153
20154 $as_echo "#define const /**/" >>confdefs.h
20155
20156 fi
20157
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20159 $as_echo_n "checking for inline... " >&6; }
20160 if ${ac_cv_c_inline+:} false; then :
20161 $as_echo_n "(cached) " >&6
20162 else
20163 ac_cv_c_inline=no
20164 for ac_kw in inline __inline__ __inline; do
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20167 #ifndef __cplusplus
20168 typedef int foo_t;
20169 static $ac_kw foo_t static_foo () {return 0; }
20170 $ac_kw foo_t foo () {return 0; }
20171 #endif
20172
20173 _ACEOF
20174 if ac_fn_c_try_compile "$LINENO"; then :
20175 ac_cv_c_inline=$ac_kw
20176 fi
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 test "$ac_cv_c_inline" != no && break
20179 done
20180
20181 fi
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20183 $as_echo "$ac_cv_c_inline" >&6; }
20184
20185 case $ac_cv_c_inline in
20186 inline | yes) ;;
20187 *)
20188 case $ac_cv_c_inline in
20189 no) ac_val=;;
20190 *) ac_val=$ac_cv_c_inline;;
20191 esac
20192 cat >>confdefs.h <<_ACEOF
20193 #ifndef __cplusplus
20194 #define inline $ac_val
20195 #endif
20196 _ACEOF
20197 ;;
20198 esac
20199
20200
20201 # The cast to long int works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20206 $as_echo_n "checking size of short... " >&6; }
20207 if ${ac_cv_sizeof_short+:} false; then :
20208 $as_echo_n "(cached) " >&6
20209 else
20210 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20211
20212 else
20213 if test "$ac_cv_type_short" = yes; then
20214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20216 as_fn_error 77 "cannot compute sizeof (short)
20217 See \`config.log' for more details" "$LINENO" 5; }
20218 else
20219 ac_cv_sizeof_short=0
20220 fi
20221 fi
20222
20223 fi
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20225 $as_echo "$ac_cv_sizeof_short" >&6; }
20226
20227
20228
20229 cat >>confdefs.h <<_ACEOF
20230 #define SIZEOF_SHORT $ac_cv_sizeof_short
20231 _ACEOF
20232
20233
20234 # The cast to long int works around a bug in the HP C Compiler
20235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20237 # This bug is HP SR number 8606223364.
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20239 $as_echo_n "checking size of void *... " >&6; }
20240 if ${ac_cv_sizeof_void_p+:} false; then :
20241 $as_echo_n "(cached) " >&6
20242 else
20243 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20244
20245 else
20246 if test "$ac_cv_type_void_p" = yes; then
20247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20249 as_fn_error 77 "cannot compute sizeof (void *)
20250 See \`config.log' for more details" "$LINENO" 5; }
20251 else
20252 ac_cv_sizeof_void_p=0
20253 fi
20254 fi
20255
20256 fi
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20258 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20259
20260
20261
20262 cat >>confdefs.h <<_ACEOF
20263 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20264 _ACEOF
20265
20266
20267 # The cast to long int works around a bug in the HP C Compiler
20268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20270 # This bug is HP SR number 8606223364.
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20272 $as_echo_n "checking size of int... " >&6; }
20273 if ${ac_cv_sizeof_int+:} false; then :
20274 $as_echo_n "(cached) " >&6
20275 else
20276 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20277
20278 else
20279 if test "$ac_cv_type_int" = yes; then
20280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20282 as_fn_error 77 "cannot compute sizeof (int)
20283 See \`config.log' for more details" "$LINENO" 5; }
20284 else
20285 ac_cv_sizeof_int=0
20286 fi
20287 fi
20288
20289 fi
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20291 $as_echo "$ac_cv_sizeof_int" >&6; }
20292
20293
20294
20295 cat >>confdefs.h <<_ACEOF
20296 #define SIZEOF_INT $ac_cv_sizeof_int
20297 _ACEOF
20298
20299
20300 # The cast to long int works around a bug in the HP C Compiler
20301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20303 # This bug is HP SR number 8606223364.
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20305 $as_echo_n "checking size of long... " >&6; }
20306 if ${ac_cv_sizeof_long+:} false; then :
20307 $as_echo_n "(cached) " >&6
20308 else
20309 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20310
20311 else
20312 if test "$ac_cv_type_long" = yes; then
20313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20315 as_fn_error 77 "cannot compute sizeof (long)
20316 See \`config.log' for more details" "$LINENO" 5; }
20317 else
20318 ac_cv_sizeof_long=0
20319 fi
20320 fi
20321
20322 fi
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20324 $as_echo "$ac_cv_sizeof_long" >&6; }
20325
20326
20327
20328 cat >>confdefs.h <<_ACEOF
20329 #define SIZEOF_LONG $ac_cv_sizeof_long
20330 _ACEOF
20331
20332
20333 # The cast to long int works around a bug in the HP C Compiler
20334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20336 # This bug is HP SR number 8606223364.
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20338 $as_echo_n "checking size of size_t... " >&6; }
20339 if ${ac_cv_sizeof_size_t+:} false; then :
20340 $as_echo_n "(cached) " >&6
20341 else
20342 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20343
20344 else
20345 if test "$ac_cv_type_size_t" = yes; then
20346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20348 as_fn_error 77 "cannot compute sizeof (size_t)
20349 See \`config.log' for more details" "$LINENO" 5; }
20350 else
20351 ac_cv_sizeof_size_t=0
20352 fi
20353 fi
20354
20355 fi
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20357 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20358
20359
20360
20361 cat >>confdefs.h <<_ACEOF
20362 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20363 _ACEOF
20364
20365
20366
20367 case "${host}" in
20368 arm-*-linux* )
20369 # The cast to long int works around a bug in the HP C Compiler
20370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20372 # This bug is HP SR number 8606223364.
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20374 $as_echo_n "checking size of long long... " >&6; }
20375 if ${ac_cv_sizeof_long_long+:} false; then :
20376 $as_echo_n "(cached) " >&6
20377 else
20378 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20379
20380 else
20381 if test "$ac_cv_type_long_long" = yes; then
20382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20384 as_fn_error 77 "cannot compute sizeof (long long)
20385 See \`config.log' for more details" "$LINENO" 5; }
20386 else
20387 ac_cv_sizeof_long_long=0
20388 fi
20389 fi
20390
20391 fi
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20393 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20394
20395
20396
20397 cat >>confdefs.h <<_ACEOF
20398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20399 _ACEOF
20400
20401
20402 ;;
20403 *-hp-hpux* )
20404 # The cast to long int works around a bug in the HP C Compiler
20405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20407 # This bug is HP SR number 8606223364.
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20409 $as_echo_n "checking size of long long... " >&6; }
20410 if ${ac_cv_sizeof_long_long+:} false; then :
20411 $as_echo_n "(cached) " >&6
20412 else
20413 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20414
20415 else
20416 if test "$ac_cv_type_long_long" = yes; then
20417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20419 as_fn_error 77 "cannot compute sizeof (long long)
20420 See \`config.log' for more details" "$LINENO" 5; }
20421 else
20422 ac_cv_sizeof_long_long=0
20423 fi
20424 fi
20425
20426 fi
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20428 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20429
20430
20431
20432 cat >>confdefs.h <<_ACEOF
20433 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20434 _ACEOF
20435
20436
20437 if test "$ac_cv_sizeof_long_long" != 0; then
20438 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20439 fi
20440 ;;
20441 * )
20442 # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20447 $as_echo_n "checking size of long long... " >&6; }
20448 if ${ac_cv_sizeof_long_long+:} false; then :
20449 $as_echo_n "(cached) " >&6
20450 else
20451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20452
20453 else
20454 if test "$ac_cv_type_long_long" = yes; then
20455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20457 as_fn_error 77 "cannot compute sizeof (long long)
20458 See \`config.log' for more details" "$LINENO" 5; }
20459 else
20460 ac_cv_sizeof_long_long=0
20461 fi
20462 fi
20463
20464 fi
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20466 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20467
20468
20469
20470 cat >>confdefs.h <<_ACEOF
20471 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20472 _ACEOF
20473
20474
20475 esac
20476
20477 # The cast to long int works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20482 $as_echo_n "checking size of wchar_t... " >&6; }
20483 if ${ac_cv_sizeof_wchar_t+:} false; then :
20484 $as_echo_n "(cached) " >&6
20485 else
20486 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20487 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20488 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20489 # error \"fake wchar_t\"
20490 #endif
20491 #ifdef HAVE_WCHAR_H
20492 # ifdef __CYGWIN__
20493 # include <stddef.h>
20494 # endif
20495 # include <wchar.h>
20496 #endif
20497 #ifdef HAVE_STDLIB_H
20498 # include <stdlib.h>
20499 #endif
20500 #include <stdio.h>
20501
20502
20503 "; then :
20504
20505 else
20506 if test "$ac_cv_type_wchar_t" = yes; then
20507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20509 as_fn_error 77 "cannot compute sizeof (wchar_t)
20510 See \`config.log' for more details" "$LINENO" 5; }
20511 else
20512 ac_cv_sizeof_wchar_t=0
20513 fi
20514 fi
20515
20516 fi
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20518 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20519
20520
20521
20522 cat >>confdefs.h <<_ACEOF
20523 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20524 _ACEOF
20525
20526
20527 if test "$ac_cv_sizeof_wchar_t" = 0; then
20528 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20529 fi
20530 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20531
20532
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20534 $as_echo_n "checking for va_copy... " >&6; }
20535 if ${wx_cv_func_va_copy+:} false; then :
20536 $as_echo_n "(cached) " >&6
20537 else
20538
20539 ac_ext=cpp
20540 ac_cpp='$CXXCPP $CPPFLAGS'
20541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20544
20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20547
20548
20549 #include <stdarg.h>
20550 void foo(char *f, ...)
20551 {
20552 va_list ap1, ap2;
20553 va_start(ap1, f);
20554 va_copy(ap2, ap1);
20555 va_end(ap2);
20556 va_end(ap1);
20557 }
20558 int main()
20559 {
20560 foo("hi", 17);
20561 return 0;
20562 }
20563
20564 _ACEOF
20565 if ac_fn_cxx_try_link "$LINENO"; then :
20566 wx_cv_func_va_copy=yes
20567 else
20568 wx_cv_func_va_copy=no
20569
20570 fi
20571 rm -f core conftest.err conftest.$ac_objext \
20572 conftest$ac_exeext conftest.$ac_ext
20573 ac_ext=c
20574 ac_cpp='$CPP $CPPFLAGS'
20575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20578
20579
20580
20581 fi
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20583 $as_echo "$wx_cv_func_va_copy" >&6; }
20584
20585 if test $wx_cv_func_va_copy = "yes"; then
20586 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20587
20588 else
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20590 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20591 if ${wx_cv_type_va_list_lvalue+:} false; then :
20592 $as_echo_n "(cached) " >&6
20593 else
20594
20595 if test "$cross_compiling" = yes; then :
20596 wx_cv_type_va_list_lvalue=yes
20597
20598 else
20599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h. */
20601
20602
20603 #include <stdarg.h>
20604 int foo(char *f, ...)
20605 {
20606 va_list ap1, ap2;
20607 va_start(ap1, f);
20608 ap2 = ap1;
20609 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20610 return 1;
20611 va_end(ap2);
20612 va_end(ap1);
20613 return 0;
20614 }
20615 int main()
20616 {
20617 return foo("hi", 17);
20618 }
20619
20620 _ACEOF
20621 if ac_fn_c_try_run "$LINENO"; then :
20622 wx_cv_type_va_list_lvalue=yes
20623 else
20624 wx_cv_type_va_list_lvalue=no
20625 fi
20626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20627 conftest.$ac_objext conftest.beam conftest.$ac_ext
20628 fi
20629
20630
20631
20632 fi
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20634 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20635
20636 if test $wx_cv_type_va_list_lvalue != "yes"; then
20637 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20638
20639 fi
20640 fi
20641
20642 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20643
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20645 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20646 if ${wx_cv_have_variadic_macros+:} false; then :
20647 $as_echo_n "(cached) " >&6
20648 else
20649
20650 ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20655
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658
20659
20660 #include <stdio.h>
20661 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20662
20663 int
20664 main ()
20665 {
20666
20667 test("%s %d %p", "test", 1, 0);
20668
20669
20670 ;
20671 return 0;
20672 }
20673 _ACEOF
20674 if ac_fn_cxx_try_compile "$LINENO"; then :
20675 wx_cv_have_variadic_macros=yes
20676 else
20677 wx_cv_have_variadic_macros=no
20678
20679 fi
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681 ac_ext=c
20682 ac_cpp='$CPP $CPPFLAGS'
20683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20686
20687
20688
20689 fi
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20691 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20692
20693 if test $wx_cv_have_variadic_macros = "yes"; then
20694 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20695
20696 fi
20697
20698 fi
20699
20700 LARGEFILE_CPPFLAGS=
20701 # Check whether --enable-largefile was given.
20702 if test "${enable_largefile+set}" = set; then :
20703 enableval=$enable_largefile;
20704 fi
20705
20706 if test "$enable_largefile" != no; then
20707 wx_largefile=no
20708
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20710 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20711 if ${ac_cv_sys_file_offset_bits+:} false; then :
20712 $as_echo_n "(cached) " >&6
20713 else
20714
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #define _FILE_OFFSET_BITS 64
20718 #include <sys/types.h>
20719 int
20720 main ()
20721 {
20722 typedef struct {
20723 unsigned int field: sizeof(off_t) == 8;
20724 } wxlf;
20725
20726 ;
20727 return 0;
20728 }
20729 _ACEOF
20730 if ac_fn_c_try_compile "$LINENO"; then :
20731 ac_cv_sys_file_offset_bits=64
20732 else
20733 ac_cv_sys_file_offset_bits=no
20734 fi
20735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20736
20737
20738 fi
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20740 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20741
20742 if test "$ac_cv_sys_file_offset_bits" != no; then
20743 wx_largefile=yes
20744 cat >>confdefs.h <<_ACEOF
20745 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20746 _ACEOF
20747
20748 fi
20749
20750 if test "x$wx_largefile" != "xyes"; then
20751
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20753 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20754 if ${ac_cv_sys_large_files+:} false; then :
20755 $as_echo_n "(cached) " >&6
20756 else
20757
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #define _LARGE_FILES 1
20761 #include <sys/types.h>
20762 int
20763 main ()
20764 {
20765 typedef struct {
20766 unsigned int field: sizeof(off_t) == 8;
20767 } wxlf;
20768
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 if ac_fn_c_try_compile "$LINENO"; then :
20774 ac_cv_sys_large_files=1
20775 else
20776 ac_cv_sys_large_files=no
20777 fi
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779
20780
20781 fi
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20783 $as_echo "$ac_cv_sys_large_files" >&6; }
20784
20785 if test "$ac_cv_sys_large_files" != no; then
20786 wx_largefile=yes
20787 cat >>confdefs.h <<_ACEOF
20788 #define _LARGE_FILES $ac_cv_sys_large_files
20789 _ACEOF
20790
20791 fi
20792
20793 fi
20794
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20796 $as_echo_n "checking if large file support is available... " >&6; }
20797 if test "x$wx_largefile" = "xyes"; then
20798 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20799
20800 fi
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20802 $as_echo "$wx_largefile" >&6; }
20803 fi
20804
20805 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20806 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20807 elif test "$ac_cv_sys_large_files" = 1; then
20808 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20809 fi
20810
20811 if test -n "$LARGEFILE_CPPFLAGS"; then
20812 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20813
20814 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20816 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20817 if ${wx_cv_STDC_EXT_required+:} false; then :
20818 $as_echo_n "(cached) " >&6
20819 else
20820
20821 ac_ext=cpp
20822 ac_cpp='$CXXCPP $CPPFLAGS'
20823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20826
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20829
20830 int
20831 main ()
20832 {
20833
20834 #ifndef __STDC_EXT__
20835 choke me
20836 #endif
20837
20838 ;
20839 return 0;
20840 }
20841 _ACEOF
20842 if ac_fn_cxx_try_compile "$LINENO"; then :
20843 wx_cv_STDC_EXT_required=no
20844 else
20845 wx_cv_STDC_EXT_required=yes
20846
20847 fi
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 ac_ext=c
20850 ac_cpp='$CPP $CPPFLAGS'
20851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20854
20855
20856
20857 fi
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20859 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20860 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20861 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20862 fi
20863 fi
20864 fi
20865
20866 ac_ext=cpp
20867 ac_cpp='$CXXCPP $CPPFLAGS'
20868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20871
20872 old_CPPFLAGS="$CPPFLAGS"
20873 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20875 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20876 if ${ac_cv_sys_largefile_source+:} false; then :
20877 $as_echo_n "(cached) " >&6
20878 else
20879 while :; do
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #include <sys/types.h> /* for off_t */
20883 #include <stdio.h>
20884 int
20885 main ()
20886 {
20887 int (*fp) (FILE *, off_t, int) = fseeko;
20888 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20889 ;
20890 return 0;
20891 }
20892 _ACEOF
20893 if ac_fn_cxx_try_link "$LINENO"; then :
20894 ac_cv_sys_largefile_source=no; break
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext \
20897 conftest$ac_exeext conftest.$ac_ext
20898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20899 /* end confdefs.h. */
20900 #define _LARGEFILE_SOURCE 1
20901 #include <sys/types.h> /* for off_t */
20902 #include <stdio.h>
20903 int
20904 main ()
20905 {
20906 int (*fp) (FILE *, off_t, int) = fseeko;
20907 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20908 ;
20909 return 0;
20910 }
20911 _ACEOF
20912 if ac_fn_cxx_try_link "$LINENO"; then :
20913 ac_cv_sys_largefile_source=1; break
20914 fi
20915 rm -f core conftest.err conftest.$ac_objext \
20916 conftest$ac_exeext conftest.$ac_ext
20917 ac_cv_sys_largefile_source=unknown
20918 break
20919 done
20920 fi
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20922 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20923 case $ac_cv_sys_largefile_source in #(
20924 no | unknown) ;;
20925 *)
20926 cat >>confdefs.h <<_ACEOF
20927 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20928 _ACEOF
20929 ;;
20930 esac
20931 rm -rf conftest*
20932
20933 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20934 # in glibc 2.1.3, but that breaks too many other things.
20935 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20936 if test $ac_cv_sys_largefile_source != unknown; then
20937
20938 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20939
20940 fi
20941
20942 CPPFLAGS="$old_CPPFLAGS"
20943 ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948
20949 if test "$ac_cv_sys_largefile_source" != no; then
20950 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20951 fi
20952
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20954 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20955 if ${ac_cv_c_bigendian+:} false; then :
20956 $as_echo_n "(cached) " >&6
20957 else
20958 ac_cv_c_bigendian=unknown
20959 # See if sys/param.h defines the BYTE_ORDER macro.
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #include <sys/types.h>
20963 #include <sys/param.h>
20964 int
20965 main ()
20966 {
20967
20968 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20969 bogus endian macros
20970 #endif
20971 ;
20972 return 0;
20973 }
20974 _ACEOF
20975 if ac_fn_c_try_compile "$LINENO"; then :
20976 # It does; now see whether it defined to BIG_ENDIAN or not.
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <sys/types.h>
20980 #include <sys/param.h>
20981 int
20982 main ()
20983 {
20984
20985 #if BYTE_ORDER != BIG_ENDIAN
20986 not big endian
20987 #endif
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 if ac_fn_c_try_compile "$LINENO"; then :
20993 ac_cv_c_bigendian=yes
20994 else
20995 ac_cv_c_bigendian=no
20996 fi
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 fi
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21000 if test $ac_cv_c_bigendian = unknown; then
21001 if test "$cross_compiling" = yes; then :
21002 ac_cv_c_bigendian=unknown
21003 else
21004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21006 main () {
21007 /* Are we little or big endian? From Harbison&Steele. */
21008 union
21009 {
21010 long l;
21011 char c[sizeof (long)];
21012 } u;
21013 u.l = 1;
21014 exit (u.c[sizeof (long) - 1] == 1);
21015 }
21016 _ACEOF
21017 if ac_fn_c_try_run "$LINENO"; then :
21018 ac_cv_c_bigendian=no
21019 else
21020 ac_cv_c_bigendian=yes
21021 fi
21022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21023 conftest.$ac_objext conftest.beam conftest.$ac_ext
21024 fi
21025
21026 fi
21027 fi
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21029 $as_echo "$ac_cv_c_bigendian" >&6; }
21030 if test $ac_cv_c_bigendian = unknown; then
21031 { $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
21032 $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;}
21033 fi
21034 if test $ac_cv_c_bigendian = yes; then
21035 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21036
21037 fi
21038
21039
21040
21041
21042 ac_ext=cpp
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047
21048
21049 for ac_header in iostream
21050 do :
21051 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21052 "
21053 if test "x$ac_cv_header_iostream" = xyes; then :
21054 cat >>confdefs.h <<_ACEOF
21055 #define HAVE_IOSTREAM 1
21056 _ACEOF
21057
21058 fi
21059
21060 done
21061
21062
21063 if test "$ac_cv_header_iostream" = "yes" ; then
21064 :
21065 else
21066 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21067
21068 fi
21069
21070 ac_ext=c
21071 ac_cpp='$CPP $CPPFLAGS'
21072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21075
21076
21077
21078
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21080 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21081 if ${wx_cv_explicit+:} false; then :
21082 $as_echo_n "(cached) " >&6
21083 else
21084
21085
21086 ac_ext=cpp
21087 ac_cpp='$CXXCPP $CPPFLAGS'
21088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21091
21092
21093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21095
21096 class Foo { public: explicit Foo(int) {} };
21097
21098 int
21099 main ()
21100 {
21101
21102 return 0;
21103
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109
21110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h. */
21112
21113 class Foo { public: explicit Foo(int) {} };
21114 static void TakeFoo(const Foo& foo) { }
21115
21116 int
21117 main ()
21118 {
21119
21120 TakeFoo(17);
21121 return 0;
21122
21123 ;
21124 return 0;
21125 }
21126 _ACEOF
21127 if ac_fn_cxx_try_compile "$LINENO"; then :
21128 wx_cv_explicit=no
21129 else
21130 wx_cv_explicit=yes
21131
21132 fi
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134
21135 else
21136 wx_cv_explicit=no
21137
21138 fi
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140
21141 ac_ext=c
21142 ac_cpp='$CPP $CPPFLAGS'
21143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146
21147
21148 fi
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21150 $as_echo "$wx_cv_explicit" >&6; }
21151
21152 if test "$wx_cv_explicit" = "yes"; then
21153 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21154
21155 fi
21156
21157
21158 if test "x$SUNCXX" = xyes; then
21159 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21160 fi
21161
21162 if test "x$SUNCC" = xyes; then
21163 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21164 fi
21165
21166 if test "x$SGICC" = "xyes"; then
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21168 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21169 if ${wx_cv_prog_sgicc744+:} false; then :
21170 $as_echo_n "(cached) " >&6
21171 else
21172
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21175
21176 int
21177 main ()
21178 {
21179
21180 #if _SGI_COMPILER_VERSION >= 744
21181 chock me: mipsPro is 7.4.4 or later
21182 #endif
21183
21184 ;
21185 return 0;
21186 }
21187 _ACEOF
21188 if ac_fn_c_try_compile "$LINENO"; then :
21189 wx_cv_prog_sgicc744=no
21190 else
21191 wx_cv_prog_sgicc744=yes
21192
21193 fi
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195
21196
21197 fi
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21199 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21200
21201 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21202 CFLAGS="-woff 3970 $CFLAGS"
21203 fi
21204 fi
21205 if test "x$SGICXX" = "xyes"; then
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21207 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21208 if ${wx_cv_prog_sgicxx744+:} false; then :
21209 $as_echo_n "(cached) " >&6
21210 else
21211
21212 ac_ext=cpp
21213 ac_cpp='$CXXCPP $CPPFLAGS'
21214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21217
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220
21221 int
21222 main ()
21223 {
21224
21225 #if _SGI_COMPILER_VERSION >= 744
21226 chock me: mipsPro is 7.4.4 or later
21227 #endif
21228
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 if ac_fn_cxx_try_compile "$LINENO"; then :
21234 wx_cv_prog_sgicxx744=no
21235 else
21236 wx_cv_prog_sgicxx744=yes
21237
21238 fi
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 ac_ext=c
21241 ac_cpp='$CPP $CPPFLAGS'
21242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21245
21246
21247
21248 fi
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21250 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21251
21252 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21253 CXXFLAGS="-woff 3970 $CXXFLAGS"
21254 fi
21255 fi
21256
21257 if test "x$HPCC" = "xyes"; then
21258 CFLAGS="+W 2011,2450 $CFLAGS"
21259 fi
21260 if test "x$HPCXX" = "xyes"; then
21261 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21262 fi
21263
21264 if test "x$COMPAQCXX" = "xyes"; then
21265 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21266 fi
21267
21268 ac_ext=cpp
21269 ac_cpp='$CXXCPP $CPPFLAGS'
21270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21273
21274
21275 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21276 if test "$wxUSE_UNICODE" = "yes"; then
21277 std_string="std::wstring"
21278 char_type="wchar_t"
21279 else
21280 std_string="std::string"
21281 char_type="char"
21282 fi
21283
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21285 $as_echo_n "checking for $std_string in <string>... " >&6; }
21286 if ${wx_cv_class_stdstring+:} false; then :
21287 $as_echo_n "(cached) " >&6
21288 else
21289
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21292 #include <string>
21293 int
21294 main ()
21295 {
21296 $std_string foo;
21297 ;
21298 return 0;
21299 }
21300 _ACEOF
21301 if ac_fn_cxx_try_compile "$LINENO"; then :
21302 wx_cv_class_stdstring=yes
21303 else
21304 wx_cv_class_stdstring=no
21305
21306 fi
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308
21309
21310 fi
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21312 $as_echo "$wx_cv_class_stdstring" >&6; }
21313
21314 if test "$wx_cv_class_stdstring" = yes; then
21315 if test "$wxUSE_UNICODE" = "yes"; then
21316 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21317
21318 fi
21319 else
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21321 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21322 if ${wx_cv_class_stdbasicstring+:} false; then :
21323 $as_echo_n "(cached) " >&6
21324 else
21325
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21328
21329 #ifdef HAVE_WCHAR_H
21330 # ifdef __CYGWIN__
21331 # include <stddef.h>
21332 # endif
21333 # include <wchar.h>
21334 #endif
21335 #ifdef HAVE_STDLIB_H
21336 # include <stdlib.h>
21337 #endif
21338 #include <stdio.h>
21339 #include <string>
21340
21341 int
21342 main ()
21343 {
21344 std::basic_string<$char_type> foo;
21345 const $char_type* dummy = foo.c_str();
21346 ;
21347 return 0;
21348 }
21349 _ACEOF
21350 if ac_fn_cxx_try_compile "$LINENO"; then :
21351 wx_cv_class_stdbasicstring=yes
21352 else
21353 wx_cv_class_stdbasicstring=no
21354
21355 fi
21356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21357
21358
21359 fi
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21361 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21362
21363 if test "$wx_cv_class_stdbasicstring" != yes; then
21364 if test "$wxUSE_STL" = "yes"; then
21365 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21366 elif test "$wxUSE_STD_STRING" = "yes"; then
21367 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21368 else
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21370 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21371 wxUSE_STD_STRING=no
21372 fi
21373 fi
21374 fi
21375 fi
21376
21377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21378 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21379 "
21380 if test "x$ac_cv_type_std__istream" = xyes; then :
21381
21382 cat >>confdefs.h <<_ACEOF
21383 #define HAVE_STD__ISTREAM 1
21384 _ACEOF
21385
21386
21387 else
21388 wxUSE_STD_IOSTREAM=no
21389 fi
21390 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21391 "
21392 if test "x$ac_cv_type_std__ostream" = xyes; then :
21393
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_STD__OSTREAM 1
21396 _ACEOF
21397
21398
21399 else
21400 wxUSE_STD_IOSTREAM=no
21401 fi
21402
21403
21404 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21405 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21406 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21407 else
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21409 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21410 fi
21411 fi
21412 fi
21413
21414 if test "$wxUSE_STL" = "yes"; then
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21416 $as_echo_n "checking for basic STL functionality... " >&6; }
21417 if ${wx_cv_lib_stl+:} false; then :
21418 $as_echo_n "(cached) " >&6
21419 else
21420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h. */
21422 #include <string>
21423 #include <functional>
21424 #include <algorithm>
21425 #include <vector>
21426 #include <list>
21427 int
21428 main ()
21429 {
21430 std::vector<int> moo;
21431 std::list<int> foo;
21432 std::vector<int>::iterator it =
21433 std::find_if(moo.begin(), moo.end(),
21434 std::bind2nd(std::less<int>(), 3));
21435 ;
21436 return 0;
21437 }
21438 _ACEOF
21439 if ac_fn_cxx_try_compile "$LINENO"; then :
21440 wx_cv_lib_stl=yes
21441 else
21442 wx_cv_lib_stl=no
21443
21444 fi
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446
21447 fi
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21449 $as_echo "$wx_cv_lib_stl" >&6; }
21450
21451 if test "$wx_cv_lib_stl" != yes; then
21452 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21453 fi
21454
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21456 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21457 if ${wx_cv_func_stdstring_compare+:} false; then :
21458 $as_echo_n "(cached) " >&6
21459 else
21460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21461 /* end confdefs.h. */
21462 #include <string>
21463 int
21464 main ()
21465 {
21466 std::string foo, bar;
21467 foo.compare(bar);
21468 foo.compare(1, 1, bar);
21469 foo.compare(1, 1, bar, 1, 1);
21470 foo.compare("");
21471 foo.compare(1, 1, "");
21472 foo.compare(1, 1, "", 2);
21473 ;
21474 return 0;
21475 }
21476 _ACEOF
21477 if ac_fn_cxx_try_compile "$LINENO"; then :
21478 wx_cv_func_stdstring_compare=yes
21479 else
21480 wx_cv_func_stdstring_compare=no
21481
21482 fi
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484
21485 fi
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21487 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21488
21489 if test "$wx_cv_func_stdstring_compare" = yes; then
21490 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21491
21492 fi
21493
21494 if test "$wx_cv_class_gnuhashmapset" = yes; then
21495 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21496
21497 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21498
21499 fi
21500
21501 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21502
21503 "
21504 if test "x$ac_cv_header_unordered_map" = xyes; then :
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21506 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21507 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21508 $as_echo_n "(cached) " >&6
21509 else
21510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h. */
21512 #include <unordered_map>
21513 #include <unordered_set>
21514 int
21515 main ()
21516 {
21517 std::unordered_map<double*, char*> test1;
21518 std::unordered_set<char*> test2;
21519 ;
21520 return 0;
21521 }
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524 wx_cv_class_stdunorderedmapset=yes
21525 else
21526 wx_cv_class_stdunorderedmapset=no
21527 fi
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529
21530
21531 fi
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21533 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21534 fi
21535
21536
21537
21538 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21539 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21540
21541 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21542
21543 else
21544 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21545
21546 "
21547 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21549 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21550 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21551 $as_echo_n "(cached) " >&6
21552 else
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21555 #include <tr1/unordered_map>
21556 #include <tr1/unordered_set>
21557 int
21558 main ()
21559 {
21560 std::tr1::unordered_map<double*, char*> test1;
21561 std::tr1::unordered_set<char*> test2;
21562 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21563 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21564 #endif
21565 ;
21566 return 0;
21567 }
21568 _ACEOF
21569 if ac_fn_cxx_try_compile "$LINENO"; then :
21570 wx_cv_class_tr1unorderedmapset=yes
21571 else
21572 wx_cv_class_tr1unorderedmapset=no
21573 fi
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575
21576
21577 fi
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21579 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21580 fi
21581
21582
21583
21584 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21585 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21586
21587 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21588
21589 else
21590 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21591
21592 "
21593 if test "x$ac_cv_header_hash_map" = xyes; then :
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21595 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21596 if ${wx_cv_class_stdhashmapset+:} false; then :
21597 $as_echo_n "(cached) " >&6
21598 else
21599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21601 #include <hash_map>
21602 #include <hash_set>
21603 int
21604 main ()
21605 {
21606 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21607 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21608 ;
21609 return 0;
21610 }
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613 wx_cv_class_stdhashmapset=yes
21614 else
21615 wx_cv_class_stdhashmapset=no
21616 fi
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618
21619
21620 fi
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21622 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21623 fi
21624
21625
21626
21627 if test "$wx_cv_class_stdhashmapset" = yes; then
21628 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21629
21630 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21631
21632 fi
21633
21634 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21635
21636 "
21637 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21639 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21640 if ${wx_cv_class_gnuhashmapset+:} false; then :
21641 $as_echo_n "(cached) " >&6
21642 else
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <ext/hash_map>
21646 #include <ext/hash_set>
21647 int
21648 main ()
21649 {
21650 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21651 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21652 ;
21653 return 0;
21654 }
21655 _ACEOF
21656 if ac_fn_cxx_try_compile "$LINENO"; then :
21657 wx_cv_class_gnuhashmapset=yes
21658 else
21659 wx_cv_class_gnuhashmapset=no
21660 fi
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21662
21663
21664 fi
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21666 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21667 fi
21668
21669
21670
21671 fi
21672 fi
21673 fi
21674
21675 ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21681 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21682 if test -z "$CXXCPP"; then
21683 if ${ac_cv_prog_CXXCPP+:} false; then :
21684 $as_echo_n "(cached) " >&6
21685 else
21686 # Double quotes because CXXCPP needs to be expanded
21687 for CXXCPP in "$CXX -E" "/lib/cpp"
21688 do
21689 ac_preproc_ok=false
21690 for ac_cxx_preproc_warn_flag in '' yes
21691 do
21692 # Use a header file that comes with gcc, so configuring glibc
21693 # with a fresh cross-compiler works.
21694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21695 # <limits.h> exists even on freestanding compilers.
21696 # On the NeXT, cc -E runs the code through the compiler's parser,
21697 # not just through cpp. "Syntax error" is here to catch this case.
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21700 #ifdef __STDC__
21701 # include <limits.h>
21702 #else
21703 # include <assert.h>
21704 #endif
21705 Syntax error
21706 _ACEOF
21707 if ac_fn_cxx_try_cpp "$LINENO"; then :
21708
21709 else
21710 # Broken: fails on valid input.
21711 continue
21712 fi
21713 rm -f conftest.err conftest.i conftest.$ac_ext
21714
21715 # OK, works on sane cases. Now check whether nonexistent headers
21716 # can be detected and how.
21717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21719 #include <ac_nonexistent.h>
21720 _ACEOF
21721 if ac_fn_cxx_try_cpp "$LINENO"; then :
21722 # Broken: success on invalid input.
21723 continue
21724 else
21725 # Passes both tests.
21726 ac_preproc_ok=:
21727 break
21728 fi
21729 rm -f conftest.err conftest.i conftest.$ac_ext
21730
21731 done
21732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21733 rm -f conftest.i conftest.err conftest.$ac_ext
21734 if $ac_preproc_ok; then :
21735 break
21736 fi
21737
21738 done
21739 ac_cv_prog_CXXCPP=$CXXCPP
21740
21741 fi
21742 CXXCPP=$ac_cv_prog_CXXCPP
21743 else
21744 ac_cv_prog_CXXCPP=$CXXCPP
21745 fi
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21747 $as_echo "$CXXCPP" >&6; }
21748 ac_preproc_ok=false
21749 for ac_cxx_preproc_warn_flag in '' yes
21750 do
21751 # Use a header file that comes with gcc, so configuring glibc
21752 # with a fresh cross-compiler works.
21753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21754 # <limits.h> exists even on freestanding compilers.
21755 # On the NeXT, cc -E runs the code through the compiler's parser,
21756 # not just through cpp. "Syntax error" is here to catch this case.
21757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21759 #ifdef __STDC__
21760 # include <limits.h>
21761 #else
21762 # include <assert.h>
21763 #endif
21764 Syntax error
21765 _ACEOF
21766 if ac_fn_cxx_try_cpp "$LINENO"; then :
21767
21768 else
21769 # Broken: fails on valid input.
21770 continue
21771 fi
21772 rm -f conftest.err conftest.i conftest.$ac_ext
21773
21774 # OK, works on sane cases. Now check whether nonexistent headers
21775 # can be detected and how.
21776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h. */
21778 #include <ac_nonexistent.h>
21779 _ACEOF
21780 if ac_fn_cxx_try_cpp "$LINENO"; then :
21781 # Broken: success on invalid input.
21782 continue
21783 else
21784 # Passes both tests.
21785 ac_preproc_ok=:
21786 break
21787 fi
21788 rm -f conftest.err conftest.i conftest.$ac_ext
21789
21790 done
21791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21792 rm -f conftest.i conftest.err conftest.$ac_ext
21793 if $ac_preproc_ok; then :
21794
21795 else
21796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21798 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21799 See \`config.log' for more details" "$LINENO" 5; }
21800 fi
21801
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21807
21808
21809 for ac_header in type_traits tr1/type_traits
21810 do :
21811 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21812 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21813 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21814 cat >>confdefs.h <<_ACEOF
21815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21816 _ACEOF
21817
21818 fi
21819
21820 done
21821
21822
21823
21824
21825 if test -n "$GCC"; then
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21827 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21828 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21829 $as_echo_n "(cached) " >&6
21830 else
21831
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21834
21835 int
21836 main ()
21837 {
21838
21839 unsigned int value=0;
21840 /* wxAtomicInc doesn't use return value here */
21841 __sync_fetch_and_add(&value, 2);
21842 __sync_sub_and_fetch(&value, 1);
21843 /* but wxAtomicDec does, so mimic that: */
21844 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21845
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 if ac_fn_cxx_try_link "$LINENO"; then :
21851 wx_cv_cc_gcc_atomic_builtins=yes
21852 else
21853 wx_cv_cc_gcc_atomic_builtins=no
21854 fi
21855 rm -f core conftest.err conftest.$ac_objext \
21856 conftest$ac_exeext conftest.$ac_ext
21857
21858 fi
21859
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21861 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21862 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21863 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21864
21865 fi
21866 fi
21867
21868
21869 ac_ext=c
21870 ac_cpp='$CPP $CPPFLAGS'
21871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21874
21875
21876
21877 SEARCH_INCLUDE="\
21878 /usr/local/include \
21879 /usr/local/X11/include \
21880 /usr/local/include/X11 \
21881 /usr/local/X11R7/include \
21882 /usr/local/X11R6/include \
21883 /usr/local/include/X11R7 \
21884 /usr/local/include/X11R6 \
21885 \
21886 /usr/Motif-2.1/include \
21887 /usr/Motif-1.2/include \
21888 /usr/include/Motif1.2 \
21889 \
21890 /usr/dt/include \
21891 /usr/openwin/include \
21892 \
21893 /usr/include/Xm \
21894 \
21895 /usr/X11R7/include \
21896 /usr/X11R6/include \
21897 /usr/X11R6.4/include \
21898 \
21899 /usr/include/X11R7 \
21900 /usr/include/X11R6 \
21901 \
21902 /usr/X11/include \
21903 /usr/include/X11 \
21904 \
21905 /usr/XFree86/include/X11 \
21906 /usr/pkg/include \
21907 \
21908 /usr/local/X1R5/include \
21909 /usr/local/include/X11R5 \
21910 /usr/X11R5/include \
21911 /usr/include/X11R5 \
21912 \
21913 /usr/local/X11R4/include \
21914 /usr/local/include/X11R4 \
21915 /usr/X11R4/include \
21916 /usr/include/X11R4 \
21917 \
21918 /usr/openwin/share/include"
21919
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21921 $as_echo_n "checking for libraries directories... " >&6; }
21922
21923 case "${host}" in
21924 *-*-irix6* )
21925 if ${wx_cv_std_libpath+:} false; then :
21926 $as_echo_n "(cached) " >&6
21927 else
21928
21929 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21930 for e in a so sl dylib dll.a; do
21931 libc="$d/libc.$e"
21932 if test -f $libc; then
21933 save_LIBS="$LIBS"
21934 LIBS="$libc"
21935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21936 /* end confdefs.h. */
21937
21938 int main() { return 0; }
21939
21940 _ACEOF
21941 if ac_fn_c_try_link "$LINENO"; then :
21942 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext \
21945 conftest$ac_exeext conftest.$ac_ext
21946 LIBS="$save_LIBS"
21947 if test "x$wx_cv_std_libpath" != "x"; then
21948 break 2
21949 fi
21950 fi
21951 done
21952 done
21953
21954
21955 fi
21956
21957 ;;
21958
21959 *-*-solaris2* )
21960 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21961 wx_cv_std_libpath="lib/64"
21962 fi
21963 ;;
21964
21965 *-*-linux* )
21966 if test "$ac_cv_sizeof_void_p" = 8; then
21967 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21968 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21969 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21970 wx_cv_std_libpath="lib64"
21971 fi
21972 else
21973 case "${host}" in
21974 i*86-*-linux* )
21975 if test -d '/usr/lib/i386-linux-gnu'; then
21976 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21977 fi
21978 esac
21979 fi
21980
21981 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21982 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21983 fi
21984 ;;
21985 esac
21986
21987 if test -z "$wx_cv_std_libpath"; then
21988 wx_cv_std_libpath="lib"
21989 fi
21990
21991 if test -z "$wx_cv_std_libfullpath"; then
21992 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21993 fi
21994
21995
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21997 $as_echo "$wx_cv_std_libfullpath" >&6; }
21998
21999 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22000
22001 if test "$build" != "$host" -a "$GCC" = yes; then
22002 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22003 cross_root=`dirname $cross_root`
22004 cross_root=`dirname $cross_root`
22005
22006 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22007 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22008 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
22009
22010 if test -z "$PKG_CONFIG_PATH"; then
22011 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22012 export PKG_CONFIG_PATH
22013 fi
22014
22015 if test -z "$x_includes" -o "$x_includes" = NONE; then
22016
22017 ac_find_includes=
22018 for ac_dir in $SEARCH_INCLUDE /usr/include
22019 do
22020 if test -f "$ac_dir/X11/Intrinsic.h"; then
22021 ac_find_includes=$ac_dir
22022 break
22023 fi
22024 done
22025
22026 x_includes=$ac_find_includes
22027 fi
22028 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22029
22030 ac_find_libraries=
22031 for ac_dir in $SEARCH_LIB
22032 do
22033 for ac_extension in a so sl dylib dll.a; do
22034 if test -f "$ac_dir/libXt.$ac_extension"; then
22035 ac_find_libraries=$ac_dir
22036 break 2
22037 fi
22038 done
22039 done
22040
22041 x_libraries=$ac_find_libraries
22042 fi
22043 fi
22044 fi
22045
22046
22047 cat >confcache <<\_ACEOF
22048 # This file is a shell script that caches the results of configure
22049 # tests run on this system so they can be shared between configure
22050 # scripts and configure runs, see configure's option --config-cache.
22051 # It is not useful on other systems. If it contains results you don't
22052 # want to keep, you may remove or edit it.
22053 #
22054 # config.status only pays attention to the cache file if you give it
22055 # the --recheck option to rerun configure.
22056 #
22057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22059 # following values.
22060
22061 _ACEOF
22062
22063 # The following way of writing the cache mishandles newlines in values,
22064 # but we know of no workaround that is simple, portable, and efficient.
22065 # So, we kill variables containing newlines.
22066 # Ultrix sh set writes to stderr and can't be redirected directly,
22067 # and sets the high bit in the cache file unless we assign to the vars.
22068 (
22069 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22070 eval ac_val=\$$ac_var
22071 case $ac_val in #(
22072 *${as_nl}*)
22073 case $ac_var in #(
22074 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22076 esac
22077 case $ac_var in #(
22078 _ | IFS | as_nl) ;; #(
22079 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22080 *) { eval $ac_var=; unset $ac_var;} ;;
22081 esac ;;
22082 esac
22083 done
22084
22085 (set) 2>&1 |
22086 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22087 *${as_nl}ac_space=\ *)
22088 # `set' does not quote correctly, so add quotes: double-quote
22089 # substitution turns \\\\ into \\, and sed turns \\ into \.
22090 sed -n \
22091 "s/'/'\\\\''/g;
22092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22093 ;; #(
22094 *)
22095 # `set' quotes correctly as required by POSIX, so do not add quotes.
22096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22097 ;;
22098 esac |
22099 sort
22100 ) |
22101 sed '
22102 /^ac_cv_env_/b end
22103 t clear
22104 :clear
22105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22106 t end
22107 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22108 :end' >>confcache
22109 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22110 if test -w "$cache_file"; then
22111 if test "x$cache_file" != "x/dev/null"; then
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22113 $as_echo "$as_me: updating cache $cache_file" >&6;}
22114 if test ! -f "$cache_file" || test -h "$cache_file"; then
22115 cat confcache >"$cache_file"
22116 else
22117 case $cache_file in #(
22118 */* | ?:*)
22119 mv -f confcache "$cache_file"$$ &&
22120 mv -f "$cache_file"$$ "$cache_file" ;; #(
22121 *)
22122 mv -f confcache "$cache_file" ;;
22123 esac
22124 fi
22125 fi
22126 else
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22128 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22129 fi
22130 fi
22131 rm -f confcache
22132
22133 have_cos=0
22134 have_floor=0
22135 for ac_func in cos
22136 do :
22137 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22138 if test "x$ac_cv_func_cos" = xyes; then :
22139 cat >>confdefs.h <<_ACEOF
22140 #define HAVE_COS 1
22141 _ACEOF
22142 have_cos=1
22143 fi
22144 done
22145
22146 for ac_func in floor
22147 do :
22148 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22149 if test "x$ac_cv_func_floor" = xyes; then :
22150 cat >>confdefs.h <<_ACEOF
22151 #define HAVE_FLOOR 1
22152 _ACEOF
22153 have_floor=1
22154 fi
22155 done
22156
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22158 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22159 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22161 $as_echo "yes" >&6; }
22162 else
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22165 LIBS="$LIBS -lm"
22166 # use different functions to avoid configure caching
22167 have_sin=0
22168 have_ceil=0
22169 for ac_func in sin
22170 do :
22171 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22172 if test "x$ac_cv_func_sin" = xyes; then :
22173 cat >>confdefs.h <<_ACEOF
22174 #define HAVE_SIN 1
22175 _ACEOF
22176 have_sin=1
22177 fi
22178 done
22179
22180 for ac_func in ceil
22181 do :
22182 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22183 if test "x$ac_cv_func_ceil" = xyes; then :
22184 cat >>confdefs.h <<_ACEOF
22185 #define HAVE_CEIL 1
22186 _ACEOF
22187 have_ceil=1
22188 fi
22189 done
22190
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22192 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22193 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22195 $as_echo "yes" >&6; }
22196 else
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22198 $as_echo "no" >&6; }
22199 # not sure we should warn the user, crash, etc.
22200 fi
22201 fi
22202
22203 ac_ext=cpp
22204 ac_cpp='$CXXCPP $CPPFLAGS'
22205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22208
22209 if test "wxUSE_UNICODE" = "yes"; then
22210
22211 for wx_func in wcstoull
22212 do
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22214 $as_echo_n "checking for $wx_func... " >&6; }
22215 if eval \${wx_cv_func_$wx_func+:} false; then :
22216 $as_echo_n "(cached) " >&6
22217 else
22218
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221
22222
22223
22224 $ac_includes_default
22225
22226 int
22227 main ()
22228 {
22229
22230 #ifndef $wx_func
22231 &$wx_func;
22232 #endif
22233
22234
22235 ;
22236 return 0;
22237 }
22238
22239 _ACEOF
22240 if ac_fn_cxx_try_link "$LINENO"; then :
22241 eval wx_cv_func_$wx_func=yes
22242 else
22243 eval wx_cv_func_$wx_func=no
22244 fi
22245 rm -f core conftest.err conftest.$ac_objext \
22246 conftest$ac_exeext conftest.$ac_ext
22247
22248 fi
22249 eval ac_res=\$wx_cv_func_$wx_func
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22251 $as_echo "$ac_res" >&6; }
22252
22253 if eval test \$wx_cv_func_$wx_func = yes
22254 then
22255 cat >>confdefs.h <<_ACEOF
22256 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22257 _ACEOF
22258
22259
22260 else
22261 :
22262
22263 fi
22264 done
22265
22266 else
22267
22268 for wx_func in strtoull
22269 do
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22271 $as_echo_n "checking for $wx_func... " >&6; }
22272 if eval \${wx_cv_func_$wx_func+:} false; then :
22273 $as_echo_n "(cached) " >&6
22274 else
22275
22276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h. */
22278
22279
22280
22281 $ac_includes_default
22282
22283 int
22284 main ()
22285 {
22286
22287 #ifndef $wx_func
22288 &$wx_func;
22289 #endif
22290
22291
22292 ;
22293 return 0;
22294 }
22295
22296 _ACEOF
22297 if ac_fn_cxx_try_link "$LINENO"; then :
22298 eval wx_cv_func_$wx_func=yes
22299 else
22300 eval wx_cv_func_$wx_func=no
22301 fi
22302 rm -f core conftest.err conftest.$ac_objext \
22303 conftest$ac_exeext conftest.$ac_ext
22304
22305 fi
22306 eval ac_res=\$wx_cv_func_$wx_func
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22308 $as_echo "$ac_res" >&6; }
22309
22310 if eval test \$wx_cv_func_$wx_func = yes
22311 then
22312 cat >>confdefs.h <<_ACEOF
22313 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22314 _ACEOF
22315
22316
22317 else
22318 :
22319
22320 fi
22321 done
22322
22323 fi
22324 ac_ext=c
22325 ac_cpp='$CPP $CPPFLAGS'
22326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329
22330
22331
22332
22333 if test "$wxUSE_REGEX" != "no"; then
22334 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22335
22336
22337 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22339 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22340 wxUSE_REGEX=builtin
22341 fi
22342
22343 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22344 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22345 "
22346 if test "x$ac_cv_header_regex_h" = xyes; then :
22347 for ac_func in regcomp re_search
22348 do :
22349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22351 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22352 cat >>confdefs.h <<_ACEOF
22353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22354 _ACEOF
22355
22356 fi
22357 done
22358
22359 fi
22360
22361
22362
22363 if test "x$ac_cv_func_regcomp" != "xyes"; then
22364 if test "$wxUSE_REGEX" = "sys" ; then
22365 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22366 else
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22368 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22369 wxUSE_REGEX=builtin
22370 fi
22371 else
22372 wxUSE_REGEX=sys
22373 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22374
22375 fi
22376 fi
22377 fi
22378
22379
22380 ZLIB_LINK=
22381 if test "$wxUSE_ZLIB" != "no" ; then
22382 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22383
22384
22385 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22386 if test "$USE_DARWIN" = 1; then
22387 system_zlib_h_ok="yes"
22388 else
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22390 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22391 if ${ac_cv_header_zlib_h+:} false; then :
22392 $as_echo_n "(cached) " >&6
22393 else
22394 if test "$cross_compiling" = yes; then :
22395 unset ac_cv_header_zlib_h
22396
22397 else
22398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h. */
22400
22401 #include <zlib.h>
22402 #include <stdio.h>
22403
22404 int main()
22405 {
22406 FILE *f=fopen("conftestval", "w");
22407 if (!f) exit(1);
22408 fprintf(f, "%s",
22409 ZLIB_VERSION[0] == '1' &&
22410 (ZLIB_VERSION[2] > '1' ||
22411 (ZLIB_VERSION[2] == '1' &&
22412 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22413 exit(0);
22414 }
22415
22416 _ACEOF
22417 if ac_fn_c_try_run "$LINENO"; then :
22418 ac_cv_header_zlib_h=`cat conftestval`
22419 else
22420 ac_cv_header_zlib_h=no
22421 fi
22422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22423 conftest.$ac_objext conftest.beam conftest.$ac_ext
22424 fi
22425
22426
22427 fi
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22429 $as_echo "$ac_cv_header_zlib_h" >&6; }
22430 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22431 "
22432 if test "x$ac_cv_header_zlib_h" = xyes; then :
22433
22434 fi
22435
22436
22437
22438 system_zlib_h_ok=$ac_cv_header_zlib_h
22439 fi
22440
22441 if test "$system_zlib_h_ok" = "yes"; then
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22443 $as_echo_n "checking for deflate in -lz... " >&6; }
22444 if ${ac_cv_lib_z_deflate+:} false; then :
22445 $as_echo_n "(cached) " >&6
22446 else
22447 ac_check_lib_save_LIBS=$LIBS
22448 LIBS="-lz $LIBS"
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22451
22452 /* Override any GCC internal prototype to avoid an error.
22453 Use char because int might match the return type of a GCC
22454 builtin and then its argument prototype would still apply. */
22455 #ifdef __cplusplus
22456 extern "C"
22457 #endif
22458 char deflate ();
22459 int
22460 main ()
22461 {
22462 return deflate ();
22463 ;
22464 return 0;
22465 }
22466 _ACEOF
22467 if ac_fn_c_try_link "$LINENO"; then :
22468 ac_cv_lib_z_deflate=yes
22469 else
22470 ac_cv_lib_z_deflate=no
22471 fi
22472 rm -f core conftest.err conftest.$ac_objext \
22473 conftest$ac_exeext conftest.$ac_ext
22474 LIBS=$ac_check_lib_save_LIBS
22475 fi
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22477 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22478 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22479 ZLIB_LINK=" -lz"
22480 fi
22481
22482 fi
22483
22484 if test "x$ZLIB_LINK" = "x" ; then
22485 if test "$wxUSE_ZLIB" = "sys" ; then
22486 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22487 else
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22489 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22490 wxUSE_ZLIB=builtin
22491 fi
22492 else
22493 wxUSE_ZLIB=sys
22494 fi
22495 fi
22496 fi
22497
22498
22499 PNG_LINK=
22500 if test "$wxUSE_LIBPNG" != "no" ; then
22501 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22502
22503
22504 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22506 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22507 wxUSE_LIBPNG=builtin
22508 fi
22509
22510 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22512 $as_echo_n "checking for png.h > 0.90... " >&6; }
22513 if ${ac_cv_header_png_h+:} false; then :
22514 $as_echo_n "(cached) " >&6
22515 else
22516 if test "$cross_compiling" = yes; then :
22517 unset ac_cv_header_png_h
22518
22519 else
22520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22522
22523 #include <png.h>
22524 #include <stdio.h>
22525
22526 int main()
22527 {
22528 FILE *f=fopen("conftestval", "w");
22529 if (!f) exit(1);
22530 fprintf(f, "%s",
22531 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22532 exit(0);
22533 }
22534
22535 _ACEOF
22536 if ac_fn_c_try_run "$LINENO"; then :
22537 ac_cv_header_png_h=`cat conftestval`
22538 else
22539 ac_cv_header_png_h=no
22540 fi
22541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22542 conftest.$ac_objext conftest.beam conftest.$ac_ext
22543 fi
22544
22545
22546 fi
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22548 $as_echo "$ac_cv_header_png_h" >&6; }
22549 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22550 "
22551 if test "x$ac_cv_header_png_h" = xyes; then :
22552
22553 fi
22554
22555
22556
22557 if test "$ac_cv_header_png_h" = "yes"; then
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22559 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22560 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22561 $as_echo_n "(cached) " >&6
22562 else
22563 ac_check_lib_save_LIBS=$LIBS
22564 LIBS="-lpng -lz -lm $LIBS"
22565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22566 /* end confdefs.h. */
22567
22568 /* Override any GCC internal prototype to avoid an error.
22569 Use char because int might match the return type of a GCC
22570 builtin and then its argument prototype would still apply. */
22571 #ifdef __cplusplus
22572 extern "C"
22573 #endif
22574 char png_sig_cmp ();
22575 int
22576 main ()
22577 {
22578 return png_sig_cmp ();
22579 ;
22580 return 0;
22581 }
22582 _ACEOF
22583 if ac_fn_c_try_link "$LINENO"; then :
22584 ac_cv_lib_png_png_sig_cmp=yes
22585 else
22586 ac_cv_lib_png_png_sig_cmp=no
22587 fi
22588 rm -f core conftest.err conftest.$ac_objext \
22589 conftest$ac_exeext conftest.$ac_ext
22590 LIBS=$ac_check_lib_save_LIBS
22591 fi
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22593 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22594 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22595 PNG_LINK=" -lpng -lz"
22596 fi
22597
22598 fi
22599
22600 if test "x$PNG_LINK" = "x" ; then
22601 if test "$wxUSE_LIBPNG" = "sys" ; then
22602 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22603 else
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22605 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22606 wxUSE_LIBPNG=builtin
22607 fi
22608 else
22609 wxUSE_LIBPNG=sys
22610 fi
22611 fi
22612 fi
22613
22614
22615 JPEG_LINK=
22616 if test "$wxUSE_LIBJPEG" != "no" ; then
22617 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22618
22619
22620 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22622 $as_echo_n "checking for jpeglib.h... " >&6; }
22623 if ${ac_cv_header_jpeglib_h+:} false; then :
22624 $as_echo_n "(cached) " >&6
22625 else
22626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22627 /* end confdefs.h. */
22628
22629 #undef HAVE_STDLIB_H
22630 #include <stdio.h>
22631 #include <jpeglib.h>
22632
22633 int
22634 main ()
22635 {
22636
22637
22638 ;
22639 return 0;
22640 }
22641 _ACEOF
22642 if ac_fn_c_try_compile "$LINENO"; then :
22643 ac_cv_header_jpeglib_h=yes
22644 else
22645 ac_cv_header_jpeglib_h=no
22646
22647 fi
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649
22650 fi
22651
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22653 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22654
22655 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22657 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22658 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22659 $as_echo_n "(cached) " >&6
22660 else
22661 ac_check_lib_save_LIBS=$LIBS
22662 LIBS="-ljpeg $LIBS"
22663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22664 /* end confdefs.h. */
22665
22666 /* Override any GCC internal prototype to avoid an error.
22667 Use char because int might match the return type of a GCC
22668 builtin and then its argument prototype would still apply. */
22669 #ifdef __cplusplus
22670 extern "C"
22671 #endif
22672 char jpeg_read_header ();
22673 int
22674 main ()
22675 {
22676 return jpeg_read_header ();
22677 ;
22678 return 0;
22679 }
22680 _ACEOF
22681 if ac_fn_c_try_link "$LINENO"; then :
22682 ac_cv_lib_jpeg_jpeg_read_header=yes
22683 else
22684 ac_cv_lib_jpeg_jpeg_read_header=no
22685 fi
22686 rm -f core conftest.err conftest.$ac_objext \
22687 conftest$ac_exeext conftest.$ac_ext
22688 LIBS=$ac_check_lib_save_LIBS
22689 fi
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22691 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22692 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22693 JPEG_LINK=" -ljpeg"
22694 fi
22695
22696 fi
22697
22698 if test "x$JPEG_LINK" = "x" ; then
22699 if test "$wxUSE_LIBJPEG" = "sys" ; then
22700 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22701 else
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22703 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22704 wxUSE_LIBJPEG=builtin
22705 fi
22706 else
22707 wxUSE_LIBJPEG=sys
22708
22709 if test "$wxUSE_MSW" = 1; then
22710 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22711 "
22712 if test "x$ac_cv_type_boolean" = xyes; then :
22713
22714 cat >>confdefs.h <<_ACEOF
22715 #define HAVE_BOOLEAN 1
22716 _ACEOF
22717
22718
22719 # The cast to long int works around a bug in the HP C Compiler
22720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22722 # This bug is HP SR number 8606223364.
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22724 $as_echo_n "checking size of boolean... " >&6; }
22725 if ${ac_cv_sizeof_boolean+:} false; then :
22726 $as_echo_n "(cached) " >&6
22727 else
22728 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22729 #undef HAVE_BOOLEAN
22730 #include <stdio.h>
22731 #include <jpeglib.h>
22732
22733 "; then :
22734
22735 else
22736 if test "$ac_cv_type_boolean" = yes; then
22737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22739 as_fn_error 77 "cannot compute sizeof (boolean)
22740 See \`config.log' for more details" "$LINENO" 5; }
22741 else
22742 ac_cv_sizeof_boolean=0
22743 fi
22744 fi
22745
22746 fi
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22748 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22749
22750
22751
22752 cat >>confdefs.h <<_ACEOF
22753 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22754 _ACEOF
22755
22756
22757 cat >>confdefs.h <<_ACEOF
22758 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22759 _ACEOF
22760
22761
22762 fi
22763
22764 fi
22765 fi
22766 fi
22767 fi
22768
22769
22770 TIFF_LINK=
22771 TIFF_PREREQ_LINKS=-lm
22772 if test "$wxUSE_LIBTIFF" != "no" ; then
22773 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22774
22775
22776 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22777 if test "$wxUSE_LIBJPEG" = "sys"; then
22778 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22779 fi
22780 if test "$wxUSE_ZLIB" = "sys"; then
22781 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22782 fi
22783 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22784
22785 "
22786 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22787
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22789 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22790 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22791 $as_echo_n "(cached) " >&6
22792 else
22793 ac_check_lib_save_LIBS=$LIBS
22794 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22797
22798 /* Override any GCC internal prototype to avoid an error.
22799 Use char because int might match the return type of a GCC
22800 builtin and then its argument prototype would still apply. */
22801 #ifdef __cplusplus
22802 extern "C"
22803 #endif
22804 char TIFFError ();
22805 int
22806 main ()
22807 {
22808 return TIFFError ();
22809 ;
22810 return 0;
22811 }
22812 _ACEOF
22813 if ac_fn_c_try_link "$LINENO"; then :
22814 ac_cv_lib_tiff_TIFFError=yes
22815 else
22816 ac_cv_lib_tiff_TIFFError=no
22817 fi
22818 rm -f core conftest.err conftest.$ac_objext \
22819 conftest$ac_exeext conftest.$ac_ext
22820 LIBS=$ac_check_lib_save_LIBS
22821 fi
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22823 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22824 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22825 TIFF_LINK=" -ltiff"
22826 fi
22827
22828
22829 fi
22830
22831
22832
22833 if test "x$TIFF_LINK" = "x" ; then
22834 if test "$wxUSE_LIBTIFF" = "sys" ; then
22835 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22836 else
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22838 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22839 wxUSE_LIBTIFF=builtin
22840 fi
22841 else
22842 wxUSE_LIBTIFF=sys
22843 fi
22844 fi
22845 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22846 if test "$wxUSE_LIBJPEG" = "no"; then
22847 ac_configure_args="$ac_configure_args --disable-jpeg"
22848 fi
22849
22850
22851 subdirs="$subdirs src/tiff"
22852
22853 fi
22854 fi
22855
22856
22857 if test "$wxUSE_EXPAT" != "no"; then
22858 wxUSE_XML=yes
22859 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22860
22861 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22862
22863
22864 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22865 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22866 "
22867 if test "x$ac_cv_header_expat_h" = xyes; then :
22868 found_expat_h=1
22869 fi
22870
22871
22872 if test "x$found_expat_h" = "x1"; then
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22874 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22875 if ${wx_cv_expat_is_not_broken+:} false; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22878
22879 ac_ext=cpp
22880 ac_cpp='$CXXCPP $CPPFLAGS'
22881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22884
22885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22887 #include <expat.h>
22888 int
22889 main ()
22890 {
22891
22892 ;
22893 return 0;
22894 }
22895 _ACEOF
22896 if ac_fn_cxx_try_compile "$LINENO"; then :
22897 wx_cv_expat_is_not_broken=yes
22898 else
22899 wx_cv_expat_is_not_broken=no
22900
22901 fi
22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903 ac_ext=c
22904 ac_cpp='$CPP $CPPFLAGS'
22905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22908
22909
22910
22911 fi
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22913 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22914 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22916 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22917 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22918 $as_echo_n "(cached) " >&6
22919 else
22920 ac_check_lib_save_LIBS=$LIBS
22921 LIBS="-lexpat $LIBS"
22922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923 /* end confdefs.h. */
22924
22925 /* Override any GCC internal prototype to avoid an error.
22926 Use char because int might match the return type of a GCC
22927 builtin and then its argument prototype would still apply. */
22928 #ifdef __cplusplus
22929 extern "C"
22930 #endif
22931 char XML_ParserCreate ();
22932 int
22933 main ()
22934 {
22935 return XML_ParserCreate ();
22936 ;
22937 return 0;
22938 }
22939 _ACEOF
22940 if ac_fn_c_try_link "$LINENO"; then :
22941 ac_cv_lib_expat_XML_ParserCreate=yes
22942 else
22943 ac_cv_lib_expat_XML_ParserCreate=no
22944 fi
22945 rm -f core conftest.err conftest.$ac_objext \
22946 conftest$ac_exeext conftest.$ac_ext
22947 LIBS=$ac_check_lib_save_LIBS
22948 fi
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22950 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22951 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22952 EXPAT_LINK=" -lexpat"
22953 fi
22954
22955 fi
22956 fi
22957 if test "x$EXPAT_LINK" = "x" ; then
22958 if test "$wxUSE_EXPAT" = "sys" ; then
22959 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22960 else
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22962 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22963 wxUSE_EXPAT=builtin
22964 fi
22965 else
22966 wxUSE_EXPAT=sys
22967 fi
22968 fi
22969 if test "$wxUSE_EXPAT" = "builtin" ; then
22970 subdirs="$subdirs src/expat"
22971
22972 fi
22973 fi
22974
22975
22976
22977 if test "$wxUSE_LIBMSPACK" != "no"; then
22978 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22979 "
22980 if test "x$ac_cv_header_mspack_h" = xyes; then :
22981 found_mspack_h=1
22982 fi
22983
22984
22985 if test "x$found_mspack_h" = "x1"; then
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22987 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22988 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22989 $as_echo_n "(cached) " >&6
22990 else
22991 ac_check_lib_save_LIBS=$LIBS
22992 LIBS="-lmspack $LIBS"
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22995
22996 /* Override any GCC internal prototype to avoid an error.
22997 Use char because int might match the return type of a GCC
22998 builtin and then its argument prototype would still apply. */
22999 #ifdef __cplusplus
23000 extern "C"
23001 #endif
23002 char mspack_create_chm_decompressor ();
23003 int
23004 main ()
23005 {
23006 return mspack_create_chm_decompressor ();
23007 ;
23008 return 0;
23009 }
23010 _ACEOF
23011 if ac_fn_c_try_link "$LINENO"; then :
23012 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23013 else
23014 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23015 fi
23016 rm -f core conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23018 LIBS=$ac_check_lib_save_LIBS
23019 fi
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23021 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23022 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23023 MSPACK_LINK=" -lmspack"
23024 fi
23025
23026 fi
23027 if test "x$MSPACK_LINK" = "x" ; then
23028 wxUSE_LIBMSPACK=no
23029 fi
23030 fi
23031
23032 if test "$wxUSE_LIBMSPACK" != "no"; then
23033 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23034
23035 fi
23036
23037
23038
23039 AFMINSTALL=
23040 WIN32INSTALL=
23041
23042 TOOLKIT=
23043 TOOLKIT_INCLUDE=
23044 WIDGET_SET=
23045
23046 if test "$USE_WIN32" = 1 ; then
23047 for ac_header in w32api.h
23048 do :
23049 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23050 "
23051 if test "x$ac_cv_header_w32api_h" = xyes; then :
23052 cat >>confdefs.h <<_ACEOF
23053 #define HAVE_W32API_H 1
23054 _ACEOF
23055
23056 fi
23057
23058 done
23059
23060 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23061 "
23062 if test "x$ac_cv_header_windows_h" = xyes; then :
23063
23064 else
23065
23066 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23067
23068 fi
23069
23070
23071
23072 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23073 case "${host}" in
23074 x86_64-*-mingw32* )
23075 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23076 ;;
23077 esac
23078 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23079 LIBS="$LIBS -loleacc"
23080 fi
23081
23082 case "${host}" in
23083 *-*-cygwin* )
23084 LIBS="$LIBS -lkernel32 -luser32"
23085 esac
23086
23087 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23088 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23089
23090 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23091
23092 WIN32INSTALL=win32install
23093 fi
23094
23095 if test "$wxUSE_GUI" = "yes"; then
23096 USE_GUI=1
23097
23098 GUI_TK_LIBRARY=
23099
23100 WXGTK1=
23101 WXGTK127=
23102 WXGTK2=
23103 WXGTK3=
23104 WXGPE=
23105
23106 if test "$wxUSE_OLD_COCOA" = 1 ; then
23107 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23109 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23110 wxUSE_PRINTING_ARCHITECTURE=no
23111 fi
23112 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23114 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23115 wxUSE_DRAG_AND_DROP=no
23116 fi
23117 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23119 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23120 wxUSE_DRAGIMAGE=no
23121 fi
23122 fi
23123
23124 if test "$wxUSE_MSW" = 1 ; then
23125 TOOLKIT=MSW
23126 GUIDIST=MSW_DIST
23127
23128 case "${host}" in
23129 *-*-mingw32* )
23130 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23131 esac
23132 fi
23133
23134 if test "$wxUSE_GTK" = 1; then
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23136 $as_echo_n "checking for GTK+ version... " >&6; }
23137
23138 gtk_version_cached=1
23139 if ${wx_cv_lib_gtk+:} false; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23142
23143 gtk_version_cached=0
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23145 $as_echo "" >&6; }
23146
23147 GTK_MODULES=
23148 if test "$wxUSE_THREADS" = "yes"; then
23149 GTK_MODULES=gthread
23150 fi
23151
23152 if test -z "$wxGTK_VERSION"; then
23153 wxGTK_VERSION=any
23154 fi
23155
23156 wx_cv_lib_gtk=
23157 if test "x$wxGTK_VERSION" != "x1"
23158 then
23159 case "${host}" in
23160 *-*-solaris2* )
23161 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23162 enable_gtktest=no
23163 fi
23164 esac
23165
23166 if test "$wxGTK_VERSION" != 3; then
23167 # Check whether --enable-gtktest was given.
23168 if test "${enable_gtktest+set}" = set; then :
23169 enableval=$enable_gtktest;
23170 else
23171 enable_gtktest=yes
23172 fi
23173
23174
23175 pkg_config_args=gtk+-2.0
23176 for module in . $GTK_MODULES
23177 do
23178 case "$module" in
23179 gthread)
23180 pkg_config_args="$pkg_config_args gthread-2.0"
23181 ;;
23182 esac
23183 done
23184
23185 no_gtk=""
23186
23187 # Extract the first word of "pkg-config", so it can be a program name with args.
23188 set dummy pkg-config; ac_word=$2
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23190 $as_echo_n "checking for $ac_word... " >&6; }
23191 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23192 $as_echo_n "(cached) " >&6
23193 else
23194 case $PKG_CONFIG in
23195 [\\/]* | ?:[\\/]*)
23196 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23197 ;;
23198 *)
23199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23200 for as_dir in $PATH
23201 do
23202 IFS=$as_save_IFS
23203 test -z "$as_dir" && as_dir=.
23204 for ac_exec_ext in '' $ac_executable_extensions; do
23205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23206 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23208 break 2
23209 fi
23210 done
23211 done
23212 IFS=$as_save_IFS
23213
23214 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23215 ;;
23216 esac
23217 fi
23218 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23219 if test -n "$PKG_CONFIG"; then
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23221 $as_echo "$PKG_CONFIG" >&6; }
23222 else
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23224 $as_echo "no" >&6; }
23225 fi
23226
23227
23228
23229 if test x$PKG_CONFIG != xno ; then
23230 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23231 :
23232 else
23233 echo "*** pkg-config too old; version 0.7 or better required."
23234 no_gtk=yes
23235 PKG_CONFIG=no
23236 fi
23237 else
23238 no_gtk=yes
23239 fi
23240
23241 min_gtk_version=2.6.0
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23243 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23244
23245 if test x$PKG_CONFIG != xno ; then
23246 ## don't try to run the test against uninstalled libtool libs
23247 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23248 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23249 enable_gtktest=no
23250 fi
23251
23252 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23253 :
23254 else
23255 no_gtk=yes
23256 fi
23257 fi
23258
23259 if test x"$no_gtk" = x ; then
23260 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23261 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23262 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23264 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23266 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23268 if test "x$enable_gtktest" = "xyes" ; then
23269 ac_save_CFLAGS="$CFLAGS"
23270 ac_save_LIBS="$LIBS"
23271 CFLAGS="$CFLAGS $GTK_CFLAGS"
23272 LIBS="$GTK_LIBS $LIBS"
23273 rm -f conf.gtktest
23274 if test "$cross_compiling" = yes; then :
23275 echo $ac_n "cross compiling; assumed OK... $ac_c"
23276 else
23277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23279
23280 #include <gtk/gtk.h>
23281 #include <stdio.h>
23282 #include <stdlib.h>
23283
23284 int
23285 main ()
23286 {
23287 int major, minor, micro;
23288 char *tmp_version;
23289
23290 system ("touch conf.gtktest");
23291
23292 /* HP/UX 9 (%@#!) writes to sscanf strings */
23293 tmp_version = g_strdup("$min_gtk_version");
23294 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23295 printf("%s, bad version string\n", "$min_gtk_version");
23296 exit(1);
23297 }
23298
23299 if ((gtk_major_version != $gtk_config_major_version) ||
23300 (gtk_minor_version != $gtk_config_minor_version) ||
23301 (gtk_micro_version != $gtk_config_micro_version))
23302 {
23303 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23304 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23305 gtk_major_version, gtk_minor_version, gtk_micro_version);
23306 printf ("*** was found! If pkg-config was correct, then it is best\n");
23307 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23308 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23309 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23310 printf("*** required on your system.\n");
23311 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23312 printf("*** to point to the correct configuration files\n");
23313 }
23314 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23315 (gtk_minor_version != GTK_MINOR_VERSION) ||
23316 (gtk_micro_version != GTK_MICRO_VERSION))
23317 {
23318 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23319 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23320 printf("*** library (version %d.%d.%d)\n",
23321 gtk_major_version, gtk_minor_version, gtk_micro_version);
23322 }
23323 else
23324 {
23325 if ((gtk_major_version > major) ||
23326 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23327 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23328 {
23329 return 0;
23330 }
23331 else
23332 {
23333 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23334 gtk_major_version, gtk_minor_version, gtk_micro_version);
23335 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23336 major, minor, micro);
23337 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23338 printf("***\n");
23339 printf("*** If you have already installed a sufficiently new version, this error\n");
23340 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23341 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23342 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23343 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23344 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23345 printf("*** so that the correct libraries are found at run-time))\n");
23346 }
23347 }
23348 return 1;
23349 }
23350
23351 _ACEOF
23352 if ac_fn_c_try_run "$LINENO"; then :
23353
23354 else
23355 no_gtk=yes
23356 fi
23357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23358 conftest.$ac_objext conftest.beam conftest.$ac_ext
23359 fi
23360
23361 CFLAGS="$ac_save_CFLAGS"
23362 LIBS="$ac_save_LIBS"
23363 fi
23364 fi
23365 if test "x$no_gtk" = x ; then
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23367 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23368 wx_cv_lib_gtk=2.0
23369 else
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23371 $as_echo "no" >&6; }
23372 if test "$PKG_CONFIG" = "no" ; then
23373 echo "*** A new enough version of pkg-config was not found."
23374 echo "*** See http://pkgconfig.sourceforge.net"
23375 else
23376 if test -f conf.gtktest ; then
23377 :
23378 else
23379 echo "*** Could not run GTK+ test program, checking why..."
23380 ac_save_CFLAGS="$CFLAGS"
23381 ac_save_LIBS="$LIBS"
23382 CFLAGS="$CFLAGS $GTK_CFLAGS"
23383 LIBS="$LIBS $GTK_LIBS"
23384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23385 /* end confdefs.h. */
23386
23387 #include <gtk/gtk.h>
23388 #include <stdio.h>
23389
23390 int
23391 main ()
23392 {
23393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23394 ;
23395 return 0;
23396 }
23397 _ACEOF
23398 if ac_fn_c_try_link "$LINENO"; then :
23399 echo "*** The test program compiled, but did not run. This usually means"
23400 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23401 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23402 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23403 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23404 echo "*** is required on your system"
23405 echo "***"
23406 echo "*** If you have an old version installed, it is best to remove it, although"
23407 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23408 else
23409 echo "*** The test program failed to compile or link. See the file config.log for the"
23410 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23411 fi
23412 rm -f core conftest.err conftest.$ac_objext \
23413 conftest$ac_exeext conftest.$ac_ext
23414 CFLAGS="$ac_save_CFLAGS"
23415 LIBS="$ac_save_LIBS"
23416 fi
23417 fi
23418 GTK_CFLAGS=""
23419 GTK_LIBS=""
23420 :
23421 fi
23422
23423
23424 rm -f conf.gtktest
23425
23426 fi
23427 if test -z "$wx_cv_lib_gtk"; then
23428 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23429 # Check whether --enable-gtktest was given.
23430 if test "${enable_gtktest+set}" = set; then :
23431 enableval=$enable_gtktest;
23432 else
23433 enable_gtktest=yes
23434 fi
23435
23436
23437 pkg_config_args=gtk+-3.0
23438 for module in . $GTK_MODULES
23439 do
23440 case "$module" in
23441 gthread)
23442 pkg_config_args="$pkg_config_args gthread-2.0"
23443 ;;
23444 esac
23445 done
23446
23447 no_gtk=""
23448
23449 # Extract the first word of "pkg-config", so it can be a program name with args.
23450 set dummy pkg-config; ac_word=$2
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23452 $as_echo_n "checking for $ac_word... " >&6; }
23453 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23454 $as_echo_n "(cached) " >&6
23455 else
23456 case $PKG_CONFIG in
23457 [\\/]* | ?:[\\/]*)
23458 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23459 ;;
23460 *)
23461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23462 for as_dir in $PATH
23463 do
23464 IFS=$as_save_IFS
23465 test -z "$as_dir" && as_dir=.
23466 for ac_exec_ext in '' $ac_executable_extensions; do
23467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23468 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23470 break 2
23471 fi
23472 done
23473 done
23474 IFS=$as_save_IFS
23475
23476 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23477 ;;
23478 esac
23479 fi
23480 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23481 if test -n "$PKG_CONFIG"; then
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23483 $as_echo "$PKG_CONFIG" >&6; }
23484 else
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23486 $as_echo "no" >&6; }
23487 fi
23488
23489
23490
23491 if test x$PKG_CONFIG != xno ; then
23492 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23493 :
23494 else
23495 echo "*** pkg-config too old; version 0.7 or better required."
23496 no_gtk=yes
23497 PKG_CONFIG=no
23498 fi
23499 else
23500 no_gtk=yes
23501 fi
23502
23503 min_gtk_version=3.0.0
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23505 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23506
23507 if test x$PKG_CONFIG != xno ; then
23508 ## don't try to run the test against uninstalled libtool libs
23509 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23510 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23511 enable_gtktest=no
23512 fi
23513
23514 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23515 :
23516 else
23517 no_gtk=yes
23518 fi
23519 fi
23520
23521 if test x"$no_gtk" = x ; then
23522 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23523 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23524 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23526 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23528 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23530 if test "x$enable_gtktest" = "xyes" ; then
23531 ac_save_CFLAGS="$CFLAGS"
23532 ac_save_LIBS="$LIBS"
23533 CFLAGS="$CFLAGS $GTK_CFLAGS"
23534 LIBS="$GTK_LIBS $LIBS"
23535 rm -f conf.gtktest
23536 if test "$cross_compiling" = yes; then :
23537 echo $ac_n "cross compiling; assumed OK... $ac_c"
23538 else
23539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23540 /* end confdefs.h. */
23541
23542 #include <gtk/gtk.h>
23543 #include <stdio.h>
23544 #include <stdlib.h>
23545
23546 int
23547 main ()
23548 {
23549 int major, minor, micro;
23550 char *tmp_version;
23551
23552 fclose (fopen ("conf.gtktest", "w"));
23553
23554 /* HP/UX 9 (%@#!) writes to sscanf strings */
23555 tmp_version = g_strdup("$min_gtk_version");
23556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23557 printf("%s, bad version string\n", "$min_gtk_version");
23558 exit(1);
23559 }
23560
23561 if ((gtk_major_version != $gtk_config_major_version) ||
23562 (gtk_minor_version != $gtk_config_minor_version) ||
23563 (gtk_micro_version != $gtk_config_micro_version))
23564 {
23565 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23567 gtk_major_version, gtk_minor_version, gtk_micro_version);
23568 printf ("*** was found! If pkg-config was correct, then it is best\n");
23569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23572 printf("*** required on your system.\n");
23573 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23574 printf("*** to point to the correct configuration files\n");
23575 }
23576 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23577 (gtk_minor_version != GTK_MINOR_VERSION) ||
23578 (gtk_micro_version != GTK_MICRO_VERSION))
23579 {
23580 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23581 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23582 printf("*** library (version %d.%d.%d)\n",
23583 gtk_major_version, gtk_minor_version, gtk_micro_version);
23584 }
23585 else
23586 {
23587 if ((gtk_major_version > major) ||
23588 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23589 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23590 {
23591 return 0;
23592 }
23593 else
23594 {
23595 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23596 gtk_major_version, gtk_minor_version, gtk_micro_version);
23597 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23598 major, minor, micro);
23599 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23600 printf("***\n");
23601 printf("*** If you have already installed a sufficiently new version, this error\n");
23602 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23603 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23604 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23605 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23606 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23607 printf("*** so that the correct libraries are found at run-time))\n");
23608 }
23609 }
23610 return 1;
23611 }
23612
23613 _ACEOF
23614 if ac_fn_c_try_run "$LINENO"; then :
23615
23616 else
23617 no_gtk=yes
23618 fi
23619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23620 conftest.$ac_objext conftest.beam conftest.$ac_ext
23621 fi
23622
23623 CFLAGS="$ac_save_CFLAGS"
23624 LIBS="$ac_save_LIBS"
23625 fi
23626 fi
23627 if test "x$no_gtk" = x ; then
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23629 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23630 wx_cv_lib_gtk=3
23631 else
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23633 $as_echo "no" >&6; }
23634 if test "$PKG_CONFIG" = "no" ; then
23635 echo "*** A new enough version of pkg-config was not found."
23636 echo "*** See http://pkgconfig.sourceforge.net"
23637 else
23638 if test -f conf.gtktest ; then
23639 :
23640 else
23641 echo "*** Could not run GTK+ test program, checking why..."
23642 ac_save_CFLAGS="$CFLAGS"
23643 ac_save_LIBS="$LIBS"
23644 CFLAGS="$CFLAGS $GTK_CFLAGS"
23645 LIBS="$LIBS $GTK_LIBS"
23646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23648
23649 #include <gtk/gtk.h>
23650 #include <stdio.h>
23651
23652 int
23653 main ()
23654 {
23655 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 if ac_fn_c_try_link "$LINENO"; then :
23661 echo "*** The test program compiled, but did not run. This usually means"
23662 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23663 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23664 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23665 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23666 echo "*** is required on your system"
23667 echo "***"
23668 echo "*** If you have an old version installed, it is best to remove it, although"
23669 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23670 else
23671 echo "*** The test program failed to compile or link. See the file config.log for the"
23672 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23673 fi
23674 rm -f core conftest.err conftest.$ac_objext \
23675 conftest$ac_exeext conftest.$ac_ext
23676 CFLAGS="$ac_save_CFLAGS"
23677 LIBS="$ac_save_LIBS"
23678 fi
23679 fi
23680 GTK_CFLAGS=""
23681 GTK_LIBS=""
23682 :
23683 fi
23684
23685
23686 rm -f conf.gtktest
23687
23688 fi
23689 fi
23690 fi
23691
23692 if test -z "$wx_cv_lib_gtk"; then
23693 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23694
23695 # Check whether --with-gtk-prefix was given.
23696 if test "${with_gtk_prefix+set}" = set; then :
23697 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23698 else
23699 gtk_config_prefix=""
23700 fi
23701
23702
23703 # Check whether --with-gtk-exec-prefix was given.
23704 if test "${with_gtk_exec_prefix+set}" = set; then :
23705 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23706 else
23707 gtk_config_exec_prefix=""
23708 fi
23709
23710 # Check whether --enable-gtktest was given.
23711 if test "${enable_gtktest+set}" = set; then :
23712 enableval=$enable_gtktest;
23713 else
23714 enable_gtktest=yes
23715 fi
23716
23717
23718 for module in . $GTK_MODULES
23719 do
23720 case "$module" in
23721 gthread)
23722 gtk_config_args="$gtk_config_args gthread"
23723 ;;
23724 esac
23725 done
23726
23727 if test x$gtk_config_exec_prefix != x ; then
23728 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23729 if test x${GTK_CONFIG+set} != xset ; then
23730 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23731 fi
23732 fi
23733 if test x$gtk_config_prefix != x ; then
23734 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23735 if test x${GTK_CONFIG+set} != xset ; then
23736 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23737 fi
23738 fi
23739
23740 # Extract the first word of "gtk-config", so it can be a program name with args.
23741 set dummy gtk-config; ac_word=$2
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23743 $as_echo_n "checking for $ac_word... " >&6; }
23744 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23745 $as_echo_n "(cached) " >&6
23746 else
23747 case $GTK_CONFIG in
23748 [\\/]* | ?:[\\/]*)
23749 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23750 ;;
23751 *)
23752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23753 for as_dir in $PATH
23754 do
23755 IFS=$as_save_IFS
23756 test -z "$as_dir" && as_dir=.
23757 for ac_exec_ext in '' $ac_executable_extensions; do
23758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23759 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23761 break 2
23762 fi
23763 done
23764 done
23765 IFS=$as_save_IFS
23766
23767 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23768 ;;
23769 esac
23770 fi
23771 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23772 if test -n "$GTK_CONFIG"; then
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23774 $as_echo "$GTK_CONFIG" >&6; }
23775 else
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23777 $as_echo "no" >&6; }
23778 fi
23779
23780
23781 min_gtk_version=1.2.7
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23783 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23784 no_gtk=""
23785 if test "$GTK_CONFIG" = "no" ; then
23786 no_gtk=yes
23787 else
23788 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23789 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23790 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23792 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23793 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23794 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23795 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23796 if test "x$enable_gtktest" = "xyes" ; then
23797 ac_save_CFLAGS="$CFLAGS"
23798 ac_save_LIBS="$LIBS"
23799 CFLAGS="$CFLAGS $GTK_CFLAGS"
23800 LIBS="$GTK_LIBS $LIBS"
23801 rm -f conf.gtktest
23802 if test "$cross_compiling" = yes; then :
23803 echo $ac_n "cross compiling; assumed OK... $ac_c"
23804 else
23805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h. */
23807
23808 #include <gtk/gtk.h>
23809 #include <stdio.h>
23810 #include <stdlib.h>
23811
23812 int
23813 main ()
23814 {
23815 int major, minor, micro;
23816 char *tmp_version;
23817
23818 system ("touch conf.gtktest");
23819
23820 /* HP/UX 9 (%@#!) writes to sscanf strings */
23821 tmp_version = g_strdup("$min_gtk_version");
23822 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23823 printf("%s, bad version string\n", "$min_gtk_version");
23824 exit(1);
23825 }
23826
23827 if ((gtk_major_version != $gtk_config_major_version) ||
23828 (gtk_minor_version != $gtk_config_minor_version) ||
23829 (gtk_micro_version != $gtk_config_micro_version))
23830 {
23831 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23832 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23833 gtk_major_version, gtk_minor_version, gtk_micro_version);
23834 printf ("*** was found! If gtk-config was correct, then it is best\n");
23835 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23836 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23837 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23838 printf("*** required on your system.\n");
23839 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23840 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23841 printf("*** before re-running configure\n");
23842 }
23843 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23844 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23845 (gtk_minor_version != GTK_MINOR_VERSION) ||
23846 (gtk_micro_version != GTK_MICRO_VERSION))
23847 {
23848 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23849 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23850 printf("*** library (version %d.%d.%d)\n",
23851 gtk_major_version, gtk_minor_version, gtk_micro_version);
23852 }
23853 #endif /* defined (GTK_MAJOR_VERSION) ... */
23854 else
23855 {
23856 if ((gtk_major_version > major) ||
23857 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23858 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23859 {
23860 return 0;
23861 }
23862 else
23863 {
23864 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23865 gtk_major_version, gtk_minor_version, gtk_micro_version);
23866 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23867 major, minor, micro);
23868 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23869 printf("***\n");
23870 printf("*** If you have already installed a sufficiently new version, this error\n");
23871 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23872 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23873 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23874 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23875 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23876 printf("*** so that the correct libraries are found at run-time))\n");
23877 }
23878 }
23879 return 1;
23880 }
23881
23882 _ACEOF
23883 if ac_fn_c_try_run "$LINENO"; then :
23884
23885 else
23886 no_gtk=yes
23887 fi
23888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23889 conftest.$ac_objext conftest.beam conftest.$ac_ext
23890 fi
23891
23892 CFLAGS="$ac_save_CFLAGS"
23893 LIBS="$ac_save_LIBS"
23894 fi
23895 fi
23896 if test "x$no_gtk" = x ; then
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23898 $as_echo "yes" >&6; }
23899 wx_cv_lib_gtk=1.2.7
23900 else
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23902 $as_echo "no" >&6; }
23903 if test "$GTK_CONFIG" = "no" ; then
23904 echo "*** The gtk-config script installed by GTK could not be found"
23905 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23906 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23907 echo "*** full path to gtk-config."
23908 else
23909 if test -f conf.gtktest ; then
23910 :
23911 else
23912 echo "*** Could not run GTK test program, checking why..."
23913 CFLAGS="$CFLAGS $GTK_CFLAGS"
23914 LIBS="$LIBS $GTK_LIBS"
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917
23918 #include <gtk/gtk.h>
23919 #include <stdio.h>
23920
23921 int
23922 main ()
23923 {
23924 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23925 ;
23926 return 0;
23927 }
23928 _ACEOF
23929 if ac_fn_c_try_link "$LINENO"; then :
23930 echo "*** The test program compiled, but did not run. This usually means"
23931 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23932 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23933 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23934 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23935 echo "*** is required on your system"
23936 echo "***"
23937 echo "*** If you have an old version installed, it is best to remove it, although"
23938 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23939 echo "***"
23940 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23941 echo "*** came with the system with the command"
23942 echo "***"
23943 echo "*** rpm --erase --nodeps gtk gtk-devel"
23944 else
23945 echo "*** The test program failed to compile or link. See the file config.log for the"
23946 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23947 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23948 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23949 fi
23950 rm -f core conftest.err conftest.$ac_objext \
23951 conftest$ac_exeext conftest.$ac_ext
23952 CFLAGS="$ac_save_CFLAGS"
23953 LIBS="$ac_save_LIBS"
23954 fi
23955 fi
23956 GTK_CFLAGS=""
23957 GTK_LIBS=""
23958 :
23959 fi
23960
23961
23962 rm -f conf.gtktest
23963
23964
23965 if test -z "$wx_cv_lib_gtk"; then
23966
23967 # Check whether --with-gtk-prefix was given.
23968 if test "${with_gtk_prefix+set}" = set; then :
23969 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23970 else
23971 gtk_config_prefix=""
23972 fi
23973
23974
23975 # Check whether --with-gtk-exec-prefix was given.
23976 if test "${with_gtk_exec_prefix+set}" = set; then :
23977 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23978 else
23979 gtk_config_exec_prefix=""
23980 fi
23981
23982 # Check whether --enable-gtktest was given.
23983 if test "${enable_gtktest+set}" = set; then :
23984 enableval=$enable_gtktest;
23985 else
23986 enable_gtktest=yes
23987 fi
23988
23989
23990 for module in . $GTK_MODULES
23991 do
23992 case "$module" in
23993 gthread)
23994 gtk_config_args="$gtk_config_args gthread"
23995 ;;
23996 esac
23997 done
23998
23999 if test x$gtk_config_exec_prefix != x ; then
24000 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24001 if test x${GTK_CONFIG+set} != xset ; then
24002 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24003 fi
24004 fi
24005 if test x$gtk_config_prefix != x ; then
24006 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24007 if test x${GTK_CONFIG+set} != xset ; then
24008 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24009 fi
24010 fi
24011
24012 # Extract the first word of "gtk-config", so it can be a program name with args.
24013 set dummy gtk-config; ac_word=$2
24014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24015 $as_echo_n "checking for $ac_word... " >&6; }
24016 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24017 $as_echo_n "(cached) " >&6
24018 else
24019 case $GTK_CONFIG in
24020 [\\/]* | ?:[\\/]*)
24021 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24022 ;;
24023 *)
24024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24025 for as_dir in $PATH
24026 do
24027 IFS=$as_save_IFS
24028 test -z "$as_dir" && as_dir=.
24029 for ac_exec_ext in '' $ac_executable_extensions; do
24030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24031 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24033 break 2
24034 fi
24035 done
24036 done
24037 IFS=$as_save_IFS
24038
24039 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24040 ;;
24041 esac
24042 fi
24043 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24044 if test -n "$GTK_CONFIG"; then
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24046 $as_echo "$GTK_CONFIG" >&6; }
24047 else
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24049 $as_echo "no" >&6; }
24050 fi
24051
24052
24053 min_gtk_version=1.2.3
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24055 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24056 no_gtk=""
24057 if test "$GTK_CONFIG" = "no" ; then
24058 no_gtk=yes
24059 else
24060 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24061 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24062 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24064 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24065 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24066 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24068 if test "x$enable_gtktest" = "xyes" ; then
24069 ac_save_CFLAGS="$CFLAGS"
24070 ac_save_LIBS="$LIBS"
24071 CFLAGS="$CFLAGS $GTK_CFLAGS"
24072 LIBS="$GTK_LIBS $LIBS"
24073 rm -f conf.gtktest
24074 if test "$cross_compiling" = yes; then :
24075 echo $ac_n "cross compiling; assumed OK... $ac_c"
24076 else
24077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24079
24080 #include <gtk/gtk.h>
24081 #include <stdio.h>
24082 #include <stdlib.h>
24083
24084 int
24085 main ()
24086 {
24087 int major, minor, micro;
24088 char *tmp_version;
24089
24090 system ("touch conf.gtktest");
24091
24092 /* HP/UX 9 (%@#!) writes to sscanf strings */
24093 tmp_version = g_strdup("$min_gtk_version");
24094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24095 printf("%s, bad version string\n", "$min_gtk_version");
24096 exit(1);
24097 }
24098
24099 if ((gtk_major_version != $gtk_config_major_version) ||
24100 (gtk_minor_version != $gtk_config_minor_version) ||
24101 (gtk_micro_version != $gtk_config_micro_version))
24102 {
24103 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24105 gtk_major_version, gtk_minor_version, gtk_micro_version);
24106 printf ("*** was found! If gtk-config was correct, then it is best\n");
24107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24108 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24110 printf("*** required on your system.\n");
24111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24113 printf("*** before re-running configure\n");
24114 }
24115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24117 (gtk_minor_version != GTK_MINOR_VERSION) ||
24118 (gtk_micro_version != GTK_MICRO_VERSION))
24119 {
24120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24122 printf("*** library (version %d.%d.%d)\n",
24123 gtk_major_version, gtk_minor_version, gtk_micro_version);
24124 }
24125 #endif /* defined (GTK_MAJOR_VERSION) ... */
24126 else
24127 {
24128 if ((gtk_major_version > major) ||
24129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24131 {
24132 return 0;
24133 }
24134 else
24135 {
24136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24137 gtk_major_version, gtk_minor_version, gtk_micro_version);
24138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24139 major, minor, micro);
24140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24141 printf("***\n");
24142 printf("*** If you have already installed a sufficiently new version, this error\n");
24143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24147 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24148 printf("*** so that the correct libraries are found at run-time))\n");
24149 }
24150 }
24151 return 1;
24152 }
24153
24154 _ACEOF
24155 if ac_fn_c_try_run "$LINENO"; then :
24156
24157 else
24158 no_gtk=yes
24159 fi
24160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24161 conftest.$ac_objext conftest.beam conftest.$ac_ext
24162 fi
24163
24164 CFLAGS="$ac_save_CFLAGS"
24165 LIBS="$ac_save_LIBS"
24166 fi
24167 fi
24168 if test "x$no_gtk" = x ; then
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24170 $as_echo "yes" >&6; }
24171 wx_cv_lib_gtk=1.2.3
24172 else
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24174 $as_echo "no" >&6; }
24175 if test "$GTK_CONFIG" = "no" ; then
24176 echo "*** The gtk-config script installed by GTK could not be found"
24177 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24178 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24179 echo "*** full path to gtk-config."
24180 else
24181 if test -f conf.gtktest ; then
24182 :
24183 else
24184 echo "*** Could not run GTK test program, checking why..."
24185 CFLAGS="$CFLAGS $GTK_CFLAGS"
24186 LIBS="$LIBS $GTK_LIBS"
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24189
24190 #include <gtk/gtk.h>
24191 #include <stdio.h>
24192
24193 int
24194 main ()
24195 {
24196 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24197 ;
24198 return 0;
24199 }
24200 _ACEOF
24201 if ac_fn_c_try_link "$LINENO"; then :
24202 echo "*** The test program compiled, but did not run. This usually means"
24203 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24204 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24205 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24206 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24207 echo "*** is required on your system"
24208 echo "***"
24209 echo "*** If you have an old version installed, it is best to remove it, although"
24210 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24211 echo "***"
24212 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24213 echo "*** came with the system with the command"
24214 echo "***"
24215 echo "*** rpm --erase --nodeps gtk gtk-devel"
24216 else
24217 echo "*** The test program failed to compile or link. See the file config.log for the"
24218 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24219 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24220 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24221 fi
24222 rm -f core conftest.err conftest.$ac_objext \
24223 conftest$ac_exeext conftest.$ac_ext
24224 CFLAGS="$ac_save_CFLAGS"
24225 LIBS="$ac_save_LIBS"
24226 fi
24227 fi
24228 GTK_CFLAGS=""
24229 GTK_LIBS=""
24230 :
24231 fi
24232
24233
24234 rm -f conf.gtktest
24235
24236 fi
24237 fi
24238 fi
24239
24240 if test -z "$wx_cv_lib_gtk"; then
24241 wx_cv_lib_gtk=none
24242 else
24243 GTK_LIBS="$GTK_LIBS -lX11"
24244
24245 wx_cv_cflags_gtk=$GTK_CFLAGS
24246 wx_cv_libs_gtk=$GTK_LIBS
24247 fi
24248
24249
24250 fi
24251
24252
24253 if test "$gtk_version_cached" = 1; then
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24255 $as_echo "$wx_cv_lib_gtk" >&6; }
24256 fi
24257
24258 case "$wx_cv_lib_gtk" in
24259 3) WXGTK3=1
24260 TOOLKIT_VERSION=3
24261 ;;
24262 2.0) WXGTK2=1
24263 TOOLKIT_VERSION=2
24264 ;;
24265 1.2.7) WXGTK127=1
24266 WXGTK1=1
24267 ;;
24268 1.2*) WXGTK1=1 ;;
24269 *) as_fn_error $? "
24270 The development files for GTK+ were not found. For GTK+ 2, please
24271 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24272 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24273 and that the version is 1.2.3 or above. Also check that the
24274 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24275 --libs' are in the LD_LIBRARY_PATH or equivalent.
24276 " "$LINENO" 5
24277 ;;
24278 esac
24279
24280 if test "$WXGTK3" = 1; then
24281 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24282
24283 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24284
24285 elif test "$WXGTK2" = 1; then
24286 save_CFLAGS="$CFLAGS"
24287 save_LIBS="$LIBS"
24288 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24289 LIBS="$LIBS $wx_cv_libs_gtk"
24290
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24292 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24294 /* end confdefs.h. */
24295
24296 #include <gtk/gtk.h>
24297
24298 int
24299 main ()
24300 {
24301
24302 #if !GTK_CHECK_VERSION(2,18,0)
24303 Not GTK+ 2.18
24304 #endif
24305
24306 ;
24307 return 0;
24308 }
24309 _ACEOF
24310 if ac_fn_c_try_compile "$LINENO"; then :
24311
24312 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24313
24314 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24315
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24317 $as_echo "yes" >&6; }
24318 ac_wxgtk218=1
24319
24320 else
24321
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24323 $as_echo "no" >&6; }
24324 ac_wxgtk218=0
24325
24326 fi
24327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24328
24329 if test "$ac_wxgtk218" = 0; then
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24331 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h. */
24334
24335 #include <gtk/gtk.h>
24336
24337 int
24338 main ()
24339 {
24340
24341 #if !GTK_CHECK_VERSION(2,10,0)
24342 Not GTK+ 2.10
24343 #endif
24344
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 if ac_fn_c_try_compile "$LINENO"; then :
24350
24351 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24352
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24354 $as_echo "yes" >&6; }
24355 ac_wxgtk210=1
24356
24357 else
24358
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24360 $as_echo "no" >&6; }
24361 ac_wxgtk210=0
24362
24363 fi
24364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24365 fi
24366
24367 CFLAGS="$save_CFLAGS"
24368 LIBS="$save_LIBS"
24369 else
24370 if test "$wxUSE_UNICODE" = "yes"; then
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24372 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24373 wxUSE_UNICODE=no
24374 fi
24375
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24377 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24378 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24381 ac_check_lib_save_LIBS=$LIBS
24382 LIBS="-lgdk $LIBS"
24383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24385
24386 /* Override any GCC internal prototype to avoid an error.
24387 Use char because int might match the return type of a GCC
24388 builtin and then its argument prototype would still apply. */
24389 #ifdef __cplusplus
24390 extern "C"
24391 #endif
24392 char gdk_im_open ();
24393 int
24394 main ()
24395 {
24396 return gdk_im_open ();
24397 ;
24398 return 0;
24399 }
24400 _ACEOF
24401 if ac_fn_c_try_link "$LINENO"; then :
24402 ac_cv_lib_gdk_gdk_im_open=yes
24403 else
24404 ac_cv_lib_gdk_gdk_im_open=no
24405 fi
24406 rm -f core conftest.err conftest.$ac_objext \
24407 conftest$ac_exeext conftest.$ac_ext
24408 LIBS=$ac_check_lib_save_LIBS
24409 fi
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24411 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24412 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24413 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24414
24415 fi
24416
24417
24418 if test "$USE_DARWIN" != 1; then
24419 for ac_func in poll
24420 do :
24421 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24422 if test "x$ac_cv_func_poll" = xyes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define HAVE_POLL 1
24425 _ACEOF
24426
24427 fi
24428 done
24429
24430 fi
24431 fi
24432
24433 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24434 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24435 AFMINSTALL=afminstall
24436 TOOLKIT=GTK
24437 GUIDIST=GTK_DIST
24438
24439 if test "$wxUSE_GPE" = "yes"; then
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24441 $as_echo_n "checking for gpewidget library... " >&6; }
24442
24443 ac_find_libraries=
24444 for ac_dir in $SEARCH_LIB
24445 do
24446 for ac_extension in a so sl dylib dll.a; do
24447 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24448 ac_find_libraries=$ac_dir
24449 break 2
24450 fi
24451 done
24452 done
24453
24454 if test "$ac_find_libraries" != "" ; then
24455
24456 if test "$ac_find_libraries" = "default location"; then
24457 ac_path_to_link=""
24458 else
24459 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24460 result=$?
24461 if test $result = 0; then
24462 ac_path_to_link=""
24463 else
24464 ac_path_to_link=" -L$ac_find_libraries"
24465 fi
24466 fi
24467
24468 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24469 WXGPE=1
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24471 $as_echo "found in $ac_find_libraries" >&6; }
24472 else
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24474 $as_echo "not found" >&6; }
24475 fi
24476
24477 fi
24478 fi
24479
24480 if test "$wxUSE_DFB" = 1; then
24481
24482
24483 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24484 if test -n "$ac_tool_prefix"; then
24485 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24486 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24488 $as_echo_n "checking for $ac_word... " >&6; }
24489 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24492 case $PKG_CONFIG in
24493 [\\/]* | ?:[\\/]*)
24494 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24495 ;;
24496 *)
24497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24498 for as_dir in $PATH
24499 do
24500 IFS=$as_save_IFS
24501 test -z "$as_dir" && as_dir=.
24502 for ac_exec_ext in '' $ac_executable_extensions; do
24503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24504 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24506 break 2
24507 fi
24508 done
24509 done
24510 IFS=$as_save_IFS
24511
24512 ;;
24513 esac
24514 fi
24515 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24516 if test -n "$PKG_CONFIG"; then
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24518 $as_echo "$PKG_CONFIG" >&6; }
24519 else
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24521 $as_echo "no" >&6; }
24522 fi
24523
24524
24525 fi
24526 if test -z "$ac_cv_path_PKG_CONFIG"; then
24527 ac_pt_PKG_CONFIG=$PKG_CONFIG
24528 # Extract the first word of "pkg-config", so it can be a program name with args.
24529 set dummy pkg-config; ac_word=$2
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24531 $as_echo_n "checking for $ac_word... " >&6; }
24532 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24533 $as_echo_n "(cached) " >&6
24534 else
24535 case $ac_pt_PKG_CONFIG in
24536 [\\/]* | ?:[\\/]*)
24537 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24538 ;;
24539 *)
24540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24541 for as_dir in $PATH
24542 do
24543 IFS=$as_save_IFS
24544 test -z "$as_dir" && as_dir=.
24545 for ac_exec_ext in '' $ac_executable_extensions; do
24546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24547 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24549 break 2
24550 fi
24551 done
24552 done
24553 IFS=$as_save_IFS
24554
24555 ;;
24556 esac
24557 fi
24558 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24559 if test -n "$ac_pt_PKG_CONFIG"; then
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24561 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24562 else
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24564 $as_echo "no" >&6; }
24565 fi
24566
24567 if test "x$ac_pt_PKG_CONFIG" = x; then
24568 PKG_CONFIG=""
24569 else
24570 case $cross_compiling:$ac_tool_warned in
24571 yes:)
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24574 ac_tool_warned=yes ;;
24575 esac
24576 PKG_CONFIG=$ac_pt_PKG_CONFIG
24577 fi
24578 else
24579 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24580 fi
24581
24582 fi
24583 if test -n "$PKG_CONFIG"; then
24584 _pkg_min_version=0.9.0
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24586 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24587 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24589 $as_echo "yes" >&6; }
24590 else
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24592 $as_echo "no" >&6; }
24593 PKG_CONFIG=""
24594 fi
24595
24596 fi
24597
24598
24599 pkg_failed=no
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24601 $as_echo_n "checking for DIRECTFB... " >&6; }
24602
24603 if test -n "$PKG_CONFIG"; then
24604 if test -n "$DIRECTFB_CFLAGS"; then
24605 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24606 else
24607 if test -n "$PKG_CONFIG" && \
24608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24609 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24610 ac_status=$?
24611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24612 test $ac_status = 0; }; then
24613 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24614 else
24615 pkg_failed=yes
24616 fi
24617 fi
24618 else
24619 pkg_failed=untried
24620 fi
24621 if test -n "$PKG_CONFIG"; then
24622 if test -n "$DIRECTFB_LIBS"; then
24623 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24624 else
24625 if test -n "$PKG_CONFIG" && \
24626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24627 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24628 ac_status=$?
24629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24630 test $ac_status = 0; }; then
24631 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24632 else
24633 pkg_failed=yes
24634 fi
24635 fi
24636 else
24637 pkg_failed=untried
24638 fi
24639
24640
24641
24642 if test $pkg_failed = yes; then
24643
24644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24645 _pkg_short_errors_supported=yes
24646 else
24647 _pkg_short_errors_supported=no
24648 fi
24649 if test $_pkg_short_errors_supported = yes; then
24650 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24651 else
24652 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24653 fi
24654 # Put the nasty error message in config.log where it belongs
24655 echo "$DIRECTFB_PKG_ERRORS" >&5
24656
24657
24658 as_fn_error $? "DirectFB not found." "$LINENO" 5
24659
24660
24661 elif test $pkg_failed = untried; then
24662
24663 as_fn_error $? "DirectFB not found." "$LINENO" 5
24664
24665
24666 else
24667 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24668 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24670 $as_echo "yes" >&6; }
24671
24672 wxUSE_UNIVERSAL="yes"
24673 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24674 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24675 TOOLKIT=DFB
24676 GUIDIST=DFB_DIST
24677
24678 fi
24679 fi
24680
24681 if test "$wxUSE_MICROWIN" = 1; then
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24683 $as_echo_n "checking for MicroWindows... " >&6; }
24684 if test "x$MICROWINDOWS" = x ; then
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24686 $as_echo "not found" >&6; }
24687 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24688 else
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24690 $as_echo "$MICROWINDOWS" >&6; }
24691 fi
24692
24693 if test -f $MICROWINDOWS/lib/libmwin.a; then
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24695 $as_echo "MicroWindows' libraries found." >&6; }
24696 else
24697 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24698 fi
24699
24700 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24701 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24702
24703 wxUSE_UNIVERSAL="yes"
24704
24705 AFMINSTALL=afminstall
24706 TOOLKIT=MICROWIN
24707 GUIDIST=MICROWIN_DIST
24708
24709 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24710 fi
24711
24712 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24714 $as_echo_n "checking for X... " >&6; }
24715
24716
24717 # Check whether --with-x was given.
24718 if test "${with_x+set}" = set; then :
24719 withval=$with_x;
24720 fi
24721
24722 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24723 if test "x$with_x" = xno; then
24724 # The user explicitly disabled X.
24725 have_x=disabled
24726 else
24727 case $x_includes,$x_libraries in #(
24728 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24729 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24730 $as_echo_n "(cached) " >&6
24731 else
24732 # One or both of the vars are not set, and there is no cached value.
24733 ac_x_includes=no ac_x_libraries=no
24734 rm -f -r conftest.dir
24735 if mkdir conftest.dir; then
24736 cd conftest.dir
24737 cat >Imakefile <<'_ACEOF'
24738 incroot:
24739 @echo incroot='${INCROOT}'
24740 usrlibdir:
24741 @echo usrlibdir='${USRLIBDIR}'
24742 libdir:
24743 @echo libdir='${LIBDIR}'
24744 _ACEOF
24745 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24747 for ac_var in incroot usrlibdir libdir; do
24748 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24749 done
24750 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24751 for ac_extension in a so sl dylib la dll; do
24752 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24753 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24754 ac_im_usrlibdir=$ac_im_libdir; break
24755 fi
24756 done
24757 # Screen out bogus values from the imake configuration. They are
24758 # bogus both because they are the default anyway, and because
24759 # using them would break gcc on systems where it needs fixed includes.
24760 case $ac_im_incroot in
24761 /usr/include) ac_x_includes= ;;
24762 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24763 esac
24764 case $ac_im_usrlibdir in
24765 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24766 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24767 esac
24768 fi
24769 cd ..
24770 rm -f -r conftest.dir
24771 fi
24772
24773 # Standard set of common directories for X headers.
24774 # Check X11 before X11Rn because it is often a symlink to the current release.
24775 ac_x_header_dirs='
24776 /usr/X11/include
24777 /usr/X11R7/include
24778 /usr/X11R6/include
24779 /usr/X11R5/include
24780 /usr/X11R4/include
24781
24782 /usr/include/X11
24783 /usr/include/X11R7
24784 /usr/include/X11R6
24785 /usr/include/X11R5
24786 /usr/include/X11R4
24787
24788 /usr/local/X11/include
24789 /usr/local/X11R7/include
24790 /usr/local/X11R6/include
24791 /usr/local/X11R5/include
24792 /usr/local/X11R4/include
24793
24794 /usr/local/include/X11
24795 /usr/local/include/X11R7
24796 /usr/local/include/X11R6
24797 /usr/local/include/X11R5
24798 /usr/local/include/X11R4
24799
24800 /usr/X386/include
24801 /usr/x386/include
24802 /usr/XFree86/include/X11
24803
24804 /usr/include
24805 /usr/local/include
24806 /usr/unsupported/include
24807 /usr/athena/include
24808 /usr/local/x11r5/include
24809 /usr/lpp/Xamples/include
24810
24811 /usr/openwin/include
24812 /usr/openwin/share/include'
24813
24814 if test "$ac_x_includes" = no; then
24815 # Guess where to find include files, by looking for Xlib.h.
24816 # First, try using that file with no special directory specified.
24817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h. */
24819 #include <X11/Xlib.h>
24820 _ACEOF
24821 if ac_fn_c_try_cpp "$LINENO"; then :
24822 # We can compile using X headers with no special include directory.
24823 ac_x_includes=
24824 else
24825 for ac_dir in $ac_x_header_dirs; do
24826 if test -r "$ac_dir/X11/Xlib.h"; then
24827 ac_x_includes=$ac_dir
24828 break
24829 fi
24830 done
24831 fi
24832 rm -f conftest.err conftest.i conftest.$ac_ext
24833 fi # $ac_x_includes = no
24834
24835 if test "$ac_x_libraries" = no; then
24836 # Check for the libraries.
24837 # See if we find them without any special options.
24838 # Don't add to $LIBS permanently.
24839 ac_save_LIBS=$LIBS
24840 LIBS="-lX11 $LIBS"
24841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24843 #include <X11/Xlib.h>
24844 int
24845 main ()
24846 {
24847 XrmInitialize ()
24848 ;
24849 return 0;
24850 }
24851 _ACEOF
24852 if ac_fn_c_try_link "$LINENO"; then :
24853 LIBS=$ac_save_LIBS
24854 # We can link X programs with no special library path.
24855 ac_x_libraries=
24856 else
24857 LIBS=$ac_save_LIBS
24858 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24859 do
24860 # Don't even attempt the hair of trying to link an X program!
24861 for ac_extension in a so sl dylib la dll; do
24862 if test -r "$ac_dir/libX11.$ac_extension"; then
24863 ac_x_libraries=$ac_dir
24864 break 2
24865 fi
24866 done
24867 done
24868 fi
24869 rm -f core conftest.err conftest.$ac_objext \
24870 conftest$ac_exeext conftest.$ac_ext
24871 fi # $ac_x_libraries = no
24872
24873 case $ac_x_includes,$ac_x_libraries in #(
24874 no,* | *,no | *\'*)
24875 # Didn't find X, or a directory has "'" in its name.
24876 ac_cv_have_x="have_x=no";; #(
24877 *)
24878 # Record where we found X for the cache.
24879 ac_cv_have_x="have_x=yes\
24880 ac_x_includes='$ac_x_includes'\
24881 ac_x_libraries='$ac_x_libraries'"
24882 esac
24883 fi
24884 ;; #(
24885 *) have_x=yes;;
24886 esac
24887 eval "$ac_cv_have_x"
24888 fi # $with_x != no
24889
24890 if test "$have_x" != yes; then
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24892 $as_echo "$have_x" >&6; }
24893 no_x=yes
24894 else
24895 # If each of the values was on the command line, it overrides each guess.
24896 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24897 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24898 # Update the cache value to reflect the command line values.
24899 ac_cv_have_x="have_x=yes\
24900 ac_x_includes='$x_includes'\
24901 ac_x_libraries='$x_libraries'"
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24903 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24904 fi
24905
24906 if test "$no_x" = yes; then
24907 # Not all programs may use this symbol, but it does not hurt to define it.
24908
24909 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24910
24911 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24912 else
24913 if test -n "$x_includes"; then
24914 X_CFLAGS="$X_CFLAGS -I$x_includes"
24915 fi
24916
24917 # It would also be nice to do this for all -L options, not just this one.
24918 if test -n "$x_libraries"; then
24919 X_LIBS="$X_LIBS -L$x_libraries"
24920 # For Solaris; some versions of Sun CC require a space after -R and
24921 # others require no space. Words are not sufficient . . . .
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24923 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24924 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24925 ac_xsave_c_werror_flag=$ac_c_werror_flag
24926 ac_c_werror_flag=yes
24927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h. */
24929
24930 int
24931 main ()
24932 {
24933
24934 ;
24935 return 0;
24936 }
24937 _ACEOF
24938 if ac_fn_c_try_link "$LINENO"; then :
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24940 $as_echo "no" >&6; }
24941 X_LIBS="$X_LIBS -R$x_libraries"
24942 else
24943 LIBS="$ac_xsave_LIBS -R $x_libraries"
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946
24947 int
24948 main ()
24949 {
24950
24951 ;
24952 return 0;
24953 }
24954 _ACEOF
24955 if ac_fn_c_try_link "$LINENO"; then :
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24957 $as_echo "yes" >&6; }
24958 X_LIBS="$X_LIBS -R $x_libraries"
24959 else
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24961 $as_echo "neither works" >&6; }
24962 fi
24963 rm -f core conftest.err conftest.$ac_objext \
24964 conftest$ac_exeext conftest.$ac_ext
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext \
24967 conftest$ac_exeext conftest.$ac_ext
24968 ac_c_werror_flag=$ac_xsave_c_werror_flag
24969 LIBS=$ac_xsave_LIBS
24970 fi
24971
24972 # Check for system-dependent libraries X programs must link with.
24973 # Do this before checking for the system-independent R6 libraries
24974 # (-lICE), since we may need -lsocket or whatever for X linking.
24975
24976 if test "$ISC" = yes; then
24977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24978 else
24979 # Martyn Johnson says this is needed for Ultrix, if the X
24980 # libraries were built with DECnet support. And Karl Berry says
24981 # the Alpha needs dnet_stub (dnet does not exist).
24982 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24984 /* end confdefs.h. */
24985
24986 /* Override any GCC internal prototype to avoid an error.
24987 Use char because int might match the return type of a GCC
24988 builtin and then its argument prototype would still apply. */
24989 #ifdef __cplusplus
24990 extern "C"
24991 #endif
24992 char XOpenDisplay ();
24993 int
24994 main ()
24995 {
24996 return XOpenDisplay ();
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 if ac_fn_c_try_link "$LINENO"; then :
25002
25003 else
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25005 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25006 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25007 $as_echo_n "(cached) " >&6
25008 else
25009 ac_check_lib_save_LIBS=$LIBS
25010 LIBS="-ldnet $LIBS"
25011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h. */
25013
25014 /* Override any GCC internal prototype to avoid an error.
25015 Use char because int might match the return type of a GCC
25016 builtin and then its argument prototype would still apply. */
25017 #ifdef __cplusplus
25018 extern "C"
25019 #endif
25020 char dnet_ntoa ();
25021 int
25022 main ()
25023 {
25024 return dnet_ntoa ();
25025 ;
25026 return 0;
25027 }
25028 _ACEOF
25029 if ac_fn_c_try_link "$LINENO"; then :
25030 ac_cv_lib_dnet_dnet_ntoa=yes
25031 else
25032 ac_cv_lib_dnet_dnet_ntoa=no
25033 fi
25034 rm -f core conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25036 LIBS=$ac_check_lib_save_LIBS
25037 fi
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25039 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25040 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25041 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25042 fi
25043
25044 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25046 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25047 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25048 $as_echo_n "(cached) " >&6
25049 else
25050 ac_check_lib_save_LIBS=$LIBS
25051 LIBS="-ldnet_stub $LIBS"
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054
25055 /* Override any GCC internal prototype to avoid an error.
25056 Use char because int might match the return type of a GCC
25057 builtin and then its argument prototype would still apply. */
25058 #ifdef __cplusplus
25059 extern "C"
25060 #endif
25061 char dnet_ntoa ();
25062 int
25063 main ()
25064 {
25065 return dnet_ntoa ();
25066 ;
25067 return 0;
25068 }
25069 _ACEOF
25070 if ac_fn_c_try_link "$LINENO"; then :
25071 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25072 else
25073 ac_cv_lib_dnet_stub_dnet_ntoa=no
25074 fi
25075 rm -f core conftest.err conftest.$ac_objext \
25076 conftest$ac_exeext conftest.$ac_ext
25077 LIBS=$ac_check_lib_save_LIBS
25078 fi
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25080 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25081 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25082 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25083 fi
25084
25085 fi
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext \
25088 conftest$ac_exeext conftest.$ac_ext
25089 LIBS="$ac_xsave_LIBS"
25090
25091 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25092 # to get the SysV transport functions.
25093 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25094 # needs -lnsl.
25095 # The nsl library prevents programs from opening the X display
25096 # on Irix 5.2, according to T.E. Dickey.
25097 # The functions gethostbyname, getservbyname, and inet_addr are
25098 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25099 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25100 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25101
25102 fi
25103
25104 if test $ac_cv_func_gethostbyname = no; then
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25106 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25107 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25108 $as_echo_n "(cached) " >&6
25109 else
25110 ac_check_lib_save_LIBS=$LIBS
25111 LIBS="-lnsl $LIBS"
25112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25113 /* end confdefs.h. */
25114
25115 /* Override any GCC internal prototype to avoid an error.
25116 Use char because int might match the return type of a GCC
25117 builtin and then its argument prototype would still apply. */
25118 #ifdef __cplusplus
25119 extern "C"
25120 #endif
25121 char gethostbyname ();
25122 int
25123 main ()
25124 {
25125 return gethostbyname ();
25126 ;
25127 return 0;
25128 }
25129 _ACEOF
25130 if ac_fn_c_try_link "$LINENO"; then :
25131 ac_cv_lib_nsl_gethostbyname=yes
25132 else
25133 ac_cv_lib_nsl_gethostbyname=no
25134 fi
25135 rm -f core conftest.err conftest.$ac_objext \
25136 conftest$ac_exeext conftest.$ac_ext
25137 LIBS=$ac_check_lib_save_LIBS
25138 fi
25139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25140 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25141 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25143 fi
25144
25145 if test $ac_cv_lib_nsl_gethostbyname = no; then
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25147 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25148 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25149 $as_echo_n "(cached) " >&6
25150 else
25151 ac_check_lib_save_LIBS=$LIBS
25152 LIBS="-lbsd $LIBS"
25153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h. */
25155
25156 /* Override any GCC internal prototype to avoid an error.
25157 Use char because int might match the return type of a GCC
25158 builtin and then its argument prototype would still apply. */
25159 #ifdef __cplusplus
25160 extern "C"
25161 #endif
25162 char gethostbyname ();
25163 int
25164 main ()
25165 {
25166 return gethostbyname ();
25167 ;
25168 return 0;
25169 }
25170 _ACEOF
25171 if ac_fn_c_try_link "$LINENO"; then :
25172 ac_cv_lib_bsd_gethostbyname=yes
25173 else
25174 ac_cv_lib_bsd_gethostbyname=no
25175 fi
25176 rm -f core conftest.err conftest.$ac_objext \
25177 conftest$ac_exeext conftest.$ac_ext
25178 LIBS=$ac_check_lib_save_LIBS
25179 fi
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25181 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25182 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25184 fi
25185
25186 fi
25187 fi
25188
25189 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25190 # socket/setsockopt and other routines are undefined under SCO ODT
25191 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25192 # on later versions), says Simon Leinen: it contains gethostby*
25193 # variants that don't use the name server (or something). -lsocket
25194 # must be given before -lnsl if both are needed. We assume that
25195 # if connect needs -lnsl, so does gethostbyname.
25196 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25197 if test "x$ac_cv_func_connect" = xyes; then :
25198
25199 fi
25200
25201 if test $ac_cv_func_connect = no; then
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25203 $as_echo_n "checking for connect in -lsocket... " >&6; }
25204 if ${ac_cv_lib_socket_connect+:} false; then :
25205 $as_echo_n "(cached) " >&6
25206 else
25207 ac_check_lib_save_LIBS=$LIBS
25208 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h. */
25211
25212 /* Override any GCC internal prototype to avoid an error.
25213 Use char because int might match the return type of a GCC
25214 builtin and then its argument prototype would still apply. */
25215 #ifdef __cplusplus
25216 extern "C"
25217 #endif
25218 char connect ();
25219 int
25220 main ()
25221 {
25222 return connect ();
25223 ;
25224 return 0;
25225 }
25226 _ACEOF
25227 if ac_fn_c_try_link "$LINENO"; then :
25228 ac_cv_lib_socket_connect=yes
25229 else
25230 ac_cv_lib_socket_connect=no
25231 fi
25232 rm -f core conftest.err conftest.$ac_objext \
25233 conftest$ac_exeext conftest.$ac_ext
25234 LIBS=$ac_check_lib_save_LIBS
25235 fi
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25237 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25238 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25239 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25240 fi
25241
25242 fi
25243
25244 # Guillermo Gomez says -lposix is necessary on A/UX.
25245 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25246 if test "x$ac_cv_func_remove" = xyes; then :
25247
25248 fi
25249
25250 if test $ac_cv_func_remove = no; then
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25252 $as_echo_n "checking for remove in -lposix... " >&6; }
25253 if ${ac_cv_lib_posix_remove+:} false; then :
25254 $as_echo_n "(cached) " >&6
25255 else
25256 ac_check_lib_save_LIBS=$LIBS
25257 LIBS="-lposix $LIBS"
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25260
25261 /* Override any GCC internal prototype to avoid an error.
25262 Use char because int might match the return type of a GCC
25263 builtin and then its argument prototype would still apply. */
25264 #ifdef __cplusplus
25265 extern "C"
25266 #endif
25267 char remove ();
25268 int
25269 main ()
25270 {
25271 return remove ();
25272 ;
25273 return 0;
25274 }
25275 _ACEOF
25276 if ac_fn_c_try_link "$LINENO"; then :
25277 ac_cv_lib_posix_remove=yes
25278 else
25279 ac_cv_lib_posix_remove=no
25280 fi
25281 rm -f core conftest.err conftest.$ac_objext \
25282 conftest$ac_exeext conftest.$ac_ext
25283 LIBS=$ac_check_lib_save_LIBS
25284 fi
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25286 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25287 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25289 fi
25290
25291 fi
25292
25293 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25294 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25295 if test "x$ac_cv_func_shmat" = xyes; then :
25296
25297 fi
25298
25299 if test $ac_cv_func_shmat = no; then
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25301 $as_echo_n "checking for shmat in -lipc... " >&6; }
25302 if ${ac_cv_lib_ipc_shmat+:} false; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25305 ac_check_lib_save_LIBS=$LIBS
25306 LIBS="-lipc $LIBS"
25307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25308 /* end confdefs.h. */
25309
25310 /* Override any GCC internal prototype to avoid an error.
25311 Use char because int might match the return type of a GCC
25312 builtin and then its argument prototype would still apply. */
25313 #ifdef __cplusplus
25314 extern "C"
25315 #endif
25316 char shmat ();
25317 int
25318 main ()
25319 {
25320 return shmat ();
25321 ;
25322 return 0;
25323 }
25324 _ACEOF
25325 if ac_fn_c_try_link "$LINENO"; then :
25326 ac_cv_lib_ipc_shmat=yes
25327 else
25328 ac_cv_lib_ipc_shmat=no
25329 fi
25330 rm -f core conftest.err conftest.$ac_objext \
25331 conftest$ac_exeext conftest.$ac_ext
25332 LIBS=$ac_check_lib_save_LIBS
25333 fi
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25335 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25336 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25337 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25338 fi
25339
25340 fi
25341 fi
25342
25343 # Check for libraries that X11R6 Xt/Xaw programs need.
25344 ac_save_LDFLAGS=$LDFLAGS
25345 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25346 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25347 # check for ICE first), but we must link in the order -lSM -lICE or
25348 # we get undefined symbols. So assume we have SM if we have ICE.
25349 # These have to be linked with before -lX11, unlike the other
25350 # libraries we check for below, so use a different variable.
25351 # John Interrante, Karl Berry
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25353 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25354 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25355 $as_echo_n "(cached) " >&6
25356 else
25357 ac_check_lib_save_LIBS=$LIBS
25358 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25360 /* end confdefs.h. */
25361
25362 /* Override any GCC internal prototype to avoid an error.
25363 Use char because int might match the return type of a GCC
25364 builtin and then its argument prototype would still apply. */
25365 #ifdef __cplusplus
25366 extern "C"
25367 #endif
25368 char IceConnectionNumber ();
25369 int
25370 main ()
25371 {
25372 return IceConnectionNumber ();
25373 ;
25374 return 0;
25375 }
25376 _ACEOF
25377 if ac_fn_c_try_link "$LINENO"; then :
25378 ac_cv_lib_ICE_IceConnectionNumber=yes
25379 else
25380 ac_cv_lib_ICE_IceConnectionNumber=no
25381 fi
25382 rm -f core conftest.err conftest.$ac_objext \
25383 conftest$ac_exeext conftest.$ac_ext
25384 LIBS=$ac_check_lib_save_LIBS
25385 fi
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25387 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25388 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25389 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25390 fi
25391
25392 LDFLAGS=$ac_save_LDFLAGS
25393
25394 fi
25395
25396
25397 if test "$no_x" = "yes"; then
25398 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25399 fi
25400
25401 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25402 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25403 AFMINSTALL=afminstall
25404 COMPILED_X_PROGRAM=0
25405
25406 fi
25407
25408 if test "$wxUSE_X11" = 1; then
25409 if test "$wxUSE_NANOX" = "yes"; then
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25411 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25412 if test "x$MICROWIN" = x ; then
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25414 $as_echo "not found" >&6; }
25415 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25416 else
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25418 $as_echo "$MICROWIN" >&6; }
25419 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25420
25421 fi
25422 fi
25423
25424 if test "$wxUSE_UNICODE" = "yes"; then
25425
25426
25427 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25428 if test -n "$ac_tool_prefix"; then
25429 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25430 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25432 $as_echo_n "checking for $ac_word... " >&6; }
25433 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25434 $as_echo_n "(cached) " >&6
25435 else
25436 case $PKG_CONFIG in
25437 [\\/]* | ?:[\\/]*)
25438 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25439 ;;
25440 *)
25441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25442 for as_dir in $PATH
25443 do
25444 IFS=$as_save_IFS
25445 test -z "$as_dir" && as_dir=.
25446 for ac_exec_ext in '' $ac_executable_extensions; do
25447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25448 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25450 break 2
25451 fi
25452 done
25453 done
25454 IFS=$as_save_IFS
25455
25456 ;;
25457 esac
25458 fi
25459 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25460 if test -n "$PKG_CONFIG"; then
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25462 $as_echo "$PKG_CONFIG" >&6; }
25463 else
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25465 $as_echo "no" >&6; }
25466 fi
25467
25468
25469 fi
25470 if test -z "$ac_cv_path_PKG_CONFIG"; then
25471 ac_pt_PKG_CONFIG=$PKG_CONFIG
25472 # Extract the first word of "pkg-config", so it can be a program name with args.
25473 set dummy pkg-config; ac_word=$2
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25475 $as_echo_n "checking for $ac_word... " >&6; }
25476 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25477 $as_echo_n "(cached) " >&6
25478 else
25479 case $ac_pt_PKG_CONFIG in
25480 [\\/]* | ?:[\\/]*)
25481 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25482 ;;
25483 *)
25484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25485 for as_dir in $PATH
25486 do
25487 IFS=$as_save_IFS
25488 test -z "$as_dir" && as_dir=.
25489 for ac_exec_ext in '' $ac_executable_extensions; do
25490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25491 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25493 break 2
25494 fi
25495 done
25496 done
25497 IFS=$as_save_IFS
25498
25499 ;;
25500 esac
25501 fi
25502 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25503 if test -n "$ac_pt_PKG_CONFIG"; then
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25505 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25506 else
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25508 $as_echo "no" >&6; }
25509 fi
25510
25511 if test "x$ac_pt_PKG_CONFIG" = x; then
25512 PKG_CONFIG=""
25513 else
25514 case $cross_compiling:$ac_tool_warned in
25515 yes:)
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25518 ac_tool_warned=yes ;;
25519 esac
25520 PKG_CONFIG=$ac_pt_PKG_CONFIG
25521 fi
25522 else
25523 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25524 fi
25525
25526 fi
25527 if test -n "$PKG_CONFIG"; then
25528 _pkg_min_version=0.9.0
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25530 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25531 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25533 $as_echo "yes" >&6; }
25534 else
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25536 $as_echo "no" >&6; }
25537 PKG_CONFIG=""
25538 fi
25539
25540 fi
25541
25542
25543 pkg_failed=no
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25545 $as_echo_n "checking for PANGOX... " >&6; }
25546
25547 if test -n "$PKG_CONFIG"; then
25548 if test -n "$PANGOX_CFLAGS"; then
25549 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25550 else
25551 if test -n "$PKG_CONFIG" && \
25552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25553 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25554 ac_status=$?
25555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25556 test $ac_status = 0; }; then
25557 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25558 else
25559 pkg_failed=yes
25560 fi
25561 fi
25562 else
25563 pkg_failed=untried
25564 fi
25565 if test -n "$PKG_CONFIG"; then
25566 if test -n "$PANGOX_LIBS"; then
25567 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25568 else
25569 if test -n "$PKG_CONFIG" && \
25570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25571 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25572 ac_status=$?
25573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25574 test $ac_status = 0; }; then
25575 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25576 else
25577 pkg_failed=yes
25578 fi
25579 fi
25580 else
25581 pkg_failed=untried
25582 fi
25583
25584
25585
25586 if test $pkg_failed = yes; then
25587
25588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25589 _pkg_short_errors_supported=yes
25590 else
25591 _pkg_short_errors_supported=no
25592 fi
25593 if test $_pkg_short_errors_supported = yes; then
25594 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25595 else
25596 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25597 fi
25598 # Put the nasty error message in config.log where it belongs
25599 echo "$PANGOX_PKG_ERRORS" >&5
25600
25601
25602 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25603
25604
25605 elif test $pkg_failed = untried; then
25606
25607 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25608
25609
25610 else
25611 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25612 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25614 $as_echo "yes" >&6; }
25615
25616 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25617 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25619
25620 fi
25621
25622 pkg_failed=no
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25624 $as_echo_n "checking for PANGOFT2... " >&6; }
25625
25626 if test -n "$PKG_CONFIG"; then
25627 if test -n "$PANGOFT2_CFLAGS"; then
25628 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25629 else
25630 if test -n "$PKG_CONFIG" && \
25631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25632 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25633 ac_status=$?
25634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25635 test $ac_status = 0; }; then
25636 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25637 else
25638 pkg_failed=yes
25639 fi
25640 fi
25641 else
25642 pkg_failed=untried
25643 fi
25644 if test -n "$PKG_CONFIG"; then
25645 if test -n "$PANGOFT2_LIBS"; then
25646 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25647 else
25648 if test -n "$PKG_CONFIG" && \
25649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25650 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25651 ac_status=$?
25652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25653 test $ac_status = 0; }; then
25654 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25655 else
25656 pkg_failed=yes
25657 fi
25658 fi
25659 else
25660 pkg_failed=untried
25661 fi
25662
25663
25664
25665 if test $pkg_failed = yes; then
25666
25667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25668 _pkg_short_errors_supported=yes
25669 else
25670 _pkg_short_errors_supported=no
25671 fi
25672 if test $_pkg_short_errors_supported = yes; then
25673 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25674 else
25675 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25676 fi
25677 # Put the nasty error message in config.log where it belongs
25678 echo "$PANGOFT2_PKG_ERRORS" >&5
25679
25680
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25682 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25683 wxUSE_PRINTING_ARCHITECTURE="no"
25684
25685
25686 elif test $pkg_failed = untried; then
25687
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25689 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25690 wxUSE_PRINTING_ARCHITECTURE="no"
25691
25692
25693 else
25694 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25695 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25697 $as_echo "yes" >&6; }
25698
25699 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25700 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25701 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25702
25703 fi
25704
25705 pkg_failed=no
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25707 $as_echo_n "checking for PANGOXFT... " >&6; }
25708
25709 if test -n "$PKG_CONFIG"; then
25710 if test -n "$PANGOXFT_CFLAGS"; then
25711 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25712 else
25713 if test -n "$PKG_CONFIG" && \
25714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25715 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25716 ac_status=$?
25717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25718 test $ac_status = 0; }; then
25719 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25720 else
25721 pkg_failed=yes
25722 fi
25723 fi
25724 else
25725 pkg_failed=untried
25726 fi
25727 if test -n "$PKG_CONFIG"; then
25728 if test -n "$PANGOXFT_LIBS"; then
25729 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25730 else
25731 if test -n "$PKG_CONFIG" && \
25732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25733 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25734 ac_status=$?
25735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25736 test $ac_status = 0; }; then
25737 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25738 else
25739 pkg_failed=yes
25740 fi
25741 fi
25742 else
25743 pkg_failed=untried
25744 fi
25745
25746
25747
25748 if test $pkg_failed = yes; then
25749
25750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25751 _pkg_short_errors_supported=yes
25752 else
25753 _pkg_short_errors_supported=no
25754 fi
25755 if test $_pkg_short_errors_supported = yes; then
25756 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25757 else
25758 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25759 fi
25760 # Put the nasty error message in config.log where it belongs
25761 echo "$PANGOXFT_PKG_ERRORS" >&5
25762
25763
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25765 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25766
25767
25768 elif test $pkg_failed = untried; then
25769
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25771 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25772
25773
25774 else
25775 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25776 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25778 $as_echo "yes" >&6; }
25779
25780 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25781
25782 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25783 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25784 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25785
25786 fi
25787 save_LIBS="$LIBS"
25788 LIBS="$LIBS $PANGOX_LIBS"
25789 for ac_func in pango_font_family_is_monospace
25790 do :
25791 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25792 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25793 cat >>confdefs.h <<_ACEOF
25794 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25795 _ACEOF
25796
25797 fi
25798 done
25799
25800 LIBS="$save_LIBS"
25801 fi
25802
25803 wxUSE_UNIVERSAL="yes"
25804
25805 if test "$wxUSE_NANOX" = "yes"; then
25806 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25807 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"
25808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25809 else
25810 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25811 fi
25812
25813 TOOLKIT=X11
25814 GUIDIST=X11_DIST
25815 fi
25816
25817 if test "$wxUSE_MOTIF" = 1; then
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25819 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25820
25821 ac_find_includes=
25822 for ac_dir in $SEARCH_INCLUDE /usr/include
25823 do
25824 if test -f "$ac_dir/Xm/Xm.h"; then
25825 ac_find_includes=$ac_dir
25826 break
25827 fi
25828 done
25829
25830 if test "$ac_find_includes" != "" ; then
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25832 $as_echo "found in $ac_find_includes" >&6; }
25833
25834 if test "x$ac_find_includes" = "x/usr/include"; then
25835 ac_path_to_include=""
25836 else
25837 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25838 result=$?
25839 if test $result = 0; then
25840 ac_path_to_include=""
25841 else
25842 ac_path_to_include=" -I$ac_find_includes"
25843 fi
25844 fi
25845
25846 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25847 else
25848 save_CFLAGS=$CFLAGS
25849 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25850
25851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25852 /* end confdefs.h. */
25853
25854 #include <Xm/Xm.h>
25855
25856 int
25857 main ()
25858 {
25859
25860 int version;
25861 version = xmUseVersion;
25862
25863 ;
25864 return 0;
25865 }
25866 _ACEOF
25867 if ac_fn_c_try_compile "$LINENO"; then :
25868
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25870 $as_echo "found in default search path" >&6; }
25871 COMPILED_X_PROGRAM=1
25872
25873 else
25874
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25876 $as_echo "no" >&6; }
25877 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25878
25879
25880 fi
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25882
25883 CFLAGS=$save_CFLAGS
25884 fi
25885
25886
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25888 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25889
25890 ac_find_libraries=
25891 for ac_dir in $SEARCH_LIB
25892 do
25893 for ac_extension in a so sl dylib dll.a; do
25894 if test -f "$ac_dir/libXm.$ac_extension"; then
25895 ac_find_libraries=$ac_dir
25896 break 2
25897 fi
25898 done
25899 done
25900
25901
25902 if test "x$ac_find_libraries" != "x" ; then
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25904 $as_echo "found in $ac_find_libraries" >&6; }
25905
25906
25907 if test "$ac_find_libraries" = "default location"; then
25908 ac_path_to_link=""
25909 else
25910 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25911 result=$?
25912 if test $result = 0; then
25913 ac_path_to_link=""
25914 else
25915 ac_path_to_link=" -L$ac_find_libraries"
25916 fi
25917 fi
25918
25919 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25920 else
25921 save_CFLAGS=$CFLAGS
25922 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25923 save_LIBS="$LIBS"
25924 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25925
25926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25927 /* end confdefs.h. */
25928
25929 #include <Xm/Xm.h>
25930
25931 int
25932 main ()
25933 {
25934
25935 int version;
25936 version = xmUseVersion;
25937
25938 ;
25939 return 0;
25940 }
25941 _ACEOF
25942 if ac_fn_c_try_link "$LINENO"; then :
25943
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25945 $as_echo "found in default search path" >&6; }
25946 COMPILED_X_PROGRAM=1
25947
25948 else
25949
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25951 $as_echo "no" >&6; }
25952 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25953
25954
25955 fi
25956 rm -f core conftest.err conftest.$ac_objext \
25957 conftest$ac_exeext conftest.$ac_ext
25958
25959 CFLAGS=$save_CFLAGS
25960 LIBS="$save_LIBS"
25961 fi
25962
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25964 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25965 libp_link=""
25966 libsm_ice_link=""
25967 libs_found=0
25968 for libp in "" " -lXp"; do
25969 if test "$libs_found" = 0; then
25970 for libsm_ice in "" " -lSM -lICE"; do
25971 if test "$libs_found" = 0; then
25972 save_LIBS="$LIBS"
25973 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25974 save_CFLAGS=$CFLAGS
25975 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25976
25977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25978 /* end confdefs.h. */
25979
25980 #include <Xm/Xm.h>
25981 #include <Xm/List.h>
25982
25983 int
25984 main ()
25985 {
25986
25987 XmString string = NULL;
25988 Widget w = NULL;
25989 int position = 0;
25990 XmListAddItem(w, string, position);
25991
25992 ;
25993 return 0;
25994 }
25995 _ACEOF
25996 if ac_fn_c_try_link "$LINENO"; then :
25997
25998 libp_link="$libp"
25999 libsm_ice_link="$libsm_ice"
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26001 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26002 libs_found=1
26003
26004 fi
26005 rm -f core conftest.err conftest.$ac_objext \
26006 conftest$ac_exeext conftest.$ac_ext
26007
26008 LIBS="$save_LIBS"
26009 CFLAGS=$save_CFLAGS
26010 fi
26011 done
26012 fi
26013 done
26014
26015 if test "$libs_found" = 0; then
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26017 $as_echo "can't find the right libraries" >&6; }
26018 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26019 fi
26020
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26022 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26023 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26024 $as_echo_n "(cached) " >&6
26025 else
26026 ac_check_lib_save_LIBS=$LIBS
26027 LIBS="-lSgm $LIBS"
26028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26029 /* end confdefs.h. */
26030
26031 /* Override any GCC internal prototype to avoid an error.
26032 Use char because int might match the return type of a GCC
26033 builtin and then its argument prototype would still apply. */
26034 #ifdef __cplusplus
26035 extern "C"
26036 #endif
26037 char SgCreateList ();
26038 int
26039 main ()
26040 {
26041 return SgCreateList ();
26042 ;
26043 return 0;
26044 }
26045 _ACEOF
26046 if ac_fn_c_try_link "$LINENO"; then :
26047 ac_cv_lib_Sgm_SgCreateList=yes
26048 else
26049 ac_cv_lib_Sgm_SgCreateList=no
26050 fi
26051 rm -f core conftest.err conftest.$ac_objext \
26052 conftest$ac_exeext conftest.$ac_ext
26053 LIBS=$ac_check_lib_save_LIBS
26054 fi
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26056 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26057 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26058 libsgm_link=" -lSgm"
26059 fi
26060
26061
26062 save_CFLAGS=$CFLAGS
26063 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26064
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26066 $as_echo_n "checking for Motif 2... " >&6; }
26067 if ${wx_cv_lib_motif2+:} false; then :
26068 $as_echo_n "(cached) " >&6
26069 else
26070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26071 /* end confdefs.h. */
26072
26073 #include <Xm/Xm.h>
26074
26075 int
26076 main ()
26077 {
26078
26079 #if XmVersion < 2000
26080 Not Motif 2
26081 #endif
26082
26083 ;
26084 return 0;
26085 }
26086 _ACEOF
26087 if ac_fn_c_try_compile "$LINENO"; then :
26088 wx_cv_lib_motif2="yes"
26089 else
26090 wx_cv_lib_motif2="no"
26091 fi
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26095 $as_echo "$wx_cv_lib_motif2" >&6; }
26096 if test "$wx_cv_lib_motif2" = "yes"; then
26097 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26098
26099 else
26100 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26101
26102 fi
26103
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26105 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26106 if ${wx_cv_lib_lesstif+:} false; then :
26107 $as_echo_n "(cached) " >&6
26108 else
26109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26110 /* end confdefs.h. */
26111
26112 #include <Xm/Xm.h>
26113
26114 int
26115 main ()
26116 {
26117
26118 #if !defined(LesstifVersion) || LesstifVersion <= 0
26119 Not Lesstif
26120 #endif
26121
26122 ;
26123 return 0;
26124 }
26125 _ACEOF
26126 if ac_fn_c_try_compile "$LINENO"; then :
26127 wx_cv_lib_lesstif="yes"
26128 else
26129 wx_cv_lib_lesstif="no"
26130 fi
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132
26133 fi
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26135 $as_echo "$wx_cv_lib_lesstif" >&6; }
26136 if test "$wx_cv_lib_lesstif" = "yes"; then
26137 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26138
26139 else
26140 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26141
26142 fi
26143
26144 CFLAGS=$save_CFLAGS
26145
26146 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26147 TOOLKIT=MOTIF
26148 GUIDIST=MOTIF_DIST
26149 fi
26150
26151 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26152 if test "$wxUSE_LIBXPM" = "sys"; then
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26154 $as_echo_n "checking for Xpm library... " >&6; }
26155
26156 ac_find_libraries=
26157 for ac_dir in $SEARCH_LIB
26158 do
26159 for ac_extension in a so sl dylib dll.a; do
26160 if test -f "$ac_dir/libXpm.$ac_extension"; then
26161 ac_find_libraries=$ac_dir
26162 break 2
26163 fi
26164 done
26165 done
26166
26167 if test "$ac_find_libraries" != "" ; then
26168
26169 if test "$ac_find_libraries" = "default location"; then
26170 ac_path_to_link=""
26171 else
26172 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26173 result=$?
26174 if test $result = 0; then
26175 ac_path_to_link=""
26176 else
26177 ac_path_to_link=" -L$ac_find_libraries"
26178 fi
26179 fi
26180
26181 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26183 $as_echo "found in $ac_find_libraries" >&6; }
26184
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26186 $as_echo_n "checking for X11/xpm.h... " >&6; }
26187 if ${wx_cv_x11_xpm_h+:} false; then :
26188 $as_echo_n "(cached) " >&6
26189 else
26190
26191 save_CFLAGS=$CFLAGS
26192 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26193
26194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26196
26197 #include <X11/xpm.h>
26198
26199 int
26200 main ()
26201 {
26202
26203 int version;
26204 version = XpmLibraryVersion();
26205
26206 ;
26207 return 0;
26208 }
26209 _ACEOF
26210 if ac_fn_c_try_compile "$LINENO"; then :
26211 wx_cv_x11_xpm_h=yes
26212 else
26213 wx_cv_x11_xpm_h=no
26214
26215 fi
26216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26217
26218 CFLAGS=$save_CFLAGS
26219
26220
26221 fi
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26223 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26224
26225 if test $wx_cv_x11_xpm_h = "yes"; then
26226 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26227 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26228
26229 else
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26231 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26232 fi
26233 fi
26234
26235 fi
26236
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26238 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26239 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26240 $as_echo_n "(cached) " >&6
26241 else
26242 ac_check_lib_save_LIBS=$LIBS
26243 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26245 /* end confdefs.h. */
26246
26247 /* Override any GCC internal prototype to avoid an error.
26248 Use char because int might match the return type of a GCC
26249 builtin and then its argument prototype would still apply. */
26250 #ifdef __cplusplus
26251 extern "C"
26252 #endif
26253 char XShapeQueryExtension ();
26254 int
26255 main ()
26256 {
26257 return XShapeQueryExtension ();
26258 ;
26259 return 0;
26260 }
26261 _ACEOF
26262 if ac_fn_c_try_link "$LINENO"; then :
26263 ac_cv_lib_Xext_XShapeQueryExtension=yes
26264 else
26265 ac_cv_lib_Xext_XShapeQueryExtension=no
26266 fi
26267 rm -f core conftest.err conftest.$ac_objext \
26268 conftest$ac_exeext conftest.$ac_ext
26269 LIBS=$ac_check_lib_save_LIBS
26270 fi
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26272 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26273 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26274
26275 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26276 wxHAVE_XEXT_LIB=1
26277
26278 fi
26279
26280
26281 if test "$wxHAVE_XEXT_LIB" = 1; then
26282 save_CFLAGS="$CFLAGS"
26283 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26284
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26286 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26288 /* end confdefs.h. */
26289
26290 #include <X11/Xlib.h>
26291 #include <X11/extensions/shape.h>
26292
26293 int
26294 main ()
26295 {
26296
26297 int dummy1, dummy2;
26298 XShapeQueryExtension((Display*)NULL,
26299 (int*)NULL, (int*)NULL);
26300
26301 ;
26302 return 0;
26303 }
26304 _ACEOF
26305 if ac_fn_c_try_compile "$LINENO"; then :
26306
26307 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26308
26309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26310 $as_echo "found" >&6; }
26311
26312 else
26313
26314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26315 $as_echo "not found" >&6; }
26316
26317 fi
26318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26319 CFLAGS="$save_CFLAGS"
26320
26321 fi
26322 fi
26323
26324 if test "$wxUSE_OSX_CARBON" = 1; then
26325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26326 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26327 if test "$GCC" = yes; then
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26329 $as_echo "gcc" >&6; }
26330 CPPFLAGS_PASCAL="-fpascal-strings"
26331 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26333 $as_echo "xlc" >&6; }
26334 CPPFLAGS_PASCAL="-qmacpstr"
26335 else
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26337 $as_echo "none" >&6; }
26338 fi
26339
26340 if test "x$wxUSE_UNIX" = "xyes"; then
26341 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26342 else
26343 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26344 fi
26345
26346 TOOLKIT=OSX_CARBON
26347 GUIDIST=OSX_CARBON_DIST
26348 WXBASEPORT="_carbon"
26349
26350 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26351 fi
26352
26353 if test "$wxUSE_OSX_COCOA" = 1; then
26354 TOOLKIT=OSX_COCOA
26355 GUIDIST=OSX_COCOA_DIST
26356
26357 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26358 fi
26359
26360 if test "$wxUSE_OSX_IPHONE" = 1; then
26361 TOOLKIT=OSX_IPHONE
26362 fi
26363
26364 if test "$wxUSE_OLD_COCOA" = 1; then
26365 TOOLKIT=COCOA
26366 GUIDIST=COCOA_DIST
26367 fi
26368
26369 if test "$wxUSE_PM" = 1; then
26370 TOOLKIT=PM
26371 GUIDIST=PM_DIST
26372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26373 $as_echo_n "checking for type SPBCDATA... " >&6; }
26374 if ${wx_cv_spbcdata+:} false; then :
26375 $as_echo_n "(cached) " >&6
26376 else
26377
26378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26379 /* end confdefs.h. */
26380
26381 #define INCL_PM
26382 #include <os2.h>
26383
26384 int
26385 main ()
26386 {
26387
26388 SPBCDATA test;
26389
26390 ;
26391 return 0;
26392 }
26393 _ACEOF
26394 if ac_fn_c_try_compile "$LINENO"; then :
26395 wx_cv_spbcdata=yes
26396 else
26397 wx_cv_spbcdata=no
26398
26399 fi
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401
26402
26403 fi
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26405 $as_echo "$wx_cv_spbcdata" >&6; }
26406
26407 if test $wx_cv_spbcdata = "yes"; then
26408 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26409
26410 fi
26411 fi
26412
26413 if test "$TOOLKIT" = "PM" ; then
26414 TOOLKIT_DIR="os2"
26415 else
26416 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26417 fi
26418
26419 if test "$wxUSE_UNIVERSAL" = "yes"; then
26420 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26421 WIDGET_SET=univ
26422 fi
26423
26424 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26425 DISTDIR="wx\$(TOOLKIT)"
26426 else
26427 USE_GUI=0
26428
26429 TOOLKIT_DIR="base"
26430
26431 if test "$USE_WIN32" = 1 ; then
26432 TOOLKIT="MSW"
26433 fi
26434
26435 GUIDIST="BASE_DIST"
26436 DISTDIR="wxBase"
26437 fi
26438
26439
26440
26441 if test "$wxUSE_GUI" = "yes"; then
26442 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26443 for ac_header in X11/Xlib.h
26444 do :
26445 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26446 "
26447 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26448 cat >>confdefs.h <<_ACEOF
26449 #define HAVE_X11_XLIB_H 1
26450 _ACEOF
26451
26452 fi
26453
26454 done
26455
26456 for ac_header in X11/XKBlib.h
26457 do :
26458 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26459 #if HAVE_X11_XLIB_H
26460 #include <X11/Xlib.h>
26461 #endif
26462
26463 "
26464 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26465 cat >>confdefs.h <<_ACEOF
26466 #define HAVE_X11_XKBLIB_H 1
26467 _ACEOF
26468
26469 fi
26470
26471 done
26472
26473 fi
26474 fi
26475
26476
26477
26478 USE_XINERAMA=0
26479 if test "$wxUSE_DISPLAY" = "yes"; then
26480 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26481
26482 ac_find_libraries=
26483
26484 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26485
26486
26487 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26488 if test -n "$ac_tool_prefix"; then
26489 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26490 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26492 $as_echo_n "checking for $ac_word... " >&6; }
26493 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26496 case $PKG_CONFIG in
26497 [\\/]* | ?:[\\/]*)
26498 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26499 ;;
26500 *)
26501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26502 for as_dir in $PATH
26503 do
26504 IFS=$as_save_IFS
26505 test -z "$as_dir" && as_dir=.
26506 for ac_exec_ext in '' $ac_executable_extensions; do
26507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26508 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26510 break 2
26511 fi
26512 done
26513 done
26514 IFS=$as_save_IFS
26515
26516 ;;
26517 esac
26518 fi
26519 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26520 if test -n "$PKG_CONFIG"; then
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26522 $as_echo "$PKG_CONFIG" >&6; }
26523 else
26524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 $as_echo "no" >&6; }
26526 fi
26527
26528
26529 fi
26530 if test -z "$ac_cv_path_PKG_CONFIG"; then
26531 ac_pt_PKG_CONFIG=$PKG_CONFIG
26532 # Extract the first word of "pkg-config", so it can be a program name with args.
26533 set dummy pkg-config; ac_word=$2
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26535 $as_echo_n "checking for $ac_word... " >&6; }
26536 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26537 $as_echo_n "(cached) " >&6
26538 else
26539 case $ac_pt_PKG_CONFIG in
26540 [\\/]* | ?:[\\/]*)
26541 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26542 ;;
26543 *)
26544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26545 for as_dir in $PATH
26546 do
26547 IFS=$as_save_IFS
26548 test -z "$as_dir" && as_dir=.
26549 for ac_exec_ext in '' $ac_executable_extensions; do
26550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26551 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26553 break 2
26554 fi
26555 done
26556 done
26557 IFS=$as_save_IFS
26558
26559 ;;
26560 esac
26561 fi
26562 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26563 if test -n "$ac_pt_PKG_CONFIG"; then
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26565 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26566 else
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26568 $as_echo "no" >&6; }
26569 fi
26570
26571 if test "x$ac_pt_PKG_CONFIG" = x; then
26572 PKG_CONFIG=""
26573 else
26574 case $cross_compiling:$ac_tool_warned in
26575 yes:)
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26578 ac_tool_warned=yes ;;
26579 esac
26580 PKG_CONFIG=$ac_pt_PKG_CONFIG
26581 fi
26582 else
26583 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26584 fi
26585
26586 fi
26587 if test -n "$PKG_CONFIG"; then
26588 _pkg_min_version=0.9.0
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26590 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26591 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26593 $as_echo "yes" >&6; }
26594 else
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26596 $as_echo "no" >&6; }
26597 PKG_CONFIG=""
26598 fi
26599
26600 fi 6> /dev/null
26601
26602 pkg_failed=no
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26604 $as_echo_n "checking for Xinerama... " >&6; }
26605
26606 if test -n "$PKG_CONFIG"; then
26607 if test -n "$Xinerama_CFLAGS"; then
26608 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26609 else
26610 if test -n "$PKG_CONFIG" && \
26611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26612 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26613 ac_status=$?
26614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26615 test $ac_status = 0; }; then
26616 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26617 else
26618 pkg_failed=yes
26619 fi
26620 fi
26621 else
26622 pkg_failed=untried
26623 fi
26624 if test -n "$PKG_CONFIG"; then
26625 if test -n "$Xinerama_LIBS"; then
26626 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26627 else
26628 if test -n "$PKG_CONFIG" && \
26629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26630 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26631 ac_status=$?
26632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26633 test $ac_status = 0; }; then
26634 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26635 else
26636 pkg_failed=yes
26637 fi
26638 fi
26639 else
26640 pkg_failed=untried
26641 fi
26642
26643
26644
26645 if test $pkg_failed = yes; then
26646
26647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26648 _pkg_short_errors_supported=yes
26649 else
26650 _pkg_short_errors_supported=no
26651 fi
26652 if test $_pkg_short_errors_supported = yes; then
26653 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26654 else
26655 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26656 fi
26657 # Put the nasty error message in config.log where it belongs
26658 echo "$Xinerama_PKG_ERRORS" >&5
26659
26660
26661 if test "x$ac_find_libraries" = "x"; then
26662 if test "xXineramaQueryScreens" != "x"; then
26663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26664 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26665 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26666 $as_echo_n "(cached) " >&6
26667 else
26668 ac_check_lib_save_LIBS=$LIBS
26669 LIBS="-lXinerama $LIBS"
26670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26671 /* end confdefs.h. */
26672
26673 /* Override any GCC internal prototype to avoid an error.
26674 Use char because int might match the return type of a GCC
26675 builtin and then its argument prototype would still apply. */
26676 #ifdef __cplusplus
26677 extern "C"
26678 #endif
26679 char XineramaQueryScreens ();
26680 int
26681 main ()
26682 {
26683 return XineramaQueryScreens ();
26684 ;
26685 return 0;
26686 }
26687 _ACEOF
26688 if ac_fn_c_try_link "$LINENO"; then :
26689 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26690 else
26691 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26692 fi
26693 rm -f core conftest.err conftest.$ac_objext \
26694 conftest$ac_exeext conftest.$ac_ext
26695 LIBS=$ac_check_lib_save_LIBS
26696 fi
26697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26698 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26699 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26700 ac_find_libraries="std"
26701 fi
26702
26703 fi
26704 fi
26705
26706 if test "x$ac_find_libraries" = "x"; then
26707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26708 $as_echo_n "checking elsewhere... " >&6; }
26709
26710 ac_find_libraries=
26711 for ac_dir in $SEARCH_LIB
26712 do
26713 for ac_extension in a so sl dylib dll.a; do
26714 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26715 ac_find_libraries=$ac_dir
26716 break 2
26717 fi
26718 done
26719 done
26720
26721 if test "x$ac_find_libraries" != "x"; then
26722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26723 $as_echo "yes" >&6; }
26724 else
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26726 $as_echo "no" >&6; }
26727 fi
26728 fi
26729
26730 elif test $pkg_failed = untried; then
26731
26732 if test "x$ac_find_libraries" = "x"; then
26733 if test "xXineramaQueryScreens" != "x"; then
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26735 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26736 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26737 $as_echo_n "(cached) " >&6
26738 else
26739 ac_check_lib_save_LIBS=$LIBS
26740 LIBS="-lXinerama $LIBS"
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26743
26744 /* Override any GCC internal prototype to avoid an error.
26745 Use char because int might match the return type of a GCC
26746 builtin and then its argument prototype would still apply. */
26747 #ifdef __cplusplus
26748 extern "C"
26749 #endif
26750 char XineramaQueryScreens ();
26751 int
26752 main ()
26753 {
26754 return XineramaQueryScreens ();
26755 ;
26756 return 0;
26757 }
26758 _ACEOF
26759 if ac_fn_c_try_link "$LINENO"; then :
26760 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26761 else
26762 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26763 fi
26764 rm -f core conftest.err conftest.$ac_objext \
26765 conftest$ac_exeext conftest.$ac_ext
26766 LIBS=$ac_check_lib_save_LIBS
26767 fi
26768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26769 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26770 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26771 ac_find_libraries="std"
26772 fi
26773
26774 fi
26775 fi
26776
26777 if test "x$ac_find_libraries" = "x"; then
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26779 $as_echo_n "checking elsewhere... " >&6; }
26780
26781 ac_find_libraries=
26782 for ac_dir in $SEARCH_LIB
26783 do
26784 for ac_extension in a so sl dylib dll.a; do
26785 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26786 ac_find_libraries=$ac_dir
26787 break 2
26788 fi
26789 done
26790 done
26791
26792 if test "x$ac_find_libraries" != "x"; then
26793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26794 $as_echo "yes" >&6; }
26795 else
26796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26797 $as_echo "no" >&6; }
26798 fi
26799 fi
26800
26801 else
26802 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26803 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26805 $as_echo "yes" >&6; }
26806
26807 ac_find_libraries="std"
26808
26809 eval ac_find_cflags=\$Xinerama_CFLAGS
26810 eval fl_libs=\$Xinerama_LIBS
26811
26812 for fl_path in $fl_libs
26813 do
26814 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26815 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26816 fi
26817 done
26818
26819 fi
26820
26821 if test "$ac_find_libraries" != "" ; then
26822 if test "$ac_find_libraries" != "std" ; then
26823
26824 if test "$ac_find_libraries" = "default location"; then
26825 ac_path_to_link=""
26826 else
26827 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26828 result=$?
26829 if test $result = 0; then
26830 ac_path_to_link=""
26831 else
26832 ac_path_to_link=" -L$ac_find_libraries"
26833 fi
26834 fi
26835
26836 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26837 LDFLAGS="$LDFLAGS $ac_path_to_link"
26838 fi
26839 fi
26840 USE_XINERAMA=1
26841 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26842 else
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26844 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26845 wxUSE_DISPLAY="no"
26846 fi
26847 elif test "$wxUSE_MSW" = 1; then
26848 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26849 "
26850 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26851
26852 fi
26853
26854
26855 fi
26856 fi
26857
26858 if test "$wxUSE_DISPLAY" = "yes"; then
26859 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26860
26861 ac_find_libraries=
26862
26863 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26864
26865
26866 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26867 if test -n "$ac_tool_prefix"; then
26868 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26869 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26871 $as_echo_n "checking for $ac_word... " >&6; }
26872 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26873 $as_echo_n "(cached) " >&6
26874 else
26875 case $PKG_CONFIG in
26876 [\\/]* | ?:[\\/]*)
26877 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26878 ;;
26879 *)
26880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26881 for as_dir in $PATH
26882 do
26883 IFS=$as_save_IFS
26884 test -z "$as_dir" && as_dir=.
26885 for ac_exec_ext in '' $ac_executable_extensions; do
26886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26887 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26889 break 2
26890 fi
26891 done
26892 done
26893 IFS=$as_save_IFS
26894
26895 ;;
26896 esac
26897 fi
26898 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26899 if test -n "$PKG_CONFIG"; then
26900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26901 $as_echo "$PKG_CONFIG" >&6; }
26902 else
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26905 fi
26906
26907
26908 fi
26909 if test -z "$ac_cv_path_PKG_CONFIG"; then
26910 ac_pt_PKG_CONFIG=$PKG_CONFIG
26911 # Extract the first word of "pkg-config", so it can be a program name with args.
26912 set dummy pkg-config; ac_word=$2
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26914 $as_echo_n "checking for $ac_word... " >&6; }
26915 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26916 $as_echo_n "(cached) " >&6
26917 else
26918 case $ac_pt_PKG_CONFIG in
26919 [\\/]* | ?:[\\/]*)
26920 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26921 ;;
26922 *)
26923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26924 for as_dir in $PATH
26925 do
26926 IFS=$as_save_IFS
26927 test -z "$as_dir" && as_dir=.
26928 for ac_exec_ext in '' $ac_executable_extensions; do
26929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26930 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26932 break 2
26933 fi
26934 done
26935 done
26936 IFS=$as_save_IFS
26937
26938 ;;
26939 esac
26940 fi
26941 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26942 if test -n "$ac_pt_PKG_CONFIG"; then
26943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26944 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26945 else
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26947 $as_echo "no" >&6; }
26948 fi
26949
26950 if test "x$ac_pt_PKG_CONFIG" = x; then
26951 PKG_CONFIG=""
26952 else
26953 case $cross_compiling:$ac_tool_warned in
26954 yes:)
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26957 ac_tool_warned=yes ;;
26958 esac
26959 PKG_CONFIG=$ac_pt_PKG_CONFIG
26960 fi
26961 else
26962 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26963 fi
26964
26965 fi
26966 if test -n "$PKG_CONFIG"; then
26967 _pkg_min_version=0.9.0
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26969 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26970 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26972 $as_echo "yes" >&6; }
26973 else
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26975 $as_echo "no" >&6; }
26976 PKG_CONFIG=""
26977 fi
26978
26979 fi 6> /dev/null
26980
26981 pkg_failed=no
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26983 $as_echo_n "checking for Xxf86vm... " >&6; }
26984
26985 if test -n "$PKG_CONFIG"; then
26986 if test -n "$Xxf86vm_CFLAGS"; then
26987 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26988 else
26989 if test -n "$PKG_CONFIG" && \
26990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26991 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26992 ac_status=$?
26993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26994 test $ac_status = 0; }; then
26995 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26996 else
26997 pkg_failed=yes
26998 fi
26999 fi
27000 else
27001 pkg_failed=untried
27002 fi
27003 if test -n "$PKG_CONFIG"; then
27004 if test -n "$Xxf86vm_LIBS"; then
27005 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27006 else
27007 if test -n "$PKG_CONFIG" && \
27008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27009 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27010 ac_status=$?
27011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27012 test $ac_status = 0; }; then
27013 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27014 else
27015 pkg_failed=yes
27016 fi
27017 fi
27018 else
27019 pkg_failed=untried
27020 fi
27021
27022
27023
27024 if test $pkg_failed = yes; then
27025
27026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27027 _pkg_short_errors_supported=yes
27028 else
27029 _pkg_short_errors_supported=no
27030 fi
27031 if test $_pkg_short_errors_supported = yes; then
27032 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27033 else
27034 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27035 fi
27036 # Put the nasty error message in config.log where it belongs
27037 echo "$Xxf86vm_PKG_ERRORS" >&5
27038
27039
27040 if test "x$ac_find_libraries" = "x"; then
27041 if test "xXF86VidModeQueryExtension" != "x"; then
27042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27043 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27044 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27045 $as_echo_n "(cached) " >&6
27046 else
27047 ac_check_lib_save_LIBS=$LIBS
27048 LIBS="-lXxf86vm $LIBS"
27049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27050 /* end confdefs.h. */
27051
27052 /* Override any GCC internal prototype to avoid an error.
27053 Use char because int might match the return type of a GCC
27054 builtin and then its argument prototype would still apply. */
27055 #ifdef __cplusplus
27056 extern "C"
27057 #endif
27058 char XF86VidModeQueryExtension ();
27059 int
27060 main ()
27061 {
27062 return XF86VidModeQueryExtension ();
27063 ;
27064 return 0;
27065 }
27066 _ACEOF
27067 if ac_fn_c_try_link "$LINENO"; then :
27068 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27069 else
27070 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27071 fi
27072 rm -f core conftest.err conftest.$ac_objext \
27073 conftest$ac_exeext conftest.$ac_ext
27074 LIBS=$ac_check_lib_save_LIBS
27075 fi
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27077 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27078 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27079 ac_find_libraries="std"
27080 fi
27081
27082 fi
27083 fi
27084
27085 if test "x$ac_find_libraries" = "x"; then
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27087 $as_echo_n "checking elsewhere... " >&6; }
27088
27089 ac_find_libraries=
27090 for ac_dir in $SEARCH_LIB
27091 do
27092 for ac_extension in a so sl dylib dll.a; do
27093 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27094 ac_find_libraries=$ac_dir
27095 break 2
27096 fi
27097 done
27098 done
27099
27100 if test "x$ac_find_libraries" != "x"; then
27101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27102 $as_echo "yes" >&6; }
27103 else
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27105 $as_echo "no" >&6; }
27106 fi
27107 fi
27108
27109 elif test $pkg_failed = untried; then
27110
27111 if test "x$ac_find_libraries" = "x"; then
27112 if test "xXF86VidModeQueryExtension" != "x"; then
27113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27114 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27115 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27116 $as_echo_n "(cached) " >&6
27117 else
27118 ac_check_lib_save_LIBS=$LIBS
27119 LIBS="-lXxf86vm $LIBS"
27120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27121 /* end confdefs.h. */
27122
27123 /* Override any GCC internal prototype to avoid an error.
27124 Use char because int might match the return type of a GCC
27125 builtin and then its argument prototype would still apply. */
27126 #ifdef __cplusplus
27127 extern "C"
27128 #endif
27129 char XF86VidModeQueryExtension ();
27130 int
27131 main ()
27132 {
27133 return XF86VidModeQueryExtension ();
27134 ;
27135 return 0;
27136 }
27137 _ACEOF
27138 if ac_fn_c_try_link "$LINENO"; then :
27139 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27140 else
27141 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27142 fi
27143 rm -f core conftest.err conftest.$ac_objext \
27144 conftest$ac_exeext conftest.$ac_ext
27145 LIBS=$ac_check_lib_save_LIBS
27146 fi
27147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27148 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27149 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27150 ac_find_libraries="std"
27151 fi
27152
27153 fi
27154 fi
27155
27156 if test "x$ac_find_libraries" = "x"; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27158 $as_echo_n "checking elsewhere... " >&6; }
27159
27160 ac_find_libraries=
27161 for ac_dir in $SEARCH_LIB
27162 do
27163 for ac_extension in a so sl dylib dll.a; do
27164 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27165 ac_find_libraries=$ac_dir
27166 break 2
27167 fi
27168 done
27169 done
27170
27171 if test "x$ac_find_libraries" != "x"; then
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27173 $as_echo "yes" >&6; }
27174 else
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27176 $as_echo "no" >&6; }
27177 fi
27178 fi
27179
27180 else
27181 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27182 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27184 $as_echo "yes" >&6; }
27185
27186 ac_find_libraries="std"
27187
27188 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27189 eval fl_libs=\$Xxf86vm_LIBS
27190
27191 for fl_path in $fl_libs
27192 do
27193 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27194 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27195 fi
27196 done
27197
27198 fi
27199
27200 if test "$ac_find_libraries" != "" ; then
27201 for ac_header in X11/extensions/xf86vmode.h
27202 do :
27203 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27204 #if HAVE_X11_XLIB_H
27205 #include <X11/Xlib.h>
27206 #endif
27207
27208 "
27209 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27212 _ACEOF
27213
27214 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27215
27216 fi
27217
27218 done
27219
27220 fi
27221 fi
27222 fi
27223
27224 if test "$wxUSE_DETECT_SM" = "yes"; then
27225 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27226
27227 ac_find_libraries=
27228
27229 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27230
27231
27232 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27233 if test -n "$ac_tool_prefix"; then
27234 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27235 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27237 $as_echo_n "checking for $ac_word... " >&6; }
27238 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27239 $as_echo_n "(cached) " >&6
27240 else
27241 case $PKG_CONFIG in
27242 [\\/]* | ?:[\\/]*)
27243 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27244 ;;
27245 *)
27246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27247 for as_dir in $PATH
27248 do
27249 IFS=$as_save_IFS
27250 test -z "$as_dir" && as_dir=.
27251 for ac_exec_ext in '' $ac_executable_extensions; do
27252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27253 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27255 break 2
27256 fi
27257 done
27258 done
27259 IFS=$as_save_IFS
27260
27261 ;;
27262 esac
27263 fi
27264 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27265 if test -n "$PKG_CONFIG"; then
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27267 $as_echo "$PKG_CONFIG" >&6; }
27268 else
27269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27270 $as_echo "no" >&6; }
27271 fi
27272
27273
27274 fi
27275 if test -z "$ac_cv_path_PKG_CONFIG"; then
27276 ac_pt_PKG_CONFIG=$PKG_CONFIG
27277 # Extract the first word of "pkg-config", so it can be a program name with args.
27278 set dummy pkg-config; ac_word=$2
27279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27280 $as_echo_n "checking for $ac_word... " >&6; }
27281 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27282 $as_echo_n "(cached) " >&6
27283 else
27284 case $ac_pt_PKG_CONFIG in
27285 [\\/]* | ?:[\\/]*)
27286 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27287 ;;
27288 *)
27289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27290 for as_dir in $PATH
27291 do
27292 IFS=$as_save_IFS
27293 test -z "$as_dir" && as_dir=.
27294 for ac_exec_ext in '' $ac_executable_extensions; do
27295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27296 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27298 break 2
27299 fi
27300 done
27301 done
27302 IFS=$as_save_IFS
27303
27304 ;;
27305 esac
27306 fi
27307 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27308 if test -n "$ac_pt_PKG_CONFIG"; then
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27310 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27311 else
27312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27313 $as_echo "no" >&6; }
27314 fi
27315
27316 if test "x$ac_pt_PKG_CONFIG" = x; then
27317 PKG_CONFIG=""
27318 else
27319 case $cross_compiling:$ac_tool_warned in
27320 yes:)
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27323 ac_tool_warned=yes ;;
27324 esac
27325 PKG_CONFIG=$ac_pt_PKG_CONFIG
27326 fi
27327 else
27328 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27329 fi
27330
27331 fi
27332 if test -n "$PKG_CONFIG"; then
27333 _pkg_min_version=0.9.0
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27335 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27336 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27338 $as_echo "yes" >&6; }
27339 else
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27341 $as_echo "no" >&6; }
27342 PKG_CONFIG=""
27343 fi
27344
27345 fi 6> /dev/null
27346
27347 pkg_failed=no
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27349 $as_echo_n "checking for SM... " >&6; }
27350
27351 if test -n "$PKG_CONFIG"; then
27352 if test -n "$SM_CFLAGS"; then
27353 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27354 else
27355 if test -n "$PKG_CONFIG" && \
27356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27357 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27358 ac_status=$?
27359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27360 test $ac_status = 0; }; then
27361 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27362 else
27363 pkg_failed=yes
27364 fi
27365 fi
27366 else
27367 pkg_failed=untried
27368 fi
27369 if test -n "$PKG_CONFIG"; then
27370 if test -n "$SM_LIBS"; then
27371 pkg_cv_SM_LIBS="$SM_LIBS"
27372 else
27373 if test -n "$PKG_CONFIG" && \
27374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27375 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27376 ac_status=$?
27377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27378 test $ac_status = 0; }; then
27379 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27380 else
27381 pkg_failed=yes
27382 fi
27383 fi
27384 else
27385 pkg_failed=untried
27386 fi
27387
27388
27389
27390 if test $pkg_failed = yes; then
27391
27392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27393 _pkg_short_errors_supported=yes
27394 else
27395 _pkg_short_errors_supported=no
27396 fi
27397 if test $_pkg_short_errors_supported = yes; then
27398 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27399 else
27400 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27401 fi
27402 # Put the nasty error message in config.log where it belongs
27403 echo "$SM_PKG_ERRORS" >&5
27404
27405
27406 if test "x$ac_find_libraries" = "x"; then
27407 if test "xSmcOpenConnection" != "x"; then
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27409 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27410 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27413 ac_check_lib_save_LIBS=$LIBS
27414 LIBS="-lSM $LIBS"
27415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27416 /* end confdefs.h. */
27417
27418 /* Override any GCC internal prototype to avoid an error.
27419 Use char because int might match the return type of a GCC
27420 builtin and then its argument prototype would still apply. */
27421 #ifdef __cplusplus
27422 extern "C"
27423 #endif
27424 char SmcOpenConnection ();
27425 int
27426 main ()
27427 {
27428 return SmcOpenConnection ();
27429 ;
27430 return 0;
27431 }
27432 _ACEOF
27433 if ac_fn_c_try_link "$LINENO"; then :
27434 ac_cv_lib_SM_SmcOpenConnection=yes
27435 else
27436 ac_cv_lib_SM_SmcOpenConnection=no
27437 fi
27438 rm -f core conftest.err conftest.$ac_objext \
27439 conftest$ac_exeext conftest.$ac_ext
27440 LIBS=$ac_check_lib_save_LIBS
27441 fi
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27443 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27444 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27445 ac_find_libraries="std"
27446 fi
27447
27448 fi
27449 fi
27450
27451 if test "x$ac_find_libraries" = "x"; then
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27453 $as_echo_n "checking elsewhere... " >&6; }
27454
27455 ac_find_libraries=
27456 for ac_dir in $SEARCH_LIB
27457 do
27458 for ac_extension in a so sl dylib dll.a; do
27459 if test -f "$ac_dir/libSM.$ac_extension"; then
27460 ac_find_libraries=$ac_dir
27461 break 2
27462 fi
27463 done
27464 done
27465
27466 if test "x$ac_find_libraries" != "x"; then
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27468 $as_echo "yes" >&6; }
27469 else
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27471 $as_echo "no" >&6; }
27472 fi
27473 fi
27474
27475 elif test $pkg_failed = untried; then
27476
27477 if test "x$ac_find_libraries" = "x"; then
27478 if test "xSmcOpenConnection" != "x"; then
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27480 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27481 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27482 $as_echo_n "(cached) " >&6
27483 else
27484 ac_check_lib_save_LIBS=$LIBS
27485 LIBS="-lSM $LIBS"
27486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27487 /* end confdefs.h. */
27488
27489 /* Override any GCC internal prototype to avoid an error.
27490 Use char because int might match the return type of a GCC
27491 builtin and then its argument prototype would still apply. */
27492 #ifdef __cplusplus
27493 extern "C"
27494 #endif
27495 char SmcOpenConnection ();
27496 int
27497 main ()
27498 {
27499 return SmcOpenConnection ();
27500 ;
27501 return 0;
27502 }
27503 _ACEOF
27504 if ac_fn_c_try_link "$LINENO"; then :
27505 ac_cv_lib_SM_SmcOpenConnection=yes
27506 else
27507 ac_cv_lib_SM_SmcOpenConnection=no
27508 fi
27509 rm -f core conftest.err conftest.$ac_objext \
27510 conftest$ac_exeext conftest.$ac_ext
27511 LIBS=$ac_check_lib_save_LIBS
27512 fi
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27514 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27515 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27516 ac_find_libraries="std"
27517 fi
27518
27519 fi
27520 fi
27521
27522 if test "x$ac_find_libraries" = "x"; then
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27524 $as_echo_n "checking elsewhere... " >&6; }
27525
27526 ac_find_libraries=
27527 for ac_dir in $SEARCH_LIB
27528 do
27529 for ac_extension in a so sl dylib dll.a; do
27530 if test -f "$ac_dir/libSM.$ac_extension"; then
27531 ac_find_libraries=$ac_dir
27532 break 2
27533 fi
27534 done
27535 done
27536
27537 if test "x$ac_find_libraries" != "x"; then
27538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27539 $as_echo "yes" >&6; }
27540 else
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27542 $as_echo "no" >&6; }
27543 fi
27544 fi
27545
27546 else
27547 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27548 SM_LIBS=$pkg_cv_SM_LIBS
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27550 $as_echo "yes" >&6; }
27551
27552 ac_find_libraries="std"
27553
27554 eval ac_find_cflags=\$SM_CFLAGS
27555 eval fl_libs=\$SM_LIBS
27556
27557 for fl_path in $fl_libs
27558 do
27559 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27560 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27561 fi
27562 done
27563
27564 fi
27565
27566 if test "$ac_find_libraries" != "" ; then
27567 if test "$ac_find_libraries" != "std" ; then
27568
27569 if test "$ac_find_libraries" = "default location"; then
27570 ac_path_to_link=""
27571 else
27572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27573 result=$?
27574 if test $result = 0; then
27575 ac_path_to_link=""
27576 else
27577 ac_path_to_link=" -L$ac_find_libraries"
27578 fi
27579 fi
27580
27581 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27582 LDFLAGS="$LDFLAGS $ac_path_to_link"
27583 fi
27584 fi
27585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27586 else
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27588 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27589 wxUSE_DETECT_SM="no"
27590 fi
27591 else
27592 wxUSE_DETECT_SM="no"
27593 fi
27594 fi
27595
27596
27597
27598 USE_OPENGL=0
27599 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27600
27601
27602 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27603 OPENGL_LIBS="-framework OpenGL -framework AGL"
27604 elif test "$wxUSE_MSW" = 1; then
27605 OPENGL_LIBS="-lopengl32 -lglu32"
27606 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27607
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27609 $as_echo_n "checking for OpenGL headers... " >&6; }
27610
27611 ac_find_includes=
27612 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27613 do
27614 if test -f "$ac_dir/GL/gl.h"; then
27615 ac_find_includes=$ac_dir
27616 break
27617 fi
27618 done
27619
27620 if test "$ac_find_includes" != "" ; then
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27622 $as_echo "found in $ac_find_includes" >&6; }
27623
27624 if test "x$ac_find_includes" = "x/usr/include"; then
27625 ac_path_to_include=""
27626 else
27627 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27628 result=$?
27629 if test $result = 0; then
27630 ac_path_to_include=""
27631 else
27632 ac_path_to_include=" -I$ac_find_includes"
27633 fi
27634 fi
27635
27636 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27637 else
27638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27639 $as_echo "not found" >&6; }
27640 fi
27641
27642 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27643 "
27644 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27645
27646 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27647 "
27648 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27649
27650 found_gl=0
27651
27652
27653 ac_find_libraries=
27654
27655 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27656
27657
27658 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27659 if test -n "$ac_tool_prefix"; then
27660 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27661 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27663 $as_echo_n "checking for $ac_word... " >&6; }
27664 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27665 $as_echo_n "(cached) " >&6
27666 else
27667 case $PKG_CONFIG in
27668 [\\/]* | ?:[\\/]*)
27669 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27670 ;;
27671 *)
27672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27673 for as_dir in $PATH
27674 do
27675 IFS=$as_save_IFS
27676 test -z "$as_dir" && as_dir=.
27677 for ac_exec_ext in '' $ac_executable_extensions; do
27678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27679 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27681 break 2
27682 fi
27683 done
27684 done
27685 IFS=$as_save_IFS
27686
27687 ;;
27688 esac
27689 fi
27690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27691 if test -n "$PKG_CONFIG"; then
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27693 $as_echo "$PKG_CONFIG" >&6; }
27694 else
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27696 $as_echo "no" >&6; }
27697 fi
27698
27699
27700 fi
27701 if test -z "$ac_cv_path_PKG_CONFIG"; then
27702 ac_pt_PKG_CONFIG=$PKG_CONFIG
27703 # Extract the first word of "pkg-config", so it can be a program name with args.
27704 set dummy pkg-config; ac_word=$2
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27706 $as_echo_n "checking for $ac_word... " >&6; }
27707 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27708 $as_echo_n "(cached) " >&6
27709 else
27710 case $ac_pt_PKG_CONFIG in
27711 [\\/]* | ?:[\\/]*)
27712 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27713 ;;
27714 *)
27715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27716 for as_dir in $PATH
27717 do
27718 IFS=$as_save_IFS
27719 test -z "$as_dir" && as_dir=.
27720 for ac_exec_ext in '' $ac_executable_extensions; do
27721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27722 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27724 break 2
27725 fi
27726 done
27727 done
27728 IFS=$as_save_IFS
27729
27730 ;;
27731 esac
27732 fi
27733 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27734 if test -n "$ac_pt_PKG_CONFIG"; then
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27736 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27737 else
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27739 $as_echo "no" >&6; }
27740 fi
27741
27742 if test "x$ac_pt_PKG_CONFIG" = x; then
27743 PKG_CONFIG=""
27744 else
27745 case $cross_compiling:$ac_tool_warned in
27746 yes:)
27747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27749 ac_tool_warned=yes ;;
27750 esac
27751 PKG_CONFIG=$ac_pt_PKG_CONFIG
27752 fi
27753 else
27754 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27755 fi
27756
27757 fi
27758 if test -n "$PKG_CONFIG"; then
27759 _pkg_min_version=0.9.0
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27761 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27762 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27764 $as_echo "yes" >&6; }
27765 else
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27767 $as_echo "no" >&6; }
27768 PKG_CONFIG=""
27769 fi
27770
27771 fi 6> /dev/null
27772
27773 pkg_failed=no
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27775 $as_echo_n "checking for GL... " >&6; }
27776
27777 if test -n "$PKG_CONFIG"; then
27778 if test -n "$GL_CFLAGS"; then
27779 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27780 else
27781 if test -n "$PKG_CONFIG" && \
27782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27783 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27784 ac_status=$?
27785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27786 test $ac_status = 0; }; then
27787 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27788 else
27789 pkg_failed=yes
27790 fi
27791 fi
27792 else
27793 pkg_failed=untried
27794 fi
27795 if test -n "$PKG_CONFIG"; then
27796 if test -n "$GL_LIBS"; then
27797 pkg_cv_GL_LIBS="$GL_LIBS"
27798 else
27799 if test -n "$PKG_CONFIG" && \
27800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27801 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27802 ac_status=$?
27803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27804 test $ac_status = 0; }; then
27805 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27806 else
27807 pkg_failed=yes
27808 fi
27809 fi
27810 else
27811 pkg_failed=untried
27812 fi
27813
27814
27815
27816 if test $pkg_failed = yes; then
27817
27818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27819 _pkg_short_errors_supported=yes
27820 else
27821 _pkg_short_errors_supported=no
27822 fi
27823 if test $_pkg_short_errors_supported = yes; then
27824 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27825 else
27826 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27827 fi
27828 # Put the nasty error message in config.log where it belongs
27829 echo "$GL_PKG_ERRORS" >&5
27830
27831
27832 if test "x$ac_find_libraries" = "x"; then
27833 if test "xglBegin" != "x"; then
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27835 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27836 if ${ac_cv_lib_GL_glBegin+:} false; then :
27837 $as_echo_n "(cached) " >&6
27838 else
27839 ac_check_lib_save_LIBS=$LIBS
27840 LIBS="-lGL $LIBS"
27841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27842 /* end confdefs.h. */
27843
27844 /* Override any GCC internal prototype to avoid an error.
27845 Use char because int might match the return type of a GCC
27846 builtin and then its argument prototype would still apply. */
27847 #ifdef __cplusplus
27848 extern "C"
27849 #endif
27850 char glBegin ();
27851 int
27852 main ()
27853 {
27854 return glBegin ();
27855 ;
27856 return 0;
27857 }
27858 _ACEOF
27859 if ac_fn_c_try_link "$LINENO"; then :
27860 ac_cv_lib_GL_glBegin=yes
27861 else
27862 ac_cv_lib_GL_glBegin=no
27863 fi
27864 rm -f core conftest.err conftest.$ac_objext \
27865 conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27867 fi
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27869 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27870 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27871 ac_find_libraries="std"
27872 fi
27873
27874 fi
27875 fi
27876
27877 if test "x$ac_find_libraries" = "x"; then
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27879 $as_echo_n "checking elsewhere... " >&6; }
27880
27881 ac_find_libraries=
27882 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27883 do
27884 for ac_extension in a so sl dylib dll.a; do
27885 if test -f "$ac_dir/libGL.$ac_extension"; then
27886 ac_find_libraries=$ac_dir
27887 break 2
27888 fi
27889 done
27890 done
27891
27892 if test "x$ac_find_libraries" != "x"; then
27893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27894 $as_echo "yes" >&6; }
27895 else
27896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27897 $as_echo "no" >&6; }
27898 fi
27899 fi
27900
27901 elif test $pkg_failed = untried; then
27902
27903 if test "x$ac_find_libraries" = "x"; then
27904 if test "xglBegin" != "x"; then
27905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27906 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27907 if ${ac_cv_lib_GL_glBegin+:} false; then :
27908 $as_echo_n "(cached) " >&6
27909 else
27910 ac_check_lib_save_LIBS=$LIBS
27911 LIBS="-lGL $LIBS"
27912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27913 /* end confdefs.h. */
27914
27915 /* Override any GCC internal prototype to avoid an error.
27916 Use char because int might match the return type of a GCC
27917 builtin and then its argument prototype would still apply. */
27918 #ifdef __cplusplus
27919 extern "C"
27920 #endif
27921 char glBegin ();
27922 int
27923 main ()
27924 {
27925 return glBegin ();
27926 ;
27927 return 0;
27928 }
27929 _ACEOF
27930 if ac_fn_c_try_link "$LINENO"; then :
27931 ac_cv_lib_GL_glBegin=yes
27932 else
27933 ac_cv_lib_GL_glBegin=no
27934 fi
27935 rm -f core conftest.err conftest.$ac_objext \
27936 conftest$ac_exeext conftest.$ac_ext
27937 LIBS=$ac_check_lib_save_LIBS
27938 fi
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27940 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27941 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27942 ac_find_libraries="std"
27943 fi
27944
27945 fi
27946 fi
27947
27948 if test "x$ac_find_libraries" = "x"; then
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27950 $as_echo_n "checking elsewhere... " >&6; }
27951
27952 ac_find_libraries=
27953 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27954 do
27955 for ac_extension in a so sl dylib dll.a; do
27956 if test -f "$ac_dir/libGL.$ac_extension"; then
27957 ac_find_libraries=$ac_dir
27958 break 2
27959 fi
27960 done
27961 done
27962
27963 if test "x$ac_find_libraries" != "x"; then
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27965 $as_echo "yes" >&6; }
27966 else
27967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27968 $as_echo "no" >&6; }
27969 fi
27970 fi
27971
27972 else
27973 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27974 GL_LIBS=$pkg_cv_GL_LIBS
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27976 $as_echo "yes" >&6; }
27977
27978 ac_find_libraries="std"
27979
27980 eval ac_find_cflags=\$GL_CFLAGS
27981 eval fl_libs=\$GL_LIBS
27982
27983 for fl_path in $fl_libs
27984 do
27985 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27986 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27987 fi
27988 done
27989
27990 fi
27991
27992 if test "$ac_find_libraries" != "" ; then
27993 if test "$ac_find_libraries" != "std" ; then
27994
27995 if test "$ac_find_libraries" = "default location"; then
27996 ac_path_to_link=""
27997 else
27998 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27999 result=$?
28000 if test $result = 0; then
28001 ac_path_to_link=""
28002 else
28003 ac_path_to_link=" -L$ac_find_libraries"
28004 fi
28005 fi
28006
28007 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28008 LDFLAGS_GL="$ac_path_to_link"
28009 fi
28010 fi
28011
28012
28013 ac_find_libraries=
28014
28015 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28016
28017
28018 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28019 if test -n "$ac_tool_prefix"; then
28020 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28021 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28023 $as_echo_n "checking for $ac_word... " >&6; }
28024 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28025 $as_echo_n "(cached) " >&6
28026 else
28027 case $PKG_CONFIG in
28028 [\\/]* | ?:[\\/]*)
28029 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28030 ;;
28031 *)
28032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28033 for as_dir in $PATH
28034 do
28035 IFS=$as_save_IFS
28036 test -z "$as_dir" && as_dir=.
28037 for ac_exec_ext in '' $ac_executable_extensions; do
28038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28039 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28041 break 2
28042 fi
28043 done
28044 done
28045 IFS=$as_save_IFS
28046
28047 ;;
28048 esac
28049 fi
28050 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28051 if test -n "$PKG_CONFIG"; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28053 $as_echo "$PKG_CONFIG" >&6; }
28054 else
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28056 $as_echo "no" >&6; }
28057 fi
28058
28059
28060 fi
28061 if test -z "$ac_cv_path_PKG_CONFIG"; then
28062 ac_pt_PKG_CONFIG=$PKG_CONFIG
28063 # Extract the first word of "pkg-config", so it can be a program name with args.
28064 set dummy pkg-config; ac_word=$2
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28066 $as_echo_n "checking for $ac_word... " >&6; }
28067 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28068 $as_echo_n "(cached) " >&6
28069 else
28070 case $ac_pt_PKG_CONFIG in
28071 [\\/]* | ?:[\\/]*)
28072 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28073 ;;
28074 *)
28075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28076 for as_dir in $PATH
28077 do
28078 IFS=$as_save_IFS
28079 test -z "$as_dir" && as_dir=.
28080 for ac_exec_ext in '' $ac_executable_extensions; do
28081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28082 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28084 break 2
28085 fi
28086 done
28087 done
28088 IFS=$as_save_IFS
28089
28090 ;;
28091 esac
28092 fi
28093 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28094 if test -n "$ac_pt_PKG_CONFIG"; then
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28096 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28097 else
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28099 $as_echo "no" >&6; }
28100 fi
28101
28102 if test "x$ac_pt_PKG_CONFIG" = x; then
28103 PKG_CONFIG=""
28104 else
28105 case $cross_compiling:$ac_tool_warned in
28106 yes:)
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28109 ac_tool_warned=yes ;;
28110 esac
28111 PKG_CONFIG=$ac_pt_PKG_CONFIG
28112 fi
28113 else
28114 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28115 fi
28116
28117 fi
28118 if test -n "$PKG_CONFIG"; then
28119 _pkg_min_version=0.9.0
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28121 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28122 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28124 $as_echo "yes" >&6; }
28125 else
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28127 $as_echo "no" >&6; }
28128 PKG_CONFIG=""
28129 fi
28130
28131 fi 6> /dev/null
28132
28133 pkg_failed=no
28134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28135 $as_echo_n "checking for GLU... " >&6; }
28136
28137 if test -n "$PKG_CONFIG"; then
28138 if test -n "$GLU_CFLAGS"; then
28139 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28140 else
28141 if test -n "$PKG_CONFIG" && \
28142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28143 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28144 ac_status=$?
28145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28146 test $ac_status = 0; }; then
28147 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28148 else
28149 pkg_failed=yes
28150 fi
28151 fi
28152 else
28153 pkg_failed=untried
28154 fi
28155 if test -n "$PKG_CONFIG"; then
28156 if test -n "$GLU_LIBS"; then
28157 pkg_cv_GLU_LIBS="$GLU_LIBS"
28158 else
28159 if test -n "$PKG_CONFIG" && \
28160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28161 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28162 ac_status=$?
28163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28164 test $ac_status = 0; }; then
28165 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28166 else
28167 pkg_failed=yes
28168 fi
28169 fi
28170 else
28171 pkg_failed=untried
28172 fi
28173
28174
28175
28176 if test $pkg_failed = yes; then
28177
28178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28179 _pkg_short_errors_supported=yes
28180 else
28181 _pkg_short_errors_supported=no
28182 fi
28183 if test $_pkg_short_errors_supported = yes; then
28184 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28185 else
28186 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28187 fi
28188 # Put the nasty error message in config.log where it belongs
28189 echo "$GLU_PKG_ERRORS" >&5
28190
28191
28192 if test "x$ac_find_libraries" = "x"; then
28193 if test "xgluBeginCurve" != "x"; then
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28195 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28196 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28197 $as_echo_n "(cached) " >&6
28198 else
28199 ac_check_lib_save_LIBS=$LIBS
28200 LIBS="-lGLU $LIBS"
28201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h. */
28203
28204 /* Override any GCC internal prototype to avoid an error.
28205 Use char because int might match the return type of a GCC
28206 builtin and then its argument prototype would still apply. */
28207 #ifdef __cplusplus
28208 extern "C"
28209 #endif
28210 char gluBeginCurve ();
28211 int
28212 main ()
28213 {
28214 return gluBeginCurve ();
28215 ;
28216 return 0;
28217 }
28218 _ACEOF
28219 if ac_fn_c_try_link "$LINENO"; then :
28220 ac_cv_lib_GLU_gluBeginCurve=yes
28221 else
28222 ac_cv_lib_GLU_gluBeginCurve=no
28223 fi
28224 rm -f core conftest.err conftest.$ac_objext \
28225 conftest$ac_exeext conftest.$ac_ext
28226 LIBS=$ac_check_lib_save_LIBS
28227 fi
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28229 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28230 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28231 ac_find_libraries="std"
28232 fi
28233
28234 fi
28235 fi
28236
28237 if test "x$ac_find_libraries" = "x"; then
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28239 $as_echo_n "checking elsewhere... " >&6; }
28240
28241 ac_find_libraries=
28242 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28243 do
28244 for ac_extension in a so sl dylib dll.a; do
28245 if test -f "$ac_dir/libGLU.$ac_extension"; then
28246 ac_find_libraries=$ac_dir
28247 break 2
28248 fi
28249 done
28250 done
28251
28252 if test "x$ac_find_libraries" != "x"; then
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28254 $as_echo "yes" >&6; }
28255 else
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28257 $as_echo "no" >&6; }
28258 fi
28259 fi
28260
28261 elif test $pkg_failed = untried; then
28262
28263 if test "x$ac_find_libraries" = "x"; then
28264 if test "xgluBeginCurve" != "x"; then
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28266 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28267 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28268 $as_echo_n "(cached) " >&6
28269 else
28270 ac_check_lib_save_LIBS=$LIBS
28271 LIBS="-lGLU $LIBS"
28272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28273 /* end confdefs.h. */
28274
28275 /* Override any GCC internal prototype to avoid an error.
28276 Use char because int might match the return type of a GCC
28277 builtin and then its argument prototype would still apply. */
28278 #ifdef __cplusplus
28279 extern "C"
28280 #endif
28281 char gluBeginCurve ();
28282 int
28283 main ()
28284 {
28285 return gluBeginCurve ();
28286 ;
28287 return 0;
28288 }
28289 _ACEOF
28290 if ac_fn_c_try_link "$LINENO"; then :
28291 ac_cv_lib_GLU_gluBeginCurve=yes
28292 else
28293 ac_cv_lib_GLU_gluBeginCurve=no
28294 fi
28295 rm -f core conftest.err conftest.$ac_objext \
28296 conftest$ac_exeext conftest.$ac_ext
28297 LIBS=$ac_check_lib_save_LIBS
28298 fi
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28300 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28301 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28302 ac_find_libraries="std"
28303 fi
28304
28305 fi
28306 fi
28307
28308 if test "x$ac_find_libraries" = "x"; then
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28310 $as_echo_n "checking elsewhere... " >&6; }
28311
28312 ac_find_libraries=
28313 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28314 do
28315 for ac_extension in a so sl dylib dll.a; do
28316 if test -f "$ac_dir/libGLU.$ac_extension"; then
28317 ac_find_libraries=$ac_dir
28318 break 2
28319 fi
28320 done
28321 done
28322
28323 if test "x$ac_find_libraries" != "x"; then
28324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28325 $as_echo "yes" >&6; }
28326 else
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28328 $as_echo "no" >&6; }
28329 fi
28330 fi
28331
28332 else
28333 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28334 GLU_LIBS=$pkg_cv_GLU_LIBS
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28336 $as_echo "yes" >&6; }
28337
28338 ac_find_libraries="std"
28339
28340 eval ac_find_cflags=\$GLU_CFLAGS
28341 eval fl_libs=\$GLU_LIBS
28342
28343 for fl_path in $fl_libs
28344 do
28345 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28346 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28347 fi
28348 done
28349
28350 fi
28351
28352 if test "$ac_find_libraries" != "" ; then
28353 if test "$ac_find_libraries" != "std" ; then
28354
28355 if test "$ac_find_libraries" = "default location"; then
28356 ac_path_to_link=""
28357 else
28358 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28359 result=$?
28360 if test $result = 0; then
28361 ac_path_to_link=""
28362 else
28363 ac_path_to_link=" -L$ac_find_libraries"
28364 fi
28365 fi
28366
28367 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28368 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28369 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28370 fi
28371 fi
28372
28373 found_gl=1
28374 OPENGL_LIBS="-lGL -lGLU"
28375 fi
28376 fi
28377
28378 if test "$found_gl" != 1; then
28379
28380 ac_find_libraries=
28381
28382 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28383
28384
28385 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28386 if test -n "$ac_tool_prefix"; then
28387 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28388 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28390 $as_echo_n "checking for $ac_word... " >&6; }
28391 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28392 $as_echo_n "(cached) " >&6
28393 else
28394 case $PKG_CONFIG in
28395 [\\/]* | ?:[\\/]*)
28396 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28397 ;;
28398 *)
28399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28400 for as_dir in $PATH
28401 do
28402 IFS=$as_save_IFS
28403 test -z "$as_dir" && as_dir=.
28404 for ac_exec_ext in '' $ac_executable_extensions; do
28405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28406 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28408 break 2
28409 fi
28410 done
28411 done
28412 IFS=$as_save_IFS
28413
28414 ;;
28415 esac
28416 fi
28417 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28418 if test -n "$PKG_CONFIG"; then
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28420 $as_echo "$PKG_CONFIG" >&6; }
28421 else
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28424 fi
28425
28426
28427 fi
28428 if test -z "$ac_cv_path_PKG_CONFIG"; then
28429 ac_pt_PKG_CONFIG=$PKG_CONFIG
28430 # Extract the first word of "pkg-config", so it can be a program name with args.
28431 set dummy pkg-config; ac_word=$2
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28433 $as_echo_n "checking for $ac_word... " >&6; }
28434 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28435 $as_echo_n "(cached) " >&6
28436 else
28437 case $ac_pt_PKG_CONFIG in
28438 [\\/]* | ?:[\\/]*)
28439 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28440 ;;
28441 *)
28442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28443 for as_dir in $PATH
28444 do
28445 IFS=$as_save_IFS
28446 test -z "$as_dir" && as_dir=.
28447 for ac_exec_ext in '' $ac_executable_extensions; do
28448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28449 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28451 break 2
28452 fi
28453 done
28454 done
28455 IFS=$as_save_IFS
28456
28457 ;;
28458 esac
28459 fi
28460 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28461 if test -n "$ac_pt_PKG_CONFIG"; then
28462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28463 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28464 else
28465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28466 $as_echo "no" >&6; }
28467 fi
28468
28469 if test "x$ac_pt_PKG_CONFIG" = x; then
28470 PKG_CONFIG=""
28471 else
28472 case $cross_compiling:$ac_tool_warned in
28473 yes:)
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28476 ac_tool_warned=yes ;;
28477 esac
28478 PKG_CONFIG=$ac_pt_PKG_CONFIG
28479 fi
28480 else
28481 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28482 fi
28483
28484 fi
28485 if test -n "$PKG_CONFIG"; then
28486 _pkg_min_version=0.9.0
28487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28488 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28489 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28491 $as_echo "yes" >&6; }
28492 else
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28494 $as_echo "no" >&6; }
28495 PKG_CONFIG=""
28496 fi
28497
28498 fi 6> /dev/null
28499
28500 pkg_failed=no
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28502 $as_echo_n "checking for MesaGL... " >&6; }
28503
28504 if test -n "$PKG_CONFIG"; then
28505 if test -n "$MesaGL_CFLAGS"; then
28506 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28507 else
28508 if test -n "$PKG_CONFIG" && \
28509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28510 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28511 ac_status=$?
28512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28513 test $ac_status = 0; }; then
28514 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28515 else
28516 pkg_failed=yes
28517 fi
28518 fi
28519 else
28520 pkg_failed=untried
28521 fi
28522 if test -n "$PKG_CONFIG"; then
28523 if test -n "$MesaGL_LIBS"; then
28524 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28525 else
28526 if test -n "$PKG_CONFIG" && \
28527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28528 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28529 ac_status=$?
28530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28531 test $ac_status = 0; }; then
28532 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28533 else
28534 pkg_failed=yes
28535 fi
28536 fi
28537 else
28538 pkg_failed=untried
28539 fi
28540
28541
28542
28543 if test $pkg_failed = yes; then
28544
28545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28546 _pkg_short_errors_supported=yes
28547 else
28548 _pkg_short_errors_supported=no
28549 fi
28550 if test $_pkg_short_errors_supported = yes; then
28551 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28552 else
28553 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28554 fi
28555 # Put the nasty error message in config.log where it belongs
28556 echo "$MesaGL_PKG_ERRORS" >&5
28557
28558
28559 if test "x$ac_find_libraries" = "x"; then
28560 if test "xglEnable" != "x"; then
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28562 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28563 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28564 $as_echo_n "(cached) " >&6
28565 else
28566 ac_check_lib_save_LIBS=$LIBS
28567 LIBS="-lMesaGL $LIBS"
28568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h. */
28570
28571 /* Override any GCC internal prototype to avoid an error.
28572 Use char because int might match the return type of a GCC
28573 builtin and then its argument prototype would still apply. */
28574 #ifdef __cplusplus
28575 extern "C"
28576 #endif
28577 char glEnable ();
28578 int
28579 main ()
28580 {
28581 return glEnable ();
28582 ;
28583 return 0;
28584 }
28585 _ACEOF
28586 if ac_fn_c_try_link "$LINENO"; then :
28587 ac_cv_lib_MesaGL_glEnable=yes
28588 else
28589 ac_cv_lib_MesaGL_glEnable=no
28590 fi
28591 rm -f core conftest.err conftest.$ac_objext \
28592 conftest$ac_exeext conftest.$ac_ext
28593 LIBS=$ac_check_lib_save_LIBS
28594 fi
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28596 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28597 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28598 ac_find_libraries="std"
28599 fi
28600
28601 fi
28602 fi
28603
28604 if test "x$ac_find_libraries" = "x"; then
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28606 $as_echo_n "checking elsewhere... " >&6; }
28607
28608 ac_find_libraries=
28609 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28610 do
28611 for ac_extension in a so sl dylib dll.a; do
28612 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28613 ac_find_libraries=$ac_dir
28614 break 2
28615 fi
28616 done
28617 done
28618
28619 if test "x$ac_find_libraries" != "x"; then
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28621 $as_echo "yes" >&6; }
28622 else
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28624 $as_echo "no" >&6; }
28625 fi
28626 fi
28627
28628 elif test $pkg_failed = untried; then
28629
28630 if test "x$ac_find_libraries" = "x"; then
28631 if test "xglEnable" != "x"; then
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28633 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28634 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28635 $as_echo_n "(cached) " >&6
28636 else
28637 ac_check_lib_save_LIBS=$LIBS
28638 LIBS="-lMesaGL $LIBS"
28639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28640 /* end confdefs.h. */
28641
28642 /* Override any GCC internal prototype to avoid an error.
28643 Use char because int might match the return type of a GCC
28644 builtin and then its argument prototype would still apply. */
28645 #ifdef __cplusplus
28646 extern "C"
28647 #endif
28648 char glEnable ();
28649 int
28650 main ()
28651 {
28652 return glEnable ();
28653 ;
28654 return 0;
28655 }
28656 _ACEOF
28657 if ac_fn_c_try_link "$LINENO"; then :
28658 ac_cv_lib_MesaGL_glEnable=yes
28659 else
28660 ac_cv_lib_MesaGL_glEnable=no
28661 fi
28662 rm -f core conftest.err conftest.$ac_objext \
28663 conftest$ac_exeext conftest.$ac_ext
28664 LIBS=$ac_check_lib_save_LIBS
28665 fi
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28667 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28668 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28669 ac_find_libraries="std"
28670 fi
28671
28672 fi
28673 fi
28674
28675 if test "x$ac_find_libraries" = "x"; then
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28677 $as_echo_n "checking elsewhere... " >&6; }
28678
28679 ac_find_libraries=
28680 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28681 do
28682 for ac_extension in a so sl dylib dll.a; do
28683 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28684 ac_find_libraries=$ac_dir
28685 break 2
28686 fi
28687 done
28688 done
28689
28690 if test "x$ac_find_libraries" != "x"; then
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28692 $as_echo "yes" >&6; }
28693 else
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28695 $as_echo "no" >&6; }
28696 fi
28697 fi
28698
28699 else
28700 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28701 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28703 $as_echo "yes" >&6; }
28704
28705 ac_find_libraries="std"
28706
28707 eval ac_find_cflags=\$MesaGL_CFLAGS
28708 eval fl_libs=\$MesaGL_LIBS
28709
28710 for fl_path in $fl_libs
28711 do
28712 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28713 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28714 fi
28715 done
28716
28717 fi
28718
28719 if test "$ac_find_libraries" != "" ; then
28720 if test "$ac_find_libraries" != "std" ; then
28721
28722 if test "$ac_find_libraries" = "default location"; then
28723 ac_path_to_link=""
28724 else
28725 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28726 result=$?
28727 if test $result = 0; then
28728 ac_path_to_link=""
28729 else
28730 ac_path_to_link=" -L$ac_find_libraries"
28731 fi
28732 fi
28733
28734 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28735 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28736 fi
28737 fi
28738 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28739 fi
28740 fi
28741
28742 fi
28743
28744
28745
28746 fi
28747
28748
28749
28750 if test "x$OPENGL_LIBS" = "x"; then
28751 if test "$wxUSE_OPENGL" = "yes"; then
28752 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28753 else
28754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28755 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28756 wxUSE_OPENGL=no
28757 USE_OPENGL=0
28758 fi
28759 fi
28760 else
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28762 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28763 wxUSE_OPENGL="no"
28764 fi
28765
28766 if test "$wxUSE_OPENGL" = "auto"; then
28767 wxUSE_OPENGL=yes
28768 fi
28769
28770 if test "$wxUSE_OPENGL" = "yes"; then
28771 USE_OPENGL=1
28772 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28773
28774 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28775
28776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28777 fi
28778 fi
28779
28780
28781 if test -n "$TOOLKIT" ; then
28782 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28783 fi
28784
28785
28786
28787 if test "$wxUSE_SHARED" = "yes"; then
28788 case "${host}" in
28789 *-pc-msdosdjgpp )
28790 wxUSE_SHARED=no
28791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28792 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28793 ;;
28794 esac
28795 fi
28796
28797 if test "$wxUSE_SHARED" = "yes"; then
28798
28799
28800 case "${host}" in
28801 *-*-cygwin* | *-*-mingw* )
28802 wx_cv_version_script=no
28803 ;;
28804
28805 *)
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28807 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28808 if ${wx_cv_version_script+:} false; then :
28809 $as_echo_n "(cached) " >&6
28810 else
28811
28812 echo "VER_1 { *; };" >conftest.sym
28813 echo "int main() { return 0; }" >conftest.cpp
28814
28815 if { ac_try='
28816 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28817 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28818 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28819 (eval $ac_try) 2>&5
28820 ac_status=$?
28821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28822 test $ac_status = 0; }; } ; then
28823 if test -s conftest.stderr ; then
28824 wx_cv_version_script=no
28825 else
28826 wx_cv_version_script=yes
28827 fi
28828 else
28829 wx_cv_version_script=no
28830 fi
28831
28832 if test $wx_cv_version_script = yes
28833 then
28834 echo "struct B { virtual ~B() { } }; \
28835 struct D : public B { }; \
28836 void F() { D d; }" > conftest.cpp
28837
28838 if { ac_try='
28839 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28840 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28841 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28842 (eval $ac_try) 2>&5
28843 ac_status=$?
28844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28845 test $ac_status = 0; }; } &&
28846 { ac_try='
28847 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28848 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28849 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28850 (eval $ac_try) 2>&5
28851 ac_status=$?
28852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28853 test $ac_status = 0; }; }
28854 then
28855 if { ac_try='
28856 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28857 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28858 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28862 test $ac_status = 0; }; }
28863 then
28864 wx_cv_version_script=yes
28865 else
28866 wx_cv_version_script=no
28867 fi
28868 fi
28869 fi
28870
28871 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28872 rm -f conftest1.output conftest2.output conftest3.output
28873
28874 fi
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28876 $as_echo "$wx_cv_version_script" >&6; }
28877
28878 if test $wx_cv_version_script = yes ; then
28879 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28880 fi
28881 ;;
28882 esac
28883
28884
28885 if test "$wxUSE_VISIBILITY" != "no"; then
28886
28887
28888 if test -n "$GCC"; then
28889 CFLAGS_VISIBILITY="-fvisibility=hidden"
28890 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28892 $as_echo_n "checking for symbols visibility support... " >&6; }
28893 if ${wx_cv_cc_visibility+:} false; then :
28894 $as_echo_n "(cached) " >&6
28895 else
28896
28897 wx_save_CXXFLAGS="$CXXFLAGS"
28898 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28899 ac_ext=cpp
28900 ac_cpp='$CXXCPP $CPPFLAGS'
28901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28904
28905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28906 /* end confdefs.h. */
28907
28908 /* we need gcc >= 4.0, older versions with visibility support
28909 didn't have class visibility: */
28910 #if defined(__GNUC__) && __GNUC__ < 4
28911 error this gcc is too old;
28912 #endif
28913
28914 /* visibility only makes sense for ELF shared libs: */
28915 #if !defined(__ELF__) && !defined(__APPLE__)
28916 error this platform has no visibility;
28917 #endif
28918
28919 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28920 #if defined(__clang__)
28921 clang compiler is still broken w.r.t. visibility;
28922 #endif
28923
28924 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28925 extern __attribute__((__visibility__("default"))) int exportedvar;
28926 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28927 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28928 class __attribute__((__visibility__("default"))) Foo {
28929 Foo() {}
28930 };
28931
28932 int
28933 main ()
28934 {
28935
28936 ;
28937 return 0;
28938 }
28939 _ACEOF
28940 if ac_fn_cxx_try_compile "$LINENO"; then :
28941 wx_cv_cc_visibility=yes
28942 else
28943 wx_cv_cc_visibility=no
28944 fi
28945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28946 ac_ext=c
28947 ac_cpp='$CPP $CPPFLAGS'
28948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28951
28952 CXXFLAGS="$wx_save_CXXFLAGS"
28953 fi
28954
28955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28956 $as_echo "$wx_cv_cc_visibility" >&6; }
28957 if test $wx_cv_cc_visibility = yes; then
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28959 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28960 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28961 $as_echo_n "(cached) " >&6
28962 else
28963
28964 wx_save_CXXFLAGS="$CXXFLAGS"
28965 wx_save_LDFLAGS="$LDFLAGS"
28966 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28967 LDFLAGS="$LDFLAGS -shared -fPIC"
28968 ac_ext=cpp
28969 ac_cpp='$CXXCPP $CPPFLAGS'
28970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28973
28974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28975 /* end confdefs.h. */
28976
28977 #include <string>
28978
28979 int
28980 main ()
28981 {
28982
28983 std::string s("hello");
28984 return s.length();
28985
28986 ;
28987 return 0;
28988 }
28989 _ACEOF
28990 if ac_fn_cxx_try_link "$LINENO"; then :
28991 wx_cv_cc_broken_libstdcxx_visibility=no
28992 else
28993 wx_cv_cc_broken_libstdcxx_visibility=yes
28994 fi
28995 rm -f core conftest.err conftest.$ac_objext \
28996 conftest$ac_exeext conftest.$ac_ext
28997 ac_ext=c
28998 ac_cpp='$CPP $CPPFLAGS'
28999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29002
29003 CXXFLAGS="$wx_save_CXXFLAGS"
29004 LDFLAGS="$wx_save_LDFLAGS"
29005 fi
29006
29007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29008 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29009
29010 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29012 $as_echo_n "checking whether we can work around it... " >&6; }
29013 if ${wx_cv_cc_visibility_workaround+:} false; then :
29014 $as_echo_n "(cached) " >&6
29015 else
29016
29017 ac_ext=cpp
29018 ac_cpp='$CXXCPP $CPPFLAGS'
29019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29022
29023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h. */
29025
29026 #pragma GCC visibility push(default)
29027 #include <string>
29028 #pragma GCC visibility pop
29029
29030 int
29031 main ()
29032 {
29033
29034 std::string s("hello");
29035 return s.length();
29036
29037 ;
29038 return 0;
29039 }
29040 _ACEOF
29041 if ac_fn_cxx_try_link "$LINENO"; then :
29042 wx_cv_cc_visibility_workaround=no
29043 else
29044 wx_cv_cc_visibility_workaround=yes
29045 fi
29046 rm -f core conftest.err conftest.$ac_objext \
29047 conftest$ac_exeext conftest.$ac_ext
29048 ac_ext=c
29049 ac_cpp='$CPP $CPPFLAGS'
29050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29053
29054
29055 fi
29056
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29058 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29059
29060 if test $wx_cv_cc_visibility_workaround = no; then
29061 wx_cv_cc_visibility=no
29062 fi
29063 fi
29064 fi
29065
29066 if test $wx_cv_cc_visibility = yes; then
29067 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29068
29069 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29070 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29071
29072 fi
29073 else
29074 CFLAGS_VISIBILITY=""
29075 CXXFLAGS_VISIBILITY=""
29076 fi
29077
29078
29079 fi
29080
29081 fi
29082
29083 if test "x$SUNCXX" = xyes; then
29084 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29085 WXCONFIG_RPATH="-R\$libdir"
29086 else
29087 case "${host}" in
29088 *-*-linux* | *-*-gnu* )
29089 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29090 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29091 ;;
29092
29093 *-*-solaris2* )
29094
29095 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29096
29097 saveLdflags="$LDFLAGS"
29098 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29100 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29102 /* end confdefs.h. */
29103
29104 int
29105 main ()
29106 {
29107
29108 ;
29109 return 0;
29110 }
29111 _ACEOF
29112 if ac_fn_c_try_link "$LINENO"; then :
29113
29114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29115 $as_echo "yes" >&6; }
29116 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29117 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29118
29119 else
29120
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29122 $as_echo "no" >&6; }
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29124 $as_echo_n "checking if the linker accepts -R... " >&6; }
29125 LDFLAGS="$saveLdflags -Wl,-R,/"
29126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h. */
29128
29129 int
29130 main ()
29131 {
29132
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 if ac_fn_c_try_link "$LINENO"; then :
29138
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29140 $as_echo "yes" >&6; }
29141 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29142 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29143
29144 else
29145
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29147 $as_echo "no" >&6; }
29148
29149 fi
29150 rm -f core conftest.err conftest.$ac_objext \
29151 conftest$ac_exeext conftest.$ac_ext
29152
29153 fi
29154 rm -f core conftest.err conftest.$ac_objext \
29155 conftest$ac_exeext conftest.$ac_ext
29156 LDFLAGS="$saveLdflags"
29157 ;;
29158
29159 *-*-darwin* )
29160 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29161 if test "$install_name_tool" -a -x "$install_name_tool"; then
29162 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29163 cat <<EOF >change-install-names
29164 #!/bin/sh
29165 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29166 for i in \${libnames} ; do
29167 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29168 for dep in \${libnames} ; do
29169 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29170 done
29171 done
29172 EOF
29173 chmod +x change-install-names
29174 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29175 fi
29176
29177 HEADER_PAD_OPTION="-headerpad_max_install_names"
29178 ;;
29179
29180 *-*-cygwin* | *-*-mingw32* )
29181 ;;
29182
29183 *-*-hpux* )
29184 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29185 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29186 ;;
29187
29188 esac
29189 fi
29190
29191 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29192
29193 if test $wxUSE_RPATH = "no"; then
29194 SAMPLES_RPATH_FLAG=''
29195 DYLIB_PATH_POSTLINK=''
29196 WXCONFIG_RPATH=''
29197 fi
29198
29199 SHARED=1
29200
29201 else
29202
29203 config_linkage_component="-static"
29204 SHARED=0
29205
29206 fi
29207
29208
29209 UNICODE=0
29210 lib_unicode_suffix=
29211 WX_CHARTYPE="ansi"
29212 if test "$wxUSE_UNICODE" = "yes"; then
29213 lib_unicode_suffix=u
29214 WX_CHARTYPE="unicode"
29215 UNICODE=1
29216 fi
29217
29218 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29219 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29220
29221 DEBUG_INFO=0
29222 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29223 DEBUG_INFO=1
29224 fi
29225
29226 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29227
29228 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29229
29230 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29231
29232
29233 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29234 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29235 else
29236 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29237 fi
29238 if test "${TOOLKIT_DIR}" = "os2"; then
29239 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29240 else
29241 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29242 fi
29243
29244
29245
29246 if test "$wxUSE_OLD_COCOA" = 1; then
29247
29248 ac_ext=c
29249 ac_cpp='$CPP $CPPFLAGS'
29250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29253
29254 ac_ext=m
29255
29256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29257 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <AppKit/NSEvent.h>
29261 #include <CoreFoundation/CoreFoundation.h>
29262
29263 int
29264 main ()
29265 {
29266
29267 ;
29268 return 0;
29269 }
29270 _ACEOF
29271 if ac_fn_c_try_compile "$LINENO"; then :
29272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29273 $as_echo "no" >&6; }
29274 else
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29276 $as_echo "yes" >&6; }
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29278 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29280 /* end confdefs.h. */
29281 #define __Point__ 1
29282 #include <AppKit/NSEvent.h>
29283 #include <CoreFoundation/CoreFoundation.h>
29284
29285 int
29286 main ()
29287 {
29288
29289 ;
29290 return 0;
29291 }
29292 _ACEOF
29293 if ac_fn_c_try_compile "$LINENO"; then :
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29295 $as_echo "yes" >&6; }
29296 $as_echo "#define __Point__ 1" >>confdefs.h
29297
29298
29299 else
29300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29302 as_fn_error $? "no
29303 See \`config.log' for more details" "$LINENO" 5; }
29304
29305 fi
29306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307
29308 fi
29309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29310 ac_ext=c
29311 ac_cpp='$CPP $CPPFLAGS'
29312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29315
29316 fi
29317
29318
29319 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29320 if test "x$ac_cv_type_mode_t" = xyes; then :
29321
29322 else
29323
29324 cat >>confdefs.h <<_ACEOF
29325 #define mode_t int
29326 _ACEOF
29327
29328 fi
29329
29330 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29331 if test "x$ac_cv_type_off_t" = xyes; then :
29332
29333 else
29334
29335 cat >>confdefs.h <<_ACEOF
29336 #define off_t long int
29337 _ACEOF
29338
29339 fi
29340
29341 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29342 if test "x$ac_cv_type_pid_t" = xyes; then :
29343
29344 else
29345
29346 cat >>confdefs.h <<_ACEOF
29347 #define pid_t int
29348 _ACEOF
29349
29350 fi
29351
29352 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29353 if test "x$ac_cv_type_size_t" = xyes; then :
29354
29355 else
29356
29357 cat >>confdefs.h <<_ACEOF
29358 #define size_t unsigned int
29359 _ACEOF
29360
29361 fi
29362
29363
29364 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29365 if test "x$ac_cv_type_ssize_t" = xyes; then :
29366
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_SSIZE_T 1
29369 _ACEOF
29370
29371
29372 fi
29373
29374
29375 ac_ext=cpp
29376 ac_cpp='$CXXCPP $CPPFLAGS'
29377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29381 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29382 if ${wx_cv_size_t_is_uint+:} false; then :
29383 $as_echo_n "(cached) " >&6
29384 else
29385
29386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29387 /* end confdefs.h. */
29388 #include <stddef.h>
29389 int
29390 main ()
29391 {
29392
29393 return 0; }
29394
29395 struct Foo { void foo(size_t); void foo(unsigned int); };
29396
29397 int bar() {
29398
29399 ;
29400 return 0;
29401 }
29402 _ACEOF
29403 if ac_fn_cxx_try_compile "$LINENO"; then :
29404 wx_cv_size_t_is_uint=no
29405 else
29406 wx_cv_size_t_is_uint=yes
29407
29408 fi
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410
29411
29412 fi
29413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29414 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29415
29416 if test "$wx_cv_size_t_is_uint" = "yes"; then
29417 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29418
29419 else
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29421 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29422 if ${wx_cv_size_t_is_ulong+:} false; then :
29423 $as_echo_n "(cached) " >&6
29424 else
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <stddef.h>
29428 int
29429 main ()
29430 {
29431
29432 return 0; }
29433
29434 struct Foo { void foo(size_t); void foo(unsigned long); };
29435
29436 int bar() {
29437
29438 ;
29439 return 0;
29440 }
29441 _ACEOF
29442 if ac_fn_cxx_try_compile "$LINENO"; then :
29443 wx_cv_size_t_is_ulong=no
29444 else
29445 wx_cv_size_t_is_ulong=yes
29446
29447 fi
29448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29449
29450 fi
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29452 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29453
29454 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29455 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29456
29457 fi
29458 fi
29459
29460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29461 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29462 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29463 $as_echo_n "(cached) " >&6
29464 else
29465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29466 /* end confdefs.h. */
29467 #include <wchar.h>
29468 int
29469 main ()
29470 {
29471
29472 return 0; }
29473
29474 struct Foo { void foo(wchar_t);
29475 void foo(unsigned short);
29476 void foo(unsigned int);
29477 void foo(unsigned long); };
29478
29479 int bar() {
29480
29481 ;
29482 return 0;
29483 }
29484 _ACEOF
29485 if ac_fn_cxx_try_compile "$LINENO"; then :
29486 wx_cv_wchar_t_is_separate_type=yes
29487 else
29488 wx_cv_wchar_t_is_separate_type=no
29489
29490 fi
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492
29493 fi
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29495 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29496
29497 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29498 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29499
29500 else
29501 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29502
29503 fi
29504
29505 ac_ext=c
29506 ac_cpp='$CPP $CPPFLAGS'
29507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510
29511
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29513 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29514 if ${wx_cv_struct_pw_gecos+:} false; then :
29515 $as_echo_n "(cached) " >&6
29516 else
29517
29518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29519 /* end confdefs.h. */
29520 #include <pwd.h>
29521 int
29522 main ()
29523 {
29524
29525 char *p;
29526 struct passwd *pw;
29527 p = pw->pw_gecos;
29528
29529 ;
29530 return 0;
29531 }
29532 _ACEOF
29533 if ac_fn_c_try_compile "$LINENO"; then :
29534
29535 wx_cv_struct_pw_gecos=yes
29536
29537 else
29538
29539 wx_cv_struct_pw_gecos=no
29540
29541
29542 fi
29543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29544
29545
29546 fi
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29548 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29549
29550 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29551 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29552
29553 fi
29554
29555
29556 WCSLEN_FOUND=0
29557 WCHAR_LINK=
29558 for ac_func in wcslen
29559 do :
29560 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29561 if test "x$ac_cv_func_wcslen" = xyes; then :
29562 cat >>confdefs.h <<_ACEOF
29563 #define HAVE_WCSLEN 1
29564 _ACEOF
29565 WCSLEN_FOUND=1
29566 fi
29567 done
29568
29569
29570 if test "$WCSLEN_FOUND" = 0; then
29571 if test "$TOOLKIT" = "MSW"; then
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29573 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29574 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29575 $as_echo_n "(cached) " >&6
29576 else
29577 ac_check_lib_save_LIBS=$LIBS
29578 LIBS="-lmsvcrt $LIBS"
29579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29580 /* end confdefs.h. */
29581
29582 /* Override any GCC internal prototype to avoid an error.
29583 Use char because int might match the return type of a GCC
29584 builtin and then its argument prototype would still apply. */
29585 #ifdef __cplusplus
29586 extern "C"
29587 #endif
29588 char wcslen ();
29589 int
29590 main ()
29591 {
29592 return wcslen ();
29593 ;
29594 return 0;
29595 }
29596 _ACEOF
29597 if ac_fn_c_try_link "$LINENO"; then :
29598 ac_cv_lib_msvcrt_wcslen=yes
29599 else
29600 ac_cv_lib_msvcrt_wcslen=no
29601 fi
29602 rm -f core conftest.err conftest.$ac_objext \
29603 conftest$ac_exeext conftest.$ac_ext
29604 LIBS=$ac_check_lib_save_LIBS
29605 fi
29606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29607 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29608 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29609 WCHAR_OK=1
29610 fi
29611
29612 else
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29614 $as_echo_n "checking for wcslen in -lw... " >&6; }
29615 if ${ac_cv_lib_w_wcslen+:} false; then :
29616 $as_echo_n "(cached) " >&6
29617 else
29618 ac_check_lib_save_LIBS=$LIBS
29619 LIBS="-lw $LIBS"
29620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29622
29623 /* Override any GCC internal prototype to avoid an error.
29624 Use char because int might match the return type of a GCC
29625 builtin and then its argument prototype would still apply. */
29626 #ifdef __cplusplus
29627 extern "C"
29628 #endif
29629 char wcslen ();
29630 int
29631 main ()
29632 {
29633 return wcslen ();
29634 ;
29635 return 0;
29636 }
29637 _ACEOF
29638 if ac_fn_c_try_link "$LINENO"; then :
29639 ac_cv_lib_w_wcslen=yes
29640 else
29641 ac_cv_lib_w_wcslen=no
29642 fi
29643 rm -f core conftest.err conftest.$ac_objext \
29644 conftest$ac_exeext conftest.$ac_ext
29645 LIBS=$ac_check_lib_save_LIBS
29646 fi
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29648 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29649 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29650
29651 WCHAR_LINK=" -lw"
29652 WCSLEN_FOUND=1
29653
29654 fi
29655
29656 fi
29657 fi
29658
29659 if test "$WCSLEN_FOUND" = 1; then
29660 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29661
29662 fi
29663
29664 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29665 do :
29666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29668 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29669 cat >>confdefs.h <<_ACEOF
29670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29671 _ACEOF
29672
29673 fi
29674 done
29675
29676
29677 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29678 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29679 fi
29680
29681 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29682 "
29683 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29684
29685 cat >>confdefs.h <<_ACEOF
29686 #define HAVE_MBSTATE_T 1
29687 _ACEOF
29688
29689 for ac_func in wcsrtombs
29690 do :
29691 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29692 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29693 cat >>confdefs.h <<_ACEOF
29694 #define HAVE_WCSRTOMBS 1
29695 _ACEOF
29696
29697 fi
29698 done
29699
29700 fi
29701
29702
29703 for ac_func in snprintf vsnprintf vsscanf
29704 do :
29705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29708 cat >>confdefs.h <<_ACEOF
29709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29710 _ACEOF
29711
29712 fi
29713 done
29714
29715
29716 ac_ext=cpp
29717 ac_cpp='$CXXCPP $CPPFLAGS'
29718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29721
29722 if test "$ac_cv_func_vsnprintf" = "yes"; then
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29724 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29725 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29726 $as_echo_n "(cached) " >&6
29727 else
29728
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731
29732 #include <stdio.h>
29733 #include <stdarg.h>
29734
29735 int
29736 main ()
29737 {
29738
29739 char *buf;
29740 va_list ap;
29741 vsnprintf(buf, 10u, "%s", ap);
29742
29743 ;
29744 return 0;
29745 }
29746 _ACEOF
29747 if ac_fn_cxx_try_compile "$LINENO"; then :
29748 wx_cv_func_vsnprintf_decl=yes
29749 else
29750 wx_cv_func_vsnprintf_decl=no
29751
29752 fi
29753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29754
29755
29756 fi
29757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29758 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29759
29760 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29761 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29762
29763
29764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29765 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29766 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29767 $as_echo_n "(cached) " >&6
29768 else
29769
29770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29771 /* end confdefs.h. */
29772
29773 #include <stdio.h>
29774 #include <stdarg.h>
29775 #ifdef __MSL__
29776 #if __MSL__ >= 0x6000
29777 namespace std {}
29778 using namespace std;
29779 #endif
29780 #endif
29781
29782 int
29783 main ()
29784 {
29785
29786 char *buf;
29787 va_list ap;
29788 const char *fmt = "%s";
29789 vsnprintf(buf, 10u, fmt, ap);
29790
29791 ;
29792 return 0;
29793 }
29794 _ACEOF
29795 if ac_fn_cxx_try_compile "$LINENO"; then :
29796 wx_cv_func_broken_vsnprintf_decl=no
29797 else
29798 wx_cv_func_broken_vsnprintf_decl=yes
29799
29800 fi
29801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29802
29803
29804 fi
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29806 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29807
29808 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29809 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29810
29811 fi
29812 fi
29813 fi
29814
29815 if test "$ac_cv_func_snprintf" = "yes"; then
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29817 $as_echo_n "checking for snprintf declaration... " >&6; }
29818 if ${wx_cv_func_snprintf_decl+:} false; then :
29819 $as_echo_n "(cached) " >&6
29820 else
29821
29822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h. */
29824
29825 #include <stdio.h>
29826 #include <stdarg.h>
29827 #ifdef __MSL__
29828 #if __MSL__ >= 0x6000
29829 namespace std {}
29830 using namespace std;
29831 #endif
29832 #endif
29833
29834 int
29835 main ()
29836 {
29837
29838 char *buf;
29839 snprintf(buf, 10u, "%s", "wx");
29840
29841 ;
29842 return 0;
29843 }
29844 _ACEOF
29845 if ac_fn_cxx_try_compile "$LINENO"; then :
29846 wx_cv_func_snprintf_decl=yes
29847 else
29848 wx_cv_func_snprintf_decl=no
29849
29850 fi
29851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29852
29853
29854 fi
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29856 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29857
29858 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29859 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29860
29861 fi
29862
29863 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29864
29865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29866 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29867 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29868 $as_echo_n "(cached) " >&6
29869 else
29870
29871 if test "$cross_compiling" = yes; then :
29872
29873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29874 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29875 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29876 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29877 wx_cv_func_snprintf_pos_params=no
29878
29879
29880 else
29881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29882 /* end confdefs.h. */
29883
29884 #include <stdio.h>
29885
29886 int main (void)
29887 {
29888 char buffer[128];
29889 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29890 if (strcmp ("2 3 1", buffer) == 0)
29891 exit (0);
29892 exit (1);
29893 }
29894
29895 _ACEOF
29896 if ac_fn_cxx_try_run "$LINENO"; then :
29897 wx_cv_func_snprintf_pos_params=no
29898 else
29899 wx_cv_func_snprintf_pos_params=yes
29900 fi
29901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29902 conftest.$ac_objext conftest.beam conftest.$ac_ext
29903 fi
29904
29905
29906
29907 fi
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29909 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29910
29911 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29912 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29913
29914 fi
29915 fi
29916 fi
29917
29918 if test "$ac_cv_func_vsscanf" = "yes"; then
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29920 $as_echo_n "checking for vsscanf declaration... " >&6; }
29921 if ${wx_cv_func_vsscanf_decl+:} false; then :
29922 $as_echo_n "(cached) " >&6
29923 else
29924
29925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29927
29928 #include <stdio.h>
29929 #include <stdarg.h>
29930 #ifdef __MSL__
29931 #if __MSL__ >= 0x6000
29932 namespace std {}
29933 using namespace std;
29934 #endif
29935 #endif
29936
29937 int
29938 main ()
29939 {
29940
29941 char *buf;
29942 va_list args;
29943 vsscanf(buf, "%s", args);
29944
29945 ;
29946 return 0;
29947 }
29948 _ACEOF
29949 if ac_fn_cxx_try_compile "$LINENO"; then :
29950 wx_cv_func_vsscanf_decl=yes
29951 else
29952 wx_cv_func_vsscanf_decl=no
29953
29954 fi
29955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956
29957
29958 fi
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29960 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29961
29962 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29963 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29964
29965 fi
29966 fi
29967 ac_ext=c
29968 ac_cpp='$CPP $CPPFLAGS'
29969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29972
29973
29974 if test "$wxUSE_UNICODE" = yes; then
29975
29976 wchar_headers="#include <stdio.h>
29977 #include <wchar.h>"
29978 case "${host}" in
29979 *-*-solaris2* )
29980 for ac_header in widec.h
29981 do :
29982 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29983 "
29984 if test "x$ac_cv_header_widec_h" = xyes; then :
29985 cat >>confdefs.h <<_ACEOF
29986 #define HAVE_WIDEC_H 1
29987 _ACEOF
29988
29989 fi
29990
29991 done
29992
29993 if test "$ac_cv_header_widec_h" = "yes"; then
29994 wchar_headers="$wchar_headers
29995 #include <widec.h>"
29996 fi
29997 esac
29998
29999
30000 for wx_func in putws fputws wprintf vswprintf vswscanf
30001 do
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30003 $as_echo_n "checking for $wx_func... " >&6; }
30004 if eval \${wx_cv_func_$wx_func+:} false; then :
30005 $as_echo_n "(cached) " >&6
30006 else
30007
30008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30009 /* end confdefs.h. */
30010
30011
30012 $wchar_headers
30013 $ac_includes_default
30014
30015 int
30016 main ()
30017 {
30018
30019 #ifndef $wx_func
30020 &$wx_func;
30021 #endif
30022
30023
30024 ;
30025 return 0;
30026 }
30027
30028 _ACEOF
30029 if ac_fn_c_try_link "$LINENO"; then :
30030 eval wx_cv_func_$wx_func=yes
30031 else
30032 eval wx_cv_func_$wx_func=no
30033 fi
30034 rm -f core conftest.err conftest.$ac_objext \
30035 conftest$ac_exeext conftest.$ac_ext
30036
30037 fi
30038 eval ac_res=\$wx_cv_func_$wx_func
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30040 $as_echo "$ac_res" >&6; }
30041
30042 if eval test \$wx_cv_func_$wx_func = yes
30043 then
30044 cat >>confdefs.h <<_ACEOF
30045 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30046 _ACEOF
30047
30048
30049 else
30050 :
30051
30052 fi
30053 done
30054
30055
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30057 $as_echo_n "checking for _vsnwprintf... " >&6; }
30058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30060 #include <wchar.h>
30061 int
30062 main ()
30063 {
30064 &_vsnwprintf;
30065 ;
30066 return 0;
30067 }
30068 _ACEOF
30069 if ac_fn_c_try_compile "$LINENO"; then :
30070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30071 $as_echo "yes" >&6; }
30072 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30073
30074 else
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30076 $as_echo "no" >&6; }
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30079 fi
30080
30081 if test "$wxUSE_FILE" = "yes"; then
30082
30083 for wx_func in fsync
30084 do
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30086 $as_echo_n "checking for $wx_func... " >&6; }
30087 if eval \${wx_cv_func_$wx_func+:} false; then :
30088 $as_echo_n "(cached) " >&6
30089 else
30090
30091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30092 /* end confdefs.h. */
30093
30094
30095
30096 $ac_includes_default
30097
30098 int
30099 main ()
30100 {
30101
30102 #ifndef $wx_func
30103 &$wx_func;
30104 #endif
30105
30106
30107 ;
30108 return 0;
30109 }
30110
30111 _ACEOF
30112 if ac_fn_c_try_link "$LINENO"; then :
30113 eval wx_cv_func_$wx_func=yes
30114 else
30115 eval wx_cv_func_$wx_func=no
30116 fi
30117 rm -f core conftest.err conftest.$ac_objext \
30118 conftest$ac_exeext conftest.$ac_ext
30119
30120 fi
30121 eval ac_res=\$wx_cv_func_$wx_func
30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30123 $as_echo "$ac_res" >&6; }
30124
30125 if eval test \$wx_cv_func_$wx_func = yes
30126 then
30127 cat >>confdefs.h <<_ACEOF
30128 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30129 _ACEOF
30130
30131
30132 else
30133 :
30134
30135 fi
30136 done
30137
30138 fi
30139
30140 ac_ext=cpp
30141 ac_cpp='$CXXCPP $CPPFLAGS'
30142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30145
30146
30147 for wx_func in round
30148 do
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30150 $as_echo_n "checking for $wx_func... " >&6; }
30151 if eval \${wx_cv_func_$wx_func+:} false; then :
30152 $as_echo_n "(cached) " >&6
30153 else
30154
30155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30156 /* end confdefs.h. */
30157
30158
30159 #include <math.h>
30160 $ac_includes_default
30161
30162 int
30163 main ()
30164 {
30165
30166 #ifndef $wx_func
30167 &$wx_func;
30168 #endif
30169
30170
30171 ;
30172 return 0;
30173 }
30174
30175 _ACEOF
30176 if ac_fn_cxx_try_link "$LINENO"; then :
30177 eval wx_cv_func_$wx_func=yes
30178 else
30179 eval wx_cv_func_$wx_func=no
30180 fi
30181 rm -f core conftest.err conftest.$ac_objext \
30182 conftest$ac_exeext conftest.$ac_ext
30183
30184 fi
30185 eval ac_res=\$wx_cv_func_$wx_func
30186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30187 $as_echo "$ac_res" >&6; }
30188
30189 if eval test \$wx_cv_func_$wx_func = yes
30190 then
30191 cat >>confdefs.h <<_ACEOF
30192 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30193 _ACEOF
30194
30195
30196 else
30197 :
30198
30199 fi
30200 done
30201
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207
30208
30209 if test "$TOOLKIT" != "MSW"; then
30210
30211 if test "$wxUSE_LIBICONV" != "no" ; then
30212
30213
30214
30215 # Check whether --with-libiconv-prefix was given.
30216 if test "${with_libiconv_prefix+set}" = set; then :
30217 withval=$with_libiconv_prefix;
30218 for dir in `echo "$withval" | tr : ' '`; do
30219 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30220 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30221 done
30222
30223 fi
30224
30225
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30227 $as_echo_n "checking for iconv... " >&6; }
30228 if ${am_cv_func_iconv+:} false; then :
30229 $as_echo_n "(cached) " >&6
30230 else
30231
30232 am_cv_func_iconv="no, consider installing GNU libiconv"
30233 am_cv_lib_iconv=no
30234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30235 /* end confdefs.h. */
30236 #include <stdlib.h>
30237 #include <iconv.h>
30238 int
30239 main ()
30240 {
30241 iconv_t cd = iconv_open("","");
30242 iconv(cd,NULL,NULL,NULL,NULL);
30243 iconv_close(cd);
30244 ;
30245 return 0;
30246 }
30247 _ACEOF
30248 if ac_fn_c_try_link "$LINENO"; then :
30249 am_cv_func_iconv=yes
30250 fi
30251 rm -f core conftest.err conftest.$ac_objext \
30252 conftest$ac_exeext conftest.$ac_ext
30253 if test "$am_cv_func_iconv" != yes; then
30254 am_save_LIBS="$LIBS"
30255 LIBS="$LIBS -liconv"
30256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30257 /* end confdefs.h. */
30258 #include <stdlib.h>
30259 #include <iconv.h>
30260 int
30261 main ()
30262 {
30263 iconv_t cd = iconv_open("","");
30264 iconv(cd,NULL,NULL,NULL,NULL);
30265 iconv_close(cd);
30266 ;
30267 return 0;
30268 }
30269 _ACEOF
30270 if ac_fn_c_try_link "$LINENO"; then :
30271 am_cv_lib_iconv=yes
30272 am_cv_func_iconv=yes
30273 fi
30274 rm -f core conftest.err conftest.$ac_objext \
30275 conftest$ac_exeext conftest.$ac_ext
30276 LIBS="$am_save_LIBS"
30277 fi
30278
30279 fi
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30281 $as_echo "$am_cv_func_iconv" >&6; }
30282 if test "$am_cv_func_iconv" = yes; then
30283
30284 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30285
30286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30287 $as_echo_n "checking if iconv needs const... " >&6; }
30288 if ${wx_cv_func_iconv_const+:} false; then :
30289 $as_echo_n "(cached) " >&6
30290 else
30291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30292 /* end confdefs.h. */
30293
30294 #include <stdlib.h>
30295 #include <iconv.h>
30296 extern
30297 #ifdef __cplusplus
30298 "C"
30299 #endif
30300 #if defined(__STDC__) || defined(__cplusplus)
30301 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30302 #else
30303 size_t iconv();
30304 #endif
30305
30306 int
30307 main ()
30308 {
30309
30310 ;
30311 return 0;
30312 }
30313 _ACEOF
30314 if ac_fn_c_try_compile "$LINENO"; then :
30315 wx_cv_func_iconv_const="no"
30316 else
30317 wx_cv_func_iconv_const="yes"
30318
30319 fi
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321
30322 fi
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30324 $as_echo "$wx_cv_func_iconv_const" >&6; }
30325
30326 iconv_const=
30327 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30328 iconv_const="const"
30329 fi
30330
30331
30332 cat >>confdefs.h <<_ACEOF
30333 #define ICONV_CONST $iconv_const
30334 _ACEOF
30335
30336 fi
30337 LIBICONV=
30338 if test "$am_cv_lib_iconv" = yes; then
30339 LIBICONV="-liconv"
30340 fi
30341
30342
30343 LIBS="$LIBICONV $LIBS"
30344 fi
30345
30346 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30347 for ac_func in sigaction
30348 do :
30349 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30350 if test "x$ac_cv_func_sigaction" = xyes; then :
30351 cat >>confdefs.h <<_ACEOF
30352 #define HAVE_SIGACTION 1
30353 _ACEOF
30354
30355 fi
30356 done
30357
30358
30359 if test "$ac_cv_func_sigaction" = "no"; then
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30361 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30362 wxUSE_ON_FATAL_EXCEPTION=no
30363 fi
30364
30365 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30367 $as_echo_n "checking for sa_handler type... " >&6; }
30368 if ${wx_cv_type_sa_handler+:} false; then :
30369 $as_echo_n "(cached) " >&6
30370 else
30371
30372 ac_ext=cpp
30373 ac_cpp='$CXXCPP $CPPFLAGS'
30374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30377
30378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30379 /* end confdefs.h. */
30380 #include <signal.h>
30381 int
30382 main ()
30383 {
30384
30385 extern void testSigHandler(int);
30386
30387 struct sigaction sa;
30388 sa.sa_handler = testSigHandler;
30389
30390 ;
30391 return 0;
30392 }
30393 _ACEOF
30394 if ac_fn_cxx_try_compile "$LINENO"; then :
30395
30396 wx_cv_type_sa_handler=int
30397
30398 else
30399
30400 wx_cv_type_sa_handler=void
30401
30402 fi
30403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30404 ac_ext=c
30405 ac_cpp='$CPP $CPPFLAGS'
30406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30409
30410
30411 fi
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30413 $as_echo "$wx_cv_type_sa_handler" >&6; }
30414
30415 cat >>confdefs.h <<_ACEOF
30416 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30417 _ACEOF
30418
30419 fi
30420 fi
30421
30422 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30424 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30425 if ${wx_cv_func_backtrace+:} false; then :
30426 $as_echo_n "(cached) " >&6
30427 else
30428
30429 ac_ext=cpp
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434
30435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h. */
30437 #include <execinfo.h>
30438 int
30439 main ()
30440 {
30441
30442 void *trace[1];
30443 char **messages;
30444
30445 backtrace(trace, 1);
30446 messages = backtrace_symbols(trace, 1);
30447
30448 ;
30449 return 0;
30450 }
30451 _ACEOF
30452 if ac_fn_cxx_try_compile "$LINENO"; then :
30453 wx_cv_func_backtrace=yes
30454 else
30455 wx_cv_func_backtrace=no
30456
30457 fi
30458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30459 ac_ext=c
30460 ac_cpp='$CPP $CPPFLAGS'
30461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464
30465
30466
30467 fi
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30469 $as_echo "$wx_cv_func_backtrace" >&6; }
30470
30471
30472 if test "$wx_cv_func_backtrace" = "no"; then
30473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30474 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30475 wxUSE_STACKWALKER=no
30476 else
30477 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30479 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30480 if ${wx_cv_func_cxa_demangle+:} false; then :
30481 $as_echo_n "(cached) " >&6
30482 else
30483
30484 ac_ext=cpp
30485 ac_cpp='$CXXCPP $CPPFLAGS'
30486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30489
30490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30491 /* end confdefs.h. */
30492 #include <cxxabi.h>
30493 int
30494 main ()
30495 {
30496
30497 int rc;
30498 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30499
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 if ac_fn_cxx_try_link "$LINENO"; then :
30505 wx_cv_func_cxa_demangle=yes
30506 else
30507 wx_cv_func_cxa_demangle=no
30508
30509 fi
30510 rm -f core conftest.err conftest.$ac_objext \
30511 conftest$ac_exeext conftest.$ac_ext
30512 ac_ext=c
30513 ac_cpp='$CPP $CPPFLAGS'
30514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30517
30518
30519
30520 fi
30521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30522 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30523 else
30524 wx_cv_func_cxa_demangle=no
30525 fi
30526
30527 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30528 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30529
30530 fi
30531 fi
30532 fi
30533
30534 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30536 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30537 wxUSE_STACKWALKER=no
30538 fi
30539
30540
30541 for ac_func in mkstemp mktemp
30542 do :
30543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30546 cat >>confdefs.h <<_ACEOF
30547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30548 _ACEOF
30549 break
30550 fi
30551 done
30552
30553
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30555 $as_echo_n "checking for statfs... " >&6; }
30556 if ${wx_cv_func_statfs+:} false; then :
30557 $as_echo_n "(cached) " >&6
30558 else
30559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30560 /* end confdefs.h. */
30561
30562 #if defined(__BSD__)
30563 #include <sys/param.h>
30564 #include <sys/mount.h>
30565 #else
30566 #include <sys/vfs.h>
30567 #endif
30568
30569 int
30570 main ()
30571 {
30572
30573 long l;
30574 struct statfs fs;
30575 statfs("/", &fs);
30576 l = fs.f_bsize;
30577 l += fs.f_blocks;
30578 l += fs.f_bavail;
30579
30580 ;
30581 return 0;
30582 }
30583 _ACEOF
30584 if ac_fn_c_try_compile "$LINENO"; then :
30585 wx_cv_func_statfs=yes
30586 else
30587 wx_cv_func_statfs=no
30588
30589 fi
30590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30591
30592 fi
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30594 $as_echo "$wx_cv_func_statfs" >&6; }
30595
30596 if test "$wx_cv_func_statfs" = "yes"; then
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30598 $as_echo_n "checking for statfs declaration... " >&6; }
30599 if ${wx_cv_func_statfs_decl+:} false; then :
30600 $as_echo_n "(cached) " >&6
30601 else
30602 ac_ext=cpp
30603 ac_cpp='$CXXCPP $CPPFLAGS'
30604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30607
30608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30609 /* end confdefs.h. */
30610
30611 #if defined(__BSD__)
30612 #include <sys/param.h>
30613 #include <sys/mount.h>
30614 #else
30615 #include <sys/vfs.h>
30616 #endif
30617
30618 int
30619 main ()
30620 {
30621
30622 struct statfs fs;
30623 statfs("", &fs);
30624
30625 ;
30626 return 0;
30627 }
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 wx_cv_func_statfs_decl=yes
30631 else
30632 wx_cv_func_statfs_decl=no
30633
30634 fi
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636 ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30641
30642
30643 fi
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30645 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30646
30647 if test "$wx_cv_func_statfs_decl" = "yes"; then
30648 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30649
30650 fi
30651
30652 wx_cv_type_statvfs_t="struct statfs"
30653 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30654
30655 else
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30657 $as_echo_n "checking for statvfs... " >&6; }
30658 if ${wx_cv_func_statvfs+:} false; then :
30659 $as_echo_n "(cached) " >&6
30660 else
30661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30662 /* end confdefs.h. */
30663
30664 #include <stddef.h>
30665 #include <sys/statvfs.h>
30666
30667 int
30668 main ()
30669 {
30670
30671 statvfs("/", NULL);
30672
30673 ;
30674 return 0;
30675 }
30676 _ACEOF
30677 if ac_fn_c_try_compile "$LINENO"; then :
30678 wx_cv_func_statvfs=yes
30679 else
30680 wx_cv_func_statvfs=no
30681
30682 fi
30683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30684
30685 fi
30686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30687 $as_echo "$wx_cv_func_statvfs" >&6; }
30688
30689 if test "$wx_cv_func_statvfs" = "yes"; then
30690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30691 $as_echo_n "checking for statvfs argument type... " >&6; }
30692 if ${wx_cv_type_statvfs_t+:} false; then :
30693 $as_echo_n "(cached) " >&6
30694 else
30695 ac_ext=cpp
30696 ac_cpp='$CXXCPP $CPPFLAGS'
30697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30700
30701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30702 /* end confdefs.h. */
30703
30704 #include <sys/statvfs.h>
30705
30706 int
30707 main ()
30708 {
30709
30710 long l;
30711 statvfs_t fs;
30712 statvfs("/", &fs);
30713 l = fs.f_bsize;
30714 l += fs.f_blocks;
30715 l += fs.f_bavail;
30716
30717 ;
30718 return 0;
30719 }
30720 _ACEOF
30721 if ac_fn_cxx_try_compile "$LINENO"; then :
30722 wx_cv_type_statvfs_t=statvfs_t
30723 else
30724
30725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30726 /* end confdefs.h. */
30727
30728 #include <sys/statvfs.h>
30729
30730 int
30731 main ()
30732 {
30733
30734 long l;
30735 struct statvfs fs;
30736 statvfs("/", &fs);
30737 l = fs.f_bsize;
30738 l += fs.f_blocks;
30739 l += fs.f_bavail;
30740
30741 ;
30742 return 0;
30743 }
30744 _ACEOF
30745 if ac_fn_cxx_try_compile "$LINENO"; then :
30746 wx_cv_type_statvfs_t="struct statvfs"
30747 else
30748 wx_cv_type_statvfs_t="unknown"
30749
30750 fi
30751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30752
30753
30754 fi
30755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30756 ac_ext=c
30757 ac_cpp='$CPP $CPPFLAGS'
30758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30761
30762
30763 fi
30764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30765 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30766
30767 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30768 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30769
30770 fi
30771 else
30772 wx_cv_type_statvfs_t="unknown"
30773 fi
30774 fi
30775
30776 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30777 cat >>confdefs.h <<_ACEOF
30778 #define WX_STATFS_T $wx_cv_type_statvfs_t
30779 _ACEOF
30780
30781 else
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30783 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30784 fi
30785
30786 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30787 for ac_func in fcntl flock
30788 do :
30789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30792 cat >>confdefs.h <<_ACEOF
30793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30794 _ACEOF
30795 break
30796 fi
30797 done
30798
30799
30800 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30802 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30803 wxUSE_SNGLINST_CHECKER=no
30804 fi
30805 fi
30806
30807 for ac_func in setenv putenv
30808 do :
30809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30811 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30812 cat >>confdefs.h <<_ACEOF
30813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30814 _ACEOF
30815 break
30816 fi
30817 done
30818
30819 if test "$ac_cv_func_setenv" = "yes"; then
30820 for ac_func in unsetenv
30821 do :
30822 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30823 if test "x$ac_cv_func_unsetenv" = xyes; then :
30824 cat >>confdefs.h <<_ACEOF
30825 #define HAVE_UNSETENV 1
30826 _ACEOF
30827
30828 fi
30829 done
30830
30831 fi
30832
30833 HAVE_SOME_SLEEP_FUNC=0
30834 if test "$USE_BEOS" = 1; then
30835 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30836
30837 HAVE_SOME_SLEEP_FUNC=1
30838 fi
30839
30840 if test "$USE_DARWIN" = 1; then
30841 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30842
30843 HAVE_SOME_SLEEP_FUNC=1
30844 fi
30845
30846 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30847 POSIX4_LINK=
30848 for ac_func in nanosleep
30849 do :
30850 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30851 if test "x$ac_cv_func_nanosleep" = xyes; then :
30852 cat >>confdefs.h <<_ACEOF
30853 #define HAVE_NANOSLEEP 1
30854 _ACEOF
30855 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30856
30857 else
30858
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30860 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30861 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30864 ac_check_lib_save_LIBS=$LIBS
30865 LIBS="-lposix4 $LIBS"
30866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30867 /* end confdefs.h. */
30868
30869 /* Override any GCC internal prototype to avoid an error.
30870 Use char because int might match the return type of a GCC
30871 builtin and then its argument prototype would still apply. */
30872 #ifdef __cplusplus
30873 extern "C"
30874 #endif
30875 char nanosleep ();
30876 int
30877 main ()
30878 {
30879 return nanosleep ();
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 if ac_fn_c_try_link "$LINENO"; then :
30885 ac_cv_lib_posix4_nanosleep=yes
30886 else
30887 ac_cv_lib_posix4_nanosleep=no
30888 fi
30889 rm -f core conftest.err conftest.$ac_objext \
30890 conftest$ac_exeext conftest.$ac_ext
30891 LIBS=$ac_check_lib_save_LIBS
30892 fi
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30894 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30895 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30896
30897 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30898
30899 POSIX4_LINK=" -lposix4"
30900
30901 else
30902
30903
30904 for wx_func in usleep
30905 do
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30907 $as_echo_n "checking for $wx_func... " >&6; }
30908 if eval \${wx_cv_func_$wx_func+:} false; then :
30909 $as_echo_n "(cached) " >&6
30910 else
30911
30912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914
30915
30916
30917 $ac_includes_default
30918
30919 int
30920 main ()
30921 {
30922
30923 #ifndef $wx_func
30924 &$wx_func;
30925 #endif
30926
30927
30928 ;
30929 return 0;
30930 }
30931
30932 _ACEOF
30933 if ac_fn_c_try_link "$LINENO"; then :
30934 eval wx_cv_func_$wx_func=yes
30935 else
30936 eval wx_cv_func_$wx_func=no
30937 fi
30938 rm -f core conftest.err conftest.$ac_objext \
30939 conftest$ac_exeext conftest.$ac_ext
30940
30941 fi
30942 eval ac_res=\$wx_cv_func_$wx_func
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30944 $as_echo "$ac_res" >&6; }
30945
30946 if eval test \$wx_cv_func_$wx_func = yes
30947 then
30948 cat >>confdefs.h <<_ACEOF
30949 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30950 _ACEOF
30951
30952
30953 else
30954 :
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30956 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30957
30958 fi
30959 done
30960
30961
30962
30963 fi
30964
30965
30966
30967 fi
30968 done
30969
30970 fi
30971
30972
30973 for wx_func in uname
30974 do
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30976 $as_echo_n "checking for $wx_func... " >&6; }
30977 if eval \${wx_cv_func_$wx_func+:} false; then :
30978 $as_echo_n "(cached) " >&6
30979 else
30980
30981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30982 /* end confdefs.h. */
30983
30984
30985 #include <sys/utsname.h>
30986 $ac_includes_default
30987
30988 int
30989 main ()
30990 {
30991
30992 #ifndef $wx_func
30993 &$wx_func;
30994 #endif
30995
30996
30997 ;
30998 return 0;
30999 }
31000
31001 _ACEOF
31002 if ac_fn_c_try_link "$LINENO"; then :
31003 eval wx_cv_func_$wx_func=yes
31004 else
31005 eval wx_cv_func_$wx_func=no
31006 fi
31007 rm -f core conftest.err conftest.$ac_objext \
31008 conftest$ac_exeext conftest.$ac_ext
31009
31010 fi
31011 eval ac_res=\$wx_cv_func_$wx_func
31012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31013 $as_echo "$ac_res" >&6; }
31014
31015 if eval test \$wx_cv_func_$wx_func = yes
31016 then
31017 cat >>confdefs.h <<_ACEOF
31018 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31019 _ACEOF
31020
31021
31022 else
31023 :
31024
31025 fi
31026 done
31027
31028 if test "$wx_cv_func_uname" != yes; then
31029
31030 for wx_func in gethostname
31031 do
31032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31033 $as_echo_n "checking for $wx_func... " >&6; }
31034 if eval \${wx_cv_func_$wx_func+:} false; then :
31035 $as_echo_n "(cached) " >&6
31036 else
31037
31038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31039 /* end confdefs.h. */
31040
31041
31042
31043 $ac_includes_default
31044
31045 int
31046 main ()
31047 {
31048
31049 #ifndef $wx_func
31050 &$wx_func;
31051 #endif
31052
31053
31054 ;
31055 return 0;
31056 }
31057
31058 _ACEOF
31059 if ac_fn_c_try_link "$LINENO"; then :
31060 eval wx_cv_func_$wx_func=yes
31061 else
31062 eval wx_cv_func_$wx_func=no
31063 fi
31064 rm -f core conftest.err conftest.$ac_objext \
31065 conftest$ac_exeext conftest.$ac_ext
31066
31067 fi
31068 eval ac_res=\$wx_cv_func_$wx_func
31069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31070 $as_echo "$ac_res" >&6; }
31071
31072 if eval test \$wx_cv_func_$wx_func = yes
31073 then
31074 cat >>confdefs.h <<_ACEOF
31075 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31076 _ACEOF
31077
31078
31079 else
31080 :
31081
31082 fi
31083 done
31084
31085 fi
31086
31087
31088 for wx_func in strtok_r
31089 do
31090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31091 $as_echo_n "checking for $wx_func... " >&6; }
31092 if eval \${wx_cv_func_$wx_func+:} false; then :
31093 $as_echo_n "(cached) " >&6
31094 else
31095
31096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31097 /* end confdefs.h. */
31098
31099
31100 #define _REENTRANT
31101 $ac_includes_default
31102
31103 int
31104 main ()
31105 {
31106
31107 #ifndef $wx_func
31108 &$wx_func;
31109 #endif
31110
31111
31112 ;
31113 return 0;
31114 }
31115
31116 _ACEOF
31117 if ac_fn_c_try_link "$LINENO"; then :
31118 eval wx_cv_func_$wx_func=yes
31119 else
31120 eval wx_cv_func_$wx_func=no
31121 fi
31122 rm -f core conftest.err conftest.$ac_objext \
31123 conftest$ac_exeext conftest.$ac_ext
31124
31125 fi
31126 eval ac_res=\$wx_cv_func_$wx_func
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31128 $as_echo "$ac_res" >&6; }
31129
31130 if eval test \$wx_cv_func_$wx_func = yes
31131 then
31132 cat >>confdefs.h <<_ACEOF
31133 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31134 _ACEOF
31135
31136
31137 else
31138 :
31139
31140 fi
31141 done
31142
31143
31144 INET_LINK=
31145 for ac_func in inet_addr
31146 do :
31147 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31148 if test "x$ac_cv_func_inet_addr" = xyes; then :
31149 cat >>confdefs.h <<_ACEOF
31150 #define HAVE_INET_ADDR 1
31151 _ACEOF
31152 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31153
31154 else
31155
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31157 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31158 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31159 $as_echo_n "(cached) " >&6
31160 else
31161 ac_check_lib_save_LIBS=$LIBS
31162 LIBS="-lnsl $LIBS"
31163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h. */
31165
31166 /* Override any GCC internal prototype to avoid an error.
31167 Use char because int might match the return type of a GCC
31168 builtin and then its argument prototype would still apply. */
31169 #ifdef __cplusplus
31170 extern "C"
31171 #endif
31172 char inet_addr ();
31173 int
31174 main ()
31175 {
31176 return inet_addr ();
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 if ac_fn_c_try_link "$LINENO"; then :
31182 ac_cv_lib_nsl_inet_addr=yes
31183 else
31184 ac_cv_lib_nsl_inet_addr=no
31185 fi
31186 rm -f core conftest.err conftest.$ac_objext \
31187 conftest$ac_exeext conftest.$ac_ext
31188 LIBS=$ac_check_lib_save_LIBS
31189 fi
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31191 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31192 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31193 INET_LINK="nsl"
31194 else
31195
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31197 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31198 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31199 $as_echo_n "(cached) " >&6
31200 else
31201 ac_check_lib_save_LIBS=$LIBS
31202 LIBS="-lresolv $LIBS"
31203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h. */
31205
31206 /* Override any GCC internal prototype to avoid an error.
31207 Use char because int might match the return type of a GCC
31208 builtin and then its argument prototype would still apply. */
31209 #ifdef __cplusplus
31210 extern "C"
31211 #endif
31212 char inet_addr ();
31213 int
31214 main ()
31215 {
31216 return inet_addr ();
31217 ;
31218 return 0;
31219 }
31220 _ACEOF
31221 if ac_fn_c_try_link "$LINENO"; then :
31222 ac_cv_lib_resolv_inet_addr=yes
31223 else
31224 ac_cv_lib_resolv_inet_addr=no
31225 fi
31226 rm -f core conftest.err conftest.$ac_objext \
31227 conftest$ac_exeext conftest.$ac_ext
31228 LIBS=$ac_check_lib_save_LIBS
31229 fi
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31231 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31232 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31233 INET_LINK="resolv"
31234 else
31235
31236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31237 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31238 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31239 $as_echo_n "(cached) " >&6
31240 else
31241 ac_check_lib_save_LIBS=$LIBS
31242 LIBS="-lsocket $LIBS"
31243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31244 /* end confdefs.h. */
31245
31246 /* Override any GCC internal prototype to avoid an error.
31247 Use char because int might match the return type of a GCC
31248 builtin and then its argument prototype would still apply. */
31249 #ifdef __cplusplus
31250 extern "C"
31251 #endif
31252 char inet_addr ();
31253 int
31254 main ()
31255 {
31256 return inet_addr ();
31257 ;
31258 return 0;
31259 }
31260 _ACEOF
31261 if ac_fn_c_try_link "$LINENO"; then :
31262 ac_cv_lib_socket_inet_addr=yes
31263 else
31264 ac_cv_lib_socket_inet_addr=no
31265 fi
31266 rm -f core conftest.err conftest.$ac_objext \
31267 conftest$ac_exeext conftest.$ac_ext
31268 LIBS=$ac_check_lib_save_LIBS
31269 fi
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31271 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31272 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31273 INET_LINK="socket"
31274
31275 fi
31276
31277
31278
31279 fi
31280
31281
31282
31283 fi
31284
31285
31286
31287 fi
31288 done
31289
31290
31291 for ac_func in inet_aton
31292 do :
31293 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31294 if test "x$ac_cv_func_inet_aton" = xyes; then :
31295 cat >>confdefs.h <<_ACEOF
31296 #define HAVE_INET_ATON 1
31297 _ACEOF
31298 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31299
31300 else
31301
31302 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31304 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31305 if eval \${$as_ac_Lib+:} false; then :
31306 $as_echo_n "(cached) " >&6
31307 else
31308 ac_check_lib_save_LIBS=$LIBS
31309 LIBS="-l$INET_LINK $LIBS"
31310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31311 /* end confdefs.h. */
31312
31313 /* Override any GCC internal prototype to avoid an error.
31314 Use char because int might match the return type of a GCC
31315 builtin and then its argument prototype would still apply. */
31316 #ifdef __cplusplus
31317 extern "C"
31318 #endif
31319 char inet_aton ();
31320 int
31321 main ()
31322 {
31323 return inet_aton ();
31324 ;
31325 return 0;
31326 }
31327 _ACEOF
31328 if ac_fn_c_try_link "$LINENO"; then :
31329 eval "$as_ac_Lib=yes"
31330 else
31331 eval "$as_ac_Lib=no"
31332 fi
31333 rm -f core conftest.err conftest.$ac_objext \
31334 conftest$ac_exeext conftest.$ac_ext
31335 LIBS=$ac_check_lib_save_LIBS
31336 fi
31337 eval ac_res=\$$as_ac_Lib
31338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31339 $as_echo "$ac_res" >&6; }
31340 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31341 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31342
31343 fi
31344
31345
31346 fi
31347 done
31348
31349
31350 if test "x$INET_LINK" != "x"; then
31351 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31352
31353 INET_LINK=" -l$INET_LINK"
31354 fi
31355
31356
31357 for wx_func in fdopen
31358 do
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31360 $as_echo_n "checking for $wx_func... " >&6; }
31361 if eval \${wx_cv_func_$wx_func+:} false; then :
31362 $as_echo_n "(cached) " >&6
31363 else
31364
31365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31366 /* end confdefs.h. */
31367
31368
31369
31370 $ac_includes_default
31371
31372 int
31373 main ()
31374 {
31375
31376 #ifndef $wx_func
31377 &$wx_func;
31378 #endif
31379
31380
31381 ;
31382 return 0;
31383 }
31384
31385 _ACEOF
31386 if ac_fn_c_try_link "$LINENO"; then :
31387 eval wx_cv_func_$wx_func=yes
31388 else
31389 eval wx_cv_func_$wx_func=no
31390 fi
31391 rm -f core conftest.err conftest.$ac_objext \
31392 conftest$ac_exeext conftest.$ac_ext
31393
31394 fi
31395 eval ac_res=\$wx_cv_func_$wx_func
31396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31397 $as_echo "$ac_res" >&6; }
31398
31399 if eval test \$wx_cv_func_$wx_func = yes
31400 then
31401 cat >>confdefs.h <<_ACEOF
31402 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31403 _ACEOF
31404
31405
31406 else
31407 :
31408
31409 fi
31410 done
31411
31412
31413 if test "$wxUSE_TARSTREAM" = "yes"; then
31414
31415 for wx_func in sysconf
31416 do
31417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31418 $as_echo_n "checking for $wx_func... " >&6; }
31419 if eval \${wx_cv_func_$wx_func+:} false; then :
31420 $as_echo_n "(cached) " >&6
31421 else
31422
31423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h. */
31425
31426
31427
31428 $ac_includes_default
31429
31430 int
31431 main ()
31432 {
31433
31434 #ifndef $wx_func
31435 &$wx_func;
31436 #endif
31437
31438
31439 ;
31440 return 0;
31441 }
31442
31443 _ACEOF
31444 if ac_fn_c_try_link "$LINENO"; then :
31445 eval wx_cv_func_$wx_func=yes
31446 else
31447 eval wx_cv_func_$wx_func=no
31448 fi
31449 rm -f core conftest.err conftest.$ac_objext \
31450 conftest$ac_exeext conftest.$ac_ext
31451
31452 fi
31453 eval ac_res=\$wx_cv_func_$wx_func
31454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31455 $as_echo "$ac_res" >&6; }
31456
31457 if eval test \$wx_cv_func_$wx_func = yes
31458 then
31459 cat >>confdefs.h <<_ACEOF
31460 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31461 _ACEOF
31462
31463
31464 else
31465 :
31466
31467 fi
31468 done
31469
31470
31471
31472 for wx_func in getpwuid_r
31473 do
31474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31475 $as_echo_n "checking for $wx_func... " >&6; }
31476 if eval \${wx_cv_func_$wx_func+:} false; then :
31477 $as_echo_n "(cached) " >&6
31478 else
31479
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482
31483
31484
31485 #define _REENTRANT
31486 #include <pwd.h>
31487
31488 $ac_includes_default
31489
31490 int
31491 main ()
31492 {
31493
31494 #ifndef $wx_func
31495 &$wx_func;
31496 #endif
31497
31498 struct passwd pw, *ppw;
31499 char buf[1024];
31500 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31501
31502
31503 ;
31504 return 0;
31505 }
31506
31507 _ACEOF
31508 if ac_fn_c_try_link "$LINENO"; then :
31509 eval wx_cv_func_$wx_func=yes
31510 else
31511 eval wx_cv_func_$wx_func=no
31512 fi
31513 rm -f core conftest.err conftest.$ac_objext \
31514 conftest$ac_exeext conftest.$ac_ext
31515
31516 fi
31517 eval ac_res=\$wx_cv_func_$wx_func
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31519 $as_echo "$ac_res" >&6; }
31520
31521 if eval test \$wx_cv_func_$wx_func = yes
31522 then
31523 cat >>confdefs.h <<_ACEOF
31524 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31525 _ACEOF
31526
31527
31528 else
31529 :
31530
31531 fi
31532 done
31533
31534
31535
31536 for wx_func in getgrgid_r
31537 do
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31539 $as_echo_n "checking for $wx_func... " >&6; }
31540 if eval \${wx_cv_func_$wx_func+:} false; then :
31541 $as_echo_n "(cached) " >&6
31542 else
31543
31544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h. */
31546
31547
31548
31549 #define _REENTRANT
31550 #include <grp.h>
31551
31552 $ac_includes_default
31553
31554 int
31555 main ()
31556 {
31557
31558 #ifndef $wx_func
31559 &$wx_func;
31560 #endif
31561
31562 struct group grp, *pgrp;
31563 char buf[1024];
31564 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31565
31566
31567 ;
31568 return 0;
31569 }
31570
31571 _ACEOF
31572 if ac_fn_c_try_link "$LINENO"; then :
31573 eval wx_cv_func_$wx_func=yes
31574 else
31575 eval wx_cv_func_$wx_func=no
31576 fi
31577 rm -f core conftest.err conftest.$ac_objext \
31578 conftest$ac_exeext conftest.$ac_ext
31579
31580 fi
31581 eval ac_res=\$wx_cv_func_$wx_func
31582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31583 $as_echo "$ac_res" >&6; }
31584
31585 if eval test \$wx_cv_func_$wx_func = yes
31586 then
31587 cat >>confdefs.h <<_ACEOF
31588 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31589 _ACEOF
31590
31591
31592 else
31593 :
31594
31595 fi
31596 done
31597
31598 fi
31599
31600 fi
31601
31602
31603
31604 cat >confcache <<\_ACEOF
31605 # This file is a shell script that caches the results of configure
31606 # tests run on this system so they can be shared between configure
31607 # scripts and configure runs, see configure's option --config-cache.
31608 # It is not useful on other systems. If it contains results you don't
31609 # want to keep, you may remove or edit it.
31610 #
31611 # config.status only pays attention to the cache file if you give it
31612 # the --recheck option to rerun configure.
31613 #
31614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31616 # following values.
31617
31618 _ACEOF
31619
31620 # The following way of writing the cache mishandles newlines in values,
31621 # but we know of no workaround that is simple, portable, and efficient.
31622 # So, we kill variables containing newlines.
31623 # Ultrix sh set writes to stderr and can't be redirected directly,
31624 # and sets the high bit in the cache file unless we assign to the vars.
31625 (
31626 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31627 eval ac_val=\$$ac_var
31628 case $ac_val in #(
31629 *${as_nl}*)
31630 case $ac_var in #(
31631 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31632 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31633 esac
31634 case $ac_var in #(
31635 _ | IFS | as_nl) ;; #(
31636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31637 *) { eval $ac_var=; unset $ac_var;} ;;
31638 esac ;;
31639 esac
31640 done
31641
31642 (set) 2>&1 |
31643 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31644 *${as_nl}ac_space=\ *)
31645 # `set' does not quote correctly, so add quotes: double-quote
31646 # substitution turns \\\\ into \\, and sed turns \\ into \.
31647 sed -n \
31648 "s/'/'\\\\''/g;
31649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31650 ;; #(
31651 *)
31652 # `set' quotes correctly as required by POSIX, so do not add quotes.
31653 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31654 ;;
31655 esac |
31656 sort
31657 ) |
31658 sed '
31659 /^ac_cv_env_/b end
31660 t clear
31661 :clear
31662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31663 t end
31664 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31665 :end' >>confcache
31666 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31667 if test -w "$cache_file"; then
31668 if test "x$cache_file" != "x/dev/null"; then
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31670 $as_echo "$as_me: updating cache $cache_file" >&6;}
31671 if test ! -f "$cache_file" || test -h "$cache_file"; then
31672 cat confcache >"$cache_file"
31673 else
31674 case $cache_file in #(
31675 */* | ?:*)
31676 mv -f confcache "$cache_file"$$ &&
31677 mv -f "$cache_file"$$ "$cache_file" ;; #(
31678 *)
31679 mv -f confcache "$cache_file" ;;
31680 esac
31681 fi
31682 fi
31683 else
31684 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31685 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31686 fi
31687 fi
31688 rm -f confcache
31689
31690
31691 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31692
31693
31694 THREADS_LINK=
31695 THREADS_CFLAGS=
31696
31697 if test "$wxUSE_THREADS" = "yes" ; then
31698 if test "$USE_BEOS" = 1; then
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31700 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31701 wxUSE_THREADS="no"
31702 fi
31703 fi
31704
31705 if test "$wxUSE_THREADS" = "yes" ; then
31706
31707
31708 THREAD_OPTS="-pthread"
31709 if test "x$SUNCXX" = xyes; then
31710 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31711 fi
31712
31713 case "${host}" in
31714 *-*-solaris2* | *-*-sunos4* )
31715 if test "x$GCC" = "xyes"; then
31716 THREAD_OPTS="-pthreads $THREAD_OPTS"
31717 fi
31718 ;;
31719 *-*-freebsd*)
31720 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31721 ;;
31722 *-*-darwin* | *-*-cygwin* )
31723 THREAD_OPTS=""
31724 ;;
31725 *-*-aix*)
31726 THREAD_OPTS="pthreads"
31727 ;;
31728 *-hp-hpux* )
31729 if test "x$GCC" = "xyes"; then
31730 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31731 THREAD_OPTS=""
31732 else
31733 THREAD_OPTS="-mt"
31734 fi
31735 ;;
31736
31737 *-*-irix* )
31738 if test "x$GCC" = "xyes"; then
31739 THREAD_OPTS=""
31740 fi
31741 ;;
31742
31743 *-*-qnx*)
31744 THREAD_OPTS=""
31745 ;;
31746
31747 *-*-*UnixWare*)
31748 if test "x$GCC" != "xyes"; then
31749 THREAD_OPTS="-Ethread"
31750 fi
31751 ;;
31752 esac
31753
31754 case "${host}" in
31755 *-*-qnx*)
31756 THREAD_OPTS="none pthread"
31757 ;;
31758
31759 *)
31760 THREAD_OPTS="$THREAD_OPTS pthread none"
31761 ;;
31762 esac
31763
31764 THREADS_OK=no
31765 for flag in $THREAD_OPTS; do
31766 case $flag in
31767 none)
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31769 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31770 ;;
31771
31772 -*)
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31774 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31775 THREADS_CFLAGS="$flag"
31776 ;;
31777
31778 *)
31779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31780 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31781 THREADS_LINK="-l$flag"
31782 ;;
31783 esac
31784
31785 save_LIBS="$LIBS"
31786 save_CFLAGS="$CFLAGS"
31787 LIBS="$THREADS_LINK $LIBS"
31788 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31789
31790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31791 /* end confdefs.h. */
31792 #include <pthread.h>
31793 int
31794 main ()
31795 {
31796 pthread_create(0,0,0,0);
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 if ac_fn_c_try_link "$LINENO"; then :
31802 THREADS_OK=yes
31803 fi
31804 rm -f core conftest.err conftest.$ac_objext \
31805 conftest$ac_exeext conftest.$ac_ext
31806
31807 LIBS="$save_LIBS"
31808 CFLAGS="$save_CFLAGS"
31809
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31811 $as_echo "$THREADS_OK" >&6; }
31812 if test "x$THREADS_OK" = "xyes"; then
31813 break;
31814 fi
31815
31816 THREADS_LINK=""
31817 THREADS_CFLAGS=""
31818 done
31819
31820 if test "x$THREADS_OK" != "xyes"; then
31821 wxUSE_THREADS=no
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31823 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31824 else
31825 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31826 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31827 LIBS="$THREADS_LINK $LIBS"
31828
31829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31830 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31831 flag=no
31832 case "${host}" in
31833 *-aix*)
31834 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31835 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31836 flag="-D_THREAD_SAFE"
31837 ;;
31838 *-freebsd*)
31839 flag="-D_THREAD_SAFE"
31840 ;;
31841 *-hp-hpux* )
31842 flag="-D_REENTRANT"
31843 if test "x$GCC" != "xyes"; then
31844 flag="$flag -D_RWSTD_MULTI_THREAD"
31845 fi
31846 ;;
31847 *solaris* | alpha*-osf*)
31848 flag="-D_REENTRANT"
31849 ;;
31850 esac
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31852 $as_echo "${flag}" >&6; }
31853 if test "x$flag" != xno; then
31854 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31855 fi
31856
31857 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31858 fi
31859 fi
31860
31861 if test "$wxUSE_THREADS" = "yes" ; then
31862 for ac_func in pthread_setconcurrency
31863 do :
31864 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31865 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31866 cat >>confdefs.h <<_ACEOF
31867 #define HAVE_PTHREAD_SETCONCURRENCY 1
31868 _ACEOF
31869 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31870
31871 else
31872
31873 for ac_func in thr_setconcurrency
31874 do :
31875 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31876 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31877 cat >>confdefs.h <<_ACEOF
31878 #define HAVE_THR_SETCONCURRENCY 1
31879 _ACEOF
31880 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31881
31882 else
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31884 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31885 fi
31886 done
31887
31888
31889 fi
31890 done
31891
31892
31893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31894 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31895 if ${wx_cv_func_pthread_cleanup+:} false; then :
31896 $as_echo_n "(cached) " >&6
31897 else
31898
31899 ac_ext=cpp
31900 ac_cpp='$CXXCPP $CPPFLAGS'
31901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31904
31905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31906 /* end confdefs.h. */
31907 #include <pthread.h>
31908 void ThreadCleanupFunc(void *p);
31909
31910 int
31911 main ()
31912 {
31913
31914 void *p;
31915 pthread_cleanup_push(ThreadCleanupFunc, p);
31916 pthread_cleanup_pop(0);
31917
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923
31924 wx_cv_func_pthread_cleanup=yes
31925
31926 else
31927
31928 wx_cv_func_pthread_cleanup=no
31929
31930
31931 fi
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31933 ac_ext=c
31934 ac_cpp='$CPP $CPPFLAGS'
31935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938
31939
31940 fi
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31942 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31943 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31944 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31945
31946 fi
31947
31948 for ac_header in sched.h
31949 do :
31950 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31951 "
31952 if test "x$ac_cv_header_sched_h" = xyes; then :
31953 cat >>confdefs.h <<_ACEOF
31954 #define HAVE_SCHED_H 1
31955 _ACEOF
31956
31957 fi
31958
31959 done
31960
31961 if test "$ac_cv_header_sched_h" = "yes"; then
31962 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31963 if test "x$ac_cv_func_sched_yield" = xyes; then :
31964 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31965
31966 else
31967
31968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31969 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31970 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31973 ac_check_lib_save_LIBS=$LIBS
31974 LIBS="-lposix4 $LIBS"
31975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31976 /* end confdefs.h. */
31977
31978 /* Override any GCC internal prototype to avoid an error.
31979 Use char because int might match the return type of a GCC
31980 builtin and then its argument prototype would still apply. */
31981 #ifdef __cplusplus
31982 extern "C"
31983 #endif
31984 char sched_yield ();
31985 int
31986 main ()
31987 {
31988 return sched_yield ();
31989 ;
31990 return 0;
31991 }
31992 _ACEOF
31993 if ac_fn_c_try_link "$LINENO"; then :
31994 ac_cv_lib_posix4_sched_yield=yes
31995 else
31996 ac_cv_lib_posix4_sched_yield=no
31997 fi
31998 rm -f core conftest.err conftest.$ac_objext \
31999 conftest$ac_exeext conftest.$ac_ext
32000 LIBS=$ac_check_lib_save_LIBS
32001 fi
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32003 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32004 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32005 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32006 POSIX4_LINK=" -lposix4"
32007 else
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32009 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32010
32011 fi
32012
32013
32014
32015 fi
32016
32017 fi
32018
32019 HAVE_PRIOR_FUNCS=0
32020 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32021 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32022 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32023 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32024 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32025 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32026 HAVE_PRIOR_FUNCS=1
32027 else
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32029 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32030 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32033 ac_check_lib_save_LIBS=$LIBS
32034 LIBS="-lposix4 $LIBS"
32035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32036 /* end confdefs.h. */
32037
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32041 #ifdef __cplusplus
32042 extern "C"
32043 #endif
32044 char sched_get_priority_max ();
32045 int
32046 main ()
32047 {
32048 return sched_get_priority_max ();
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 if ac_fn_c_try_link "$LINENO"; then :
32054 ac_cv_lib_posix4_sched_get_priority_max=yes
32055 else
32056 ac_cv_lib_posix4_sched_get_priority_max=no
32057 fi
32058 rm -f core conftest.err conftest.$ac_objext \
32059 conftest$ac_exeext conftest.$ac_ext
32060 LIBS=$ac_check_lib_save_LIBS
32061 fi
32062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32063 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32064 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32065
32066 HAVE_PRIOR_FUNCS=1
32067 POSIX4_LINK=" -lposix4"
32068
32069 fi
32070
32071
32072 fi
32073
32074
32075 fi
32076
32077
32078 fi
32079
32080
32081 if test "$HAVE_PRIOR_FUNCS" = 1; then
32082 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32083
32084 else
32085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32086 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32087 fi
32088
32089 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32090 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32091 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32092
32093 else
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32095 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32096 fi
32097
32098
32099 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32100 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32101 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32102
32103 else
32104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32105 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32106 fi
32107
32108
32109 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32110 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32111 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32112
32113 fi
32114
32115
32116
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32118 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32119 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32120 $as_echo_n "(cached) " >&6
32121 else
32122
32123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32124 /* end confdefs.h. */
32125 #include <pthread.h>
32126 int
32127 main ()
32128 {
32129
32130 pthread_mutexattr_t attr;
32131 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32132
32133 ;
32134 return 0;
32135 }
32136 _ACEOF
32137 if ac_fn_c_try_compile "$LINENO"; then :
32138 wx_cv_type_pthread_mutexattr_t=yes
32139 else
32140 wx_cv_type_pthread_mutexattr_t=no
32141
32142 fi
32143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32144
32145 fi
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32147 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32148
32149 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32150 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32151
32152
32153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32154 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32155 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32156 $as_echo_n "(cached) " >&6
32157 else
32158
32159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32160 /* end confdefs.h. */
32161 #include <pthread.h>
32162 int
32163 main ()
32164 {
32165
32166 pthread_mutexattr_t attr;
32167 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32168
32169 ;
32170 return 0;
32171 }
32172 _ACEOF
32173 if ac_fn_c_try_compile "$LINENO"; then :
32174 wx_cv_func_pthread_mutexattr_settype_decl=yes
32175 else
32176 wx_cv_func_pthread_mutexattr_settype_decl=no
32177
32178 fi
32179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32180
32181 fi
32182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32183 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32184 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32185 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32186
32187 fi
32188 else
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32190 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32191 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32192 $as_echo_n "(cached) " >&6
32193 else
32194
32195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32196 /* end confdefs.h. */
32197 #include <pthread.h>
32198 int
32199 main ()
32200 {
32201
32202 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32203
32204 ;
32205 return 0;
32206 }
32207 _ACEOF
32208 if ac_fn_c_try_compile "$LINENO"; then :
32209
32210 wx_cv_type_pthread_rec_mutex_init=yes
32211
32212 else
32213
32214 wx_cv_type_pthread_rec_mutex_init=no
32215
32216
32217 fi
32218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32219
32220 fi
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32222 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32223 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32224 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32225
32226 else
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32228 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32229 fi
32230 fi
32231
32232 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32233 if test "$USE_NETBSD" = 1; then
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32235 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32236 wxUSE_COMPILER_TLS=no
32237 else
32238 wxUSE_COMPILER_TLS=yes
32239 fi
32240 fi
32241
32242 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32244 $as_echo_n "checking for __thread keyword... " >&6; }
32245 if ${wx_cv_cc___thread+:} false; then :
32246 $as_echo_n "(cached) " >&6
32247 else
32248
32249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32250 /* end confdefs.h. */
32251 #include <pthread.h>
32252 int
32253 main ()
32254 {
32255
32256 static __thread int n = 0;
32257 static __thread int *p = 0;
32258
32259 ;
32260 return 0;
32261 }
32262 _ACEOF
32263 if ac_fn_c_try_compile "$LINENO"; then :
32264 wx_cv_cc___thread=yes
32265 else
32266 wx_cv_cc___thread=no
32267
32268 fi
32269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32270
32271
32272 fi
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32274 $as_echo "$wx_cv_cc___thread" >&6; }
32275
32276 if test "$wx_cv_cc___thread" = "yes"; then
32277
32278 GXX_VERSION=""
32279
32280
32281
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32283 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32284
32285 if test "x$GCC" = "xyes" ; then :
32286
32287 if test -z "" ; then :
32288
32289 ax_gcc_option_test="int main()
32290 {
32291 return 0;
32292 }"
32293
32294 else
32295
32296 ax_gcc_option_test=""
32297
32298 fi
32299
32300 # Dump the test program to file
32301 cat <<EOF > conftest.c
32302 $ax_gcc_option_test
32303 EOF
32304
32305 # Dump back the file to the log, useful for debugging purposes
32306 { ac_try='cat conftest.c 1>&5'
32307 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32308 (eval $ac_try) 2>&5
32309 ac_status=$?
32310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32311 test $ac_status = 0; }; }
32312
32313 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32314 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32315 (eval $ac_try) 2>&5
32316 ac_status=$?
32317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32318 test $ac_status = 0; }; } ; then :
32319
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32321 $as_echo "yes" >&6; }
32322
32323 ax_gcc_version_option=yes
32324
32325
32326 else
32327
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32329 $as_echo "no" >&6; }
32330
32331 ax_gcc_version_option=no
32332
32333
32334 fi
32335
32336 else
32337
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32339 $as_echo "no gcc available" >&6; }
32340
32341 fi
32342
32343 if test "x$GXX" = "xyes"; then :
32344
32345 if test "x$ax_gxx_version_option" != "no"; then :
32346
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32348 $as_echo_n "checking gxx version... " >&6; }
32349 if ${ax_cv_gxx_version+:} false; then :
32350 $as_echo_n "(cached) " >&6
32351 else
32352
32353 ax_cv_gxx_version="`$CXX -dumpversion`"
32354 if test "x$ax_cv_gxx_version" = "x"; then :
32355
32356 ax_cv_gxx_version=""
32357
32358 fi
32359
32360 fi
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32362 $as_echo "$ax_cv_gxx_version" >&6; }
32363 GXX_VERSION=$ax_cv_gxx_version
32364
32365 fi
32366
32367 fi
32368
32369
32370 if test -n "$ax_cv_gxx_version"; then
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32372 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32373 case "$ax_cv_gxx_version" in
32374 1.* | 2.* | 3.* )
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32376 $as_echo "no, it's broken" >&6; }
32377 wx_cv_cc___thread=no
32378 ;;
32379 *)
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32381 $as_echo "yes, it works" >&6; }
32382 ;;
32383 esac
32384 fi
32385 fi
32386
32387 if test "$wx_cv_cc___thread" = "yes"; then
32388 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32389
32390 fi
32391 fi
32392
32393 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32395 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32396 if ${wx_cv_type_abi_forced_unwind+:} false; then :
32397 $as_echo_n "(cached) " >&6
32398 else
32399
32400 ac_ext=cpp
32401 ac_cpp='$CXXCPP $CPPFLAGS'
32402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405
32406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32407 /* end confdefs.h. */
32408 #include <cxxabi.h>
32409 int
32410 main ()
32411 {
32412
32413 void foo(abi::__forced_unwind&);
32414
32415 ;
32416 return 0;
32417 }
32418 _ACEOF
32419 if ac_fn_cxx_try_compile "$LINENO"; then :
32420 wx_cv_type_abi_forced_unwind=yes
32421 else
32422 wx_cv_type_abi_forced_unwind=no
32423
32424 fi
32425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32426 ac_ext=c
32427 ac_cpp='$CPP $CPPFLAGS'
32428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32431
32432
32433
32434 fi
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32436 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32437 else
32438 wx_cv_type_abi_forced_unwind=no
32439 fi
32440
32441 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32442 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32443
32444 fi
32445 fi
32446
32447 else
32448 if test "$wxUSE_THREADS" = "yes" ; then
32449 case "${host}" in
32450 x86_64-*-mingw32* )
32451 ;;
32452 *-*-mingw32* )
32453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32454 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32455 if ${wx_cv_cflags_mthread+:} false; then :
32456 $as_echo_n "(cached) " >&6
32457 else
32458
32459 CFLAGS_OLD="$CFLAGS"
32460 CFLAGS="-mthreads $CFLAGS"
32461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32462 /* end confdefs.h. */
32463
32464 int
32465 main ()
32466 {
32467
32468 ;
32469 return 0;
32470 }
32471 _ACEOF
32472 if ac_fn_c_try_compile "$LINENO"; then :
32473 wx_cv_cflags_mthread=yes
32474 else
32475 wx_cv_cflags_mthread=no
32476
32477 fi
32478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479
32480
32481 fi
32482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32483 $as_echo "$wx_cv_cflags_mthread" >&6; }
32484
32485 if test "$wx_cv_cflags_mthread" = "yes"; then
32486 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32487 LDFLAGS="$LDFLAGS -mthreads"
32488 else
32489 CFLAGS="$CFLAGS_OLD"
32490 fi
32491 ;;
32492 *-pc-os2*emx )
32493 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32494 LDFLAGS="$LDFLAGS -Zmt"
32495 ;;
32496 esac
32497 fi
32498 fi
32499
32500 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32501 if test "x$ac_cv_func_localtime_r" = xyes; then :
32502 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32503
32504 fi
32505
32506 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32507 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32508 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32509
32510 fi
32511
32512
32513
32514
32515 ac_ext=c
32516 ac_cpp='$CPP $CPPFLAGS'
32517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32520
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32522 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32523
32524 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32525 $as_echo_n "(cached) " >&6
32526 else
32527
32528
32529 ################################################################
32530
32531 ac_cv_func_which_gethostbyname_r=unknown
32532
32533 #
32534 # ONE ARGUMENT (sanity check)
32535 #
32536
32537 # This should fail, as there is no variant of gethostbyname_r() that takes
32538 # a single argument. If it actually compiles, then we can assume that
32539 # netdb.h is not declaring the function, and the compiler is thereby
32540 # assuming an implicit prototype. In which case, we're out of luck.
32541 #
32542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543 /* end confdefs.h. */
32544 #include <netdb.h>
32545 int
32546 main ()
32547 {
32548
32549 char *name = "www.gnu.org";
32550 (void)gethostbyname_r(name) /* ; */
32551
32552
32553 ;
32554 return 0;
32555 }
32556 _ACEOF
32557 if ac_fn_c_try_compile "$LINENO"; then :
32558 ac_cv_func_which_gethostbyname_r=no
32559
32560 fi
32561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32562
32563 #
32564 # SIX ARGUMENTS
32565 # (e.g. Linux)
32566 #
32567
32568 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32569
32570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32571 /* end confdefs.h. */
32572 #include <netdb.h>
32573 int
32574 main ()
32575 {
32576
32577 char *name = "www.gnu.org";
32578 struct hostent ret, *retp;
32579 char buf[1024];
32580 int buflen = 1024;
32581 int my_h_errno;
32582 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32583
32584
32585 ;
32586 return 0;
32587 }
32588 _ACEOF
32589 if ac_fn_c_try_compile "$LINENO"; then :
32590 ac_cv_func_which_gethostbyname_r=six
32591
32592 fi
32593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32594
32595 fi
32596
32597 #
32598 # FIVE ARGUMENTS
32599 # (e.g. Solaris)
32600 #
32601
32602 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32603
32604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32605 /* end confdefs.h. */
32606 #include <netdb.h>
32607 int
32608 main ()
32609 {
32610
32611 char *name = "www.gnu.org";
32612 struct hostent ret;
32613 char buf[1024];
32614 int buflen = 1024;
32615 int my_h_errno;
32616 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32617
32618
32619 ;
32620 return 0;
32621 }
32622 _ACEOF
32623 if ac_fn_c_try_compile "$LINENO"; then :
32624 ac_cv_func_which_gethostbyname_r=five
32625
32626 fi
32627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32628
32629 fi
32630
32631 #
32632 # THREE ARGUMENTS
32633 # (e.g. AIX, HP-UX, Tru64)
32634 #
32635
32636 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32637
32638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32639 /* end confdefs.h. */
32640 #include <netdb.h>
32641 int
32642 main ()
32643 {
32644
32645 char *name = "www.gnu.org";
32646 struct hostent ret;
32647 struct hostent_data data;
32648 (void)gethostbyname_r(name, &ret, &data) /* ; */
32649
32650
32651 ;
32652 return 0;
32653 }
32654 _ACEOF
32655 if ac_fn_c_try_compile "$LINENO"; then :
32656 ac_cv_func_which_gethostbyname_r=three
32657
32658 fi
32659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32660
32661 fi
32662
32663 ################################################################
32664
32665
32666 fi
32667
32668 case "$ac_cv_func_which_gethostbyname_r" in
32669 three)
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32671 $as_echo "three" >&6; }
32672 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32673
32674 ;;
32675
32676 five)
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32678 $as_echo "five" >&6; }
32679 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32680
32681 ;;
32682
32683 six)
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32685 $as_echo "six" >&6; }
32686 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32687
32688 ;;
32689
32690 no)
32691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32692 $as_echo "cannot find function declaration in netdb.h" >&6; }
32693 ;;
32694
32695 unknown)
32696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32697 $as_echo "can't tell" >&6; }
32698 ;;
32699
32700 *)
32701 as_fn_error $? "internal error" "$LINENO" 5
32702 ;;
32703 esac
32704
32705 ac_ext=c
32706 ac_cpp='$CPP $CPPFLAGS'
32707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32710
32711
32712
32713 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32714 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32715 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32716 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32717 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32718
32719 fi
32720
32721 fi
32722
32723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32724 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32725 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32726 $as_echo_n "(cached) " >&6
32727 else
32728
32729 ac_ext=cpp
32730 ac_cpp='$CXXCPP $CPPFLAGS'
32731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32734
32735
32736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32737 /* end confdefs.h. */
32738 #include <netdb.h>
32739 int
32740 main ()
32741 {
32742
32743 char *name;
32744 char *proto;
32745 struct servent *se, *res;
32746 char buffer[2048];
32747 int buflen = 2048;
32748 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32749
32750 ;
32751 return 0;
32752 }
32753 _ACEOF
32754 if ac_fn_cxx_try_compile "$LINENO"; then :
32755 ac_cv_func_which_getservbyname_r=six
32756 else
32757
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <netdb.h>
32761 int
32762 main ()
32763 {
32764
32765 char *name;
32766 char *proto;
32767 struct servent *se;
32768 char buffer[2048];
32769 int buflen = 2048;
32770 (void) getservbyname_r(name, proto, se, buffer, buflen)
32771
32772 ;
32773 return 0;
32774 }
32775 _ACEOF
32776 if ac_fn_cxx_try_compile "$LINENO"; then :
32777 ac_cv_func_which_getservbyname_r=five
32778 else
32779
32780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32781 /* end confdefs.h. */
32782 #include <netdb.h>
32783 int
32784 main ()
32785 {
32786
32787 char *name;
32788 char *proto;
32789 struct servent *se;
32790 struct servent_data data;
32791 (void) getservbyname_r(name, proto, se, &data);
32792
32793 ;
32794 return 0;
32795 }
32796 _ACEOF
32797 if ac_fn_cxx_try_compile "$LINENO"; then :
32798 ac_cv_func_which_getservbyname_r=four
32799 else
32800 ac_cv_func_which_getservbyname_r=no
32801
32802 fi
32803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32804
32805
32806 fi
32807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32808
32809
32810 fi
32811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32812 ac_ext=c
32813 ac_cpp='$CPP $CPPFLAGS'
32814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32817
32818
32819
32820 fi
32821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32822 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32823
32824 if test $ac_cv_func_which_getservbyname_r = six; then
32825 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32826
32827 elif test $ac_cv_func_which_getservbyname_r = five; then
32828 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32829
32830 elif test $ac_cv_func_which_getservbyname_r = four; then
32831 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32832
32833 fi
32834
32835
32836 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32837 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32838 for ac_func in getservbyname
32839 do :
32840 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32841 if test "x$ac_cv_func_getservbyname" = xyes; then :
32842 cat >>confdefs.h <<_ACEOF
32843 #define HAVE_GETSERVBYNAME 1
32844 _ACEOF
32845 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32846
32847 fi
32848 done
32849
32850 fi
32851
32852 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32853
32854
32855 if test "$wxUSE_THREADS" = "yes"; then
32856 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32857
32858
32859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32860 else
32861 if test "$wx_cv_func_strtok_r" = "yes"; then
32862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32863 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32864 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32865 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32867 $as_echo "yes" >&6; }
32868 else
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32870 $as_echo "no" >&6; }
32871 fi
32872 fi
32873 fi
32874
32875 if test "$WXGTK3" = 1 ; then
32876 cat >>confdefs.h <<_ACEOF
32877 #define __WXGTK3__ 1
32878 _ACEOF
32879
32880 WXGTK2=1
32881 fi
32882 if test "$WXGTK2" = 1 ; then
32883 cat >>confdefs.h <<_ACEOF
32884 #define __WXGTK20__ $WXGTK2
32885 _ACEOF
32886
32887 fi
32888
32889 if test "$WXGTK127" = 1 ; then
32890 cat >>confdefs.h <<_ACEOF
32891 #define __WXGTK127__ $WXGTK127
32892 _ACEOF
32893
32894 fi
32895
32896 if test "$WXGPE" = 1 ; then
32897 cat >>confdefs.h <<_ACEOF
32898 #define __WXGPE__ $WXGPE
32899 _ACEOF
32900
32901 fi
32902
32903 DEBUG_CFLAGS=
32904 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32906 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32907 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32908 DEBUG_CFLAGS="-g"
32909 fi
32910
32911 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32912 wxUSE_DEBUG_INFO=yes
32913 if test "$GCC" = yes; then
32914 DEBUG_CFLAGS="-ggdb"
32915 fi
32916 fi
32917
32918 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32919 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32920
32921 if test "$wxUSE_GTK" = 1 ; then
32922 if test "$WXGTK2" = 1 ; then
32923 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32924 else
32925 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32926 fi
32927 fi
32928 fi
32929
32930 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32931 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32932
32933 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32934
32935 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32936
32937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32938 fi
32939
32940 if test "$wxUSE_DMALLOC" = "yes" ; then
32941 DMALLOC_LIBS="-ldmallocthcxx"
32942 fi
32943
32944 PROFILE_FLAGS=
32945 if test "$wxUSE_PROFILE" = "yes" ; then
32946 PROFILE_FLAGS=" -pg"
32947 fi
32948
32949 if test "$GCC" = "yes" ; then
32950 if test "$wxUSE_NO_RTTI" = "yes" ; then
32951 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32952 fi
32953 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32954 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32955 fi
32956 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32957 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32958 fi
32959
32960 case "${host}" in
32961 powerpc*-*-aix* )
32962 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32963 ;;
32964 *-hppa* )
32965 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32966 ;;
32967 esac
32968 fi
32969
32970 OPTIMISE_CFLAGS=
32971 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32973 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32974 else
32975 if test "$wxUSE_OPTIMISE" = "no" ; then
32976 if test "$GCC" = yes ; then
32977 OPTIMISE_CFLAGS="-O0"
32978 fi
32979 else
32980 if test "$GCC" = yes ; then
32981 case "${host}" in
32982 *-pc-os2_emx | *-pc-os2-emx )
32983 OPTIMISE_CFLAGS="-O2"
32984 ;;
32985 *)
32986 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32987 ;;
32988 esac
32989 else
32990 OPTIMISE_CFLAGS="-O"
32991 fi
32992 fi
32993 fi
32994
32995
32996 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32997 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32998
32999
33000 WXWIN_COMPATIBILITY_2_8="yes"
33001 fi
33002
33003 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33004 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33005
33006 fi
33007
33008
33009 if test "$wxUSE_GUI" = "yes"; then
33010 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33011
33012
33013 fi
33014
33015
33016 if test "$wxUSE_UNIX" = "yes"; then
33017 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33018
33019 fi
33020
33021
33022 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33023
33024 HAVE_DL_FUNCS=0
33025 HAVE_SHL_FUNCS=0
33026 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33027 if test "$USE_DOS" = 1; then
33028 HAVE_DL_FUNCS=0
33029 else
33030 for ac_func in dlopen
33031 do :
33032 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33033 if test "x$ac_cv_func_dlopen" = xyes; then :
33034 cat >>confdefs.h <<_ACEOF
33035 #define HAVE_DLOPEN 1
33036 _ACEOF
33037
33038 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33039
33040 HAVE_DL_FUNCS=1
33041
33042 else
33043
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33045 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33046 if ${ac_cv_lib_dl_dlopen+:} false; then :
33047 $as_echo_n "(cached) " >&6
33048 else
33049 ac_check_lib_save_LIBS=$LIBS
33050 LIBS="-ldl $LIBS"
33051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33052 /* end confdefs.h. */
33053
33054 /* Override any GCC internal prototype to avoid an error.
33055 Use char because int might match the return type of a GCC
33056 builtin and then its argument prototype would still apply. */
33057 #ifdef __cplusplus
33058 extern "C"
33059 #endif
33060 char dlopen ();
33061 int
33062 main ()
33063 {
33064 return dlopen ();
33065 ;
33066 return 0;
33067 }
33068 _ACEOF
33069 if ac_fn_c_try_link "$LINENO"; then :
33070 ac_cv_lib_dl_dlopen=yes
33071 else
33072 ac_cv_lib_dl_dlopen=no
33073 fi
33074 rm -f core conftest.err conftest.$ac_objext \
33075 conftest$ac_exeext conftest.$ac_ext
33076 LIBS=$ac_check_lib_save_LIBS
33077 fi
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33079 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33080 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33081
33082 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33083
33084 HAVE_DL_FUNCS=1
33085 DL_LINK=" -ldl$DL_LINK"
33086
33087 else
33088
33089 for ac_func in shl_load
33090 do :
33091 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33092 if test "x$ac_cv_func_shl_load" = xyes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_SHL_LOAD 1
33095 _ACEOF
33096
33097 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33098
33099 HAVE_SHL_FUNCS=1
33100
33101 else
33102
33103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33104 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33105 if ${ac_cv_lib_shl_load_dld+:} false; then :
33106 $as_echo_n "(cached) " >&6
33107 else
33108 ac_check_lib_save_LIBS=$LIBS
33109 LIBS="-lshl_load $LIBS"
33110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33111 /* end confdefs.h. */
33112
33113 /* Override any GCC internal prototype to avoid an error.
33114 Use char because int might match the return type of a GCC
33115 builtin and then its argument prototype would still apply. */
33116 #ifdef __cplusplus
33117 extern "C"
33118 #endif
33119 char dld ();
33120 int
33121 main ()
33122 {
33123 return dld ();
33124 ;
33125 return 0;
33126 }
33127 _ACEOF
33128 if ac_fn_c_try_link "$LINENO"; then :
33129 ac_cv_lib_shl_load_dld=yes
33130 else
33131 ac_cv_lib_shl_load_dld=no
33132 fi
33133 rm -f core conftest.err conftest.$ac_objext \
33134 conftest$ac_exeext conftest.$ac_ext
33135 LIBS=$ac_check_lib_save_LIBS
33136 fi
33137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33138 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33139 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33140
33141 HAVE_SHL_FUNCS=1
33142 DL_LINK=" -ldld$DL_LINK"
33143
33144 fi
33145
33146
33147 fi
33148 done
33149
33150
33151 fi
33152
33153
33154 fi
33155 done
33156
33157
33158 if test "$HAVE_DL_FUNCS" = 1; then
33159 for ac_func in dlerror
33160 do :
33161 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33162 if test "x$ac_cv_func_dlerror" = xyes; then :
33163 cat >>confdefs.h <<_ACEOF
33164 #define HAVE_DLERROR 1
33165 _ACEOF
33166 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33167
33168 else
33169
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33171 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33172 if ${ac_cv_lib_dl_dlerror+:} false; then :
33173 $as_echo_n "(cached) " >&6
33174 else
33175 ac_check_lib_save_LIBS=$LIBS
33176 LIBS="-ldl $LIBS"
33177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33178 /* end confdefs.h. */
33179
33180 /* Override any GCC internal prototype to avoid an error.
33181 Use char because int might match the return type of a GCC
33182 builtin and then its argument prototype would still apply. */
33183 #ifdef __cplusplus
33184 extern "C"
33185 #endif
33186 char dlerror ();
33187 int
33188 main ()
33189 {
33190 return dlerror ();
33191 ;
33192 return 0;
33193 }
33194 _ACEOF
33195 if ac_fn_c_try_link "$LINENO"; then :
33196 ac_cv_lib_dl_dlerror=yes
33197 else
33198 ac_cv_lib_dl_dlerror=no
33199 fi
33200 rm -f core conftest.err conftest.$ac_objext \
33201 conftest$ac_exeext conftest.$ac_ext
33202 LIBS=$ac_check_lib_save_LIBS
33203 fi
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33205 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33206 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33207 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33208
33209 fi
33210
33211
33212
33213 fi
33214 done
33215
33216 fi
33217 fi
33218
33219 if test "$USE_DARWIN" = 1; then
33220 HAVE_DL_FUNCS=1
33221 fi
33222
33223 if test "$HAVE_DL_FUNCS" = 0; then
33224 if test "$HAVE_SHL_FUNCS" = 0; then
33225 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33227 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33228 wxUSE_DYNAMIC_LOADER=no
33229 wxUSE_DYNLIB_CLASS=no
33230 else
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33232 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33233 fi
33234 fi
33235 fi
33236 fi
33237 fi
33238
33239 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33240 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33241
33242 fi
33243 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33244 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33245
33246 fi
33247
33248
33249
33250 if test "$wxUSE_PLUGINS" = "yes" ; then
33251 if test "$wxUSE_SHARED" = "no" ; then
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33253 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33254 wxUSE_PLUGINS=no
33255 fi
33256 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33258 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33259 wxUSE_PLUGINS=no
33260 fi
33261 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33263 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33264 wxUSE_PLUGINS=no
33265 fi
33266 if test "$wxUSE_PLUGINS" = "yes" ; then
33267 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33268
33269 fi
33270 fi
33271
33272
33273 if test "$wxUSE_FSWATCHER" = "yes"; then
33274 if test "$wxUSE_MSW" != "1"; then
33275 if test "$wxUSE_UNIX" = "yes"; then
33276 for ac_header in sys/inotify.h
33277 do :
33278 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33279 "
33280 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33281 cat >>confdefs.h <<_ACEOF
33282 #define HAVE_SYS_INOTIFY_H 1
33283 _ACEOF
33284
33285 fi
33286
33287 done
33288
33289 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33290 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33291
33292 else
33293 for ac_header in sys/event.h
33294 do :
33295 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33296 "
33297 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33298 cat >>confdefs.h <<_ACEOF
33299 #define HAVE_SYS_EVENT_H 1
33300 _ACEOF
33301
33302 fi
33303
33304 done
33305
33306 if test "$ac_cv_header_sys_event_h" = "yes"; then
33307 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33308
33309 else
33310 wxUSE_FSWATCHER=no
33311 fi
33312 fi
33313 else
33314 wxUSE_FSWATCHER=no
33315 fi
33316 else
33317 if test "$wxUSE_THREADS" != "yes"; then
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33319 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33320 wxUSE_FSWATCHER=no
33321 fi
33322 fi
33323
33324 if test "$wxUSE_FSWATCHER" = "yes"; then
33325 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33326
33327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33328 else
33329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33330 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33331 fi
33332 fi
33333
33334
33335 if test "$wxUSE_STL" = "yes"; then
33336 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33337
33338 fi
33339
33340 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33341 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33342
33343 fi
33344
33345 if test "$wxUSE_ANY" = "yes"; then
33346 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33347
33348 fi
33349
33350 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33351 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33352
33353 fi
33354
33355 if test "$wxUSE_TIMER" = "yes"; then
33356 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33357
33358 fi
33359
33360 if test "$USE_UNIX" = 1 ; then
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33362 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33363 if ${ac_cv_header_sys_soundcard+:} false; then :
33364 $as_echo_n "(cached) " >&6
33365 else
33366
33367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33368 /* end confdefs.h. */
33369
33370 #include <sys/ioctl.h>
33371 #include <sys/soundcard.h>
33372
33373 int
33374 main ()
33375 {
33376
33377 ioctl(0, SNDCTL_DSP_SPEED, 0);
33378
33379 ;
33380 return 0;
33381 }
33382 _ACEOF
33383 if ac_fn_c_try_link "$LINENO"; then :
33384 ac_cv_header_sys_soundcard=yes
33385 else
33386
33387 saveLibs="$LIBS"
33388 LIBS="$saveLibs -lossaudio"
33389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33390 /* end confdefs.h. */
33391
33392 #include <sys/ioctl.h>
33393 #include <sys/soundcard.h>
33394
33395 int
33396 main ()
33397 {
33398
33399 ioctl(0, SNDCTL_DSP_SPEED, 0);
33400
33401 ;
33402 return 0;
33403 }
33404 _ACEOF
33405 if ac_fn_c_try_link "$LINENO"; then :
33406 ac_cv_header_sys_soundcard=yes
33407 else
33408
33409 LIBS="$saveLibs"
33410 ac_cv_header_sys_soundcard=no
33411
33412
33413 fi
33414 rm -f core conftest.err conftest.$ac_objext \
33415 conftest$ac_exeext conftest.$ac_ext
33416
33417
33418 fi
33419 rm -f core conftest.err conftest.$ac_objext \
33420 conftest$ac_exeext conftest.$ac_ext
33421
33422 fi
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33424 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33425
33426 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33427 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33428
33429 fi
33430 fi
33431
33432 WITH_PLUGIN_SDL=0
33433 if test "$wxUSE_SOUND" = "yes"; then
33434 if test "$USE_UNIX" = 1 ; then
33435 if test "$wxUSE_LIBSDL" != "no"; then
33436
33437 # Check whether --with-sdl-prefix was given.
33438 if test "${with_sdl_prefix+set}" = set; then :
33439 withval=$with_sdl_prefix; sdl_prefix="$withval"
33440 else
33441 sdl_prefix=""
33442 fi
33443
33444
33445 # Check whether --with-sdl-exec-prefix was given.
33446 if test "${with_sdl_exec_prefix+set}" = set; then :
33447 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33448 else
33449 sdl_exec_prefix=""
33450 fi
33451
33452 # Check whether --enable-sdltest was given.
33453 if test "${enable_sdltest+set}" = set; then :
33454 enableval=$enable_sdltest;
33455 else
33456 enable_sdltest=yes
33457 fi
33458
33459
33460 if test x$sdl_exec_prefix != x ; then
33461 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33462 if test x${SDL_CONFIG+set} != xset ; then
33463 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33464 fi
33465 fi
33466 if test x$sdl_prefix != x ; then
33467 sdl_args="$sdl_args --prefix=$sdl_prefix"
33468 if test x${SDL_CONFIG+set} != xset ; then
33469 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33470 fi
33471 fi
33472
33473 if test "x$prefix" != xNONE; then
33474 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33475 fi
33476 # Extract the first word of "sdl-config", so it can be a program name with args.
33477 set dummy sdl-config; ac_word=$2
33478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33479 $as_echo_n "checking for $ac_word... " >&6; }
33480 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33481 $as_echo_n "(cached) " >&6
33482 else
33483 case $SDL_CONFIG in
33484 [\\/]* | ?:[\\/]*)
33485 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33486 ;;
33487 *)
33488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33489 for as_dir in $PATH
33490 do
33491 IFS=$as_save_IFS
33492 test -z "$as_dir" && as_dir=.
33493 for ac_exec_ext in '' $ac_executable_extensions; do
33494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33495 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33497 break 2
33498 fi
33499 done
33500 done
33501 IFS=$as_save_IFS
33502
33503 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33504 ;;
33505 esac
33506 fi
33507 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33508 if test -n "$SDL_CONFIG"; then
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33510 $as_echo "$SDL_CONFIG" >&6; }
33511 else
33512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33513 $as_echo "no" >&6; }
33514 fi
33515
33516
33517 min_sdl_version=1.2.0
33518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33519 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33520 no_sdl=""
33521 if test "$SDL_CONFIG" = "no" ; then
33522 no_sdl=yes
33523 else
33524 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33525 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33526
33527 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33529 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33530 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33531 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33533 if test "x$enable_sdltest" = "xyes" ; then
33534 ac_save_CFLAGS="$CFLAGS"
33535 ac_save_CXXFLAGS="$CXXFLAGS"
33536 ac_save_LIBS="$LIBS"
33537 CFLAGS="$CFLAGS $SDL_CFLAGS"
33538 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33539 LIBS="$LIBS $SDL_LIBS"
33540 rm -f conf.sdltest
33541 if test "$cross_compiling" = yes; then :
33542 echo $ac_n "cross compiling; assumed OK... $ac_c"
33543 else
33544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33545 /* end confdefs.h. */
33546
33547 #include <stdio.h>
33548 #include <stdlib.h>
33549 #include <string.h>
33550 #include "SDL.h"
33551
33552 char*
33553 my_strdup (char *str)
33554 {
33555 char *new_str;
33556
33557 if (str)
33558 {
33559 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33560 strcpy (new_str, str);
33561 }
33562 else
33563 new_str = NULL;
33564
33565 return new_str;
33566 }
33567
33568 int main (int argc, char *argv[])
33569 {
33570 int major, minor, micro;
33571 char *tmp_version;
33572
33573 /* This hangs on some systems (?)
33574 system ("touch conf.sdltest");
33575 */
33576 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33577
33578 /* HP/UX 9 (%@#!) writes to sscanf strings */
33579 tmp_version = my_strdup("$min_sdl_version");
33580 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33581 printf("%s, bad version string\n", "$min_sdl_version");
33582 exit(1);
33583 }
33584
33585 if (($sdl_major_version > major) ||
33586 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33587 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33588 {
33589 return 0;
33590 }
33591 else
33592 {
33593 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33594 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33595 printf("*** best to upgrade to the required version.\n");
33596 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33597 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33598 printf("*** config.cache before re-running configure\n");
33599 return 1;
33600 }
33601 }
33602
33603
33604 _ACEOF
33605 if ac_fn_c_try_run "$LINENO"; then :
33606
33607 else
33608 no_sdl=yes
33609 fi
33610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33611 conftest.$ac_objext conftest.beam conftest.$ac_ext
33612 fi
33613
33614 CFLAGS="$ac_save_CFLAGS"
33615 CXXFLAGS="$ac_save_CXXFLAGS"
33616 LIBS="$ac_save_LIBS"
33617 fi
33618 fi
33619 if test "x$no_sdl" = x ; then
33620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33621 $as_echo "yes" >&6; }
33622
33623 EXTRALIBS_SDL="$SDL_LIBS"
33624 CFLAGS="$SDL_CFLAGS $CFLAGS"
33625 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33626 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33627
33628
33629 else
33630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33631 $as_echo "no" >&6; }
33632 if test "$SDL_CONFIG" = "no" ; then
33633 echo "*** The sdl-config script installed by SDL could not be found"
33634 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33635 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33636 echo "*** full path to sdl-config."
33637 else
33638 if test -f conf.sdltest ; then
33639 :
33640 else
33641 echo "*** Could not run SDL test program, checking why..."
33642 CFLAGS="$CFLAGS $SDL_CFLAGS"
33643 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33644 LIBS="$LIBS $SDL_LIBS"
33645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33646 /* end confdefs.h. */
33647
33648 #include <stdio.h>
33649 #include "SDL.h"
33650
33651 int main(int argc, char *argv[])
33652 { return 0; }
33653 #undef main
33654 #define main K_and_R_C_main
33655
33656 int
33657 main ()
33658 {
33659 return 0;
33660 ;
33661 return 0;
33662 }
33663 _ACEOF
33664 if ac_fn_c_try_link "$LINENO"; then :
33665 echo "*** The test program compiled, but did not run. This usually means"
33666 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33667 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33668 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33669 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33670 echo "*** is required on your system"
33671 echo "***"
33672 echo "*** If you have an old version installed, it is best to remove it, although"
33673 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33674 else
33675 echo "*** The test program failed to compile or link. See the file config.log for the"
33676 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33677 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33678 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33679 fi
33680 rm -f core conftest.err conftest.$ac_objext \
33681 conftest$ac_exeext conftest.$ac_ext
33682 CFLAGS="$ac_save_CFLAGS"
33683 CXXFLAGS="$ac_save_CXXFLAGS"
33684 LIBS="$ac_save_LIBS"
33685 fi
33686 fi
33687 SDL_CFLAGS=""
33688 SDL_LIBS=""
33689 wxUSE_LIBSDL="no"
33690 fi
33691
33692
33693 rm -f conf.sdltest
33694
33695 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33696 WITH_PLUGIN_SDL=1
33697 fi
33698 fi
33699 fi
33700 fi
33701
33702 if test "$wxUSE_SOUND" = "yes"; then
33703 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33704
33705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33706 fi
33707
33708 if test "$WXGTK2" = 1; then
33709
33710
33711 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33712 if test -n "$ac_tool_prefix"; then
33713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33714 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33716 $as_echo_n "checking for $ac_word... " >&6; }
33717 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33718 $as_echo_n "(cached) " >&6
33719 else
33720 case $PKG_CONFIG in
33721 [\\/]* | ?:[\\/]*)
33722 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33723 ;;
33724 *)
33725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33726 for as_dir in $PATH
33727 do
33728 IFS=$as_save_IFS
33729 test -z "$as_dir" && as_dir=.
33730 for ac_exec_ext in '' $ac_executable_extensions; do
33731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33732 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33734 break 2
33735 fi
33736 done
33737 done
33738 IFS=$as_save_IFS
33739
33740 ;;
33741 esac
33742 fi
33743 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33744 if test -n "$PKG_CONFIG"; then
33745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33746 $as_echo "$PKG_CONFIG" >&6; }
33747 else
33748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33749 $as_echo "no" >&6; }
33750 fi
33751
33752
33753 fi
33754 if test -z "$ac_cv_path_PKG_CONFIG"; then
33755 ac_pt_PKG_CONFIG=$PKG_CONFIG
33756 # Extract the first word of "pkg-config", so it can be a program name with args.
33757 set dummy pkg-config; ac_word=$2
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33759 $as_echo_n "checking for $ac_word... " >&6; }
33760 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33761 $as_echo_n "(cached) " >&6
33762 else
33763 case $ac_pt_PKG_CONFIG in
33764 [\\/]* | ?:[\\/]*)
33765 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33766 ;;
33767 *)
33768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33769 for as_dir in $PATH
33770 do
33771 IFS=$as_save_IFS
33772 test -z "$as_dir" && as_dir=.
33773 for ac_exec_ext in '' $ac_executable_extensions; do
33774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33775 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33777 break 2
33778 fi
33779 done
33780 done
33781 IFS=$as_save_IFS
33782
33783 ;;
33784 esac
33785 fi
33786 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33787 if test -n "$ac_pt_PKG_CONFIG"; then
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33789 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33790 else
33791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33792 $as_echo "no" >&6; }
33793 fi
33794
33795 if test "x$ac_pt_PKG_CONFIG" = x; then
33796 PKG_CONFIG=""
33797 else
33798 case $cross_compiling:$ac_tool_warned in
33799 yes:)
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33802 ac_tool_warned=yes ;;
33803 esac
33804 PKG_CONFIG=$ac_pt_PKG_CONFIG
33805 fi
33806 else
33807 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33808 fi
33809
33810 fi
33811 if test -n "$PKG_CONFIG"; then
33812 _pkg_min_version=0.9.0
33813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33814 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33815 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33817 $as_echo "yes" >&6; }
33818 else
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33820 $as_echo "no" >&6; }
33821 PKG_CONFIG=""
33822 fi
33823
33824 fi
33825
33826 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33827
33828 if test "$wxUSE_GTKPRINT" = "yes" ; then
33829 if test "$WXGTK3" = 1; then
33830 gtk_unix_print="gtk+-unix-print-3.0"
33831 else
33832 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33833 fi
33834
33835 pkg_failed=no
33836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33837 $as_echo_n "checking for GTKPRINT... " >&6; }
33838
33839 if test -n "$PKG_CONFIG"; then
33840 if test -n "$GTKPRINT_CFLAGS"; then
33841 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33842 else
33843 if test -n "$PKG_CONFIG" && \
33844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33845 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33846 ac_status=$?
33847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33848 test $ac_status = 0; }; then
33849 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33850 else
33851 pkg_failed=yes
33852 fi
33853 fi
33854 else
33855 pkg_failed=untried
33856 fi
33857 if test -n "$PKG_CONFIG"; then
33858 if test -n "$GTKPRINT_LIBS"; then
33859 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33860 else
33861 if test -n "$PKG_CONFIG" && \
33862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33863 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33864 ac_status=$?
33865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33866 test $ac_status = 0; }; then
33867 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33868 else
33869 pkg_failed=yes
33870 fi
33871 fi
33872 else
33873 pkg_failed=untried
33874 fi
33875
33876
33877
33878 if test $pkg_failed = yes; then
33879
33880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33881 _pkg_short_errors_supported=yes
33882 else
33883 _pkg_short_errors_supported=no
33884 fi
33885 if test $_pkg_short_errors_supported = yes; then
33886 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33887 else
33888 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33889 fi
33890 # Put the nasty error message in config.log where it belongs
33891 echo "$GTKPRINT_PKG_ERRORS" >&5
33892
33893
33894 { $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
33895 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33896 wxUSE_GTKPRINT="no"
33897
33898
33899 elif test $pkg_failed = untried; then
33900
33901 { $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
33902 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33903 wxUSE_GTKPRINT="no"
33904
33905
33906 else
33907 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33908 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33910 $as_echo "yes" >&6; }
33911
33912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
33913 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33914 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33915 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33916
33917
33918 fi
33919 fi
33920
33921 if test "$WXGTK3" = 1; then
33922 wxUSE_LIBGNOMEPRINT=no
33923 fi
33924
33925 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33926
33927
33928 pkg_failed=no
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33930 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33931
33932 if test -n "$PKG_CONFIG"; then
33933 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33934 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33935 else
33936 if test -n "$PKG_CONFIG" && \
33937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33938 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33939 ac_status=$?
33940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33941 test $ac_status = 0; }; then
33942 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33943 else
33944 pkg_failed=yes
33945 fi
33946 fi
33947 else
33948 pkg_failed=untried
33949 fi
33950 if test -n "$PKG_CONFIG"; then
33951 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33952 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33953 else
33954 if test -n "$PKG_CONFIG" && \
33955 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33956 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 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_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33961 else
33962 pkg_failed=yes
33963 fi
33964 fi
33965 else
33966 pkg_failed=untried
33967 fi
33968
33969
33970
33971 if test $pkg_failed = yes; then
33972
33973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33974 _pkg_short_errors_supported=yes
33975 else
33976 _pkg_short_errors_supported=no
33977 fi
33978 if test $_pkg_short_errors_supported = yes; then
33979 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33980 else
33981 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33982 fi
33983 # Put the nasty error message in config.log where it belongs
33984 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33985
33986
33987 if test "$wxUSE_GTKPRINT" = yes; then
33988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33989 $as_echo "no" >&6; }
33990 else
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33992 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33993 fi
33994 wxUSE_LIBGNOMEPRINT="no"
33995
33996
33997 elif test $pkg_failed = untried; then
33998
33999 if test "$wxUSE_GTKPRINT" = yes; then
34000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34001 $as_echo "no" >&6; }
34002 else
34003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34004 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34005 fi
34006 wxUSE_LIBGNOMEPRINT="no"
34007
34008
34009 else
34010 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34011 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34013 $as_echo "yes" >&6; }
34014
34015 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34016 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34017 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34018 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34019
34020
34021 fi
34022 fi
34023 fi
34024
34025 if test "$wxUSE_MIMETYPE" = "yes" ; then
34026 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34027
34028
34029 pkg_failed=no
34030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34031 $as_echo_n "checking for GNOMEVFS... " >&6; }
34032
34033 if test -n "$PKG_CONFIG"; then
34034 if test -n "$GNOMEVFS_CFLAGS"; then
34035 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34036 else
34037 if test -n "$PKG_CONFIG" && \
34038 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34039 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34040 ac_status=$?
34041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34042 test $ac_status = 0; }; then
34043 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34044 else
34045 pkg_failed=yes
34046 fi
34047 fi
34048 else
34049 pkg_failed=untried
34050 fi
34051 if test -n "$PKG_CONFIG"; then
34052 if test -n "$GNOMEVFS_LIBS"; then
34053 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34054 else
34055 if test -n "$PKG_CONFIG" && \
34056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34057 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34058 ac_status=$?
34059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34060 test $ac_status = 0; }; then
34061 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34062 else
34063 pkg_failed=yes
34064 fi
34065 fi
34066 else
34067 pkg_failed=untried
34068 fi
34069
34070
34071
34072 if test $pkg_failed = yes; then
34073
34074 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34075 _pkg_short_errors_supported=yes
34076 else
34077 _pkg_short_errors_supported=no
34078 fi
34079 if test $_pkg_short_errors_supported = yes; then
34080 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34081 else
34082 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34083 fi
34084 # Put the nasty error message in config.log where it belongs
34085 echo "$GNOMEVFS_PKG_ERRORS" >&5
34086
34087
34088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34089 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34090 wxUSE_LIBGNOMEVFS="no"
34091
34092
34093 elif test $pkg_failed = untried; then
34094
34095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34096 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34097 wxUSE_LIBGNOMEVFS="no"
34098
34099
34100 else
34101 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34102 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34104 $as_echo "yes" >&6; }
34105
34106 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34107 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34108 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34109 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34110
34111
34112 fi
34113 fi
34114 fi
34115
34116 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34117 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34118 HAVE_LIBNOTIFY=0
34119
34120 pkg_failed=no
34121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34122 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34123
34124 if test -n "$PKG_CONFIG"; then
34125 if test -n "$LIBNOTIFY_CFLAGS"; then
34126 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34127 else
34128 if test -n "$PKG_CONFIG" && \
34129 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34130 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34131 ac_status=$?
34132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34133 test $ac_status = 0; }; then
34134 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34135 else
34136 pkg_failed=yes
34137 fi
34138 fi
34139 else
34140 pkg_failed=untried
34141 fi
34142 if test -n "$PKG_CONFIG"; then
34143 if test -n "$LIBNOTIFY_LIBS"; then
34144 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34145 else
34146 if test -n "$PKG_CONFIG" && \
34147 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34148 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34149 ac_status=$?
34150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34151 test $ac_status = 0; }; then
34152 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34153 else
34154 pkg_failed=yes
34155 fi
34156 fi
34157 else
34158 pkg_failed=untried
34159 fi
34160
34161
34162
34163 if test $pkg_failed = yes; then
34164
34165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34166 _pkg_short_errors_supported=yes
34167 else
34168 _pkg_short_errors_supported=no
34169 fi
34170 if test $_pkg_short_errors_supported = yes; then
34171 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34172 else
34173 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34174 fi
34175 # Put the nasty error message in config.log where it belongs
34176 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34177
34178
34179
34180 pkg_failed=no
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34182 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34183
34184 if test -n "$PKG_CONFIG"; then
34185 if test -n "$LIBNOTIFY_CFLAGS"; then
34186 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34187 else
34188 if test -n "$PKG_CONFIG" && \
34189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34190 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34191 ac_status=$?
34192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34193 test $ac_status = 0; }; then
34194 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34195 else
34196 pkg_failed=yes
34197 fi
34198 fi
34199 else
34200 pkg_failed=untried
34201 fi
34202 if test -n "$PKG_CONFIG"; then
34203 if test -n "$LIBNOTIFY_LIBS"; then
34204 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34205 else
34206 if test -n "$PKG_CONFIG" && \
34207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34208 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34209 ac_status=$?
34210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34211 test $ac_status = 0; }; then
34212 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34213 else
34214 pkg_failed=yes
34215 fi
34216 fi
34217 else
34218 pkg_failed=untried
34219 fi
34220
34221
34222
34223 if test $pkg_failed = yes; then
34224
34225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34226 _pkg_short_errors_supported=yes
34227 else
34228 _pkg_short_errors_supported=no
34229 fi
34230 if test $_pkg_short_errors_supported = yes; then
34231 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34232 else
34233 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34234 fi
34235 # Put the nasty error message in config.log where it belongs
34236 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34237
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34239 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34240
34241 elif test $pkg_failed = untried; then
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34243 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34244
34245 else
34246 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34247 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34249 $as_echo "yes" >&6; }
34250 HAVE_LIBNOTIFY=1
34251 fi
34252
34253
34254 elif test $pkg_failed = untried; then
34255
34256
34257 pkg_failed=no
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34259 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34260
34261 if test -n "$PKG_CONFIG"; then
34262 if test -n "$LIBNOTIFY_CFLAGS"; then
34263 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
34264 else
34265 if test -n "$PKG_CONFIG" && \
34266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34267 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34268 ac_status=$?
34269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34270 test $ac_status = 0; }; then
34271 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34272 else
34273 pkg_failed=yes
34274 fi
34275 fi
34276 else
34277 pkg_failed=untried
34278 fi
34279 if test -n "$PKG_CONFIG"; then
34280 if test -n "$LIBNOTIFY_LIBS"; then
34281 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
34282 else
34283 if test -n "$PKG_CONFIG" && \
34284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34285 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34286 ac_status=$?
34287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34288 test $ac_status = 0; }; then
34289 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34290 else
34291 pkg_failed=yes
34292 fi
34293 fi
34294 else
34295 pkg_failed=untried
34296 fi
34297
34298
34299
34300 if test $pkg_failed = yes; then
34301
34302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34303 _pkg_short_errors_supported=yes
34304 else
34305 _pkg_short_errors_supported=no
34306 fi
34307 if test $_pkg_short_errors_supported = yes; then
34308 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34309 else
34310 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34311 fi
34312 # Put the nasty error message in config.log where it belongs
34313 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34314
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34316 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34317
34318 elif test $pkg_failed = untried; then
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34320 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34321
34322 else
34323 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34324 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34326 $as_echo "yes" >&6; }
34327 HAVE_LIBNOTIFY=1
34328 fi
34329
34330
34331 else
34332 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
34333 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34335 $as_echo "yes" >&6; }
34336
34337 HAVE_LIBNOTIFY=1
34338 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34339
34340
34341 fi
34342
34343 if test "$HAVE_LIBNOTIFY" = "1" ; then
34344 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34345 CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
34346 CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34347 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34348
34349 fi
34350 fi
34351 fi
34352
34353 if test "$wxUSE_LIBHILDON" = "yes" ; then
34354
34355 pkg_failed=no
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34357 $as_echo_n "checking for HILDON... " >&6; }
34358
34359 if test -n "$PKG_CONFIG"; then
34360 if test -n "$HILDON_CFLAGS"; then
34361 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34362 else
34363 if test -n "$PKG_CONFIG" && \
34364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34365 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34366 ac_status=$?
34367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34368 test $ac_status = 0; }; then
34369 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34370 else
34371 pkg_failed=yes
34372 fi
34373 fi
34374 else
34375 pkg_failed=untried
34376 fi
34377 if test -n "$PKG_CONFIG"; then
34378 if test -n "$HILDON_LIBS"; then
34379 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34380 else
34381 if test -n "$PKG_CONFIG" && \
34382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34383 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34384 ac_status=$?
34385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34386 test $ac_status = 0; }; then
34387 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34388 else
34389 pkg_failed=yes
34390 fi
34391 fi
34392 else
34393 pkg_failed=untried
34394 fi
34395
34396
34397
34398 if test $pkg_failed = yes; then
34399
34400 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34401 _pkg_short_errors_supported=yes
34402 else
34403 _pkg_short_errors_supported=no
34404 fi
34405 if test $_pkg_short_errors_supported = yes; then
34406 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34407 else
34408 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34409 fi
34410 # Put the nasty error message in config.log where it belongs
34411 echo "$HILDON_PKG_ERRORS" >&5
34412
34413
34414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34415 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34416 wxUSE_LIBHILDON="no"
34417 ac_hildon_lgpl=0
34418
34419
34420 elif test $pkg_failed = untried; then
34421
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34423 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34424 wxUSE_LIBHILDON="no"
34425 ac_hildon_lgpl=0
34426
34427
34428 else
34429 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34430 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34432 $as_echo "yes" >&6; }
34433
34434 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
34435 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34436 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34437 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34438
34439 ac_hildon_lgpl=1
34440
34441 fi
34442
34443 if test "$ac_hildon_lgpl" = 0 ; then
34444
34445 pkg_failed=no
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34447 $as_echo_n "checking for HILDON2... " >&6; }
34448
34449 if test -n "$PKG_CONFIG"; then
34450 if test -n "$HILDON2_CFLAGS"; then
34451 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34452 else
34453 if test -n "$PKG_CONFIG" && \
34454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34455 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34456 ac_status=$?
34457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34458 test $ac_status = 0; }; then
34459 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34460 else
34461 pkg_failed=yes
34462 fi
34463 fi
34464 else
34465 pkg_failed=untried
34466 fi
34467 if test -n "$PKG_CONFIG"; then
34468 if test -n "$HILDON2_LIBS"; then
34469 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34470 else
34471 if test -n "$PKG_CONFIG" && \
34472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34473 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34474 ac_status=$?
34475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34476 test $ac_status = 0; }; then
34477 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34478 else
34479 pkg_failed=yes
34480 fi
34481 fi
34482 else
34483 pkg_failed=untried
34484 fi
34485
34486
34487
34488 if test $pkg_failed = yes; then
34489
34490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34491 _pkg_short_errors_supported=yes
34492 else
34493 _pkg_short_errors_supported=no
34494 fi
34495 if test $_pkg_short_errors_supported = yes; then
34496 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34497 else
34498 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34499 fi
34500 # Put the nasty error message in config.log where it belongs
34501 echo "$HILDON2_PKG_ERRORS" >&5
34502
34503
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34505 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34506 wxUSE_LIBHILDON2="no"
34507
34508
34509 elif test $pkg_failed = untried; then
34510
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34512 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34513 wxUSE_LIBHILDON2="no"
34514
34515
34516 else
34517 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34518 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34520 $as_echo "yes" >&6; }
34521
34522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
34523 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34524 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34525 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34526
34527
34528 fi
34529 fi
34530 fi
34531 fi
34532
34533 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34534 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34535
34536 fi
34537
34538 if test "$wxUSE_STOPWATCH" = "yes"; then
34539 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34540
34541 fi
34542
34543 if test "$wxUSE_DATETIME" = "yes"; then
34544 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34545
34546 fi
34547
34548 if test "$wxUSE_FILE" = "yes"; then
34549 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34550
34551 fi
34552
34553 if test "$wxUSE_FFILE" = "yes"; then
34554 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34555
34556 fi
34557
34558 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34559 if test "$wxUSE_STREAMS" != yes; then
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34561 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34562 wxUSE_ARCHIVE_STREAMS=no
34563 else
34564 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34565
34566 fi
34567 fi
34568
34569 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34570 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34572 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34573 elif test "$wxUSE_ZLIB" = "no"; then
34574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34575 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34576 else
34577 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34578
34579 fi
34580 fi
34581
34582 if test "$wxUSE_TARSTREAM" = "yes"; then
34583 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34585 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34586 else
34587 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34588
34589 fi
34590 fi
34591
34592 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34593 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34594
34595 fi
34596
34597 if test "$wxUSE_FILESYSTEM" = "yes"; then
34598 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34600 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34601 wxUSE_FILESYSTEM=no
34602 else
34603 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34604
34605 fi
34606 fi
34607
34608 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34609 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34611 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34612 else
34613 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34614
34615 fi
34616 fi
34617
34618 if test "$wxUSE_FS_ZIP" = "yes"; then
34619 if test "$wxUSE_FS_ARCHIVE" != yes; then
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34621 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34622 else
34623 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34624
34625 fi
34626 fi
34627
34628 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34629 if test "$USE_UNIX" != 1; then
34630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34631 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34632 wxUSE_ON_FATAL_EXCEPTION=no
34633 else
34634 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34635
34636 fi
34637 fi
34638
34639 if test "$wxUSE_STACKWALKER" = "yes"; then
34640 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34641
34642 fi
34643
34644 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34645 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34647 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34648 wxUSE_DEBUGREPORT=no
34649 else
34650 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34651
34652 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34654 fi
34655 fi
34656 fi
34657
34658 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34659 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34660
34661 fi
34662
34663 if test "$wxUSE_BUSYINFO" = "yes"; then
34664 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34665
34666 fi
34667
34668 if test "$wxUSE_HOTKEY" = "yes"; then
34669 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34671 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34672 wxUSE_HOTKEY=no
34673 fi
34674 elif test "$wxUSE_HOTKEY" = "auto"; then
34675 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34676 wxUSE_HOTKEY=yes
34677 fi
34678 fi
34679 if test "$wxUSE_HOTKEY" = "yes"; then
34680 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34681
34682 fi
34683
34684 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34685 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34686
34687 fi
34688
34689 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34690 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34691
34692 fi
34693
34694 if test "$wxUSE_STD_STRING" = "yes"; then
34695 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34696
34697 fi
34698
34699 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34700 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34701
34702 fi
34703
34704 if test "$wxUSE_STDPATHS" = "yes"; then
34705 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34706
34707 fi
34708
34709 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34710 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34711
34712 fi
34713
34714 if test "$wxUSE_TEXTFILE" = "yes"; then
34715 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34717 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34718 else
34719 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34720
34721 fi
34722 fi
34723
34724 if test "$wxUSE_CONFIG" = "yes" ; then
34725 if test "$wxUSE_TEXTFILE" != "yes"; then
34726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34727 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34728 else
34729 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34730
34731 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34732
34733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34734 fi
34735 fi
34736
34737 if test "$wxUSE_INTL" = "yes" ; then
34738 if test "$wxUSE_FILE" != "yes"; then
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34740 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34741 else
34742 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34743
34744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34745 GUIDIST="$GUIDIST INTL_DIST"
34746 fi
34747 fi
34748
34749 if test "$wxUSE_XLOCALE" = "yes" ; then
34750 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34751
34752 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34753 #include <locale.h>
34754 "
34755 if test "x$ac_cv_type_locale_t" = xyes; then :
34756
34757 cat >>confdefs.h <<_ACEOF
34758 #define HAVE_LOCALE_T 1
34759 _ACEOF
34760
34761
34762 fi
34763
34764 fi
34765
34766 if test "$wxUSE_LOG" = "yes"; then
34767 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34768
34769
34770 if test "$wxUSE_LOGGUI" = "yes"; then
34771 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34772
34773 fi
34774
34775 if test "$wxUSE_LOGWINDOW" = "yes"; then
34776 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34777
34778 fi
34779
34780 if test "$wxUSE_LOGDIALOG" = "yes"; then
34781 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34782
34783 fi
34784
34785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34786 fi
34787
34788 if test "$wxUSE_LONGLONG" = "yes"; then
34789 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34790
34791 fi
34792
34793 if test "$wxUSE_GEOMETRY" = "yes"; then
34794 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34795
34796 fi
34797
34798 if test "$wxUSE_BASE64" = "yes"; then
34799 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34800
34801 fi
34802
34803 if test "$wxUSE_STREAMS" = "yes" ; then
34804 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34805
34806 fi
34807
34808 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34809 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34810
34811 fi
34812
34813 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34814 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34815
34816 fi
34817
34818
34819 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34820 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34821
34822
34823 if test "$wxUSE_UNIX" = "yes"; then
34824 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34825 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34826
34827 fi
34828
34829 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34830 for ac_header in sys/epoll.h
34831 do :
34832 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34833 "
34834 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34835 cat >>confdefs.h <<_ACEOF
34836 #define HAVE_SYS_EPOLL_H 1
34837 _ACEOF
34838
34839 fi
34840
34841 done
34842
34843 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34844 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34845
34846 else
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34848 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34849 fi
34850 fi
34851 fi
34852 fi
34853
34854
34855 for ac_func in gettimeofday ftime
34856 do :
34857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34859 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34860 cat >>confdefs.h <<_ACEOF
34861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34862 _ACEOF
34863 break
34864 fi
34865 done
34866
34867
34868 if test "$ac_cv_func_gettimeofday" = "yes"; then
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34870 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34871 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34872 $as_echo_n "(cached) " >&6
34873 else
34874
34875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34876 /* end confdefs.h. */
34877
34878 #include <sys/time.h>
34879 #include <unistd.h>
34880
34881 int
34882 main ()
34883 {
34884
34885 struct timeval tv;
34886 gettimeofday(&tv, NULL);
34887
34888 ;
34889 return 0;
34890 }
34891 _ACEOF
34892 if ac_fn_c_try_compile "$LINENO"; then :
34893 wx_cv_func_gettimeofday_has_2_args=yes
34894 else
34895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34896 /* end confdefs.h. */
34897
34898 #include <sys/time.h>
34899 #include <unistd.h>
34900
34901 int
34902 main ()
34903 {
34904
34905 struct timeval tv;
34906 gettimeofday(&tv);
34907
34908 ;
34909 return 0;
34910 }
34911 _ACEOF
34912 if ac_fn_c_try_compile "$LINENO"; then :
34913 wx_cv_func_gettimeofday_has_2_args=no
34914 else
34915
34916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34917 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34918 wx_cv_func_gettimeofday_has_2_args=unknown
34919
34920
34921 fi
34922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34923
34924 fi
34925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34926
34927 fi
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34929 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34930
34931 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34932 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34933
34934 fi
34935 fi
34936
34937 if test "$wxUSE_DATETIME" = "yes"; then
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34939 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34940 if ${wx_cv_var_timezone+:} false; then :
34941 $as_echo_n "(cached) " >&6
34942 else
34943
34944 ac_ext=cpp
34945 ac_cpp='$CXXCPP $CPPFLAGS'
34946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34949
34950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34951 /* end confdefs.h. */
34952
34953 #include <time.h>
34954
34955 int
34956 main ()
34957 {
34958
34959 int tz;
34960 tz = timezone;
34961
34962 ;
34963 return 0;
34964 }
34965 _ACEOF
34966 if ac_fn_cxx_try_compile "$LINENO"; then :
34967
34968 wx_cv_var_timezone=timezone
34969
34970 else
34971
34972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34973 /* end confdefs.h. */
34974
34975 #include <time.h>
34976
34977 int
34978 main ()
34979 {
34980
34981 int tz;
34982 tz = _timezone;
34983
34984 ;
34985 return 0;
34986 }
34987 _ACEOF
34988 if ac_fn_cxx_try_compile "$LINENO"; then :
34989
34990 wx_cv_var_timezone=_timezone
34991
34992 else
34993
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996
34997 #include <time.h>
34998
34999 int
35000 main ()
35001 {
35002
35003 int tz;
35004 tz = __timezone;
35005
35006 ;
35007 return 0;
35008 }
35009 _ACEOF
35010 if ac_fn_cxx_try_compile "$LINENO"; then :
35011
35012 wx_cv_var_timezone=__timezone
35013
35014 else
35015
35016 if test "$USE_DOS" = 0 ; then
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35018 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35019 fi
35020
35021
35022 fi
35023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35024
35025
35026 fi
35027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35028
35029
35030 fi
35031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35032 ac_ext=c
35033 ac_cpp='$CPP $CPPFLAGS'
35034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35037
35038
35039
35040 fi
35041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35042 $as_echo "$wx_cv_var_timezone" >&6; }
35043
35044 if test "x$wx_cv_var_timezone" != x ; then
35045 cat >>confdefs.h <<_ACEOF
35046 #define WX_TIMEZONE $wx_cv_var_timezone
35047 _ACEOF
35048
35049 fi
35050
35051 for ac_func in localtime
35052 do :
35053 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
35054 if test "x$ac_cv_func_localtime" = xyes; then :
35055 cat >>confdefs.h <<_ACEOF
35056 #define HAVE_LOCALTIME 1
35057 _ACEOF
35058
35059 fi
35060 done
35061
35062
35063 if test "$ac_cv_func_localtime" = "yes"; then
35064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35065 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35066 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
35067 $as_echo_n "(cached) " >&6
35068 else
35069
35070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35071 /* end confdefs.h. */
35072
35073 #include <time.h>
35074
35075 int
35076 main ()
35077 {
35078
35079 struct tm tm;
35080 tm.tm_gmtoff++;
35081
35082 ;
35083 return 0;
35084 }
35085 _ACEOF
35086 if ac_fn_c_try_compile "$LINENO"; then :
35087
35088 wx_cv_struct_tm_has_gmtoff=yes
35089
35090 else
35091 wx_cv_struct_tm_has_gmtoff=no
35092
35093 fi
35094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35095
35096 fi
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35098 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35099 fi
35100
35101 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35102 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35103
35104 fi
35105
35106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35107 fi
35108
35109
35110 if test "$wxUSE_SOCKETS" = "yes"; then
35111 if test "$TOOLKIT" != "MSW"; then
35112 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
35113 if test "x$ac_cv_func_socket" = xyes; then :
35114
35115 else
35116
35117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35118 $as_echo_n "checking for socket in -lsocket... " >&6; }
35119 if ${ac_cv_lib_socket_socket+:} false; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35122 ac_check_lib_save_LIBS=$LIBS
35123 LIBS="-lsocket $LIBS"
35124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35125 /* end confdefs.h. */
35126
35127 /* Override any GCC internal prototype to avoid an error.
35128 Use char because int might match the return type of a GCC
35129 builtin and then its argument prototype would still apply. */
35130 #ifdef __cplusplus
35131 extern "C"
35132 #endif
35133 char socket ();
35134 int
35135 main ()
35136 {
35137 return socket ();
35138 ;
35139 return 0;
35140 }
35141 _ACEOF
35142 if ac_fn_c_try_link "$LINENO"; then :
35143 ac_cv_lib_socket_socket=yes
35144 else
35145 ac_cv_lib_socket_socket=no
35146 fi
35147 rm -f core conftest.err conftest.$ac_objext \
35148 conftest$ac_exeext conftest.$ac_ext
35149 LIBS=$ac_check_lib_save_LIBS
35150 fi
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35152 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35153 if test "x$ac_cv_lib_socket_socket" = xyes; then :
35154 if test "$INET_LINK" != " -lsocket"; then
35155 INET_LINK="$INET_LINK -lsocket"
35156 fi
35157 else
35158
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35160 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35161 wxUSE_SOCKETS=no
35162
35163
35164 fi
35165
35166
35167
35168 fi
35169
35170 fi
35171 fi
35172
35173 if test "$wxUSE_SOCKETS" = "yes" ; then
35174 if test "$TOOLKIT" != "MSW"; then
35175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35176 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35177 if ${wx_cv_type_getsockname3+:} false; then :
35178 $as_echo_n "(cached) " >&6
35179 else
35180
35181 ac_ext=cpp
35182 ac_cpp='$CXXCPP $CPPFLAGS'
35183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35186
35187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35188 /* end confdefs.h. */
35189
35190 #include <sys/types.h>
35191 #include <sys/socket.h>
35192
35193 int
35194 main ()
35195 {
35196
35197 socklen_t len;
35198 getsockname(0, 0, &len);
35199
35200 ;
35201 return 0;
35202 }
35203 _ACEOF
35204 if ac_fn_cxx_try_compile "$LINENO"; then :
35205 wx_cv_type_getsockname3=socklen_t
35206 else
35207
35208 CFLAGS_OLD="$CFLAGS"
35209 if test "$GCC" = yes ; then
35210 CFLAGS="-Werror $CFLAGS"
35211 fi
35212
35213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35214 /* end confdefs.h. */
35215
35216 #include <sys/types.h>
35217 #include <sys/socket.h>
35218
35219 int
35220 main ()
35221 {
35222
35223 size_t len;
35224 getsockname(0, 0, &len);
35225
35226 ;
35227 return 0;
35228 }
35229 _ACEOF
35230 if ac_fn_cxx_try_compile "$LINENO"; then :
35231 wx_cv_type_getsockname3=size_t
35232 else
35233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35234 /* end confdefs.h. */
35235
35236 #include <sys/types.h>
35237 #include <sys/socket.h>
35238
35239 int
35240 main ()
35241 {
35242
35243 int len;
35244 getsockname(0, 0, &len);
35245
35246 ;
35247 return 0;
35248 }
35249 _ACEOF
35250 if ac_fn_cxx_try_compile "$LINENO"; then :
35251 wx_cv_type_getsockname3=int
35252 else
35253 wx_cv_type_getsockname3=unknown
35254
35255 fi
35256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35257
35258 fi
35259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35260
35261 CFLAGS="$CFLAGS_OLD"
35262
35263
35264 fi
35265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35266 ac_ext=c
35267 ac_cpp='$CPP $CPPFLAGS'
35268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271
35272
35273 fi
35274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35275 $as_echo "$wx_cv_type_getsockname3" >&6; }
35276
35277 if test "$wx_cv_type_getsockname3" = "unknown"; then
35278 wxUSE_SOCKETS=no
35279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35280 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35281 else
35282 cat >>confdefs.h <<_ACEOF
35283 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35284 _ACEOF
35285
35286 fi
35287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35288 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35289 if ${wx_cv_type_getsockopt5+:} false; then :
35290 $as_echo_n "(cached) " >&6
35291 else
35292
35293 ac_ext=cpp
35294 ac_cpp='$CXXCPP $CPPFLAGS'
35295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35298
35299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35300 /* end confdefs.h. */
35301
35302 #include <sys/types.h>
35303 #include <sys/socket.h>
35304
35305 int
35306 main ()
35307 {
35308
35309 socklen_t len;
35310 getsockopt(0, 0, 0, 0, &len);
35311
35312 ;
35313 return 0;
35314 }
35315 _ACEOF
35316 if ac_fn_cxx_try_compile "$LINENO"; then :
35317 wx_cv_type_getsockopt5=socklen_t
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
35326 int
35327 main ()
35328 {
35329
35330 size_t len;
35331 getsockopt(0, 0, 0, 0, &len);
35332
35333 ;
35334 return 0;
35335 }
35336 _ACEOF
35337 if ac_fn_cxx_try_compile "$LINENO"; then :
35338 wx_cv_type_getsockopt5=size_t
35339 else
35340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35341 /* end confdefs.h. */
35342
35343 #include <sys/types.h>
35344 #include <sys/socket.h>
35345
35346 int
35347 main ()
35348 {
35349
35350 int len;
35351 getsockopt(0, 0, 0, 0, &len);
35352
35353 ;
35354 return 0;
35355 }
35356 _ACEOF
35357 if ac_fn_cxx_try_compile "$LINENO"; then :
35358 wx_cv_type_getsockopt5=int
35359 else
35360 wx_cv_type_getsockopt5=unknown
35361
35362 fi
35363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35364
35365 fi
35366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35367
35368
35369 fi
35370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35371 ac_ext=c
35372 ac_cpp='$CPP $CPPFLAGS'
35373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35376
35377
35378 fi
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35380 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35381
35382 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35383 wxUSE_SOCKETS=no
35384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35385 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35386 else
35387 cat >>confdefs.h <<_ACEOF
35388 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35389 _ACEOF
35390
35391 fi
35392 fi
35393 fi
35394
35395 if test "$wxUSE_SOCKETS" = "yes" ; then
35396 if test "$wxUSE_IPV6" = "yes"; then
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35398 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35399 if ${wx_cv_type_sockaddr_in6+:} false; then :
35400 $as_echo_n "(cached) " >&6
35401 else
35402
35403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35404 /* end confdefs.h. */
35405
35406 #include <sys/types.h>
35407 #include <sys/socket.h>
35408 #include <netinet/in.h>
35409
35410 int
35411 main ()
35412 {
35413
35414 struct sockaddr_in6 sa6;
35415
35416 ;
35417 return 0;
35418 }
35419 _ACEOF
35420 if ac_fn_c_try_compile "$LINENO"; then :
35421 wx_cv_type_sockaddr_in6=yes
35422 else
35423 wx_cv_type_sockaddr_in6=no
35424
35425 fi
35426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35427
35428
35429 fi
35430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35431 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35432
35433 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35434 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35435
35436 else
35437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35438 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35439 fi
35440 fi
35441
35442 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35443
35444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35445 fi
35446
35447 if test "$wxUSE_PROTOCOL" = "yes"; then
35448 if test "$wxUSE_SOCKETS" != "yes"; then
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35450 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35451 wxUSE_PROTOCOL=no
35452 fi
35453 fi
35454
35455 if test "$wxUSE_PROTOCOL" = "yes"; then
35456 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35457
35458
35459 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35460 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35461
35462 fi
35463 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35464 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35465
35466 fi
35467 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35468 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35469
35470 fi
35471 else
35472 if test "$wxUSE_FS_INET" = "yes"; then
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35474 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35475 wxUSE_FS_INET="no"
35476 fi
35477 fi
35478
35479 if test "$wxUSE_URL" = "yes"; then
35480 if test "$wxUSE_PROTOCOL" != "yes"; then
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35482 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35483 wxUSE_URL=no
35484 fi
35485 if test "$wxUSE_URL" = "yes"; then
35486 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35487
35488 fi
35489 fi
35490
35491 if test "$wxUSE_VARIANT" = "yes"; then
35492 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35493
35494 fi
35495
35496 if test "$wxUSE_FS_INET" = "yes"; then
35497 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35498
35499 fi
35500
35501
35502 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35503 wxUSE_JOYSTICK=no
35504
35505 if test "$TOOLKIT" = "MSW"; then
35506 wxUSE_JOYSTICK=yes
35507
35508 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35509 if test "$USE_DARWIN" = 1; then
35510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35511 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35512 ac_ext=cpp
35513 ac_cpp='$CXXCPP $CPPFLAGS'
35514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35517
35518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35519 /* end confdefs.h. */
35520 #include <IOKit/hid/IOHIDLib.h>
35521 int
35522 main ()
35523 {
35524 IOHIDQueueInterface *qi = NULL;
35525 IOHIDCallbackFunction cb = NULL;
35526 qi->setEventCallout(NULL, cb, NULL, NULL);
35527 ;
35528 return 0;
35529 }
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532 wxUSE_JOYSTICK=yes
35533
35534 fi
35535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35536 ac_ext=c
35537 ac_cpp='$CPP $CPPFLAGS'
35538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35541
35542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35543 $as_echo "$wxUSE_JOYSTICK" >&6; }
35544 fi
35545
35546 else
35547 for ac_header in linux/joystick.h
35548 do :
35549 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35550 "
35551 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35552 cat >>confdefs.h <<_ACEOF
35553 #define HAVE_LINUX_JOYSTICK_H 1
35554 _ACEOF
35555 wxUSE_JOYSTICK=yes
35556 fi
35557
35558 done
35559
35560 fi
35561
35562 if test "$wxUSE_JOYSTICK" = "yes"; then
35563 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35564
35565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35566 else
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35568 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35569 fi
35570 fi
35571
35572
35573
35574 if test "$wxUSE_FONTENUM" = "yes" ; then
35575 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35576
35577 fi
35578
35579 if test "$wxUSE_FONTMAP" = "yes" ; then
35580 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35581
35582 fi
35583
35584 if test "$wxUSE_UNICODE" = "yes" ; then
35585 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35586
35587
35588 if test "$USE_WIN32" != 1; then
35589 wxUSE_UNICODE_MSLU=no
35590 fi
35591
35592 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35594 $as_echo_n "checking for main in -lunicows... " >&6; }
35595 if ${ac_cv_lib_unicows_main+:} false; then :
35596 $as_echo_n "(cached) " >&6
35597 else
35598 ac_check_lib_save_LIBS=$LIBS
35599 LIBS="-lunicows $LIBS"
35600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35601 /* end confdefs.h. */
35602
35603
35604 int
35605 main ()
35606 {
35607 return main ();
35608 ;
35609 return 0;
35610 }
35611 _ACEOF
35612 if ac_fn_c_try_link "$LINENO"; then :
35613 ac_cv_lib_unicows_main=yes
35614 else
35615 ac_cv_lib_unicows_main=no
35616 fi
35617 rm -f core conftest.err conftest.$ac_objext \
35618 conftest$ac_exeext conftest.$ac_ext
35619 LIBS=$ac_check_lib_save_LIBS
35620 fi
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35622 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35623 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35624
35625 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35626
35627
35628 else
35629
35630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35631 Applications will only run on Windows NT/2000/XP!" >&5
35632 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35633 Applications will only run on Windows NT/2000/XP!" >&2;}
35634 wxUSE_UNICODE_MSLU=no
35635
35636 fi
35637
35638 fi
35639 fi
35640
35641 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35642 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35643
35644
35645 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35646 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35647
35648 fi
35649 fi
35650
35651
35652 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35653 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35654
35655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35656 fi
35657
35658 if test "$wxUSE_MDI" = "yes"; then
35659 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35660
35661
35662 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35663 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35664
35665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35666 fi
35667 fi
35668
35669 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35670 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35671
35672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35673 fi
35674
35675 if test "$wxUSE_HELP" = "yes"; then
35676 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35677
35678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35679
35680 if test "$wxUSE_MSW" = 1; then
35681 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35682 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35683
35684 fi
35685 fi
35686
35687 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35688 if test "$wxUSE_HTML" = "yes"; then
35689 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35690
35691 else
35692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35693 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35694 wxUSE_WXHTML_HELP=no
35695 fi
35696 fi
35697 fi
35698
35699 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35700 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35701
35702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35703 fi
35704
35705 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35706 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35707
35708 fi
35709
35710 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35711
35712
35713 if test "$wxUSE_SVG" = "yes"; then
35714 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35715
35716 fi
35717
35718
35719 if test "$wxUSE_METAFILE" = "yes"; then
35720 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35722 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35723 wxUSE_METAFILE=no
35724 fi
35725 elif test "$wxUSE_METAFILE" = "auto"; then
35726 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35727 wxUSE_METAFILE=yes
35728 fi
35729 fi
35730
35731 if test "$wxUSE_METAFILE" = "yes"; then
35732 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35733
35734 if test "$wxUSE_MSW" = 1; then
35735 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35736
35737 fi
35738 fi
35739
35740
35741 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35742 -o "$wxUSE_CLIPBOARD" = "yes" \
35743 -o "$wxUSE_OLE" = "yes" \
35744 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35745 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35746 "
35747 if test "x$ac_cv_header_ole2_h" = xyes; then :
35748
35749 fi
35750
35751
35752
35753 if test "$ac_cv_header_ole2_h" = "yes" ; then
35754 if test "$GCC" = yes ; then
35755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35756 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h. */
35759 #include <windows.h>
35760 #include <ole2.h>
35761 int
35762 main ()
35763 {
35764
35765 ;
35766 return 0;
35767 }
35768 _ACEOF
35769 if ac_fn_c_try_compile "$LINENO"; then :
35770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35771 $as_echo "no" >&6; }
35772 else
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35774 $as_echo "yes" >&6; }
35775 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35776 fi
35777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35778 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35779 if test "$wxUSE_OLE" = "yes" ; then
35780 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35781
35782 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35783
35784 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35785
35786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35787 fi
35788 fi
35789
35790 if test "$wxUSE_DATAOBJ" = "yes" ; then
35791 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35792
35793 fi
35794 else
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35796 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35797
35798 wxUSE_CLIPBOARD=no
35799 wxUSE_DRAG_AND_DROP=no
35800 wxUSE_DATAOBJ=no
35801 wxUSE_OLE=no
35802 fi
35803 fi
35804
35805 if test "$wxUSE_IPC" = "yes"; then
35806 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35808 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35809 wxUSE_IPC=no
35810 fi
35811
35812 if test "$wxUSE_IPC" = "yes"; then
35813 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35814
35815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35816 fi
35817 fi
35818
35819 if test "$wxUSE_DATAOBJ" = "yes"; then
35820 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35821
35822 else
35823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35824 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35825 wxUSE_CLIPBOARD=no
35826 wxUSE_DRAG_AND_DROP=no
35827 fi
35828
35829 if test "$wxUSE_CLIPBOARD" = "yes"; then
35830 if test "$wxUSE_DFB" = 1; then
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35832 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35833 wxUSE_CLIPBOARD=no
35834 fi
35835
35836 if test "$wxUSE_CLIPBOARD" = "yes"; then
35837 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35838
35839 fi
35840 fi
35841
35842 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35843 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35845 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35846 wxUSE_DRAG_AND_DROP=no
35847 fi
35848
35849 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35850 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35851
35852 fi
35853
35854 fi
35855
35856 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35858 fi
35859
35860 if test "$wxUSE_CLIPBOARD" = "yes"; then
35861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35862 fi
35863
35864 if test "$wxUSE_SPLINES" = "yes" ; then
35865 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35866
35867 fi
35868
35869 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35870 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35871
35872 fi
35873
35874 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35875 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35876
35877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35878 fi
35879
35880 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35881 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35882
35883 fi
35884
35885
35886 USES_CONTROLS=0
35887 if test "$wxUSE_CONTROLS" = "yes"; then
35888 USES_CONTROLS=1
35889 fi
35890
35891 if test "$wxUSE_MARKUP" = "yes"; then
35892 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35893
35894 fi
35895
35896 if test "$wxUSE_ACCEL" = "yes"; then
35897 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35898
35899 USES_CONTROLS=1
35900 fi
35901
35902 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35903 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35904
35905 USES_CONTROLS=1
35906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35907 fi
35908
35909 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35910 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35911
35912 fi
35913
35914 if test "$wxUSE_BUTTON" = "yes"; then
35915 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35916
35917 USES_CONTROLS=1
35918 fi
35919
35920 if test "$wxUSE_BMPBUTTON" = "yes"; then
35921 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35922
35923 USES_CONTROLS=1
35924 fi
35925
35926 if test "$wxUSE_CALCTRL" = "yes"; then
35927 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35928
35929 USES_CONTROLS=1
35930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35931 fi
35932
35933 if test "$wxUSE_CARET" = "yes"; then
35934 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35935
35936 USES_CONTROLS=1
35937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35938 fi
35939
35940 if test "$wxUSE_COLLPANE" = "yes"; then
35941 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35942
35943 USES_CONTROLS=1
35944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35945 fi
35946
35947 if test "$wxUSE_COMBOBOX" = "yes"; then
35948 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35949
35950 USES_CONTROLS=1
35951 fi
35952
35953 if test "$wxUSE_COMBOCTRL" = "yes"; then
35954 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35955
35956 USES_CONTROLS=1
35957 fi
35958
35959 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35960 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35961
35962 USES_CONTROLS=1
35963 fi
35964
35965 if test "$wxUSE_CHOICE" = "yes"; then
35966 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35967
35968 USES_CONTROLS=1
35969 fi
35970
35971 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35972 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35973
35974 USES_CONTROLS=1
35975 fi
35976
35977 if test "$wxUSE_CHECKBOX" = "yes"; then
35978 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35979
35980 USES_CONTROLS=1
35981 fi
35982
35983 if test "$wxUSE_CHECKLST" = "yes"; then
35984 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35985
35986 USES_CONTROLS=1
35987 fi
35988
35989 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35990 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35991
35992 USES_CONTROLS=1
35993 fi
35994
35995 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35996 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35997
35998 USES_CONTROLS=1
35999 fi
36000
36001 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36002 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36003
36004 USES_CONTROLS=1
36005 fi
36006
36007 if test "$wxUSE_FILECTRL" = "yes"; then
36008 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36009
36010 USES_CONTROLS=1
36011 fi
36012
36013 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36014 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36015
36016 USES_CONTROLS=1
36017 fi
36018
36019 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36020 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36021
36022 USES_CONTROLS=1
36023 fi
36024
36025 if test "$wxUSE_DISPLAY" = "yes"; then
36026 if test "$wxUSE_DFB" = 1; then
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36028 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36029 wxUSE_DISPLAY=no
36030 else
36031 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36032
36033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36034 fi
36035 fi
36036
36037 if test "$wxUSE_DETECT_SM" = "yes"; then
36038 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36039
36040 fi
36041
36042 if test "$wxUSE_GAUGE" = "yes"; then
36043 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36044
36045 USES_CONTROLS=1
36046 fi
36047
36048 if test "$wxUSE_GRID" = "yes"; then
36049 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36050
36051 USES_CONTROLS=1
36052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36053 fi
36054
36055 if test "$wxUSE_HEADERCTRL" = "yes"; then
36056 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36057
36058 USES_CONTROLS=1
36059 fi
36060
36061 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36062 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36063
36064 USES_CONTROLS=1
36065 fi
36066
36067 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36068 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36069
36070 USES_CONTROLS=1
36071 fi
36072
36073 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36074 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36075
36076 USES_CONTROLS=1
36077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
36078 fi
36079
36080 if test "$wxUSE_IMAGLIST" = "yes"; then
36081 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36082
36083 fi
36084
36085 if test "$wxUSE_INFOBAR" = "yes"; then
36086 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36087
36088 fi
36089
36090 if test "$wxUSE_LISTBOOK" = "yes"; then
36091 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36092
36093 USES_CONTROLS=1
36094 fi
36095
36096 if test "$wxUSE_LISTBOX" = "yes"; then
36097 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36098
36099 USES_CONTROLS=1
36100 fi
36101
36102 if test "$wxUSE_LISTCTRL" = "yes"; then
36103 if test "$wxUSE_IMAGLIST" = "yes"; then
36104 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36105
36106 USES_CONTROLS=1
36107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36108 else
36109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36110 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36111 fi
36112 fi
36113
36114 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36115 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36116
36117 USES_CONTROLS=1
36118 fi
36119
36120 if test "$wxUSE_NOTEBOOK" = "yes"; then
36121 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36122
36123 USES_CONTROLS=1
36124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36125 fi
36126
36127 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36128 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36129
36130 fi
36131
36132 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36133 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36134
36135 USES_CONTROLS=1
36136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
36137 fi
36138
36139 if test "$wxUSE_RADIOBOX" = "yes"; then
36140 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36141
36142 USES_CONTROLS=1
36143 fi
36144
36145 if test "$wxUSE_RADIOBTN" = "yes"; then
36146 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36147
36148 USES_CONTROLS=1
36149 fi
36150
36151 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36152 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36153
36154 fi
36155
36156 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36157 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36158
36159 fi
36160
36161 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36162 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36163
36164 fi
36165
36166 if test "$wxUSE_SASH" = "yes"; then
36167 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36168
36169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36170 fi
36171
36172 if test "$wxUSE_SCROLLBAR" = "yes"; then
36173 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36174
36175 USES_CONTROLS=1
36176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
36177 fi
36178
36179 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36180 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36181
36182 USES_CONTROLS=1
36183 fi
36184
36185 if test "$wxUSE_SLIDER" = "yes"; then
36186 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36187
36188 USES_CONTROLS=1
36189 fi
36190
36191 if test "$wxUSE_SPINBTN" = "yes"; then
36192 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36193
36194 USES_CONTROLS=1
36195 fi
36196
36197 if test "$wxUSE_SPINCTRL" = "yes"; then
36198 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36199
36200 USES_CONTROLS=1
36201 fi
36202
36203 if test "$wxUSE_SPLITTER" = "yes"; then
36204 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36205
36206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36207 fi
36208
36209 if test "$wxUSE_STATBMP" = "yes"; then
36210 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36211
36212 USES_CONTROLS=1
36213 fi
36214
36215 if test "$wxUSE_STATBOX" = "yes"; then
36216 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36217
36218 USES_CONTROLS=1
36219 fi
36220
36221 if test "$wxUSE_STATTEXT" = "yes"; then
36222 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36223
36224 USES_CONTROLS=1
36225 fi
36226
36227 if test "$wxUSE_STATLINE" = "yes"; then
36228 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36229
36230 USES_CONTROLS=1
36231 fi
36232
36233 if test "$wxUSE_STATUSBAR" = "yes"; then
36234 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36235
36236 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36237
36238 USES_CONTROLS=1
36239
36240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36241 fi
36242
36243 if test "$wxUSE_TEXTCTRL" = "yes"; then
36244 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36245
36246 USES_CONTROLS=1
36247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36248
36249 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36250
36251 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36252
36253 fi
36254
36255 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36256 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36257
36258 USES_CONTROLS=1
36259 fi
36260
36261 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36262 if test "$wxUSE_OLD_COCOA" = 1 ; then
36263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36264 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36265 wxUSE_TOGGLEBTN=no
36266 fi
36267
36268 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36269 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36270
36271 USES_CONTROLS=1
36272 fi
36273 fi
36274
36275 if test "$wxUSE_TOOLBAR" = "yes"; then
36276 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36277
36278 USES_CONTROLS=1
36279
36280 if test "$wxUSE_UNIVERSAL" = "yes"; then
36281 wxUSE_TOOLBAR_NATIVE="no"
36282 else
36283 wxUSE_TOOLBAR_NATIVE="yes"
36284 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36285
36286 fi
36287
36288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36289 fi
36290
36291 if test "$wxUSE_TOOLTIPS" = "yes"; then
36292 if test "$wxUSE_MOTIF" = 1; then
36293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36294 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36295 else
36296 if test "$wxUSE_UNIVERSAL" = "yes"; then
36297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36298 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36299 else
36300 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36301
36302 fi
36303 fi
36304 fi
36305
36306 if test "$wxUSE_TREEBOOK" = "yes"; then
36307 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36308
36309 USES_CONTROLS=1
36310 fi
36311
36312 if test "$wxUSE_TOOLBOOK" = "yes"; then
36313 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36314
36315 USES_CONTROLS=1
36316 fi
36317
36318 if test "$wxUSE_TREECTRL" = "yes"; then
36319 if test "$wxUSE_IMAGLIST" = "yes"; then
36320 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36321
36322 USES_CONTROLS=1
36323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36324 else
36325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36326 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36327 fi
36328 fi
36329
36330 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36331 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36332
36333 USES_CONTROLS=1
36334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36335 fi
36336
36337 if test "$wxUSE_POPUPWIN" = "yes"; then
36338 if test "$wxUSE_OLD_COCOA" = 1 ; then
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36340 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36341 else
36342 if test "$wxUSE_PM" = 1; then
36343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36344 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36345 else
36346 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36347
36348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36349
36350 USES_CONTROLS=1
36351 fi
36352 fi
36353 fi
36354
36355 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36356 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36358 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36359 else
36360 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36361
36362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36363 fi
36364 fi
36365
36366 if test "$wxUSE_TIPWINDOW" = "yes"; then
36367 if test "$wxUSE_PM" = 1; then
36368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36369 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36370 else
36371 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36372
36373 fi
36374 fi
36375
36376 if test "$USES_CONTROLS" = 1; then
36377 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36378
36379 fi
36380
36381
36382 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36383 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36384
36385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36386 fi
36387
36388 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36389 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36390
36391 fi
36392
36393 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36394 if test "$wxUSE_GTK" != 1; then
36395 if test "$wxUSE_LIBPNG" != no -a \
36396 "$wxUSE_IMAGE" = yes -a \
36397 "$wxUSE_STREAMS" = yes; then
36398 wxUSE_ARTPROVIDER_TANGO="yes"
36399 fi
36400 fi
36401 fi
36402
36403 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36404 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36405
36406 fi
36407
36408 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36409 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36410
36411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36412 fi
36413
36414 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36415 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36417 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36418 else
36419 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36420
36421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36422 fi
36423 fi
36424
36425 USE_HTML=0
36426 if test "$wxUSE_HTML" = "yes"; then
36427 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36428
36429 USE_HTML=1
36430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36431 fi
36432 if test "$wxUSE_WEBKIT" = "yes"; then
36433 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36434 old_CPPFLAGS="$CPPFLAGS"
36435 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36436 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36437 #include <Carbon/Carbon.h>
36438 #include <WebKit/WebKit.h>
36439
36440 "
36441 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36442
36443 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36444
36445 WEBKIT_LINK="-framework WebKit"
36446
36447 else
36448
36449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36450 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36451 wxUSE_WEBKIT=no
36452
36453 fi
36454
36455
36456 CPPFLAGS="$old_CPPFLAGS"
36457 elif test "$wxUSE_OLD_COCOA" = 1; then
36458 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36459
36460 else
36461 wxUSE_WEBKIT=no
36462 fi
36463 if test "$wxUSE_WEBKIT" = "yes"; then
36464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36465 fi
36466 fi
36467
36468 USE_XRC=0
36469 if test "$wxUSE_XRC" = "yes"; then
36470 if test "$wxUSE_XML" != "yes"; then
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36472 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36473 wxUSE_XRC=no
36474 else
36475 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36476
36477 USE_XRC=1
36478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36479 fi
36480 fi
36481
36482 USE_AUI=0
36483 if test "$wxUSE_AUI" = "yes"; then
36484 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36485
36486 USE_AUI=1
36487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36488 fi
36489
36490 USE_PROPGRID=0
36491 if test "$wxUSE_PROPGRID" = "yes"; then
36492 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36493
36494 USE_PROPGRID=1
36495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36496 fi
36497
36498 USE_RIBBON=0
36499 if test "$wxUSE_RIBBON" = "yes"; then
36500 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36501
36502 USE_RIBBON=1
36503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36504 fi
36505
36506 USE_STC=0
36507 if test "$wxUSE_STC" = "yes"; then
36508 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36509
36510 USE_STC=1
36511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36512
36513 # Extract the first word of "python", so it can be a program name with args.
36514 set dummy python; ac_word=$2
36515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36516 $as_echo_n "checking for $ac_word... " >&6; }
36517 if ${ac_cv_path_PYTHON+:} false; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36520 case $PYTHON in
36521 [\\/]* | ?:[\\/]*)
36522 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36523 ;;
36524 *)
36525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36526 for as_dir in $PATH
36527 do
36528 IFS=$as_save_IFS
36529 test -z "$as_dir" && as_dir=.
36530 for ac_exec_ext in '' $ac_executable_extensions; do
36531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36532 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36534 break 2
36535 fi
36536 done
36537 done
36538 IFS=$as_save_IFS
36539
36540 ;;
36541 esac
36542 fi
36543 PYTHON=$ac_cv_path_PYTHON
36544 if test -n "$PYTHON"; then
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36546 $as_echo "$PYTHON" >&6; }
36547 else
36548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36549 $as_echo "no" >&6; }
36550 fi
36551
36552
36553 if test "x$PYTHON" = "x"; then
36554 COND_PYTHON="#"
36555 fi
36556
36557 fi
36558
36559 if test "$wxUSE_MENUS" = "yes"; then
36560 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36561
36562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36563 fi
36564
36565 if test "$wxUSE_MIMETYPE" = "yes"; then
36566 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36567
36568 fi
36569
36570 if test "$wxUSE_MINIFRAME" = "yes"; then
36571 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36572
36573 fi
36574
36575 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36576 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36577
36578 fi
36579
36580 if test "$wxUSE_TASKBARICON" = "yes"; then
36581 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36582
36583 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36584
36585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36586 fi
36587
36588
36589 if test "$wxUSE_VALIDATORS" = "yes"; then
36590 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36591
36592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36593 fi
36594
36595 if test "$wxUSE_PALETTE" = "yes" ; then
36596 if test "$wxUSE_DFB" = 1; then
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36598 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36599 wxUSE_PALETTE=no
36600 else
36601 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36602
36603 fi
36604 fi
36605
36606 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36607 LIBS=" -lunicows $LIBS"
36608 fi
36609
36610 USE_RICHTEXT=0
36611 if test "$wxUSE_RICHTEXT" = "yes"; then
36612 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36613
36614 USE_RICHTEXT=1
36615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36616 fi
36617
36618 if test "$wxUSE_WEBVIEW" = "yes"; then
36619 USE_WEBVIEW_WEBKIT=0
36620 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36621 if test "$wxUSE_GTK" = 1; then
36622 webkitgtk=webkit-1.0
36623 if test "$WXGTK3" = 1; then
36624 webkitgtk=webkitgtk-3.0
36625 fi
36626
36627 pkg_failed=no
36628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36629 $as_echo_n "checking for WEBKIT... " >&6; }
36630
36631 if test -n "$PKG_CONFIG"; then
36632 if test -n "$WEBKIT_CFLAGS"; then
36633 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36634 else
36635 if test -n "$PKG_CONFIG" && \
36636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36637 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36638 ac_status=$?
36639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36640 test $ac_status = 0; }; then
36641 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36642 else
36643 pkg_failed=yes
36644 fi
36645 fi
36646 else
36647 pkg_failed=untried
36648 fi
36649 if test -n "$PKG_CONFIG"; then
36650 if test -n "$WEBKIT_LIBS"; then
36651 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36652 else
36653 if test -n "$PKG_CONFIG" && \
36654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36655 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36656 ac_status=$?
36657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36658 test $ac_status = 0; }; then
36659 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36660 else
36661 pkg_failed=yes
36662 fi
36663 fi
36664 else
36665 pkg_failed=untried
36666 fi
36667
36668
36669
36670 if test $pkg_failed = yes; then
36671
36672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36673 _pkg_short_errors_supported=yes
36674 else
36675 _pkg_short_errors_supported=no
36676 fi
36677 if test $_pkg_short_errors_supported = yes; then
36678 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36679 else
36680 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36681 fi
36682 # Put the nasty error message in config.log where it belongs
36683 echo "$WEBKIT_PKG_ERRORS" >&5
36684
36685
36686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36687 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36688
36689 elif test $pkg_failed = untried; then
36690
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36692 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36693
36694 else
36695 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36696 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36698 $as_echo "yes" >&6; }
36699
36700 USE_WEBVIEW_WEBKIT=1
36701 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36702 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36703
36704 fi
36705 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36706 old_CPPFLAGS="$CPPFLAGS"
36707 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36708 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36709 #include <Carbon/Carbon.h>
36710 #include <WebKit/WebKit.h>
36711
36712 "
36713 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36714
36715 USE_WEBVIEW_WEBKIT=1
36716 WEBKIT_LINK="-framework WebKit"
36717
36718 else
36719
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36721 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36722
36723 fi
36724
36725
36726 CPPFLAGS="$old_CPPFLAGS"
36727 fi
36728 fi
36729
36730 wxUSE_WEBVIEW="no"
36731 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36732 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36733 wxUSE_WEBVIEW="yes"
36734 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36735
36736 else
36737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36738 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36739 fi
36740 elif test "$wxUSE_MSW" = 1; then
36741 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36742 wxUSE_WEBVIEW="yes"
36743 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36744
36745 fi
36746 fi
36747 fi
36748
36749 if test "$wxUSE_WEBVIEW" = "yes"; then
36750 USE_WEBVIEW=1
36751 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36752
36753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36754 else
36755 USE_WEBVIEW=0
36756 fi
36757
36758
36759 if test "$wxUSE_IMAGE" = "yes" ; then
36760 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36761
36762
36763 if test "$wxUSE_GIF" = "yes" ; then
36764 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36765
36766 fi
36767
36768 if test "$wxUSE_PCX" = "yes" ; then
36769 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36770
36771 fi
36772
36773 if test "$wxUSE_TGA" = "yes" ; then
36774 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36775
36776 fi
36777
36778 if test "$wxUSE_IFF" = "yes" ; then
36779 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36780
36781 fi
36782
36783 if test "$wxUSE_PNM" = "yes" ; then
36784 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36785
36786 fi
36787
36788 if test "$wxUSE_XPM" = "yes" ; then
36789 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36790
36791 fi
36792
36793 if test "$wxUSE_ICO_CUR" = "yes" ; then
36794 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36795
36796 fi
36797 fi
36798
36799
36800 if test "$wxUSE_ABOUTDLG" = "yes"; then
36801 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36802
36803 fi
36804
36805 if test "$wxUSE_CHOICEDLG" = "yes"; then
36806 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36807
36808 fi
36809
36810 if test "$wxUSE_COLOURDLG" = "yes"; then
36811 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36812
36813 fi
36814
36815 if test "$wxUSE_FILEDLG" = "yes"; then
36816 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36817
36818 fi
36819
36820 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36821 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36822
36823 fi
36824
36825 if test "$wxUSE_FONTDLG" = "yes"; then
36826 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36827
36828 fi
36829
36830 if test "$wxUSE_DIRDLG" = "yes"; then
36831 if test "$wxUSE_TREECTRL" != "yes"; then
36832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36833 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36834 else
36835 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36836
36837 fi
36838 fi
36839
36840 if test "$wxUSE_MSGDLG" = "yes"; then
36841 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36842
36843 fi
36844
36845 if test "$wxUSE_NUMBERDLG" = "yes"; then
36846 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36847
36848 fi
36849
36850 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36851 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36852
36853 fi
36854
36855 if test "$wxUSE_SPLASH" = "yes"; then
36856 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36857
36858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36859 fi
36860
36861 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36862 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36863
36864 fi
36865
36866 if test "$wxUSE_TEXTDLG" = "yes"; then
36867 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36868
36869 fi
36870
36871 if test "$wxUSE_WIZARDDLG" = "yes"; then
36872 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36873
36874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36875 fi
36876
36877
36878 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36879 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36880 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36881
36882 fi
36883 fi
36884
36885
36886 if test "$wxUSE_MSW" = 1 ; then
36887
36888 if test "$wxUSE_DC_CACHEING" = "yes"; then
36889 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36890
36891 fi
36892
36893 if test "$wxUSE_DIB" = "yes"; then
36894 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36895
36896 fi
36897
36898 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36899 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36900
36901 fi
36902
36903 if test "$wxUSE_UXTHEME" = "yes"; then
36904 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36905
36906 fi
36907
36908 fi
36909
36910 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36911 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36912
36913 fi
36914
36915 if test "$USE_WIN32" = 1 ; then
36916 if test "$wxUSE_INICONF" = "yes"; then
36917 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36918
36919 fi
36920
36921 if test "$wxUSE_REGKEY" = "yes"; then
36922 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36923
36924 fi
36925 fi
36926
36927
36928 if test "$wxUSE_MAC" = 1; then
36929 wxUSE_GRAPHICS_CONTEXT="yes"
36930 fi
36931
36932 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36933 wx_has_graphics=0
36934 if test "$wxUSE_MSW" = 1; then
36935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36936 $as_echo_n "checking if GDI+ is available... " >&6; }
36937 if ${wx_cv_lib_gdiplus+:} false; then :
36938 $as_echo_n "(cached) " >&6
36939 else
36940
36941 ac_ext=cpp
36942 ac_cpp='$CXXCPP $CPPFLAGS'
36943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36946
36947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36948 /* end confdefs.h. */
36949 #include <windows.h>
36950 #include <gdiplus.h>
36951 int
36952 main ()
36953 {
36954
36955 using namespace Gdiplus;
36956
36957 ;
36958 return 0;
36959 }
36960 _ACEOF
36961 if ac_fn_cxx_try_compile "$LINENO"; then :
36962 wx_cv_lib_gdiplus=yes
36963 else
36964 wx_cv_lib_gdiplus=no
36965
36966 fi
36967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36968 ac_ext=c
36969 ac_cpp='$CPP $CPPFLAGS'
36970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36973
36974
36975
36976 fi
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36978 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36979 if test "$wx_cv_lib_gdiplus" = "yes"; then
36980 wx_has_graphics=1
36981 fi
36982 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36983
36984 pkg_failed=no
36985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36986 $as_echo_n "checking for CAIRO... " >&6; }
36987
36988 if test -n "$PKG_CONFIG"; then
36989 if test -n "$CAIRO_CFLAGS"; then
36990 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36991 else
36992 if test -n "$PKG_CONFIG" && \
36993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36994 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36995 ac_status=$?
36996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36997 test $ac_status = 0; }; then
36998 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36999 else
37000 pkg_failed=yes
37001 fi
37002 fi
37003 else
37004 pkg_failed=untried
37005 fi
37006 if test -n "$PKG_CONFIG"; then
37007 if test -n "$CAIRO_LIBS"; then
37008 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
37009 else
37010 if test -n "$PKG_CONFIG" && \
37011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37012 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37013 ac_status=$?
37014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37015 test $ac_status = 0; }; then
37016 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37017 else
37018 pkg_failed=yes
37019 fi
37020 fi
37021 else
37022 pkg_failed=untried
37023 fi
37024
37025
37026
37027 if test $pkg_failed = yes; then
37028
37029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37030 _pkg_short_errors_supported=yes
37031 else
37032 _pkg_short_errors_supported=no
37033 fi
37034 if test $_pkg_short_errors_supported = yes; then
37035 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37036 else
37037 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37038 fi
37039 # Put the nasty error message in config.log where it belongs
37040 echo "$CAIRO_PKG_ERRORS" >&5
37041
37042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37043 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37044
37045 elif test $pkg_failed = untried; then
37046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37047 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37048
37049 else
37050 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
37051 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37053 $as_echo "yes" >&6; }
37054 wx_has_graphics=1
37055 fi
37056 if test "$wx_has_graphics" = 1; then
37057 save_LIBS="$LIBS"
37058 LIBS="$LIBS $CAIRO_LIBS"
37059 for ac_func in cairo_push_group
37060 do :
37061 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37062 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
37063 cat >>confdefs.h <<_ACEOF
37064 #define HAVE_CAIRO_PUSH_GROUP 1
37065 _ACEOF
37066
37067 fi
37068 done
37069
37070 LIBS="$save_LIBS"
37071 if test "$ac_cv_func_cairo_push_group" = "no"; then
37072 wx_has_graphics=0
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37074 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37075 else
37076 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37077
37078
37079 if test "$wxUSE_GTK" != 1; then
37080 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
37081 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
37082 fi
37083 fi
37084 fi
37085 else
37086 wx_has_graphics=1
37087 fi
37088
37089 if test "$wx_has_graphics" = 1; then
37090 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37091
37092 else
37093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37094 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37095 fi
37096 fi
37097
37098
37099 USE_MEDIA=0
37100
37101 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37102 USE_MEDIA=1
37103
37104 if test "$wxUSE_GTK" = 1; then
37105 wxUSE_GSTREAMER="no"
37106
37107 GST_VERSION_MAJOR=0
37108 GST_VERSION_MINOR=10
37109 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37110
37111 if test "$wxUSE_GSTREAMER8" = "no"; then
37112
37113 pkg_failed=no
37114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37115 $as_echo_n "checking for GST... " >&6; }
37116
37117 if test -n "$PKG_CONFIG"; then
37118 if test -n "$GST_CFLAGS"; then
37119 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37120 else
37121 if test -n "$PKG_CONFIG" && \
37122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37123 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37124 ac_status=$?
37125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37126 test $ac_status = 0; }; then
37127 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37128 else
37129 pkg_failed=yes
37130 fi
37131 fi
37132 else
37133 pkg_failed=untried
37134 fi
37135 if test -n "$PKG_CONFIG"; then
37136 if test -n "$GST_LIBS"; then
37137 pkg_cv_GST_LIBS="$GST_LIBS"
37138 else
37139 if test -n "$PKG_CONFIG" && \
37140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37141 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37142 ac_status=$?
37143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37144 test $ac_status = 0; }; then
37145 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37146 else
37147 pkg_failed=yes
37148 fi
37149 fi
37150 else
37151 pkg_failed=untried
37152 fi
37153
37154
37155
37156 if test $pkg_failed = yes; then
37157
37158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37159 _pkg_short_errors_supported=yes
37160 else
37161 _pkg_short_errors_supported=no
37162 fi
37163 if test $_pkg_short_errors_supported = yes; then
37164 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37165 else
37166 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37167 fi
37168 # Put the nasty error message in config.log where it belongs
37169 echo "$GST_PKG_ERRORS" >&5
37170
37171
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37173 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37174 GST_VERSION_MINOR=8
37175
37176
37177 elif test $pkg_failed = untried; then
37178
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37180 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37181 GST_VERSION_MINOR=8
37182
37183
37184 else
37185 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37186 GST_LIBS=$pkg_cv_GST_LIBS
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37188 $as_echo "yes" >&6; }
37189
37190 wxUSE_GSTREAMER="yes"
37191 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37192
37193 fi
37194 else
37195 GST_VERSION_MINOR=8
37196 fi
37197
37198 if test $GST_VERSION_MINOR = "8"; then
37199 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
37200
37201 pkg_failed=no
37202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37203 $as_echo_n "checking for GST... " >&6; }
37204
37205 if test -n "$PKG_CONFIG"; then
37206 if test -n "$GST_CFLAGS"; then
37207 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
37208 else
37209 if test -n "$PKG_CONFIG" && \
37210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37211 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37212 ac_status=$?
37213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37214 test $ac_status = 0; }; then
37215 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37216 else
37217 pkg_failed=yes
37218 fi
37219 fi
37220 else
37221 pkg_failed=untried
37222 fi
37223 if test -n "$PKG_CONFIG"; then
37224 if test -n "$GST_LIBS"; then
37225 pkg_cv_GST_LIBS="$GST_LIBS"
37226 else
37227 if test -n "$PKG_CONFIG" && \
37228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37229 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37230 ac_status=$?
37231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37232 test $ac_status = 0; }; then
37233 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37234 else
37235 pkg_failed=yes
37236 fi
37237 fi
37238 else
37239 pkg_failed=untried
37240 fi
37241
37242
37243
37244 if test $pkg_failed = yes; then
37245
37246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37247 _pkg_short_errors_supported=yes
37248 else
37249 _pkg_short_errors_supported=no
37250 fi
37251 if test $_pkg_short_errors_supported = yes; then
37252 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37253 else
37254 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37255 fi
37256 # Put the nasty error message in config.log where it belongs
37257 echo "$GST_PKG_ERRORS" >&5
37258
37259
37260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37261 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37262
37263 elif test $pkg_failed = untried; then
37264
37265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37266 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37267
37268 else
37269 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37270 GST_LIBS=$pkg_cv_GST_LIBS
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37272 $as_echo "yes" >&6; }
37273 wxUSE_GSTREAMER="yes"
37274 fi
37275 fi
37276
37277
37278 if test "$wxUSE_GSTREAMER" = "yes"; then
37279 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37280 EXTRALIBS_MEDIA="$GST_LIBS"
37281
37282 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37283
37284 else
37285 USE_MEDIA=0
37286 fi
37287
37288 elif test "$wxUSE_MAC" = 1; then
37289 GST_LIBS="-framework QTKit"
37290 fi
37291
37292 if test $USE_MEDIA = 1; then
37293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37294 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37295
37296 else
37297 if test "$wxUSE_MEDIACTRL" = "yes"; then
37298 as_fn_error $? "GStreamer not available" "$LINENO" 5
37299 else
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37301 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37302 fi
37303 fi
37304 fi
37305
37306
37307 if test "$cross_compiling" != "no"; then
37308 OSINFO="\"$host\""
37309 else
37310 OSINFO=`uname -s -r -m`
37311 OSINFO="\"$OSINFO\""
37312 fi
37313
37314 cat >>confdefs.h <<_ACEOF
37315 #define WXWIN_OS_DESCRIPTION $OSINFO
37316 _ACEOF
37317
37318
37319
37320 if test "x$prefix" != "xNONE"; then
37321 wxPREFIX=$prefix
37322 else
37323 wxPREFIX=$ac_default_prefix
37324 fi
37325
37326 cat >>confdefs.h <<_ACEOF
37327 #define wxINSTALL_PREFIX "$wxPREFIX"
37328 _ACEOF
37329
37330
37331
37332
37333 STD_BASE_LIBS="base"
37334 STD_GUI_LIBS=""
37335 BUILT_WX_LIBS="base"
37336 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37337
37338 if test "$wxUSE_SOCKETS" = "yes" ; then
37339 STD_BASE_LIBS="net $STD_BASE_LIBS"
37340 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37341 fi
37342 if test "$wxUSE_XML" = "yes" ; then
37343 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37344 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37345 fi
37346
37347 if test "$wxUSE_GUI" = "yes"; then
37348 STD_GUI_LIBS="adv core"
37349 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37350
37351 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37352 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37353 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37354 fi
37355 if test "$wxUSE_HTML" = "yes" ; then
37356 STD_GUI_LIBS="html $STD_GUI_LIBS"
37357 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37358 fi
37359 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37360 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37361 fi
37362 if test "$wxUSE_OPENGL" = "yes" ; then
37363 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37364 fi
37365 if test "$wxUSE_AUI" = "yes" ; then
37366 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37367 fi
37368 if test "$wxUSE_PROPGRID" = "yes" ; then
37369 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37370 fi
37371 if test "$wxUSE_RIBBON" = "yes" ; then
37372 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37373 fi
37374 if test "$wxUSE_RICHTEXT" = "yes" ; then
37375 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37376 fi
37377 if test "$wxUSE_STC" = "yes" ; then
37378 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37379 fi
37380 if test "$wxUSE_WEBVIEW" = "yes" ; then
37381 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37382 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37383 fi
37384 if test "$wxUSE_XRC" = "yes" ; then
37385 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37386 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37387 fi
37388 fi
37389
37390
37391
37392
37393
37394
37395
37396 EXTRA_FRAMEWORKS=
37397 if test "$wxUSE_MAC" = 1 ; then
37398 if test "$USE_DARWIN" = 1; then
37399 if test "$wxUSE_OSX_IPHONE" = 1; then
37400 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37401 else
37402 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37403
37404
37405 if test "$cross_compiling" != "no"; then
37406 wx_cv_target_x86_64=no
37407 else
37408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37409 $as_echo_n "checking if we target only x86_64... " >&6; }
37410 if ${wx_cv_target_x86_64+:} false; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414 /* end confdefs.h. */
37415 int main() { return 0; }
37416 _ACEOF
37417 if ac_fn_c_try_link "$LINENO"; then :
37418 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37419 wx_cv_target_x86_64=no
37420 else
37421 wx_cv_target_x86_64=yes
37422 fi
37423
37424 fi
37425 rm -f core conftest.err conftest.$ac_objext \
37426 conftest$ac_exeext conftest.$ac_ext
37427
37428 fi
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37430 $as_echo "$wx_cv_target_x86_64" >&6; }
37431 fi
37432
37433 if test "$wx_cv_target_x86_64" != "yes"; then
37434 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37435 fi
37436 fi
37437 fi
37438 fi
37439 if test "$wxUSE_OLD_COCOA" = 1 ; then
37440 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37441 if test "$wxUSE_MEDIACTRL" = "yes"; then
37442 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37443 fi
37444 fi
37445 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37446 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37447 fi
37448
37449 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37450 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37451
37452 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37453
37454 if test "$wxUSE_GUI" = "yes"; then
37455
37456
37457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37458 erase event exec font image minimal render \
37459 shaped svg taborder vscroll widgets wrapsizer"
37460
37461 if test "$wxUSE_MONOLITHIC" != "yes"; then
37462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37463 fi
37464 if test "$TOOLKIT" = "MSW"; then
37465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37466 if test "$wxUSE_UNIVERSAL" != "yes"; then
37467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37468 fi
37469 fi
37470 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37472 fi
37473 else
37474 SAMPLES_SUBDIRS="console"
37475 if test "$wxUSE_SOCKETS" = "yes" ; then
37476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37477 fi
37478 if test "$wxUSE_IPC" = "yes" ; then
37479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37480 fi
37481 fi
37482
37483
37484 if test "x$INTELCC" = "xyes" ; then
37485 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37486 elif test "$GCC" = yes ; then
37487 CWARNINGS="-Wall -Wundef"
37488 fi
37489
37490 if test "x$INTELCXX" = "xyes" ; then
37491 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37492 elif test "$GXX" = yes ; then
37493 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37495 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37496 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37497 $as_echo_n "(cached) " >&6
37498 else
37499 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37500
37501 ac_ext=cpp
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506
37507 ac_save_CXXFLAGS="$CXXFLAGS"
37508 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37509 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37511 /* end confdefs.h. */
37512
37513 int
37514 main ()
37515 {
37516 return 0;
37517 ;
37518 return 0;
37519 }
37520 _ACEOF
37521 if ac_fn_cxx_try_compile "$LINENO"; then :
37522 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37523 fi
37524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37525 done
37526 CXXFLAGS="$ac_save_CXXFLAGS"
37527 ac_ext=c
37528 ac_cpp='$CPP $CPPFLAGS'
37529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532
37533
37534 fi
37535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37536 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37537 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37538 .ok|.ok,*) ;;
37539 .|.no|.no,*) ;;
37540 *)
37541 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37542 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37543 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37544 ac_status=$?
37545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37546 test $ac_status = 0; }
37547 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37548 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37549 ac_status=$?
37550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37551 test $ac_status = 0; }
37552 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37553 fi
37554 ;;
37555 esac
37556
37557
37558 if test "$wxUSE_MAC" = 1 ; then
37559 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37560 fi
37561 fi
37562
37563
37564 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37565 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37566
37567
37568 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37569 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37570 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37571 $CPPFLAGS `
37572
37573 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37574 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37575 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37576 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37577 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37578
37579 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37580
37581
37582 if test "x$MWCC" = "xyes"; then
37583
37584 CC="$CC -cwd source -I-"
37585 CXX="$CXX -cwd source -I-"
37586 fi
37587
37588
37589 LIBS=`echo $LIBS`
37590 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37591 EXTRALIBS_XML="$EXPAT_LINK"
37592 EXTRALIBS_HTML="$MSPACK_LINK"
37593 EXTRALIBS_MEDIA="$GST_LIBS"
37594 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37595 if test "$wxUSE_GUI" = "yes"; then
37596 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37597 fi
37598 if test "$wxUSE_OPENGL" = "yes"; then
37599 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37600 fi
37601
37602 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37603
37604 WXCONFIG_LIBS="$LIBS"
37605
37606 if test "$wxUSE_REGEX" = "builtin" ; then
37607 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37608 fi
37609 if test "$wxUSE_EXPAT" = "builtin" ; then
37610 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37611 fi
37612 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37613 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37614 fi
37615 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37616 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37617 fi
37618 if test "$wxUSE_LIBPNG" = "builtin" ; then
37619 wxconfig_3rdparty="png $wxconfig_3rdparty"
37620 fi
37621 if test "$wxUSE_ZLIB" = "builtin" ; then
37622 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37623 fi
37624
37625 for i in $wxconfig_3rdparty ; do
37626 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37627 done
37628
37629
37630 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37631 WXUNIV=1
37632
37633 case "$wxUNIV_THEMES" in
37634 ''|all)
37635 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37636
37637 ;;
37638
37639 *)
37640 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37641 cat >>confdefs.h <<_ACEOF
37642 #define wxUSE_THEME_$t 1
37643 _ACEOF
37644
37645 done
37646 esac
37647 else
37648 WXUNIV=0
37649 fi
37650
37651
37652
37653
37654
37655
37656
37657
37658 if test $wxUSE_MONOLITHIC = "yes" ; then
37659 MONOLITHIC=1
37660 else
37661 MONOLITHIC=0
37662 fi
37663
37664 if test $wxUSE_PLUGINS = "yes" ; then
37665 USE_PLUGINS=1
37666 else
37667 USE_PLUGINS=0
37668 fi
37669
37670 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37671 USE_QA=1
37672 else
37673 USE_QA=0
37674 fi
37675
37676 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37677 OFFICIAL_BUILD=1
37678 else
37679 OFFICIAL_BUILD=0
37680 fi
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715 case "$TOOLKIT" in
37716 GTK)
37717 TOOLKIT_DESC="GTK+"
37718 if test "$WXGTK2" = 1; then
37719 if test "$WXGTK3" = 1; then
37720 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37721 else
37722 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37723 fi
37724 if test "$wxUSE_GTKPRINT" = "yes" ; then
37725 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37726 fi
37727 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37728 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37729 fi
37730 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37731 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37732 fi
37733 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37734 TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
37735 fi
37736 if test "$wxUSE_LIBHILDON" = "yes"; then
37737 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37738 fi
37739 if test "$wxUSE_LIBHILDON2" = "yes"; then
37740 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37741 fi
37742
37743 if test "$TOOLKIT_EXTRA" != ""; then
37744 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37745 fi
37746 fi
37747 ;;
37748
37749 ?*)
37750 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37751 ;;
37752
37753 *)
37754 TOOLKIT_DESC="base only"
37755 ;;
37756 esac
37757
37758 if test "$wxUSE_WINE" = "yes"; then
37759 BAKEFILE_FORCE_PLATFORM=win32
37760 fi
37761
37762 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37763 then
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37765 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37766 if ${wx_cv_gcc_pch_bug+:} false; then :
37767 $as_echo_n "(cached) " >&6
37768 else
37769
37770 echo '#include <stdio.h>
37771 const wchar_t test_var[] = L"awidetest";' > conftest.h
37772
37773 echo '#include "conftest.h"
37774 int main()
37775 {
37776 printf("%ls", test_var);
37777 return 0;
37778 }' > conftest.cpp
37779
37780 wx_cv_gcc_pch_bug="pch not supported"
37781
37782 if $CXX conftest.h >/dev/null 2>&1
37783 then
37784 wx_cv_gcc_pch_bug=
37785
37786 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37787 then
37788 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37789 grep awidetest >/dev/null
37790 then
37791 wx_cv_gcc_pch_bug=no
37792 else
37793 wx_cv_gcc_pch_bug=yes
37794 fi
37795 fi
37796 fi
37797
37798 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37799
37800 fi
37801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37802 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37803
37804 if test "$wx_cv_gcc_pch_bug" = yes; then
37805 bk_use_pch=no
37806 fi
37807 fi
37808
37809 # Find a good install program. We prefer a C program (faster),
37810 # so one script is as good as another. But avoid the broken or
37811 # incompatible versions:
37812 # SysV /etc/install, /usr/sbin/install
37813 # SunOS /usr/etc/install
37814 # IRIX /sbin/install
37815 # AIX /bin/install
37816 # AmigaOS /C/install, which installs bootblocks on floppy discs
37817 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37818 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37819 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37820 # OS/2's system install, which has a completely different semantic
37821 # ./install, which can be erroneously created by make from ./install.sh.
37822 # Reject install programs that cannot install multiple files.
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37824 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37825 if test -z "$INSTALL"; then
37826 if ${ac_cv_path_install+:} false; then :
37827 $as_echo_n "(cached) " >&6
37828 else
37829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37830 for as_dir in $PATH
37831 do
37832 IFS=$as_save_IFS
37833 test -z "$as_dir" && as_dir=.
37834 # Account for people who put trailing slashes in PATH elements.
37835 case $as_dir/ in #((
37836 ./ | .// | /[cC]/* | \
37837 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37838 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37839 /usr/ucb/* ) ;;
37840 *)
37841 # OSF1 and SCO ODT 3.0 have their own names for install.
37842 # Don't use installbsd from OSF since it installs stuff as root
37843 # by default.
37844 for ac_prog in ginstall scoinst install; do
37845 for ac_exec_ext in '' $ac_executable_extensions; do
37846 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37847 if test $ac_prog = install &&
37848 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37849 # AIX install. It has an incompatible calling convention.
37850 :
37851 elif test $ac_prog = install &&
37852 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37853 # program-specific install script used by HP pwplus--don't use.
37854 :
37855 else
37856 rm -rf conftest.one conftest.two conftest.dir
37857 echo one > conftest.one
37858 echo two > conftest.two
37859 mkdir conftest.dir
37860 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37861 test -s conftest.one && test -s conftest.two &&
37862 test -s conftest.dir/conftest.one &&
37863 test -s conftest.dir/conftest.two
37864 then
37865 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37866 break 3
37867 fi
37868 fi
37869 fi
37870 done
37871 done
37872 ;;
37873 esac
37874
37875 done
37876 IFS=$as_save_IFS
37877
37878 rm -rf conftest.one conftest.two conftest.dir
37879
37880 fi
37881 if test "${ac_cv_path_install+set}" = set; then
37882 INSTALL=$ac_cv_path_install
37883 else
37884 # As a last resort, use the slow shell script. Don't cache a
37885 # value for INSTALL within a source directory, because that will
37886 # break other packages using the cache if that directory is
37887 # removed, or if the value is a relative name.
37888 INSTALL=$ac_install_sh
37889 fi
37890 fi
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37892 $as_echo "$INSTALL" >&6; }
37893
37894 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37895 # It thinks the first close brace ends the variable substitution.
37896 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37897
37898 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37899
37900 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37901
37902
37903
37904
37905
37906
37907
37908 if test "x$BAKEFILE_HOST" = "x"; then
37909 if test "x${host}" = "x" ; then
37910 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37911 fi
37912
37913 BAKEFILE_HOST="${host}"
37914 fi
37915
37916 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37917
37918 if test -n "$ac_tool_prefix"; then
37919 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37920 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37922 $as_echo_n "checking for $ac_word... " >&6; }
37923 if ${ac_cv_prog_RANLIB+:} false; then :
37924 $as_echo_n "(cached) " >&6
37925 else
37926 if test -n "$RANLIB"; then
37927 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37928 else
37929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37930 for as_dir in $PATH
37931 do
37932 IFS=$as_save_IFS
37933 test -z "$as_dir" && as_dir=.
37934 for ac_exec_ext in '' $ac_executable_extensions; do
37935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37936 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37938 break 2
37939 fi
37940 done
37941 done
37942 IFS=$as_save_IFS
37943
37944 fi
37945 fi
37946 RANLIB=$ac_cv_prog_RANLIB
37947 if test -n "$RANLIB"; then
37948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37949 $as_echo "$RANLIB" >&6; }
37950 else
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37952 $as_echo "no" >&6; }
37953 fi
37954
37955
37956 fi
37957 if test -z "$ac_cv_prog_RANLIB"; then
37958 ac_ct_RANLIB=$RANLIB
37959 # Extract the first word of "ranlib", so it can be a program name with args.
37960 set dummy ranlib; ac_word=$2
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37962 $as_echo_n "checking for $ac_word... " >&6; }
37963 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37964 $as_echo_n "(cached) " >&6
37965 else
37966 if test -n "$ac_ct_RANLIB"; then
37967 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37968 else
37969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37970 for as_dir in $PATH
37971 do
37972 IFS=$as_save_IFS
37973 test -z "$as_dir" && as_dir=.
37974 for ac_exec_ext in '' $ac_executable_extensions; do
37975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37976 ac_cv_prog_ac_ct_RANLIB="ranlib"
37977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37978 break 2
37979 fi
37980 done
37981 done
37982 IFS=$as_save_IFS
37983
37984 fi
37985 fi
37986 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37987 if test -n "$ac_ct_RANLIB"; then
37988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37989 $as_echo "$ac_ct_RANLIB" >&6; }
37990 else
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37992 $as_echo "no" >&6; }
37993 fi
37994
37995 if test "x$ac_ct_RANLIB" = x; then
37996 RANLIB=":"
37997 else
37998 case $cross_compiling:$ac_tool_warned in
37999 yes:)
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38002 ac_tool_warned=yes ;;
38003 esac
38004 RANLIB=$ac_ct_RANLIB
38005 fi
38006 else
38007 RANLIB="$ac_cv_prog_RANLIB"
38008 fi
38009
38010
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38012 $as_echo_n "checking whether ln -s works... " >&6; }
38013 LN_S=$as_ln_s
38014 if test "$LN_S" = "ln -s"; then
38015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38016 $as_echo "yes" >&6; }
38017 else
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38019 $as_echo "no, using $LN_S" >&6; }
38020 fi
38021
38022
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38024 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38025 set x ${MAKE-make}
38026 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38027 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38030 cat >conftest.make <<\_ACEOF
38031 SHELL = /bin/sh
38032 all:
38033 @echo '@@@%%%=$(MAKE)=@@@%%%'
38034 _ACEOF
38035 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38036 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38037 *@@@%%%=?*=@@@%%%*)
38038 eval ac_cv_prog_make_${ac_make}_set=yes;;
38039 *)
38040 eval ac_cv_prog_make_${ac_make}_set=no;;
38041 esac
38042 rm -f conftest.make
38043 fi
38044 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
38045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38046 $as_echo "yes" >&6; }
38047 SET_MAKE=
38048 else
38049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38050 $as_echo "no" >&6; }
38051 SET_MAKE="MAKE=${MAKE-make}"
38052 fi
38053
38054
38055
38056 if test "x$SUNCXX" = "xyes"; then
38057 AR=$CXX
38058 AROPTIONS="-xar -o"
38059
38060 elif test "x$SGICC" = "xyes"; then
38061 AR=$CXX
38062 AROPTIONS="-ar -o"
38063
38064 else
38065 if test -n "$ac_tool_prefix"; then
38066 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38067 set dummy ${ac_tool_prefix}ar; ac_word=$2
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38069 $as_echo_n "checking for $ac_word... " >&6; }
38070 if ${ac_cv_prog_AR+:} false; then :
38071 $as_echo_n "(cached) " >&6
38072 else
38073 if test -n "$AR"; then
38074 ac_cv_prog_AR="$AR" # Let the user override the test.
38075 else
38076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38077 for as_dir in $PATH
38078 do
38079 IFS=$as_save_IFS
38080 test -z "$as_dir" && as_dir=.
38081 for ac_exec_ext in '' $ac_executable_extensions; do
38082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38083 ac_cv_prog_AR="${ac_tool_prefix}ar"
38084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38085 break 2
38086 fi
38087 done
38088 done
38089 IFS=$as_save_IFS
38090
38091 fi
38092 fi
38093 AR=$ac_cv_prog_AR
38094 if test -n "$AR"; then
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38096 $as_echo "$AR" >&6; }
38097 else
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38099 $as_echo "no" >&6; }
38100 fi
38101
38102
38103 fi
38104 if test -z "$ac_cv_prog_AR"; then
38105 ac_ct_AR=$AR
38106 # Extract the first word of "ar", so it can be a program name with args.
38107 set dummy ar; ac_word=$2
38108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38109 $as_echo_n "checking for $ac_word... " >&6; }
38110 if ${ac_cv_prog_ac_ct_AR+:} false; then :
38111 $as_echo_n "(cached) " >&6
38112 else
38113 if test -n "$ac_ct_AR"; then
38114 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38115 else
38116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38117 for as_dir in $PATH
38118 do
38119 IFS=$as_save_IFS
38120 test -z "$as_dir" && as_dir=.
38121 for ac_exec_ext in '' $ac_executable_extensions; do
38122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38123 ac_cv_prog_ac_ct_AR="ar"
38124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38125 break 2
38126 fi
38127 done
38128 done
38129 IFS=$as_save_IFS
38130
38131 fi
38132 fi
38133 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38134 if test -n "$ac_ct_AR"; then
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38136 $as_echo "$ac_ct_AR" >&6; }
38137 else
38138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38139 $as_echo "no" >&6; }
38140 fi
38141
38142 if test "x$ac_ct_AR" = x; then
38143 AR="ar"
38144 else
38145 case $cross_compiling:$ac_tool_warned in
38146 yes:)
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38149 ac_tool_warned=yes ;;
38150 esac
38151 AR=$ac_ct_AR
38152 fi
38153 else
38154 AR="$ac_cv_prog_AR"
38155 fi
38156
38157 AROPTIONS=rcu
38158 fi
38159
38160
38161 if test -n "$ac_tool_prefix"; then
38162 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38163 set dummy ${ac_tool_prefix}strip; ac_word=$2
38164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38165 $as_echo_n "checking for $ac_word... " >&6; }
38166 if ${ac_cv_prog_STRIP+:} false; then :
38167 $as_echo_n "(cached) " >&6
38168 else
38169 if test -n "$STRIP"; then
38170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38171 else
38172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38173 for as_dir in $PATH
38174 do
38175 IFS=$as_save_IFS
38176 test -z "$as_dir" && as_dir=.
38177 for ac_exec_ext in '' $ac_executable_extensions; do
38178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38179 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38181 break 2
38182 fi
38183 done
38184 done
38185 IFS=$as_save_IFS
38186
38187 fi
38188 fi
38189 STRIP=$ac_cv_prog_STRIP
38190 if test -n "$STRIP"; then
38191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38192 $as_echo "$STRIP" >&6; }
38193 else
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38195 $as_echo "no" >&6; }
38196 fi
38197
38198
38199 fi
38200 if test -z "$ac_cv_prog_STRIP"; then
38201 ac_ct_STRIP=$STRIP
38202 # Extract the first word of "strip", so it can be a program name with args.
38203 set dummy strip; ac_word=$2
38204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38205 $as_echo_n "checking for $ac_word... " >&6; }
38206 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
38207 $as_echo_n "(cached) " >&6
38208 else
38209 if test -n "$ac_ct_STRIP"; then
38210 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38211 else
38212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38213 for as_dir in $PATH
38214 do
38215 IFS=$as_save_IFS
38216 test -z "$as_dir" && as_dir=.
38217 for ac_exec_ext in '' $ac_executable_extensions; do
38218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38219 ac_cv_prog_ac_ct_STRIP="strip"
38220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38221 break 2
38222 fi
38223 done
38224 done
38225 IFS=$as_save_IFS
38226
38227 fi
38228 fi
38229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38230 if test -n "$ac_ct_STRIP"; then
38231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38232 $as_echo "$ac_ct_STRIP" >&6; }
38233 else
38234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38235 $as_echo "no" >&6; }
38236 fi
38237
38238 if test "x$ac_ct_STRIP" = x; then
38239 STRIP=":"
38240 else
38241 case $cross_compiling:$ac_tool_warned in
38242 yes:)
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38245 ac_tool_warned=yes ;;
38246 esac
38247 STRIP=$ac_ct_STRIP
38248 fi
38249 else
38250 STRIP="$ac_cv_prog_STRIP"
38251 fi
38252
38253 if test -n "$ac_tool_prefix"; then
38254 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38255 set dummy ${ac_tool_prefix}nm; ac_word=$2
38256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38257 $as_echo_n "checking for $ac_word... " >&6; }
38258 if ${ac_cv_prog_NM+:} false; then :
38259 $as_echo_n "(cached) " >&6
38260 else
38261 if test -n "$NM"; then
38262 ac_cv_prog_NM="$NM" # Let the user override the test.
38263 else
38264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38265 for as_dir in $PATH
38266 do
38267 IFS=$as_save_IFS
38268 test -z "$as_dir" && as_dir=.
38269 for ac_exec_ext in '' $ac_executable_extensions; do
38270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38271 ac_cv_prog_NM="${ac_tool_prefix}nm"
38272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38273 break 2
38274 fi
38275 done
38276 done
38277 IFS=$as_save_IFS
38278
38279 fi
38280 fi
38281 NM=$ac_cv_prog_NM
38282 if test -n "$NM"; then
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38284 $as_echo "$NM" >&6; }
38285 else
38286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38287 $as_echo "no" >&6; }
38288 fi
38289
38290
38291 fi
38292 if test -z "$ac_cv_prog_NM"; then
38293 ac_ct_NM=$NM
38294 # Extract the first word of "nm", so it can be a program name with args.
38295 set dummy nm; ac_word=$2
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38297 $as_echo_n "checking for $ac_word... " >&6; }
38298 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38299 $as_echo_n "(cached) " >&6
38300 else
38301 if test -n "$ac_ct_NM"; then
38302 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38303 else
38304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38305 for as_dir in $PATH
38306 do
38307 IFS=$as_save_IFS
38308 test -z "$as_dir" && as_dir=.
38309 for ac_exec_ext in '' $ac_executable_extensions; do
38310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38311 ac_cv_prog_ac_ct_NM="nm"
38312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38313 break 2
38314 fi
38315 done
38316 done
38317 IFS=$as_save_IFS
38318
38319 fi
38320 fi
38321 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38322 if test -n "$ac_ct_NM"; then
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38324 $as_echo "$ac_ct_NM" >&6; }
38325 else
38326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38327 $as_echo "no" >&6; }
38328 fi
38329
38330 if test "x$ac_ct_NM" = x; then
38331 NM=":"
38332 else
38333 case $cross_compiling:$ac_tool_warned in
38334 yes:)
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38337 ac_tool_warned=yes ;;
38338 esac
38339 NM=$ac_ct_NM
38340 fi
38341 else
38342 NM="$ac_cv_prog_NM"
38343 fi
38344
38345
38346 INSTALL_DIR="mkdir -p"
38347
38348
38349 LDFLAGS_GUI=
38350 case ${BAKEFILE_HOST} in
38351 *-*-cygwin* | *-*-mingw32* )
38352 LDFLAGS_GUI="-mwindows"
38353 esac
38354
38355
38356 fi
38357
38358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38359 $as_echo_n "checking if make is GNU make... " >&6; }
38360 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38361 $as_echo_n "(cached) " >&6
38362 else
38363
38364 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38365 egrep -s GNU > /dev/null); then
38366 bakefile_cv_prog_makeisgnu="yes"
38367 else
38368 bakefile_cv_prog_makeisgnu="no"
38369 fi
38370
38371 fi
38372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38373 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38374
38375 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38376 IF_GNU_MAKE=""
38377 else
38378 IF_GNU_MAKE="#"
38379 fi
38380
38381
38382
38383 PLATFORM_UNIX=0
38384 PLATFORM_WIN32=0
38385 PLATFORM_MSDOS=0
38386 PLATFORM_MAC=0
38387 PLATFORM_MACOS=0
38388 PLATFORM_MACOSX=0
38389 PLATFORM_OS2=0
38390 PLATFORM_BEOS=0
38391
38392 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38393 case "${BAKEFILE_HOST}" in
38394 *-*-mingw32* )
38395 PLATFORM_WIN32=1
38396 ;;
38397 *-pc-msdosdjgpp )
38398 PLATFORM_MSDOS=1
38399 ;;
38400 *-pc-os2_emx | *-pc-os2-emx )
38401 PLATFORM_OS2=1
38402 ;;
38403 *-*-darwin* )
38404 PLATFORM_MAC=1
38405 PLATFORM_MACOSX=1
38406 ;;
38407 *-*-beos* )
38408 PLATFORM_BEOS=1
38409 ;;
38410 powerpc-apple-macos* )
38411 PLATFORM_MAC=1
38412 PLATFORM_MACOS=1
38413 ;;
38414 * )
38415 PLATFORM_UNIX=1
38416 ;;
38417 esac
38418 else
38419 case "$BAKEFILE_FORCE_PLATFORM" in
38420 win32 )
38421 PLATFORM_WIN32=1
38422 ;;
38423 msdos )
38424 PLATFORM_MSDOS=1
38425 ;;
38426 os2 )
38427 PLATFORM_OS2=1
38428 ;;
38429 darwin )
38430 PLATFORM_MAC=1
38431 PLATFORM_MACOSX=1
38432 ;;
38433 unix )
38434 PLATFORM_UNIX=1
38435 ;;
38436 beos )
38437 PLATFORM_BEOS=1
38438 ;;
38439 * )
38440 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38441 ;;
38442 esac
38443 fi
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455 # Check whether --enable-omf was given.
38456 if test "${enable_omf+set}" = set; then :
38457 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38458 fi
38459
38460
38461 case "${BAKEFILE_HOST}" in
38462 *-*-darwin* )
38463 if test "x$GCC" = "xyes"; then
38464 CFLAGS="$CFLAGS -fno-common"
38465 CXXFLAGS="$CXXFLAGS -fno-common"
38466 fi
38467 if test "x$XLCC" = "xyes"; then
38468 CFLAGS="$CFLAGS -qnocommon"
38469 CXXFLAGS="$CXXFLAGS -qnocommon"
38470 fi
38471 ;;
38472
38473 *-pc-os2_emx | *-pc-os2-emx )
38474 if test "x$bk_os2_use_omf" = "xyes" ; then
38475 AR=emxomfar
38476 RANLIB=:
38477 LDFLAGS="-Zomf $LDFLAGS"
38478 CFLAGS="-Zomf $CFLAGS"
38479 CXXFLAGS="-Zomf $CXXFLAGS"
38480 OS2_LIBEXT="lib"
38481 else
38482 OS2_LIBEXT="a"
38483 fi
38484 ;;
38485
38486 i*86-*-beos* )
38487 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38488 ;;
38489 esac
38490
38491
38492 SO_SUFFIX="so"
38493 SO_SUFFIX_MODULE="so"
38494 EXEEXT=""
38495 LIBPREFIX="lib"
38496 LIBEXT=".a"
38497 DLLPREFIX="lib"
38498 DLLPREFIX_MODULE=""
38499 DLLIMP_SUFFIX=""
38500 dlldir="$libdir"
38501
38502 case "${BAKEFILE_HOST}" in
38503 ia64-hp-hpux* )
38504 ;;
38505 *-hp-hpux* )
38506 SO_SUFFIX="sl"
38507 SO_SUFFIX_MODULE="sl"
38508 ;;
38509 *-*-aix* )
38510 SO_SUFFIX="a"
38511 SO_SUFFIX_MODULE="a"
38512 ;;
38513 *-*-cygwin* )
38514 SO_SUFFIX="dll"
38515 SO_SUFFIX_MODULE="dll"
38516 DLLIMP_SUFFIX="dll.a"
38517 EXEEXT=".exe"
38518 DLLPREFIX="cyg"
38519 dlldir="$bindir"
38520 ;;
38521 *-*-mingw32* )
38522 SO_SUFFIX="dll"
38523 SO_SUFFIX_MODULE="dll"
38524 DLLIMP_SUFFIX="dll.a"
38525 EXEEXT=".exe"
38526 DLLPREFIX=""
38527 dlldir="$bindir"
38528 ;;
38529 *-pc-msdosdjgpp )
38530 EXEEXT=".exe"
38531 DLLPREFIX=""
38532 dlldir="$bindir"
38533 ;;
38534 *-pc-os2_emx | *-pc-os2-emx )
38535 SO_SUFFIX="dll"
38536 SO_SUFFIX_MODULE="dll"
38537 DLLIMP_SUFFIX=$OS2_LIBEXT
38538 EXEEXT=".exe"
38539 DLLPREFIX=""
38540 LIBPREFIX=""
38541 LIBEXT=".$OS2_LIBEXT"
38542 dlldir="$bindir"
38543 ;;
38544 *-*-darwin* )
38545 SO_SUFFIX="dylib"
38546 SO_SUFFIX_MODULE="bundle"
38547 ;;
38548 esac
38549
38550 if test "x$DLLIMP_SUFFIX" = "x" ; then
38551 DLLIMP_SUFFIX="$SO_SUFFIX"
38552 fi
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565 PIC_FLAG=""
38566 if test "x$GCC" = "xyes"; then
38567 PIC_FLAG="-fPIC"
38568 fi
38569
38570 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38571 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38572 WINDOWS_IMPLIB=0
38573
38574 case "${BAKEFILE_HOST}" in
38575 *-hp-hpux* )
38576 if test "x$GCC" != "xyes"; then
38577 LDFLAGS="$LDFLAGS -L/usr/lib"
38578
38579 SHARED_LD_CC="${CC} -b -o"
38580 SHARED_LD_CXX="${CXX} -b -o"
38581 PIC_FLAG="+Z"
38582 fi
38583 ;;
38584
38585 *-*-linux* )
38586 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38587 PIC_FLAG="-KPIC"
38588 elif test "x$SUNCXX" = "xyes"; then
38589 SHARED_LD_CC="${CC} -G -o"
38590 SHARED_LD_CXX="${CXX} -G -o"
38591 PIC_FLAG="-KPIC"
38592 fi
38593 ;;
38594
38595 *-*-solaris2* )
38596 if test "x$SUNCXX" = xyes ; then
38597 SHARED_LD_CC="${CC} -G -o"
38598 SHARED_LD_CXX="${CXX} -G -o"
38599 PIC_FLAG="-KPIC"
38600 fi
38601 ;;
38602
38603 *-*-darwin* )
38604
38605 D='$'
38606 cat <<EOF >shared-ld-sh
38607 #!/bin/sh
38608 #-----------------------------------------------------------------------------
38609 #-- Name: distrib/mac/shared-ld-sh
38610 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38611 #-- Author: Gilles Depeyrot
38612 #-- Copyright: (c) 2002 Gilles Depeyrot
38613 #-- Licence: any use permitted
38614 #-----------------------------------------------------------------------------
38615
38616 verbose=0
38617 args=""
38618 objects=""
38619 linking_flag="-dynamiclib"
38620 ldargs="-r -keep_private_externs -nostdlib"
38621
38622 if test "x${D}CXX" = "x"; then
38623 CXX="c++"
38624 fi
38625
38626 while test ${D}# -gt 0; do
38627 case ${D}1 in
38628
38629 -v)
38630 verbose=1
38631 ;;
38632
38633 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38634 # collect these options and values
38635 args="${D}{args} ${D}1 ${D}2"
38636 shift
38637 ;;
38638
38639 -arch|-isysroot)
38640 # collect these options and values
38641 ldargs="${D}{ldargs} ${D}1 ${D}2"
38642 shift
38643 ;;
38644
38645 -s|-Wl,*)
38646 # collect these load args
38647 ldargs="${D}{ldargs} ${D}1"
38648 ;;
38649
38650 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38651 # collect these options
38652 args="${D}{args} ${D}1"
38653 ;;
38654
38655 -dynamiclib|-bundle)
38656 linking_flag="${D}1"
38657 ;;
38658
38659 -*)
38660 echo "shared-ld: unhandled option '${D}1'"
38661 exit 1
38662 ;;
38663
38664 *.o | *.a | *.dylib)
38665 # collect object files
38666 objects="${D}{objects} ${D}1"
38667 ;;
38668
38669 *)
38670 echo "shared-ld: unhandled argument '${D}1'"
38671 exit 1
38672 ;;
38673
38674 esac
38675 shift
38676 done
38677
38678 status=0
38679
38680 #
38681 # Link one module containing all the others
38682 #
38683 if test ${D}{verbose} = 1; then
38684 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38685 fi
38686 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38687 status=${D}?
38688
38689 #
38690 # Link the shared library from the single module created, but only if the
38691 # previous command didn't fail:
38692 #
38693 if test ${D}{status} = 0; then
38694 if test ${D}{verbose} = 1; then
38695 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38696 fi
38697 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38698 status=${D}?
38699 fi
38700
38701 #
38702 # Remove intermediate module
38703 #
38704 rm -f master.${D}${D}.o
38705
38706 exit ${D}status
38707 EOF
38708
38709 chmod +x shared-ld-sh
38710
38711 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38712 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38713
38714
38715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38716 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38717 if ${bakefile_cv_gcc31+:} false; then :
38718 $as_echo_n "(cached) " >&6
38719 else
38720
38721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38722 /* end confdefs.h. */
38723
38724 int
38725 main ()
38726 {
38727
38728 #if (__GNUC__ < 3) || \
38729 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38730 This is old gcc
38731 #endif
38732
38733 ;
38734 return 0;
38735 }
38736 _ACEOF
38737 if ac_fn_c_try_compile "$LINENO"; then :
38738
38739 bakefile_cv_gcc31=yes
38740
38741 else
38742
38743 bakefile_cv_gcc31=no
38744
38745
38746 fi
38747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38748
38749 fi
38750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38751 $as_echo "$bakefile_cv_gcc31" >&6; }
38752 if test "$bakefile_cv_gcc31" = "no"; then
38753 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38754 SHARED_LD_CXX="$SHARED_LD_CC"
38755 else
38756 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38757 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38758 fi
38759
38760 if test "x$GCC" == "xyes"; then
38761 PIC_FLAG="-dynamic -fPIC"
38762 fi
38763 if test "x$XLCC" = "xyes"; then
38764 PIC_FLAG="-dynamic -DPIC"
38765 fi
38766 ;;
38767
38768 *-*-aix* )
38769 if test "x$GCC" = "xyes"; then
38770 PIC_FLAG=""
38771
38772 case "${BAKEFILE_HOST}" in
38773 *-*-aix5* )
38774 LD_EXPFULL="-Wl,-bexpfull"
38775 ;;
38776 esac
38777
38778 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38779 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38780 else
38781 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38782 set dummy makeC++SharedLib; ac_word=$2
38783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38784 $as_echo_n "checking for $ac_word... " >&6; }
38785 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38786 $as_echo_n "(cached) " >&6
38787 else
38788 if test -n "$AIX_CXX_LD"; then
38789 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38790 else
38791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38792 for as_dir in $PATH
38793 do
38794 IFS=$as_save_IFS
38795 test -z "$as_dir" && as_dir=.
38796 for ac_exec_ext in '' $ac_executable_extensions; do
38797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38798 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38800 break 2
38801 fi
38802 done
38803 done
38804 IFS=$as_save_IFS
38805
38806 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38807 fi
38808 fi
38809 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38810 if test -n "$AIX_CXX_LD"; then
38811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38812 $as_echo "$AIX_CXX_LD" >&6; }
38813 else
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38815 $as_echo "no" >&6; }
38816 fi
38817
38818
38819 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38820 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38821 fi
38822 ;;
38823
38824 *-*-beos* )
38825 SHARED_LD_CC="${LD} -nostart -o"
38826 SHARED_LD_CXX="${LD} -nostart -o"
38827 ;;
38828
38829 *-*-irix* )
38830 if test "x$GCC" != "xyes"; then
38831 PIC_FLAG="-KPIC"
38832 fi
38833 ;;
38834
38835 *-*-cygwin* | *-*-mingw32* )
38836 PIC_FLAG=""
38837 SHARED_LD_CC="\$(CC) -shared -o"
38838 SHARED_LD_CXX="\$(CXX) -shared -o"
38839 WINDOWS_IMPLIB=1
38840 ;;
38841
38842 *-pc-os2_emx | *-pc-os2-emx )
38843 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38844 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38845 PIC_FLAG=""
38846
38847 D='$'
38848 cat <<EOF >dllar.sh
38849 #!/bin/sh
38850 #
38851 # dllar - a tool to build both a .dll and an .a file
38852 # from a set of object (.o) files for EMX/OS2.
38853 #
38854 # Written by Andrew Zabolotny, bit@freya.etu.ru
38855 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38856 #
38857 # This script will accept a set of files on the command line.
38858 # All the public symbols from the .o files will be exported into
38859 # a .DEF file, then linker will be run (through gcc) against them to
38860 # build a shared library consisting of all given .o files. All libraries
38861 # (.a) will be first decompressed into component .o files then act as
38862 # described above. You can optionally give a description (-d "description")
38863 # which will be put into .DLL. To see the list of accepted options (as well
38864 # as command-line format) simply run this program without options. The .DLL
38865 # is built to be imported by name (there is no guarantee that new versions
38866 # of the library you build will have same ordinals for same symbols).
38867 #
38868 # dllar is free software; you can redistribute it and/or modify
38869 # it under the terms of the GNU General Public License as published by
38870 # the Free Software Foundation; either version 2, or (at your option)
38871 # any later version.
38872 #
38873 # dllar is distributed in the hope that it will be useful,
38874 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38875 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38876 # GNU General Public License for more details.
38877 #
38878 # You should have received a copy of the GNU General Public License
38879 # along with dllar; see the file COPYING. If not, write to the Free
38880 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38881 # 02111-1307, USA.
38882
38883 # To successfuly run this program you will need:
38884 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38885 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38886 # - gcc
38887 # (used to build the .dll)
38888 # - emxexp
38889 # (used to create .def file from .o files)
38890 # - emximp
38891 # (used to create .a file from .def file)
38892 # - GNU text utilites (cat, sort, uniq)
38893 # used to process emxexp output
38894 # - GNU file utilities (mv, rm)
38895 # - GNU sed
38896 # - lxlite (optional, see flag below)
38897 # (used for general .dll cleanup)
38898 #
38899
38900 flag_USE_LXLITE=1;
38901
38902 #
38903 # helper functions
38904 # basnam, variant of basename, which does _not_ remove the path, _iff_
38905 # second argument (suffix to remove) is given
38906 basnam(){
38907 case ${D}# in
38908 1)
38909 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38910 ;;
38911 2)
38912 echo ${D}1 | sed 's/'${D}2'${D}//'
38913 ;;
38914 *)
38915 echo "error in basnam ${D}*"
38916 exit 8
38917 ;;
38918 esac
38919 }
38920
38921 # Cleanup temporary files and output
38922 CleanUp() {
38923 cd ${D}curDir
38924 for i in ${D}inputFiles ; do
38925 case ${D}i in
38926 *!)
38927 rm -rf \`basnam ${D}i !\`
38928 ;;
38929 *)
38930 ;;
38931 esac
38932 done
38933
38934 # Kill result in case of failure as there is just to many stupid make/nmake
38935 # things out there which doesn't do this.
38936 if [ ${D}# -eq 0 ]; then
38937 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38938 fi
38939 }
38940
38941 # Print usage and exit script with rc=1.
38942 PrintHelp() {
38943 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38944 echo ' [-name-mangler-script script.sh]'
38945 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38946 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38947 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38948 echo ' [*.o] [*.a]'
38949 echo '*> "output_file" should have no extension.'
38950 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38951 echo ' The import library name is derived from this and is set to "name".a,'
38952 echo ' unless overridden by -import'
38953 echo '*> "importlib_name" should have no extension.'
38954 echo ' If it has the .o, or .a extension, it is automatically removed.'
38955 echo ' This name is used as the import library name and may be longer and'
38956 echo ' more descriptive than the DLL name which has to follow the old '
38957 echo ' 8.3 convention of FAT.'
38958 echo '*> "script.sh may be given to override the output_file name by a'
38959 echo ' different name. It is mainly useful if the regular make process'
38960 echo ' of some package does not take into account OS/2 restriction of'
38961 echo ' DLL name lengths. It takes the importlib name as input and is'
38962 echo ' supposed to procude a shorter name as output. The script should'
38963 echo ' expect to get importlib_name without extension and should produce'
38964 echo ' a (max.) 8 letter name without extension.'
38965 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38966 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38967 echo ' These flags will be put at the start of GCC command line.'
38968 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38969 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38970 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38971 echo ' If the last character of a symbol is "*", all symbols beginning'
38972 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38973 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38974 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38975 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38976 echo ' C runtime DLLs.'
38977 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38978 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38979 echo ' unchanged to GCC at the end of command line.'
38980 echo '*> If you create a DLL from a library and you do not specify -o,'
38981 echo ' the basename for DLL and import library will be set to library name,'
38982 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38983 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38984 echo ' library will be renamed into gcc_s.a.'
38985 echo '--------'
38986 echo 'Example:'
38987 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38988 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38989 CleanUp
38990 exit 1
38991 }
38992
38993 # Execute a command.
38994 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38995 # @Uses Whatever CleanUp() uses.
38996 doCommand() {
38997 echo "${D}*"
38998 eval ${D}*
38999 rcCmd=${D}?
39000
39001 if [ ${D}rcCmd -ne 0 ]; then
39002 echo "command failed, exit code="${D}rcCmd
39003 CleanUp
39004 exit ${D}rcCmd
39005 fi
39006 }
39007
39008 # main routine
39009 # setup globals
39010 cmdLine=${D}*
39011 outFile=""
39012 outimpFile=""
39013 inputFiles=""
39014 renameScript=""
39015 description=""
39016 CC=gcc.exe
39017 CFLAGS="-s -Zcrtdll"
39018 EXTRA_CFLAGS=""
39019 EXPORT_BY_ORDINALS=0
39020 exclude_symbols=""
39021 library_flags=""
39022 curDir=\`pwd\`
39023 curDirS=curDir
39024 case ${D}curDirS in
39025 */)
39026 ;;
39027 *)
39028 curDirS=${D}{curDirS}"/"
39029 ;;
39030 esac
39031 # Parse commandline
39032 libsToLink=0
39033 omfLinking=0
39034 while [ ${D}1 ]; do
39035 case ${D}1 in
39036 -ord*)
39037 EXPORT_BY_ORDINALS=1;
39038 ;;
39039 -o*)
39040 shift
39041 outFile=${D}1
39042 ;;
39043 -i*)
39044 shift
39045 outimpFile=${D}1
39046 ;;
39047 -name-mangler-script)
39048 shift
39049 renameScript=${D}1
39050 ;;
39051 -d*)
39052 shift
39053 description=${D}1
39054 ;;
39055 -f*)
39056 shift
39057 CFLAGS=${D}1
39058 ;;
39059 -c*)
39060 shift
39061 CC=${D}1
39062 ;;
39063 -h*)
39064 PrintHelp
39065 ;;
39066 -ex*)
39067 shift
39068 exclude_symbols=${D}{exclude_symbols}${D}1" "
39069 ;;
39070 -libf*)
39071 shift
39072 library_flags=${D}{library_flags}${D}1" "
39073 ;;
39074 -nocrt*)
39075 CFLAGS="-s"
39076 ;;
39077 -nolxl*)
39078 flag_USE_LXLITE=0
39079 ;;
39080 -* | /*)
39081 case ${D}1 in
39082 -L* | -l*)
39083 libsToLink=1
39084 ;;
39085 -Zomf)
39086 omfLinking=1
39087 ;;
39088 *)
39089 ;;
39090 esac
39091 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39092 ;;
39093 *.dll)
39094 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39095 if [ ${D}omfLinking -eq 1 ]; then
39096 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39097 else
39098 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39099 fi
39100 ;;
39101 *)
39102 found=0;
39103 if [ ${D}libsToLink -ne 0 ]; then
39104 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39105 else
39106 for file in ${D}1 ; do
39107 if [ -f ${D}file ]; then
39108 inputFiles="${D}{inputFiles} ${D}file"
39109 found=1
39110 fi
39111 done
39112 if [ ${D}found -eq 0 ]; then
39113 echo "ERROR: No file(s) found: "${D}1
39114 exit 8
39115 fi
39116 fi
39117 ;;
39118 esac
39119 shift
39120 done # iterate cmdline words
39121
39122 #
39123 if [ -z "${D}inputFiles" ]; then
39124 echo "dllar: no input files"
39125 PrintHelp
39126 fi
39127
39128 # Now extract all .o files from .a files
39129 newInputFiles=""
39130 for file in ${D}inputFiles ; do
39131 case ${D}file in
39132 *.a | *.lib)
39133 case ${D}file in
39134 *.a)
39135 suffix=".a"
39136 AR="ar"
39137 ;;
39138 *.lib)
39139 suffix=".lib"
39140 AR="emxomfar"
39141 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39142 ;;
39143 *)
39144 ;;
39145 esac
39146 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39147 mkdir ${D}dirname
39148 if [ ${D}? -ne 0 ]; then
39149 echo "Failed to create subdirectory ./${D}dirname"
39150 CleanUp
39151 exit 8;
39152 fi
39153 # Append '!' to indicate archive
39154 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39155 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39156 cd ${D}curDir
39157 found=0;
39158 for subfile in ${D}dirname/*.o* ; do
39159 if [ -f ${D}subfile ]; then
39160 found=1
39161 if [ -s ${D}subfile ]; then
39162 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39163 newInputFiles="${D}newInputFiles ${D}subfile"
39164 fi
39165 fi
39166 done
39167 if [ ${D}found -eq 0 ]; then
39168 echo "WARNING: there are no files in archive \\'${D}file\\'"
39169 fi
39170 ;;
39171 *)
39172 newInputFiles="${D}{newInputFiles} ${D}file"
39173 ;;
39174 esac
39175 done
39176 inputFiles="${D}newInputFiles"
39177
39178 # Output filename(s).
39179 do_backup=0;
39180 if [ -z ${D}outFile ]; then
39181 do_backup=1;
39182 set outFile ${D}inputFiles; outFile=${D}2
39183 fi
39184
39185 # If it is an archive, remove the '!' and the '_%' suffixes
39186 case ${D}outFile in
39187 *_%!)
39188 outFile=\`basnam ${D}outFile _%!\`
39189 ;;
39190 *)
39191 ;;
39192 esac
39193 case ${D}outFile in
39194 *.dll)
39195 outFile=\`basnam ${D}outFile .dll\`
39196 ;;
39197 *.DLL)
39198 outFile=\`basnam ${D}outFile .DLL\`
39199 ;;
39200 *.o)
39201 outFile=\`basnam ${D}outFile .o\`
39202 ;;
39203 *.obj)
39204 outFile=\`basnam ${D}outFile .obj\`
39205 ;;
39206 *.a)
39207 outFile=\`basnam ${D}outFile .a\`
39208 ;;
39209 *.lib)
39210 outFile=\`basnam ${D}outFile .lib\`
39211 ;;
39212 *)
39213 ;;
39214 esac
39215 case ${D}outimpFile in
39216 *.a)
39217 outimpFile=\`basnam ${D}outimpFile .a\`
39218 ;;
39219 *.lib)
39220 outimpFile=\`basnam ${D}outimpFile .lib\`
39221 ;;
39222 *)
39223 ;;
39224 esac
39225 if [ -z ${D}outimpFile ]; then
39226 outimpFile=${D}outFile
39227 fi
39228 defFile="${D}{outFile}.def"
39229 arcFile="${D}{outimpFile}.a"
39230 arcFile2="${D}{outimpFile}.lib"
39231
39232 #create ${D}dllFile as something matching 8.3 restrictions,
39233 if [ -z ${D}renameScript ] ; then
39234 dllFile="${D}outFile"
39235 else
39236 dllFile=\`${D}renameScript ${D}outimpFile\`
39237 fi
39238
39239 if [ ${D}do_backup -ne 0 ] ; then
39240 if [ -f ${D}arcFile ] ; then
39241 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39242 fi
39243 if [ -f ${D}arcFile2 ] ; then
39244 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39245 fi
39246 fi
39247
39248 # Extract public symbols from all the object files.
39249 tmpdefFile=${D}{defFile}_%
39250 rm -f ${D}tmpdefFile
39251 for file in ${D}inputFiles ; do
39252 case ${D}file in
39253 *!)
39254 ;;
39255 *)
39256 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39257 ;;
39258 esac
39259 done
39260
39261 # Create the def file.
39262 rm -f ${D}defFile
39263 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39264 dllFile="${D}{dllFile}.dll"
39265 if [ ! -z ${D}description ]; then
39266 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39267 fi
39268 echo "EXPORTS" >> ${D}defFile
39269
39270 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39271 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39272
39273 # Checks if the export is ok or not.
39274 for word in ${D}exclude_symbols; do
39275 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39276 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39277 done
39278
39279
39280 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39281 sed "=" < ${D}tmpdefFile | \\
39282 sed '
39283 N
39284 : loop
39285 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39286 t loop
39287 ' > ${D}{tmpdefFile}%
39288 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39289 else
39290 rm -f ${D}{tmpdefFile}%
39291 fi
39292 cat ${D}tmpdefFile >> ${D}defFile
39293 rm -f ${D}tmpdefFile
39294
39295 # Do linking, create implib, and apply lxlite.
39296 gccCmdl="";
39297 for file in ${D}inputFiles ; do
39298 case ${D}file in
39299 *!)
39300 ;;
39301 *)
39302 gccCmdl="${D}gccCmdl ${D}file"
39303 ;;
39304 esac
39305 done
39306 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39307 touch "${D}{outFile}.dll"
39308
39309 doCommand "emximp -o ${D}arcFile ${D}defFile"
39310 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39311 add_flags="";
39312 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39313 add_flags="-ynd"
39314 fi
39315 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39316 fi
39317 doCommand "emxomf -s -l ${D}arcFile"
39318
39319 # Successful exit.
39320 CleanUp 1
39321 exit 0
39322 EOF
39323
39324 chmod +x dllar.sh
39325 ;;
39326
39327 powerpc-apple-macos* | \
39328 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39329 *-*-mirbsd* | \
39330 *-*-sunos4* | \
39331 *-*-osf* | \
39332 *-*-dgux5* | \
39333 *-*-sysv5* | \
39334 *-pc-msdosdjgpp )
39335 ;;
39336
39337 *)
39338 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39339 esac
39340
39341 if test "x$PIC_FLAG" != "x" ; then
39342 PIC_FLAG="$PIC_FLAG -DPIC"
39343 fi
39344
39345 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39346 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39347 fi
39348 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39349 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39350 fi
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360 USE_SOVERSION=0
39361 USE_SOVERLINUX=0
39362 USE_SOVERSOLARIS=0
39363 USE_SOVERCYGWIN=0
39364 USE_SOTWOSYMLINKS=0
39365 USE_MACVERSION=0
39366 SONAME_FLAG=
39367
39368 case "${BAKEFILE_HOST}" in
39369 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39370 *-*-k*bsd*-gnu | *-*-mirbsd* )
39371 if test "x$SUNCXX" = "xyes"; then
39372 SONAME_FLAG="-h "
39373 else
39374 SONAME_FLAG="-Wl,-soname,"
39375 fi
39376 USE_SOVERSION=1
39377 USE_SOVERLINUX=1
39378 USE_SOTWOSYMLINKS=1
39379 ;;
39380
39381 *-*-solaris2* )
39382 SONAME_FLAG="-h "
39383 USE_SOVERSION=1
39384 USE_SOVERSOLARIS=1
39385 ;;
39386
39387 *-*-darwin* )
39388 USE_MACVERSION=1
39389 USE_SOVERSION=1
39390 USE_SOTWOSYMLINKS=1
39391 ;;
39392
39393 *-*-cygwin* )
39394 USE_SOVERSION=1
39395 USE_SOVERCYGWIN=1
39396 ;;
39397 esac
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408 # Check whether --enable-dependency-tracking was given.
39409 if test "${enable_dependency_tracking+set}" = set; then :
39410 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39411 fi
39412
39413
39414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39415 $as_echo_n "checking for dependency tracking method... " >&6; }
39416
39417 BK_DEPS=""
39418 if test "x$bk_use_trackdeps" = "xno" ; then
39419 DEPS_TRACKING=0
39420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39421 $as_echo "disabled" >&6; }
39422 else
39423 DEPS_TRACKING=1
39424
39425 if test "x$GCC" = "xyes"; then
39426 DEPSMODE=gcc
39427 DEPSFLAG="-MMD"
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39429 $as_echo "gcc" >&6; }
39430 elif test "x$MWCC" = "xyes"; then
39431 DEPSMODE=mwcc
39432 DEPSFLAG="-MM"
39433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39434 $as_echo "mwcc" >&6; }
39435 elif test "x$SUNCC" = "xyes"; then
39436 DEPSMODE=unixcc
39437 DEPSFLAG="-xM1"
39438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39439 $as_echo "Sun cc" >&6; }
39440 elif test "x$SGICC" = "xyes"; then
39441 DEPSMODE=unixcc
39442 DEPSFLAG="-M"
39443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39444 $as_echo "SGI cc" >&6; }
39445 elif test "x$HPCC" = "xyes"; then
39446 DEPSMODE=unixcc
39447 DEPSFLAG="+make"
39448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39449 $as_echo "HP cc" >&6; }
39450 elif test "x$COMPAQCC" = "xyes"; then
39451 DEPSMODE=gcc
39452 DEPSFLAG="-MD"
39453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39454 $as_echo "Compaq cc" >&6; }
39455 else
39456 DEPS_TRACKING=0
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39458 $as_echo "none" >&6; }
39459 fi
39460
39461 if test $DEPS_TRACKING = 1 ; then
39462
39463 D='$'
39464 cat <<EOF >bk-deps
39465 #!/bin/sh
39466
39467 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39468 # script. It is used to track C/C++ files dependencies in portable way.
39469 #
39470 # Permission is given to use this file in any way.
39471
39472 DEPSMODE=${DEPSMODE}
39473 DEPSFLAG="${DEPSFLAG}"
39474 DEPSDIRBASE=.deps
39475
39476 if test ${D}DEPSMODE = gcc ; then
39477 ${D}* ${D}{DEPSFLAG}
39478 status=${D}?
39479
39480 # determine location of created files:
39481 while test ${D}# -gt 0; do
39482 case "${D}1" in
39483 -o )
39484 shift
39485 objfile=${D}1
39486 ;;
39487 -* )
39488 ;;
39489 * )
39490 srcfile=${D}1
39491 ;;
39492 esac
39493 shift
39494 done
39495 objfilebase=\`basename ${D}objfile\`
39496 builddir=\`dirname ${D}objfile\`
39497 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39498 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39499 depsdir=${D}builddir/${D}DEPSDIRBASE
39500 mkdir -p ${D}depsdir
39501
39502 # if the compiler failed, we're done:
39503 if test ${D}{status} != 0 ; then
39504 rm -f ${D}depfile
39505 exit ${D}{status}
39506 fi
39507
39508 # move created file to the location we want it in:
39509 if test -f ${D}depfile ; then
39510 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39511 rm -f ${D}depfile
39512 else
39513 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39514 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39515 if test ! -f ${D}depfile ; then
39516 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39517 depfile="${D}objfile.d"
39518 fi
39519 if test -f ${D}depfile ; then
39520 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39521 rm -f ${D}depfile
39522 fi
39523 fi
39524 exit 0
39525
39526 elif test ${D}DEPSMODE = mwcc ; then
39527 ${D}* || exit ${D}?
39528 # Run mwcc again with -MM and redirect into the dep file we want
39529 # NOTE: We can't use shift here because we need ${D}* to be valid
39530 prevarg=
39531 for arg in ${D}* ; do
39532 if test "${D}prevarg" = "-o"; then
39533 objfile=${D}arg
39534 else
39535 case "${D}arg" in
39536 -* )
39537 ;;
39538 * )
39539 srcfile=${D}arg
39540 ;;
39541 esac
39542 fi
39543 prevarg="${D}arg"
39544 done
39545
39546 objfilebase=\`basename ${D}objfile\`
39547 builddir=\`dirname ${D}objfile\`
39548 depsdir=${D}builddir/${D}DEPSDIRBASE
39549 mkdir -p ${D}depsdir
39550
39551 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39552 exit 0
39553
39554 elif test ${D}DEPSMODE = unixcc; then
39555 ${D}* || exit ${D}?
39556 # Run compiler again with deps flag and redirect into the dep file.
39557 # It doesn't work if the '-o FILE' option is used, but without it the
39558 # dependency file will contain the wrong name for the object. So it is
39559 # removed from the command line, and the dep file is fixed with sed.
39560 cmd=""
39561 while test ${D}# -gt 0; do
39562 case "${D}1" in
39563 -o )
39564 shift
39565 objfile=${D}1
39566 ;;
39567 * )
39568 eval arg${D}#=\\${D}1
39569 cmd="${D}cmd \\${D}arg${D}#"
39570 ;;
39571 esac
39572 shift
39573 done
39574
39575 objfilebase=\`basename ${D}objfile\`
39576 builddir=\`dirname ${D}objfile\`
39577 depsdir=${D}builddir/${D}DEPSDIRBASE
39578 mkdir -p ${D}depsdir
39579
39580 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39581 exit 0
39582
39583 else
39584 ${D}*
39585 exit ${D}?
39586 fi
39587 EOF
39588
39589 chmod +x bk-deps
39590 BK_DEPS="`pwd`/bk-deps"
39591 fi
39592 fi
39593
39594
39595
39596
39597
39598 case ${BAKEFILE_HOST} in
39599 *-*-cygwin* | *-*-mingw32* )
39600 if test -n "$ac_tool_prefix"; then
39601 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39602 set dummy ${ac_tool_prefix}windres; ac_word=$2
39603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39604 $as_echo_n "checking for $ac_word... " >&6; }
39605 if ${ac_cv_prog_WINDRES+:} false; then :
39606 $as_echo_n "(cached) " >&6
39607 else
39608 if test -n "$WINDRES"; then
39609 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39610 else
39611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39612 for as_dir in $PATH
39613 do
39614 IFS=$as_save_IFS
39615 test -z "$as_dir" && as_dir=.
39616 for ac_exec_ext in '' $ac_executable_extensions; do
39617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39618 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39620 break 2
39621 fi
39622 done
39623 done
39624 IFS=$as_save_IFS
39625
39626 fi
39627 fi
39628 WINDRES=$ac_cv_prog_WINDRES
39629 if test -n "$WINDRES"; then
39630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39631 $as_echo "$WINDRES" >&6; }
39632 else
39633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39634 $as_echo "no" >&6; }
39635 fi
39636
39637
39638 fi
39639 if test -z "$ac_cv_prog_WINDRES"; then
39640 ac_ct_WINDRES=$WINDRES
39641 # Extract the first word of "windres", so it can be a program name with args.
39642 set dummy windres; ac_word=$2
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39644 $as_echo_n "checking for $ac_word... " >&6; }
39645 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39646 $as_echo_n "(cached) " >&6
39647 else
39648 if test -n "$ac_ct_WINDRES"; then
39649 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39650 else
39651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39652 for as_dir in $PATH
39653 do
39654 IFS=$as_save_IFS
39655 test -z "$as_dir" && as_dir=.
39656 for ac_exec_ext in '' $ac_executable_extensions; do
39657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39658 ac_cv_prog_ac_ct_WINDRES="windres"
39659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39660 break 2
39661 fi
39662 done
39663 done
39664 IFS=$as_save_IFS
39665
39666 fi
39667 fi
39668 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39669 if test -n "$ac_ct_WINDRES"; then
39670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39671 $as_echo "$ac_ct_WINDRES" >&6; }
39672 else
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39674 $as_echo "no" >&6; }
39675 fi
39676
39677 if test "x$ac_ct_WINDRES" = x; then
39678 WINDRES=""
39679 else
39680 case $cross_compiling:$ac_tool_warned in
39681 yes:)
39682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39684 ac_tool_warned=yes ;;
39685 esac
39686 WINDRES=$ac_ct_WINDRES
39687 fi
39688 else
39689 WINDRES="$ac_cv_prog_WINDRES"
39690 fi
39691
39692 ;;
39693
39694 *-*-darwin* | powerpc-apple-macos* )
39695 # Extract the first word of "Rez", so it can be a program name with args.
39696 set dummy Rez; ac_word=$2
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39698 $as_echo_n "checking for $ac_word... " >&6; }
39699 if ${ac_cv_prog_REZ+:} false; then :
39700 $as_echo_n "(cached) " >&6
39701 else
39702 if test -n "$REZ"; then
39703 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39704 else
39705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39706 for as_dir in $PATH
39707 do
39708 IFS=$as_save_IFS
39709 test -z "$as_dir" && as_dir=.
39710 for ac_exec_ext in '' $ac_executable_extensions; do
39711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39712 ac_cv_prog_REZ="Rez"
39713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39714 break 2
39715 fi
39716 done
39717 done
39718 IFS=$as_save_IFS
39719
39720 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39721 fi
39722 fi
39723 REZ=$ac_cv_prog_REZ
39724 if test -n "$REZ"; then
39725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39726 $as_echo "$REZ" >&6; }
39727 else
39728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39729 $as_echo "no" >&6; }
39730 fi
39731
39732
39733 # Extract the first word of "SetFile", so it can be a program name with args.
39734 set dummy SetFile; ac_word=$2
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39736 $as_echo_n "checking for $ac_word... " >&6; }
39737 if ${ac_cv_prog_SETFILE+:} false; then :
39738 $as_echo_n "(cached) " >&6
39739 else
39740 if test -n "$SETFILE"; then
39741 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39742 else
39743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39744 for as_dir in $PATH
39745 do
39746 IFS=$as_save_IFS
39747 test -z "$as_dir" && as_dir=.
39748 for ac_exec_ext in '' $ac_executable_extensions; do
39749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39750 ac_cv_prog_SETFILE="SetFile"
39751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39752 break 2
39753 fi
39754 done
39755 done
39756 IFS=$as_save_IFS
39757
39758 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39759 fi
39760 fi
39761 SETFILE=$ac_cv_prog_SETFILE
39762 if test -n "$SETFILE"; then
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39764 $as_echo "$SETFILE" >&6; }
39765 else
39766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39767 $as_echo "no" >&6; }
39768 fi
39769
39770
39771 ;;
39772 esac
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39783
39784
39785 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39786
39787
39788
39789 # Check whether --enable-precomp-headers was given.
39790 if test "${enable_precomp_headers+set}" = set; then :
39791 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39792 fi
39793
39794
39795 GCC_PCH=0
39796 ICC_PCH=0
39797 USE_PCH=0
39798 BK_MAKE_PCH=""
39799
39800 case ${BAKEFILE_HOST} in
39801 *-*-cygwin* )
39802 bk_use_pch="no"
39803 ;;
39804 esac
39805
39806 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39807 if test "x$GCC" = "xyes"; then
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39809 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h. */
39812
39813 int
39814 main ()
39815 {
39816
39817 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39818 There is no PCH support
39819 #endif
39820 #if (__GNUC__ < 3)
39821 There is no PCH support
39822 #endif
39823 #if (__GNUC__ == 3) && \
39824 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39825 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39826 ( defined(__INTEL_COMPILER) )
39827 There is no PCH support
39828 #endif
39829
39830 ;
39831 return 0;
39832 }
39833 _ACEOF
39834 if ac_fn_c_try_compile "$LINENO"; then :
39835
39836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39837 $as_echo "yes" >&6; }
39838 GCC_PCH=1
39839
39840 else
39841
39842 if test "$INTELCXX8" = "yes"; then
39843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39844 $as_echo "yes" >&6; }
39845 ICC_PCH=1
39846 if test "$INTELCXX10" = "yes"; then
39847 ICC_PCH_CREATE_SWITCH="-pch-create"
39848 ICC_PCH_USE_SWITCH="-pch-use"
39849 else
39850 ICC_PCH_CREATE_SWITCH="-create-pch"
39851 ICC_PCH_USE_SWITCH="-use-pch"
39852 fi
39853 else
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39855 $as_echo "no" >&6; }
39856 fi
39857
39858 fi
39859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39860 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39861 USE_PCH=1
39862
39863 D='$'
39864 cat <<EOF >bk-make-pch
39865 #!/bin/sh
39866
39867 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39868 # script. It is used to generated precompiled headers.
39869 #
39870 # Permission is given to use this file in any way.
39871
39872 outfile="${D}{1}"
39873 header="${D}{2}"
39874 shift
39875 shift
39876
39877 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39878
39879 compiler=""
39880 headerfile=""
39881
39882 while test ${D}{#} -gt 0; do
39883 add_to_cmdline=1
39884 case "${D}{1}" in
39885 -I* )
39886 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39887 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39888 headerfile="${D}{incdir}/${D}{header}"
39889 fi
39890 ;;
39891 -use-pch|-use_pch|-pch-use )
39892 shift
39893 add_to_cmdline=0
39894 ;;
39895 esac
39896 if test ${D}add_to_cmdline = 1 ; then
39897 compiler="${D}{compiler} ${D}{1}"
39898 fi
39899 shift
39900 done
39901
39902 if test "x${D}{headerfile}" = "x" ; then
39903 echo "error: can't find header ${D}{header} in include paths" >&2
39904 else
39905 if test -f ${D}{outfile} ; then
39906 rm -f ${D}{outfile}
39907 else
39908 mkdir -p \`dirname ${D}{outfile}\`
39909 fi
39910 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39911 mkdir -p ${D}{builddir}/.deps
39912 if test "x${GCC_PCH}" = "x1" ; then
39913 # can do this because gcc is >= 3.4:
39914 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39915 elif test "x${ICC_PCH}" = "x1" ; then
39916 filename=pch_gen-${D}${D}
39917 file=${D}{filename}.c
39918 dfile=${D}{filename}.d
39919 cat > ${D}file <<EOT
39920 #include "${D}header"
39921 EOT
39922 # using -MF icc complains about differing command lines in creation/use
39923 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39924 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39925 rm -f ${D}file ${D}dfile ${D}{filename}.o
39926 fi
39927 exit ${D}{?}
39928 fi
39929 EOF
39930
39931 chmod +x bk-make-pch
39932 BK_MAKE_PCH="`pwd`/bk-make-pch"
39933 fi
39934 fi
39935 fi
39936
39937
39938
39939
39940
39941
39942
39943 COND_BUILD_DEBUG="#"
39944 if test "x$BUILD" = "xdebug" ; then
39945 COND_BUILD_DEBUG=""
39946 fi
39947
39948 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39949 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39950 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39951 fi
39952
39953 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39954 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39955 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39956 fi
39957
39958 COND_BUILD_DEBUG_UNICODE_0="#"
39959 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39960 COND_BUILD_DEBUG_UNICODE_0=""
39961 fi
39962
39963 COND_BUILD_DEBUG_UNICODE_1="#"
39964 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39965 COND_BUILD_DEBUG_UNICODE_1=""
39966 fi
39967
39968 COND_BUILD_RELEASE="#"
39969 if test "x$BUILD" = "xrelease" ; then
39970 COND_BUILD_RELEASE=""
39971 fi
39972
39973 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39974 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39975 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39976 fi
39977
39978 COND_BUILD_RELEASE_UNICODE_0="#"
39979 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39980 COND_BUILD_RELEASE_UNICODE_0=""
39981 fi
39982
39983 COND_BUILD_RELEASE_UNICODE_1="#"
39984 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39985 COND_BUILD_RELEASE_UNICODE_1=""
39986 fi
39987
39988 COND_BUILD_debug="#"
39989 if test "x$BUILD" = "xdebug" ; then
39990 COND_BUILD_debug=""
39991 fi
39992
39993 COND_BUILD_debug_DEBUG_FLAG_default="#"
39994 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39995 COND_BUILD_debug_DEBUG_FLAG_default=""
39996 fi
39997
39998 COND_BUILD_debug_DEBUG_INFO_default="#"
39999 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40000 COND_BUILD_debug_DEBUG_INFO_default=""
40001 fi
40002
40003 COND_BUILD_debug_UNICODE_0="#"
40004 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40005 COND_BUILD_debug_UNICODE_0=""
40006 fi
40007
40008 COND_BUILD_debug_UNICODE_1="#"
40009 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40010 COND_BUILD_debug_UNICODE_1=""
40011 fi
40012
40013 COND_BUILD_release="#"
40014 if test "x$BUILD" = "xrelease" ; then
40015 COND_BUILD_release=""
40016 fi
40017
40018 COND_BUILD_release_DEBUG_INFO_default="#"
40019 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40020 COND_BUILD_release_DEBUG_INFO_default=""
40021 fi
40022
40023 COND_BUILD_release_UNICODE_0="#"
40024 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40025 COND_BUILD_release_UNICODE_0=""
40026 fi
40027
40028 COND_BUILD_release_UNICODE_1="#"
40029 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40030 COND_BUILD_release_UNICODE_1=""
40031 fi
40032
40033 COND_DEBUG_FLAG_0="#"
40034 if test "x$DEBUG_FLAG" = "x0" ; then
40035 COND_DEBUG_FLAG_0=""
40036 fi
40037
40038 COND_DEBUG_FLAG_1="#"
40039 if test "x$DEBUG_FLAG" = "x1" ; then
40040 COND_DEBUG_FLAG_1=""
40041 fi
40042
40043 COND_DEBUG_INFO_0="#"
40044 if test "x$DEBUG_INFO" = "x0" ; then
40045 COND_DEBUG_INFO_0=""
40046 fi
40047
40048 COND_DEBUG_INFO_1="#"
40049 if test "x$DEBUG_INFO" = "x1" ; then
40050 COND_DEBUG_INFO_1=""
40051 fi
40052
40053 COND_DEPS_TRACKING_0="#"
40054 if test "x$DEPS_TRACKING" = "x0" ; then
40055 COND_DEPS_TRACKING_0=""
40056 fi
40057
40058 COND_DEPS_TRACKING_1="#"
40059 if test "x$DEPS_TRACKING" = "x1" ; then
40060 COND_DEPS_TRACKING_1=""
40061 fi
40062
40063 COND_GCC_PCH_1="#"
40064 if test "x$GCC_PCH" = "x1" ; then
40065 COND_GCC_PCH_1=""
40066 fi
40067
40068 COND_ICC_PCH_1="#"
40069 if test "x$ICC_PCH" = "x1" ; then
40070 COND_ICC_PCH_1=""
40071 fi
40072
40073 COND_MONOLITHIC_0="#"
40074 if test "x$MONOLITHIC" = "x0" ; then
40075 COND_MONOLITHIC_0=""
40076 fi
40077
40078 COND_MONOLITHIC_0_SHARED_0="#"
40079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40080 COND_MONOLITHIC_0_SHARED_0=""
40081 fi
40082
40083 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
40084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40085 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
40086 fi
40087
40088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40091 fi
40092
40093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
40094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
40096 fi
40097
40098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
40099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
40101 fi
40102
40103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
40104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
40106 fi
40107
40108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
40109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40110 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
40111 fi
40112
40113 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
40114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40115 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
40116 fi
40117
40118 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
40119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40120 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
40121 fi
40122
40123 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
40124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40125 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
40126 fi
40127
40128 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
40129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40130 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
40131 fi
40132
40133 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40135 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40136 fi
40137
40138 COND_MONOLITHIC_0_SHARED_1="#"
40139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40140 COND_MONOLITHIC_0_SHARED_1=""
40141 fi
40142
40143 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
40144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40145 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
40146 fi
40147
40148 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40151 fi
40152
40153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
40154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
40156 fi
40157
40158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
40159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40160 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
40161 fi
40162
40163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
40164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
40166 fi
40167
40168 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
40169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
40171 fi
40172
40173 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
40174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40175 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
40176 fi
40177
40178 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
40179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40180 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
40181 fi
40182
40183 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
40184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40185 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
40186 fi
40187
40188 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
40189 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40190 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
40191 fi
40192
40193 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40194 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40195 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40196 fi
40197
40198 COND_MONOLITHIC_0_USE_AUI_1="#"
40199 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40200 COND_MONOLITHIC_0_USE_AUI_1=""
40201 fi
40202
40203 COND_MONOLITHIC_0_USE_GUI_1="#"
40204 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40205 COND_MONOLITHIC_0_USE_GUI_1=""
40206 fi
40207
40208 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
40209 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40210 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
40211 fi
40212
40213 COND_MONOLITHIC_0_USE_HTML_1="#"
40214 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40215 COND_MONOLITHIC_0_USE_HTML_1=""
40216 fi
40217
40218 COND_MONOLITHIC_0_USE_MEDIA_1="#"
40219 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40220 COND_MONOLITHIC_0_USE_MEDIA_1=""
40221 fi
40222
40223 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
40224 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40225 COND_MONOLITHIC_0_USE_PROPGRID_1=""
40226 fi
40227
40228 COND_MONOLITHIC_0_USE_QA_1="#"
40229 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40230 COND_MONOLITHIC_0_USE_QA_1=""
40231 fi
40232
40233 COND_MONOLITHIC_0_USE_RIBBON_1="#"
40234 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40235 COND_MONOLITHIC_0_USE_RIBBON_1=""
40236 fi
40237
40238 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
40239 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40240 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
40241 fi
40242
40243 COND_MONOLITHIC_0_USE_STC_1="#"
40244 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40245 COND_MONOLITHIC_0_USE_STC_1=""
40246 fi
40247
40248 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
40249 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40250 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
40251 fi
40252
40253 COND_MONOLITHIC_0_USE_XRC_1="#"
40254 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40255 COND_MONOLITHIC_0_USE_XRC_1=""
40256 fi
40257
40258 COND_MONOLITHIC_1="#"
40259 if test "x$MONOLITHIC" = "x1" ; then
40260 COND_MONOLITHIC_1=""
40261 fi
40262
40263 COND_MONOLITHIC_1_SHARED_0="#"
40264 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40265 COND_MONOLITHIC_1_SHARED_0=""
40266 fi
40267
40268 COND_MONOLITHIC_1_SHARED_1="#"
40269 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40270 COND_MONOLITHIC_1_SHARED_1=""
40271 fi
40272
40273 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40274 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40275 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40276 fi
40277
40278 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40279 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40280 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40281 fi
40282
40283 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40284 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40285 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40286 fi
40287
40288 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40289 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40290 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40291 fi
40292
40293 COND_PLATFORM_MACOSX_1="#"
40294 if test "x$PLATFORM_MACOSX" = "x1" ; then
40295 COND_PLATFORM_MACOSX_1=""
40296 fi
40297
40298 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40299 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40300 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40301 fi
40302
40303 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40304 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40305 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40306 fi
40307
40308 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40309 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40310 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40311 fi
40312
40313 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40314 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40315 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40316 fi
40317
40318 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40319 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40320 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40321 fi
40322
40323 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40324 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40325 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40326 fi
40327
40328 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40329 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40330 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40331 fi
40332
40333 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40334 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40335 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40336 fi
40337
40338 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40339 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40340 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40341 fi
40342
40343 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40344 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40345 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40346 fi
40347
40348 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40349 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40350 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40351 fi
40352
40353 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40354 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40355 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40356 fi
40357
40358 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40359 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40360 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40361 fi
40362
40363 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40364 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40365 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40366 fi
40367
40368 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40369 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40370 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40371 fi
40372
40373 COND_PLATFORM_MACOS_1="#"
40374 if test "x$PLATFORM_MACOS" = "x1" ; then
40375 COND_PLATFORM_MACOS_1=""
40376 fi
40377
40378 COND_PLATFORM_MAC_0="#"
40379 if test "x$PLATFORM_MAC" = "x0" ; then
40380 COND_PLATFORM_MAC_0=""
40381 fi
40382
40383 COND_PLATFORM_MAC_1="#"
40384 if test "x$PLATFORM_MAC" = "x1" ; then
40385 COND_PLATFORM_MAC_1=""
40386 fi
40387
40388 COND_PLATFORM_MSDOS_0="#"
40389 if test "x$PLATFORM_MSDOS" = "x0" ; then
40390 COND_PLATFORM_MSDOS_0=""
40391 fi
40392
40393 COND_PLATFORM_MSDOS_1="#"
40394 if test "x$PLATFORM_MSDOS" = "x1" ; then
40395 COND_PLATFORM_MSDOS_1=""
40396 fi
40397
40398 COND_PLATFORM_OS2_1="#"
40399 if test "x$PLATFORM_OS2" = "x1" ; then
40400 COND_PLATFORM_OS2_1=""
40401 fi
40402
40403 COND_PLATFORM_UNIX_0="#"
40404 if test "x$PLATFORM_UNIX" = "x0" ; then
40405 COND_PLATFORM_UNIX_0=""
40406 fi
40407
40408 COND_PLATFORM_UNIX_1="#"
40409 if test "x$PLATFORM_UNIX" = "x1" ; then
40410 COND_PLATFORM_UNIX_1=""
40411 fi
40412
40413 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40414 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40415 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40416 fi
40417
40418 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40419 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40420 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40421 fi
40422
40423 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40424 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40425 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40426 fi
40427
40428 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40429 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40430 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40431 fi
40432
40433 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40434 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40435 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40436 fi
40437
40438 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40439 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40440 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40441 fi
40442
40443 COND_PLATFORM_WIN32_0="#"
40444 if test "x$PLATFORM_WIN32" = "x0" ; then
40445 COND_PLATFORM_WIN32_0=""
40446 fi
40447
40448 COND_PLATFORM_WIN32_1="#"
40449 if test "x$PLATFORM_WIN32" = "x1" ; then
40450 COND_PLATFORM_WIN32_1=""
40451 fi
40452
40453 COND_PLATFORM_WIN32_1_SHARED_0="#"
40454 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40455 COND_PLATFORM_WIN32_1_SHARED_0=""
40456 fi
40457
40458 COND_SHARED_0="#"
40459 if test "x$SHARED" = "x0" ; then
40460 COND_SHARED_0=""
40461 fi
40462
40463 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40464 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40465 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40466 fi
40467
40468 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40469 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40470 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40471 fi
40472
40473 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40474 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40475 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40476 fi
40477
40478 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40479 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40480 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40481 fi
40482
40483 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40484 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40485 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40486 fi
40487
40488 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40489 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40490 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40491 fi
40492
40493 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40494 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40495 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40496 fi
40497
40498 COND_SHARED_0_USE_STC_1="#"
40499 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40500 COND_SHARED_0_USE_STC_1=""
40501 fi
40502
40503 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40504 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40505 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40506 fi
40507
40508 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40509 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40510 COND_SHARED_0_wxUSE_REGEX_builtin=""
40511 fi
40512
40513 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40514 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40515 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40516 fi
40517
40518 COND_SHARED_1="#"
40519 if test "x$SHARED" = "x1" ; then
40520 COND_SHARED_1=""
40521 fi
40522
40523 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40524 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40525 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40526 fi
40527
40528 COND_TOOLKIT_="#"
40529 if test "x$TOOLKIT" = "x" ; then
40530 COND_TOOLKIT_=""
40531 fi
40532
40533 COND_TOOLKIT_COCOA="#"
40534 if test "x$TOOLKIT" = "xCOCOA" ; then
40535 COND_TOOLKIT_COCOA=""
40536 fi
40537
40538 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40539 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40540 COND_TOOLKIT_COCOA_USE_GUI_1=""
40541 fi
40542
40543 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40544 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40545 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40546 fi
40547
40548 COND_TOOLKIT_DFB="#"
40549 if test "x$TOOLKIT" = "xDFB" ; then
40550 COND_TOOLKIT_DFB=""
40551 fi
40552
40553 COND_TOOLKIT_DFB_USE_GUI_1="#"
40554 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40555 COND_TOOLKIT_DFB_USE_GUI_1=""
40556 fi
40557
40558 COND_TOOLKIT_GTK="#"
40559 if test "x$TOOLKIT" = "xGTK" ; then
40560 COND_TOOLKIT_GTK=""
40561 fi
40562
40563 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40564 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40565 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40566 fi
40567
40568 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40569 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40570 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40571 fi
40572
40573 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40574 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40575 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40576 fi
40577
40578 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40579 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40580 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40581 fi
40582
40583 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40584 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40585 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40586 fi
40587
40588 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40589 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40590 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40591 fi
40592
40593 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40594 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40595 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40596 fi
40597
40598 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40599 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40600 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40601 fi
40602
40603 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40604 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40605 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40606 fi
40607
40608 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40609 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40610 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40611 fi
40612
40613 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40614 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40615 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40616 fi
40617
40618 COND_TOOLKIT_GTK_USE_GUI_1="#"
40619 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40620 COND_TOOLKIT_GTK_USE_GUI_1=""
40621 fi
40622
40623 COND_TOOLKIT_MAC="#"
40624 if test "x$TOOLKIT" = "xMAC" ; then
40625 COND_TOOLKIT_MAC=""
40626 fi
40627
40628 COND_TOOLKIT_MOTIF="#"
40629 if test "x$TOOLKIT" = "xMOTIF" ; then
40630 COND_TOOLKIT_MOTIF=""
40631 fi
40632
40633 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40634 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40635 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40636 fi
40637
40638 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40639 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40640 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40641 fi
40642
40643 COND_TOOLKIT_MSW="#"
40644 if test "x$TOOLKIT" = "xMSW" ; then
40645 COND_TOOLKIT_MSW=""
40646 fi
40647
40648 COND_TOOLKIT_MSW_USE_GUI_1="#"
40649 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40650 COND_TOOLKIT_MSW_USE_GUI_1=""
40651 fi
40652
40653 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40654 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40655 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40656 fi
40657
40658 COND_TOOLKIT_MSW_WXUNIV_0="#"
40659 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40660 COND_TOOLKIT_MSW_WXUNIV_0=""
40661 fi
40662
40663 COND_TOOLKIT_OSX_CARBON="#"
40664 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40665 COND_TOOLKIT_OSX_CARBON=""
40666 fi
40667
40668 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40669 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40670 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40671 fi
40672
40673 COND_TOOLKIT_OSX_COCOA="#"
40674 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40675 COND_TOOLKIT_OSX_COCOA=""
40676 fi
40677
40678 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40679 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40680 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40681 fi
40682
40683 COND_TOOLKIT_OSX_IPHONE="#"
40684 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40685 COND_TOOLKIT_OSX_IPHONE=""
40686 fi
40687
40688 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40689 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40690 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40691 fi
40692
40693 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40694 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40695 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40696 fi
40697
40698 COND_TOOLKIT_PM="#"
40699 if test "x$TOOLKIT" = "xPM" ; then
40700 COND_TOOLKIT_PM=""
40701 fi
40702
40703 COND_TOOLKIT_PM_USE_GUI_1="#"
40704 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40705 COND_TOOLKIT_PM_USE_GUI_1=""
40706 fi
40707
40708 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40709 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40710 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40711 fi
40712
40713 COND_TOOLKIT_WINCE="#"
40714 if test "x$TOOLKIT" = "xWINCE" ; then
40715 COND_TOOLKIT_WINCE=""
40716 fi
40717
40718 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40719 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40720 COND_TOOLKIT_WINCE_USE_GUI_1=""
40721 fi
40722
40723 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40724 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40725 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40726 fi
40727
40728 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40729 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40730 COND_TOOLKIT_WINCE_WXUNIV_0=""
40731 fi
40732
40733 COND_TOOLKIT_X11="#"
40734 if test "x$TOOLKIT" = "xX11" ; then
40735 COND_TOOLKIT_X11=""
40736 fi
40737
40738 COND_TOOLKIT_X11_USE_GUI_1="#"
40739 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40740 COND_TOOLKIT_X11_USE_GUI_1=""
40741 fi
40742
40743 COND_UNICODE_1="#"
40744 if test "x$UNICODE" = "x1" ; then
40745 COND_UNICODE_1=""
40746 fi
40747
40748 COND_USE_CAIRO_1="#"
40749 if test "x$USE_CAIRO" = "x1" ; then
40750 COND_USE_CAIRO_1=""
40751 fi
40752
40753 COND_USE_EXCEPTIONS_0="#"
40754 if test "x$USE_EXCEPTIONS" = "x0" ; then
40755 COND_USE_EXCEPTIONS_0=""
40756 fi
40757
40758 COND_USE_EXCEPTIONS_1="#"
40759 if test "x$USE_EXCEPTIONS" = "x1" ; then
40760 COND_USE_EXCEPTIONS_1=""
40761 fi
40762
40763 COND_USE_GUI_0="#"
40764 if test "x$USE_GUI" = "x0" ; then
40765 COND_USE_GUI_0=""
40766 fi
40767
40768 COND_USE_GUI_1="#"
40769 if test "x$USE_GUI" = "x1" ; then
40770 COND_USE_GUI_1=""
40771 fi
40772
40773 COND_USE_GUI_1_USE_OPENGL_1="#"
40774 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40775 COND_USE_GUI_1_USE_OPENGL_1=""
40776 fi
40777
40778 COND_USE_GUI_1_WXUNIV_0="#"
40779 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40780 COND_USE_GUI_1_WXUNIV_0=""
40781 fi
40782
40783 COND_USE_GUI_1_WXUNIV_1="#"
40784 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40785 COND_USE_GUI_1_WXUNIV_1=""
40786 fi
40787
40788 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40789 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40790 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40791 fi
40792
40793 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40794 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40795 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40796 fi
40797
40798 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40799 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40800 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40801 fi
40802
40803 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40804 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40805 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40806 fi
40807
40808 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40809 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40810 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40811 fi
40812
40813 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40815 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40816 fi
40817
40818 COND_USE_OPENGL_1="#"
40819 if test "x$USE_OPENGL" = "x1" ; then
40820 COND_USE_OPENGL_1=""
40821 fi
40822
40823 COND_USE_PCH_1="#"
40824 if test "x$USE_PCH" = "x1" ; then
40825 COND_USE_PCH_1=""
40826 fi
40827
40828 COND_USE_PLUGINS_0="#"
40829 if test "x$USE_PLUGINS" = "x0" ; then
40830 COND_USE_PLUGINS_0=""
40831 fi
40832
40833 COND_USE_RTTI_0="#"
40834 if test "x$USE_RTTI" = "x0" ; then
40835 COND_USE_RTTI_0=""
40836 fi
40837
40838 COND_USE_RTTI_1="#"
40839 if test "x$USE_RTTI" = "x1" ; then
40840 COND_USE_RTTI_1=""
40841 fi
40842
40843 COND_USE_SOTWOSYMLINKS_1="#"
40844 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40845 COND_USE_SOTWOSYMLINKS_1=""
40846 fi
40847
40848 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40849 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40850 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40851 fi
40852
40853 COND_USE_SOVERLINUX_1="#"
40854 if test "x$USE_SOVERLINUX" = "x1" ; then
40855 COND_USE_SOVERLINUX_1=""
40856 fi
40857
40858 COND_USE_SOVERSION_0="#"
40859 if test "x$USE_SOVERSION" = "x0" ; then
40860 COND_USE_SOVERSION_0=""
40861 fi
40862
40863 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40864 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40865 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40866 fi
40867
40868 COND_USE_SOVERSOLARIS_1="#"
40869 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40870 COND_USE_SOVERSOLARIS_1=""
40871 fi
40872
40873 COND_USE_STC_1="#"
40874 if test "x$USE_STC" = "x1" ; then
40875 COND_USE_STC_1=""
40876 fi
40877
40878 COND_USE_THREADS_0="#"
40879 if test "x$USE_THREADS" = "x0" ; then
40880 COND_USE_THREADS_0=""
40881 fi
40882
40883 COND_USE_THREADS_1="#"
40884 if test "x$USE_THREADS" = "x1" ; then
40885 COND_USE_THREADS_1=""
40886 fi
40887
40888 COND_USE_XRC_1="#"
40889 if test "x$USE_XRC" = "x1" ; then
40890 COND_USE_XRC_1=""
40891 fi
40892
40893 COND_WINDOWS_IMPLIB_1="#"
40894 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40895 COND_WINDOWS_IMPLIB_1=""
40896 fi
40897
40898 COND_WITH_PLUGIN_SDL_1="#"
40899 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40900 COND_WITH_PLUGIN_SDL_1=""
40901 fi
40902
40903 COND_WXUNIV_0="#"
40904 if test "x$WXUNIV" = "x0" ; then
40905 COND_WXUNIV_0=""
40906 fi
40907
40908 COND_WXUNIV_1="#"
40909 if test "x$WXUNIV" = "x1" ; then
40910 COND_WXUNIV_1=""
40911 fi
40912
40913 COND_WXUSE_EXPAT_BUILTIN="#"
40914 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40915 COND_WXUSE_EXPAT_BUILTIN=""
40916 fi
40917
40918 COND_WXUSE_LIBJPEG_BUILTIN="#"
40919 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40920 COND_WXUSE_LIBJPEG_BUILTIN=""
40921 fi
40922
40923 COND_WXUSE_LIBPNG_BUILTIN="#"
40924 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40925 COND_WXUSE_LIBPNG_BUILTIN=""
40926 fi
40927
40928 COND_WXUSE_LIBTIFF_BUILTIN="#"
40929 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40930 COND_WXUSE_LIBTIFF_BUILTIN=""
40931 fi
40932
40933 COND_WXUSE_REGEX_BUILTIN="#"
40934 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40935 COND_WXUSE_REGEX_BUILTIN=""
40936 fi
40937
40938 COND_WXUSE_ZLIB_BUILTIN="#"
40939 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40940 COND_WXUSE_ZLIB_BUILTIN=""
40941 fi
40942
40943 COND_wxUSE_EXPAT_builtin="#"
40944 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40945 COND_wxUSE_EXPAT_builtin=""
40946 fi
40947
40948 COND_wxUSE_LIBJPEG_builtin="#"
40949 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40950 COND_wxUSE_LIBJPEG_builtin=""
40951 fi
40952
40953 COND_wxUSE_LIBPNG_builtin="#"
40954 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40955 COND_wxUSE_LIBPNG_builtin=""
40956 fi
40957
40958 COND_wxUSE_LIBTIFF_builtin="#"
40959 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40960 COND_wxUSE_LIBTIFF_builtin=""
40961 fi
40962
40963 COND_wxUSE_REGEX_builtin="#"
40964 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40965 COND_wxUSE_REGEX_builtin=""
40966 fi
40967
40968 COND_wxUSE_ZLIB_builtin="#"
40969 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40970 COND_wxUSE_ZLIB_builtin=""
40971 fi
40972
40973
40974
40975 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40976 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
40977 fi
40978
40979 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40980 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
40981 fi
40982
40983
40984 case ${INSTALL} in
40985 /* ) # Absolute
40986 ;;
40987 ?:* ) # Drive letter, considered as absolute.
40988 ;;
40989 *)
40990 INSTALL=`pwd`/${INSTALL} ;;
40991 esac
40992
40993 if test "$wxUSE_GUI" = "yes"; then
40994
40995 if test "$wxUSE_MSW" = 1 ; then
40996 if test "x$WINDRES" = "x"; then
40997 as_fn_error $? "Required windres program not found" "$LINENO" 5
40998 fi
40999
41000 RESCOMP="$WINDRES"
41001 fi
41002
41003 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41004 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41005 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41006
41007 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41008
41009 # Extract the first word of "DeRez", so it can be a program name with args.
41010 set dummy DeRez; ac_word=$2
41011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41012 $as_echo_n "checking for $ac_word... " >&6; }
41013 if ${ac_cv_prog_DEREZ+:} false; then :
41014 $as_echo_n "(cached) " >&6
41015 else
41016 if test -n "$DEREZ"; then
41017 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
41018 else
41019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41020 for as_dir in $PATH
41021 do
41022 IFS=$as_save_IFS
41023 test -z "$as_dir" && as_dir=.
41024 for ac_exec_ext in '' $ac_executable_extensions; do
41025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41026 ac_cv_prog_DEREZ="DeRez"
41027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41028 break 2
41029 fi
41030 done
41031 done
41032 IFS=$as_save_IFS
41033
41034 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
41035 fi
41036 fi
41037 DEREZ=$ac_cv_prog_DEREZ
41038 if test -n "$DEREZ"; then
41039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41040 $as_echo "$DEREZ" >&6; }
41041 else
41042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41043 $as_echo "no" >&6; }
41044 fi
41045
41046
41047
41048 MACSETFILE="\$(SETFILE)"
41049
41050 if test "$wxUSE_OSX_CARBON" = 1; then
41051 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41052 RESCOMP="$REZ"
41053 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
41054 else
41055 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41056 RESCOMP="cat /dev/null \| $REZ"
41057 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41058 fi
41059
41060 else
41061 MACSETFILE="@true"
41062
41063 if test "$wxUSE_PM" = 1; then
41064 RESCOMP="emxbind"
41065 WXCONFIG_RESFLAGS="-ep"
41066
41067 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
41068 else
41069 POSTLINK_COMMAND="@true"
41070 fi
41071 fi
41072
41073 fi
41074
41075
41076 if test $GCC_PCH = 1
41077 then
41078 if test "$wx_cv_gcc_pch_bug" = yes; then
41079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41080 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41082 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41084 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41085 fi
41086
41087 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41088 # the headers that benefit from precompilation are mostly C++ headers.
41089 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41090 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41091 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41092 fi
41093
41094
41095 if test "$wxUSE_MAC" = 1 ; then
41096 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41097 if test "x$disable_macosx_deps" = "xyes"; then
41098 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
41099 mv temp bk-deps
41100 chmod +x bk-deps
41101 fi
41102 fi
41103 fi
41104
41105 if test "$wxUSE_SHARED" = "yes"; then
41106 case "${host}" in
41107 *-pc-os2_emx | *-pc-os2-emx )
41108 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41109 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41110 cp -p ${srcdir}/src/os2/dllnames.sh .
41111 cp -p ${srcdir}/src/os2/dllar.sh .
41112 ;;
41113 esac
41114 fi
41115 if test "$wxUSE_OMF" = "yes"; then
41116 case "${host}" in
41117 *-pc-os2_emx | *-pc-os2-emx )
41118 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
41119 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41120 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
41121 ;;
41122 esac
41123 fi
41124
41125 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41126
41127
41128 case "${host}" in
41129 *-*-solaris2* )
41130 if test "$GCC" = yes; then
41131 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
41132 LIBS=`echo $LIBS | sed 's/-mt//g'`
41133 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41134 fi
41135 ;;
41136
41137 *-*-linux* )
41138 if test "x$SUNCXX" = xyes; then
41139 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
41140 LIBS=`echo $LIBS | sed 's/-pthread//g'`
41141 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41142 fi
41143 ;;
41144 esac
41145
41146 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
41147 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41148 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
41149 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41150
41151 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41213 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41214 set x ${MAKE-make}
41215 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41216 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
41217 $as_echo_n "(cached) " >&6
41218 else
41219 cat >conftest.make <<\_ACEOF
41220 SHELL = /bin/sh
41221 all:
41222 @echo '@@@%%%=$(MAKE)=@@@%%%'
41223 _ACEOF
41224 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41226 *@@@%%%=?*=@@@%%%*)
41227 eval ac_cv_prog_make_${ac_make}_set=yes;;
41228 *)
41229 eval ac_cv_prog_make_${ac_make}_set=no;;
41230 esac
41231 rm -f conftest.make
41232 fi
41233 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
41234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41235 $as_echo "yes" >&6; }
41236 SET_MAKE=
41237 else
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41239 $as_echo "no" >&6; }
41240 SET_MAKE="MAKE=${MAKE-make}"
41241 fi
41242
41243
41244
41245 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41246
41247
41248 if test "$USE_WIN32" = 1; then
41249 ac_config_commands="$ac_config_commands rcdefs.h"
41250
41251 fi
41252
41253 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41254
41255
41256 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41257
41258
41259 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
41260
41261
41262 if test "$wx_cv_version_script" = "yes"; then
41263 ac_config_files="$ac_config_files version-script"
41264
41265 fi
41266 ac_config_files="$ac_config_files Makefile"
41267
41268
41269 ac_config_commands="$ac_config_commands wx-config"
41270
41271
41272
41273 if test "$wxWITH_SUBDIRS" != "no"; then
41274 if test "$wxUSE_GUI" = "yes"; then
41275 SUBDIRS="samples demos utils"
41276 else
41277 SUBDIRS="samples utils"
41278 fi
41279
41280
41281
41282 # Check whether --with-cppunit-prefix was given.
41283 if test "${with_cppunit_prefix+set}" = set; then :
41284 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
41285 else
41286 cppunit_config_prefix=""
41287 fi
41288
41289
41290 # Check whether --with-cppunit-exec-prefix was given.
41291 if test "${with_cppunit_exec_prefix+set}" = set; then :
41292 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41293 else
41294 cppunit_config_exec_prefix=""
41295 fi
41296
41297
41298 if test x$cppunit_config_exec_prefix != x ; then
41299 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41300 if test x${CPPUNIT_CONFIG+set} != xset ; then
41301 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41302 fi
41303 fi
41304 if test x$cppunit_config_prefix != x ; then
41305 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41306 if test x${CPPUNIT_CONFIG+set} != xset ; then
41307 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41308 fi
41309 fi
41310
41311 # Extract the first word of "cppunit-config", so it can be a program name with args.
41312 set dummy cppunit-config; ac_word=$2
41313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41314 $as_echo_n "checking for $ac_word... " >&6; }
41315 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41316 $as_echo_n "(cached) " >&6
41317 else
41318 case $CPPUNIT_CONFIG in
41319 [\\/]* | ?:[\\/]*)
41320 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41321 ;;
41322 *)
41323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41324 for as_dir in $PATH
41325 do
41326 IFS=$as_save_IFS
41327 test -z "$as_dir" && as_dir=.
41328 for ac_exec_ext in '' $ac_executable_extensions; do
41329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41330 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41332 break 2
41333 fi
41334 done
41335 done
41336 IFS=$as_save_IFS
41337
41338 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41339 ;;
41340 esac
41341 fi
41342 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41343 if test -n "$CPPUNIT_CONFIG"; then
41344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41345 $as_echo "$CPPUNIT_CONFIG" >&6; }
41346 else
41347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41348 $as_echo "no" >&6; }
41349 fi
41350
41351
41352 cppunit_version_min=1.8.0
41353
41354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41355 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41356 no_cppunit=""
41357 if test "$CPPUNIT_CONFIG" = "no" ; then
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41359 $as_echo "no" >&6; }
41360 no_cppunit=yes
41361 else
41362 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41363 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41364 cppunit_version=`$CPPUNIT_CONFIG --version`
41365
41366 cppunit_major_version=`echo $cppunit_version | \
41367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41368 cppunit_minor_version=`echo $cppunit_version | \
41369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41370 cppunit_micro_version=`echo $cppunit_version | \
41371 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41372
41373 cppunit_major_min=`echo $cppunit_version_min | \
41374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41375 cppunit_minor_min=`echo $cppunit_version_min | \
41376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41377 cppunit_micro_min=`echo $cppunit_version_min | \
41378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41379
41380 cppunit_version_proper=`expr \
41381 $cppunit_major_version \> $cppunit_major_min \| \
41382 $cppunit_major_version \= $cppunit_major_min \& \
41383 $cppunit_minor_version \> $cppunit_minor_min \| \
41384 $cppunit_major_version \= $cppunit_major_min \& \
41385 $cppunit_minor_version \= $cppunit_minor_min \& \
41386 $cppunit_micro_version \>= $cppunit_micro_min `
41387
41388 if test "$cppunit_version_proper" = "1" ; then
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41390 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41391 else
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41393 $as_echo "no" >&6; }
41394 no_cppunit=yes
41395 fi
41396 fi
41397
41398 if test "x$no_cppunit" = x ; then
41399 SUBDIRS="$SUBDIRS tests"
41400 else
41401 CPPUNIT_CFLAGS=""
41402 CPPUNIT_LIBS=""
41403 :
41404 fi
41405
41406
41407
41408
41409
41410 for subdir in $SUBDIRS; do
41411 if test -d ${srcdir}/${subdir} ; then
41412 if test "$wxUSE_GUI" = "yes"; then
41413 if test ${subdir} = "samples"; then
41414 makefiles="samples/Makefile.in $makefiles"
41415 for sample in $SAMPLES_SUBDIRS; do
41416 if test -d $srcdir/samples/$sample; then
41417 makefiles="samples/$sample/Makefile.in $makefiles"
41418 fi
41419 done
41420 else
41421 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41422 eval "disabled=\$$disabled_var"
41423 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41424 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41425 fi
41426 else
41427 if test ${subdir} = "samples"; then
41428 makefiles="samples/Makefile.in $makefiles"
41429 for sample in `echo $SAMPLES_SUBDIRS`; do
41430 if test -d $srcdir/samples/$sample; then
41431 makefiles="samples/$sample/Makefile.in $makefiles"
41432 fi
41433 done
41434 elif test ${subdir} = "utils"; then
41435 makefiles=""
41436 for util in ifacecheck ; do
41437 if test -d $srcdir/utils/$util ; then
41438 makefiles="utils/$util/src/Makefile.in \
41439 $makefiles"
41440 fi
41441 done
41442 else
41443 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41444 fi
41445 fi
41446
41447 for mkin in $makefiles ; do
41448 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41449 ac_config_files="$ac_config_files $mk"
41450
41451 done
41452 fi
41453 done
41454 fi
41455 cat >confcache <<\_ACEOF
41456 # This file is a shell script that caches the results of configure
41457 # tests run on this system so they can be shared between configure
41458 # scripts and configure runs, see configure's option --config-cache.
41459 # It is not useful on other systems. If it contains results you don't
41460 # want to keep, you may remove or edit it.
41461 #
41462 # config.status only pays attention to the cache file if you give it
41463 # the --recheck option to rerun configure.
41464 #
41465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41467 # following values.
41468
41469 _ACEOF
41470
41471 # The following way of writing the cache mishandles newlines in values,
41472 # but we know of no workaround that is simple, portable, and efficient.
41473 # So, we kill variables containing newlines.
41474 # Ultrix sh set writes to stderr and can't be redirected directly,
41475 # and sets the high bit in the cache file unless we assign to the vars.
41476 (
41477 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41478 eval ac_val=\$$ac_var
41479 case $ac_val in #(
41480 *${as_nl}*)
41481 case $ac_var in #(
41482 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41484 esac
41485 case $ac_var in #(
41486 _ | IFS | as_nl) ;; #(
41487 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41488 *) { eval $ac_var=; unset $ac_var;} ;;
41489 esac ;;
41490 esac
41491 done
41492
41493 (set) 2>&1 |
41494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41495 *${as_nl}ac_space=\ *)
41496 # `set' does not quote correctly, so add quotes: double-quote
41497 # substitution turns \\\\ into \\, and sed turns \\ into \.
41498 sed -n \
41499 "s/'/'\\\\''/g;
41500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41501 ;; #(
41502 *)
41503 # `set' quotes correctly as required by POSIX, so do not add quotes.
41504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41505 ;;
41506 esac |
41507 sort
41508 ) |
41509 sed '
41510 /^ac_cv_env_/b end
41511 t clear
41512 :clear
41513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41514 t end
41515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41516 :end' >>confcache
41517 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41518 if test -w "$cache_file"; then
41519 if test "x$cache_file" != "x/dev/null"; then
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41521 $as_echo "$as_me: updating cache $cache_file" >&6;}
41522 if test ! -f "$cache_file" || test -h "$cache_file"; then
41523 cat confcache >"$cache_file"
41524 else
41525 case $cache_file in #(
41526 */* | ?:*)
41527 mv -f confcache "$cache_file"$$ &&
41528 mv -f "$cache_file"$$ "$cache_file" ;; #(
41529 *)
41530 mv -f confcache "$cache_file" ;;
41531 esac
41532 fi
41533 fi
41534 else
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41536 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41537 fi
41538 fi
41539 rm -f confcache
41540
41541 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41542 # Let make expand exec_prefix.
41543 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41544
41545 DEFS=-DHAVE_CONFIG_H
41546
41547 ac_libobjs=
41548 ac_ltlibobjs=
41549 U=
41550 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41551 # 1. Remove the extension, and $U if already installed.
41552 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41553 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41554 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41555 # will be set to the directory where LIBOBJS objects are built.
41556 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41557 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41558 done
41559 LIBOBJS=$ac_libobjs
41560
41561 LTLIBOBJS=$ac_ltlibobjs
41562
41563
41564
41565 : "${CONFIG_STATUS=./config.status}"
41566 ac_write_fail=0
41567 ac_clean_files_save=$ac_clean_files
41568 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41570 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41571 as_write_fail=0
41572 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41573 #! $SHELL
41574 # Generated by $as_me.
41575 # Run this file to recreate the current configuration.
41576 # Compiler output produced by configure, useful for debugging
41577 # configure, is in config.log if it exists.
41578
41579 debug=false
41580 ac_cs_recheck=false
41581 ac_cs_silent=false
41582
41583 SHELL=\${CONFIG_SHELL-$SHELL}
41584 export SHELL
41585 _ASEOF
41586 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41587 ## -------------------- ##
41588 ## M4sh Initialization. ##
41589 ## -------------------- ##
41590
41591 # Be more Bourne compatible
41592 DUALCASE=1; export DUALCASE # for MKS sh
41593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41594 emulate sh
41595 NULLCMD=:
41596 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41597 # is contrary to our usage. Disable this feature.
41598 alias -g '${1+"$@"}'='"$@"'
41599 setopt NO_GLOB_SUBST
41600 else
41601 case `(set -o) 2>/dev/null` in #(
41602 *posix*) :
41603 set -o posix ;; #(
41604 *) :
41605 ;;
41606 esac
41607 fi
41608
41609
41610 as_nl='
41611 '
41612 export as_nl
41613 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41614 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41617 # Prefer a ksh shell builtin over an external printf program on Solaris,
41618 # but without wasting forks for bash or zsh.
41619 if test -z "$BASH_VERSION$ZSH_VERSION" \
41620 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41621 as_echo='print -r --'
41622 as_echo_n='print -rn --'
41623 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41624 as_echo='printf %s\n'
41625 as_echo_n='printf %s'
41626 else
41627 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41628 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41629 as_echo_n='/usr/ucb/echo -n'
41630 else
41631 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41632 as_echo_n_body='eval
41633 arg=$1;
41634 case $arg in #(
41635 *"$as_nl"*)
41636 expr "X$arg" : "X\\(.*\\)$as_nl";
41637 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41638 esac;
41639 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41640 '
41641 export as_echo_n_body
41642 as_echo_n='sh -c $as_echo_n_body as_echo'
41643 fi
41644 export as_echo_body
41645 as_echo='sh -c $as_echo_body as_echo'
41646 fi
41647
41648 # The user is always right.
41649 if test "${PATH_SEPARATOR+set}" != set; then
41650 PATH_SEPARATOR=:
41651 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41652 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41653 PATH_SEPARATOR=';'
41654 }
41655 fi
41656
41657
41658 # IFS
41659 # We need space, tab and new line, in precisely that order. Quoting is
41660 # there to prevent editors from complaining about space-tab.
41661 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41662 # splitting by setting IFS to empty value.)
41663 IFS=" "" $as_nl"
41664
41665 # Find who we are. Look in the path if we contain no directory separator.
41666 as_myself=
41667 case $0 in #((
41668 *[\\/]* ) as_myself=$0 ;;
41669 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41670 for as_dir in $PATH
41671 do
41672 IFS=$as_save_IFS
41673 test -z "$as_dir" && as_dir=.
41674 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41675 done
41676 IFS=$as_save_IFS
41677
41678 ;;
41679 esac
41680 # We did not find ourselves, most probably we were run as `sh COMMAND'
41681 # in which case we are not to be found in the path.
41682 if test "x$as_myself" = x; then
41683 as_myself=$0
41684 fi
41685 if test ! -f "$as_myself"; then
41686 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41687 exit 1
41688 fi
41689
41690 # Unset variables that we do not need and which cause bugs (e.g. in
41691 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41692 # suppresses any "Segmentation fault" message there. '((' could
41693 # trigger a bug in pdksh 5.2.14.
41694 for as_var in BASH_ENV ENV MAIL MAILPATH
41695 do eval test x\${$as_var+set} = xset \
41696 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41697 done
41698 PS1='$ '
41699 PS2='> '
41700 PS4='+ '
41701
41702 # NLS nuisances.
41703 LC_ALL=C
41704 export LC_ALL
41705 LANGUAGE=C
41706 export LANGUAGE
41707
41708 # CDPATH.
41709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41710
41711
41712 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41713 # ----------------------------------------
41714 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41715 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41716 # script with STATUS, using 1 if that was 0.
41717 as_fn_error ()
41718 {
41719 as_status=$1; test $as_status -eq 0 && as_status=1
41720 if test "$4"; then
41721 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41722 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41723 fi
41724 $as_echo "$as_me: error: $2" >&2
41725 as_fn_exit $as_status
41726 } # as_fn_error
41727
41728
41729 # as_fn_set_status STATUS
41730 # -----------------------
41731 # Set $? to STATUS, without forking.
41732 as_fn_set_status ()
41733 {
41734 return $1
41735 } # as_fn_set_status
41736
41737 # as_fn_exit STATUS
41738 # -----------------
41739 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41740 as_fn_exit ()
41741 {
41742 set +e
41743 as_fn_set_status $1
41744 exit $1
41745 } # as_fn_exit
41746
41747 # as_fn_unset VAR
41748 # ---------------
41749 # Portably unset VAR.
41750 as_fn_unset ()
41751 {
41752 { eval $1=; unset $1;}
41753 }
41754 as_unset=as_fn_unset
41755 # as_fn_append VAR VALUE
41756 # ----------------------
41757 # Append the text in VALUE to the end of the definition contained in VAR. Take
41758 # advantage of any shell optimizations that allow amortized linear growth over
41759 # repeated appends, instead of the typical quadratic growth present in naive
41760 # implementations.
41761 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41762 eval 'as_fn_append ()
41763 {
41764 eval $1+=\$2
41765 }'
41766 else
41767 as_fn_append ()
41768 {
41769 eval $1=\$$1\$2
41770 }
41771 fi # as_fn_append
41772
41773 # as_fn_arith ARG...
41774 # ------------------
41775 # Perform arithmetic evaluation on the ARGs, and store the result in the
41776 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41777 # must be portable across $(()) and expr.
41778 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41779 eval 'as_fn_arith ()
41780 {
41781 as_val=$(( $* ))
41782 }'
41783 else
41784 as_fn_arith ()
41785 {
41786 as_val=`expr "$@" || test $? -eq 1`
41787 }
41788 fi # as_fn_arith
41789
41790
41791 if expr a : '\(a\)' >/dev/null 2>&1 &&
41792 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41793 as_expr=expr
41794 else
41795 as_expr=false
41796 fi
41797
41798 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41799 as_basename=basename
41800 else
41801 as_basename=false
41802 fi
41803
41804 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41805 as_dirname=dirname
41806 else
41807 as_dirname=false
41808 fi
41809
41810 as_me=`$as_basename -- "$0" ||
41811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41812 X"$0" : 'X\(//\)$' \| \
41813 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41814 $as_echo X/"$0" |
41815 sed '/^.*\/\([^/][^/]*\)\/*$/{
41816 s//\1/
41817 q
41818 }
41819 /^X\/\(\/\/\)$/{
41820 s//\1/
41821 q
41822 }
41823 /^X\/\(\/\).*/{
41824 s//\1/
41825 q
41826 }
41827 s/.*/./; q'`
41828
41829 # Avoid depending upon Character Ranges.
41830 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41831 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41832 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41833 as_cr_digits='0123456789'
41834 as_cr_alnum=$as_cr_Letters$as_cr_digits
41835
41836 ECHO_C= ECHO_N= ECHO_T=
41837 case `echo -n x` in #(((((
41838 -n*)
41839 case `echo 'xy\c'` in
41840 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41841 xy) ECHO_C='\c';;
41842 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41843 ECHO_T=' ';;
41844 esac;;
41845 *)
41846 ECHO_N='-n';;
41847 esac
41848
41849 rm -f conf$$ conf$$.exe conf$$.file
41850 if test -d conf$$.dir; then
41851 rm -f conf$$.dir/conf$$.file
41852 else
41853 rm -f conf$$.dir
41854 mkdir conf$$.dir 2>/dev/null
41855 fi
41856 if (echo >conf$$.file) 2>/dev/null; then
41857 if ln -s conf$$.file conf$$ 2>/dev/null; then
41858 as_ln_s='ln -s'
41859 # ... but there are two gotchas:
41860 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41861 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41862 # In both cases, we have to default to `cp -pR'.
41863 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41864 as_ln_s='cp -pR'
41865 elif ln conf$$.file conf$$ 2>/dev/null; then
41866 as_ln_s=ln
41867 else
41868 as_ln_s='cp -pR'
41869 fi
41870 else
41871 as_ln_s='cp -pR'
41872 fi
41873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41874 rmdir conf$$.dir 2>/dev/null
41875
41876
41877 # as_fn_mkdir_p
41878 # -------------
41879 # Create "$as_dir" as a directory, including parents if necessary.
41880 as_fn_mkdir_p ()
41881 {
41882
41883 case $as_dir in #(
41884 -*) as_dir=./$as_dir;;
41885 esac
41886 test -d "$as_dir" || eval $as_mkdir_p || {
41887 as_dirs=
41888 while :; do
41889 case $as_dir in #(
41890 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41891 *) as_qdir=$as_dir;;
41892 esac
41893 as_dirs="'$as_qdir' $as_dirs"
41894 as_dir=`$as_dirname -- "$as_dir" ||
41895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41896 X"$as_dir" : 'X\(//\)[^/]' \| \
41897 X"$as_dir" : 'X\(//\)$' \| \
41898 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41899 $as_echo X"$as_dir" |
41900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41901 s//\1/
41902 q
41903 }
41904 /^X\(\/\/\)[^/].*/{
41905 s//\1/
41906 q
41907 }
41908 /^X\(\/\/\)$/{
41909 s//\1/
41910 q
41911 }
41912 /^X\(\/\).*/{
41913 s//\1/
41914 q
41915 }
41916 s/.*/./; q'`
41917 test -d "$as_dir" && break
41918 done
41919 test -z "$as_dirs" || eval "mkdir $as_dirs"
41920 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41921
41922
41923 } # as_fn_mkdir_p
41924 if mkdir -p . 2>/dev/null; then
41925 as_mkdir_p='mkdir -p "$as_dir"'
41926 else
41927 test -d ./-p && rmdir ./-p
41928 as_mkdir_p=false
41929 fi
41930
41931
41932 # as_fn_executable_p FILE
41933 # -----------------------
41934 # Test if FILE is an executable regular file.
41935 as_fn_executable_p ()
41936 {
41937 test -f "$1" && test -x "$1"
41938 } # as_fn_executable_p
41939 as_test_x='test -x'
41940 as_executable_p=as_fn_executable_p
41941
41942 # Sed expression to map a string onto a valid CPP name.
41943 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41944
41945 # Sed expression to map a string onto a valid variable name.
41946 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41947
41948
41949 exec 6>&1
41950 ## ----------------------------------- ##
41951 ## Main body of $CONFIG_STATUS script. ##
41952 ## ----------------------------------- ##
41953 _ASEOF
41954 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41955
41956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41957 # Save the log message, to keep $0 and so on meaningful, and to
41958 # report actual input values of CONFIG_FILES etc. instead of their
41959 # values after options handling.
41960 ac_log="
41961 This file was extended by wxWidgets $as_me 2.9.5, which was
41962 generated by GNU Autoconf 2.69. Invocation command line was
41963
41964 CONFIG_FILES = $CONFIG_FILES
41965 CONFIG_HEADERS = $CONFIG_HEADERS
41966 CONFIG_LINKS = $CONFIG_LINKS
41967 CONFIG_COMMANDS = $CONFIG_COMMANDS
41968 $ $0 $@
41969
41970 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41971 "
41972
41973 _ACEOF
41974
41975 case $ac_config_files in *"
41976 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41977 esac
41978
41979 case $ac_config_headers in *"
41980 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41981 esac
41982
41983
41984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41985 # Files that config.status was made for.
41986 config_files="$ac_config_files"
41987 config_headers="$ac_config_headers"
41988 config_commands="$ac_config_commands"
41989
41990 _ACEOF
41991
41992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41993 ac_cs_usage="\
41994 \`$as_me' instantiates files and other configuration actions
41995 from templates according to the current configuration. Unless the files
41996 and actions are specified as TAGs, all are instantiated by default.
41997
41998 Usage: $0 [OPTION]... [TAG]...
41999
42000 -h, --help print this help, then exit
42001 -V, --version print version number and configuration settings, then exit
42002 --config print configuration, then exit
42003 -q, --quiet, --silent
42004 do not print progress messages
42005 -d, --debug don't remove temporary files
42006 --recheck update $as_me by reconfiguring in the same conditions
42007 --file=FILE[:TEMPLATE]
42008 instantiate the configuration file FILE
42009 --header=FILE[:TEMPLATE]
42010 instantiate the configuration header FILE
42011
42012 Configuration files:
42013 $config_files
42014
42015 Configuration headers:
42016 $config_headers
42017
42018 Configuration commands:
42019 $config_commands
42020
42021 Report bugs to <wx-dev@lists.wxwidgets.org>."
42022
42023 _ACEOF
42024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42025 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42026 ac_cs_version="\\
42027 wxWidgets config.status 2.9.5
42028 configured by $0, generated by GNU Autoconf 2.69,
42029 with options \\"\$ac_cs_config\\"
42030
42031 Copyright (C) 2012 Free Software Foundation, Inc.
42032 This config.status script is free software; the Free Software Foundation
42033 gives unlimited permission to copy, distribute and modify it."
42034
42035 ac_pwd='$ac_pwd'
42036 srcdir='$srcdir'
42037 INSTALL='$INSTALL'
42038 test -n "\$AWK" || AWK=awk
42039 _ACEOF
42040
42041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42042 # The default lists apply if the user does not specify any file.
42043 ac_need_defaults=:
42044 while test $# != 0
42045 do
42046 case $1 in
42047 --*=?*)
42048 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42049 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42050 ac_shift=:
42051 ;;
42052 --*=)
42053 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42054 ac_optarg=
42055 ac_shift=:
42056 ;;
42057 *)
42058 ac_option=$1
42059 ac_optarg=$2
42060 ac_shift=shift
42061 ;;
42062 esac
42063
42064 case $ac_option in
42065 # Handling of the options.
42066 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42067 ac_cs_recheck=: ;;
42068 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42069 $as_echo "$ac_cs_version"; exit ;;
42070 --config | --confi | --conf | --con | --co | --c )
42071 $as_echo "$ac_cs_config"; exit ;;
42072 --debug | --debu | --deb | --de | --d | -d )
42073 debug=: ;;
42074 --file | --fil | --fi | --f )
42075 $ac_shift
42076 case $ac_optarg in
42077 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42078 '') as_fn_error $? "missing file argument" ;;
42079 esac
42080 as_fn_append CONFIG_FILES " '$ac_optarg'"
42081 ac_need_defaults=false;;
42082 --header | --heade | --head | --hea )
42083 $ac_shift
42084 case $ac_optarg in
42085 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42086 esac
42087 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
42088 ac_need_defaults=false;;
42089 --he | --h)
42090 # Conflict between --help and --header
42091 as_fn_error $? "ambiguous option: \`$1'
42092 Try \`$0 --help' for more information.";;
42093 --help | --hel | -h )
42094 $as_echo "$ac_cs_usage"; exit ;;
42095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42096 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42097 ac_cs_silent=: ;;
42098
42099 # This is an error.
42100 -*) as_fn_error $? "unrecognized option: \`$1'
42101 Try \`$0 --help' for more information." ;;
42102
42103 *) as_fn_append ac_config_targets " $1"
42104 ac_need_defaults=false ;;
42105
42106 esac
42107 shift
42108 done
42109
42110 ac_configure_extra_args=
42111
42112 if $ac_cs_silent; then
42113 exec 6>/dev/null
42114 ac_configure_extra_args="$ac_configure_extra_args --silent"
42115 fi
42116
42117 _ACEOF
42118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42119 if \$ac_cs_recheck; then
42120 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42121 shift
42122 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42123 CONFIG_SHELL='$SHELL'
42124 export CONFIG_SHELL
42125 exec "\$@"
42126 fi
42127
42128 _ACEOF
42129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42130 exec 5>>config.log
42131 {
42132 echo
42133 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42134 ## Running $as_me. ##
42135 _ASBOX
42136 $as_echo "$ac_log"
42137 } >&5
42138
42139 _ACEOF
42140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42141 #
42142 # INIT-COMMANDS
42143 #
42144
42145 CPP="$CPP"
42146 infile="$srcdir/include/wx/msw/genrcdefs.h"
42147 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42148
42149
42150 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42151 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42152 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42153 LN_S="${LN_S}"
42154
42155
42156 _ACEOF
42157
42158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42159
42160 # Handling of arguments.
42161 for ac_config_target in $ac_config_targets
42162 do
42163 case $ac_config_target in
42164 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42165 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
42166 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42167 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42168 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42169 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
42170 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42171 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42172 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
42173
42174 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42175 esac
42176 done
42177
42178
42179 # If the user did not use the arguments to specify the items to instantiate,
42180 # then the envvar interface is used. Set only those that are not.
42181 # We use the long form for the default assignment because of an extremely
42182 # bizarre bug on SunOS 4.1.3.
42183 if $ac_need_defaults; then
42184 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42185 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42186 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42187 fi
42188
42189 # Have a temporary directory for convenience. Make it in the build tree
42190 # simply because there is no reason against having it here, and in addition,
42191 # creating and moving files from /tmp can sometimes cause problems.
42192 # Hook for its removal unless debugging.
42193 # Note that there is a small window in which the directory will not be cleaned:
42194 # after its creation but before its name has been assigned to `$tmp'.
42195 $debug ||
42196 {
42197 tmp= ac_tmp=
42198 trap 'exit_status=$?
42199 : "${ac_tmp:=$tmp}"
42200 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42201 ' 0
42202 trap 'as_fn_exit 1' 1 2 13 15
42203 }
42204 # Create a (secure) tmp directory for tmp files.
42205
42206 {
42207 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42208 test -d "$tmp"
42209 } ||
42210 {
42211 tmp=./conf$$-$RANDOM
42212 (umask 077 && mkdir "$tmp")
42213 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
42214 ac_tmp=$tmp
42215
42216 # Set up the scripts for CONFIG_FILES section.
42217 # No need to generate them if there are no CONFIG_FILES.
42218 # This happens for instance with `./config.status config.h'.
42219 if test -n "$CONFIG_FILES"; then
42220
42221
42222 ac_cr=`echo X | tr X '\015'`
42223 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42224 # But we know of no other shell where ac_cr would be empty at this
42225 # point, so we can use a bashism as a fallback.
42226 if test "x$ac_cr" = x; then
42227 eval ac_cr=\$\'\\r\'
42228 fi
42229 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42230 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42231 ac_cs_awk_cr='\\r'
42232 else
42233 ac_cs_awk_cr=$ac_cr
42234 fi
42235
42236 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42237 _ACEOF
42238
42239
42240 {
42241 echo "cat >conf$$subs.awk <<_ACEOF" &&
42242 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42243 echo "_ACEOF"
42244 } >conf$$subs.sh ||
42245 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42246 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42247 ac_delim='%!_!# '
42248 for ac_last_try in false false false false false :; do
42249 . ./conf$$subs.sh ||
42250 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42251
42252 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42253 if test $ac_delim_n = $ac_delim_num; then
42254 break
42255 elif $ac_last_try; then
42256 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
42257 else
42258 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42259 fi
42260 done
42261 rm -f conf$$subs.sh
42262
42263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42264 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
42265 _ACEOF
42266 sed -n '
42267 h
42268 s/^/S["/; s/!.*/"]=/
42269 p
42270 g
42271 s/^[^!]*!//
42272 :repl
42273 t repl
42274 s/'"$ac_delim"'$//
42275 t delim
42276 :nl
42277 h
42278 s/\(.\{148\}\)..*/\1/
42279 t more1
42280 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42281 p
42282 n
42283 b repl
42284 :more1
42285 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42286 p
42287 g
42288 s/.\{148\}//
42289 t nl
42290 :delim
42291 h
42292 s/\(.\{148\}\)..*/\1/
42293 t more2
42294 s/["\\]/\\&/g; s/^/"/; s/$/"/
42295 p
42296 b
42297 :more2
42298 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42299 p
42300 g
42301 s/.\{148\}//
42302 t delim
42303 ' <conf$$subs.awk | sed '
42304 /^[^""]/{
42305 N
42306 s/\n//
42307 }
42308 ' >>$CONFIG_STATUS || ac_write_fail=1
42309 rm -f conf$$subs.awk
42310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42311 _ACAWK
42312 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42313 for (key in S) S_is_set[key] = 1
42314 FS = "\a"
42315
42316 }
42317 {
42318 line = $ 0
42319 nfields = split(line, field, "@")
42320 substed = 0
42321 len = length(field[1])
42322 for (i = 2; i < nfields; i++) {
42323 key = field[i]
42324 keylen = length(key)
42325 if (S_is_set[key]) {
42326 value = S[key]
42327 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42328 len += length(value) + length(field[++i])
42329 substed = 1
42330 } else
42331 len += 1 + keylen
42332 }
42333
42334 print line
42335 }
42336
42337 _ACAWK
42338 _ACEOF
42339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42340 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42341 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42342 else
42343 cat
42344 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42345 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42346 _ACEOF
42347
42348 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42349 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42350 # trailing colons and then remove the whole line if VPATH becomes empty
42351 # (actually we leave an empty line to preserve line numbers).
42352 if test "x$srcdir" = x.; then
42353 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42354 h
42355 s///
42356 s/^/:/
42357 s/[ ]*$/:/
42358 s/:\$(srcdir):/:/g
42359 s/:\${srcdir}:/:/g
42360 s/:@srcdir@:/:/g
42361 s/^:*//
42362 s/:*$//
42363 x
42364 s/\(=[ ]*\).*/\1/
42365 G
42366 s/\n//
42367 s/^[^=]*=[ ]*$//
42368 }'
42369 fi
42370
42371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42372 fi # test -n "$CONFIG_FILES"
42373
42374 # Set up the scripts for CONFIG_HEADERS section.
42375 # No need to generate them if there are no CONFIG_HEADERS.
42376 # This happens for instance with `./config.status Makefile'.
42377 if test -n "$CONFIG_HEADERS"; then
42378 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42379 BEGIN {
42380 _ACEOF
42381
42382 # Transform confdefs.h into an awk script `defines.awk', embedded as
42383 # here-document in config.status, that substitutes the proper values into
42384 # config.h.in to produce config.h.
42385
42386 # Create a delimiter string that does not exist in confdefs.h, to ease
42387 # handling of long lines.
42388 ac_delim='%!_!# '
42389 for ac_last_try in false false :; do
42390 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42391 if test -z "$ac_tt"; then
42392 break
42393 elif $ac_last_try; then
42394 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42395 else
42396 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42397 fi
42398 done
42399
42400 # For the awk script, D is an array of macro values keyed by name,
42401 # likewise P contains macro parameters if any. Preserve backslash
42402 # newline sequences.
42403
42404 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42405 sed -n '
42406 s/.\{148\}/&'"$ac_delim"'/g
42407 t rset
42408 :rset
42409 s/^[ ]*#[ ]*define[ ][ ]*/ /
42410 t def
42411 d
42412 :def
42413 s/\\$//
42414 t bsnl
42415 s/["\\]/\\&/g
42416 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42417 D["\1"]=" \3"/p
42418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42419 d
42420 :bsnl
42421 s/["\\]/\\&/g
42422 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42423 D["\1"]=" \3\\\\\\n"\\/p
42424 t cont
42425 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42426 t cont
42427 d
42428 :cont
42429 n
42430 s/.\{148\}/&'"$ac_delim"'/g
42431 t clear
42432 :clear
42433 s/\\$//
42434 t bsnlc
42435 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42436 d
42437 :bsnlc
42438 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42439 b cont
42440 ' <confdefs.h | sed '
42441 s/'"$ac_delim"'/"\\\
42442 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42443
42444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42445 for (key in D) D_is_set[key] = 1
42446 FS = "\a"
42447 }
42448 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42449 line = \$ 0
42450 split(line, arg, " ")
42451 if (arg[1] == "#") {
42452 defundef = arg[2]
42453 mac1 = arg[3]
42454 } else {
42455 defundef = substr(arg[1], 2)
42456 mac1 = arg[2]
42457 }
42458 split(mac1, mac2, "(") #)
42459 macro = mac2[1]
42460 prefix = substr(line, 1, index(line, defundef) - 1)
42461 if (D_is_set[macro]) {
42462 # Preserve the white space surrounding the "#".
42463 print prefix "define", macro P[macro] D[macro]
42464 next
42465 } else {
42466 # Replace #undef with comments. This is necessary, for example,
42467 # in the case of _POSIX_SOURCE, which is predefined and required
42468 # on some systems where configure will not decide to define it.
42469 if (defundef == "undef") {
42470 print "/*", prefix defundef, macro, "*/"
42471 next
42472 }
42473 }
42474 }
42475 { print }
42476 _ACAWK
42477 _ACEOF
42478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42479 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42480 fi # test -n "$CONFIG_HEADERS"
42481
42482
42483 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42484 shift
42485 for ac_tag
42486 do
42487 case $ac_tag in
42488 :[FHLC]) ac_mode=$ac_tag; continue;;
42489 esac
42490 case $ac_mode$ac_tag in
42491 :[FHL]*:*);;
42492 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42493 :[FH]-) ac_tag=-:-;;
42494 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42495 esac
42496 ac_save_IFS=$IFS
42497 IFS=:
42498 set x $ac_tag
42499 IFS=$ac_save_IFS
42500 shift
42501 ac_file=$1
42502 shift
42503
42504 case $ac_mode in
42505 :L) ac_source=$1;;
42506 :[FH])
42507 ac_file_inputs=
42508 for ac_f
42509 do
42510 case $ac_f in
42511 -) ac_f="$ac_tmp/stdin";;
42512 *) # Look for the file first in the build tree, then in the source tree
42513 # (if the path is not absolute). The absolute path cannot be DOS-style,
42514 # because $ac_f cannot contain `:'.
42515 test -f "$ac_f" ||
42516 case $ac_f in
42517 [\\/$]*) false;;
42518 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42519 esac ||
42520 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42521 esac
42522 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42523 as_fn_append ac_file_inputs " '$ac_f'"
42524 done
42525
42526 # Let's still pretend it is `configure' which instantiates (i.e., don't
42527 # use $as_me), people would be surprised to read:
42528 # /* config.h. Generated by config.status. */
42529 configure_input='Generated from '`
42530 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42531 `' by configure.'
42532 if test x"$ac_file" != x-; then
42533 configure_input="$ac_file. $configure_input"
42534 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42535 $as_echo "$as_me: creating $ac_file" >&6;}
42536 fi
42537 # Neutralize special characters interpreted by sed in replacement strings.
42538 case $configure_input in #(
42539 *\&* | *\|* | *\\* )
42540 ac_sed_conf_input=`$as_echo "$configure_input" |
42541 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42542 *) ac_sed_conf_input=$configure_input;;
42543 esac
42544
42545 case $ac_tag in
42546 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42548 esac
42549 ;;
42550 esac
42551
42552 ac_dir=`$as_dirname -- "$ac_file" ||
42553 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42554 X"$ac_file" : 'X\(//\)[^/]' \| \
42555 X"$ac_file" : 'X\(//\)$' \| \
42556 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42557 $as_echo X"$ac_file" |
42558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42559 s//\1/
42560 q
42561 }
42562 /^X\(\/\/\)[^/].*/{
42563 s//\1/
42564 q
42565 }
42566 /^X\(\/\/\)$/{
42567 s//\1/
42568 q
42569 }
42570 /^X\(\/\).*/{
42571 s//\1/
42572 q
42573 }
42574 s/.*/./; q'`
42575 as_dir="$ac_dir"; as_fn_mkdir_p
42576 ac_builddir=.
42577
42578 case "$ac_dir" in
42579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42580 *)
42581 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42582 # A ".." for each directory in $ac_dir_suffix.
42583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42584 case $ac_top_builddir_sub in
42585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42587 esac ;;
42588 esac
42589 ac_abs_top_builddir=$ac_pwd
42590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42591 # for backward compatibility:
42592 ac_top_builddir=$ac_top_build_prefix
42593
42594 case $srcdir in
42595 .) # We are building in place.
42596 ac_srcdir=.
42597 ac_top_srcdir=$ac_top_builddir_sub
42598 ac_abs_top_srcdir=$ac_pwd ;;
42599 [\\/]* | ?:[\\/]* ) # Absolute name.
42600 ac_srcdir=$srcdir$ac_dir_suffix;
42601 ac_top_srcdir=$srcdir
42602 ac_abs_top_srcdir=$srcdir ;;
42603 *) # Relative name.
42604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42605 ac_top_srcdir=$ac_top_build_prefix$srcdir
42606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42607 esac
42608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42609
42610
42611 case $ac_mode in
42612 :F)
42613 #
42614 # CONFIG_FILE
42615 #
42616
42617 case $INSTALL in
42618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42619 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42620 esac
42621 _ACEOF
42622
42623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42624 # If the template does not know about datarootdir, expand it.
42625 # FIXME: This hack should be removed a few years after 2.60.
42626 ac_datarootdir_hack=; ac_datarootdir_seen=
42627 ac_sed_dataroot='
42628 /datarootdir/ {
42629 p
42630 q
42631 }
42632 /@datadir@/p
42633 /@docdir@/p
42634 /@infodir@/p
42635 /@localedir@/p
42636 /@mandir@/p'
42637 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42638 *datarootdir*) ac_datarootdir_seen=yes;;
42639 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42641 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42642 _ACEOF
42643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42644 ac_datarootdir_hack='
42645 s&@datadir@&$datadir&g
42646 s&@docdir@&$docdir&g
42647 s&@infodir@&$infodir&g
42648 s&@localedir@&$localedir&g
42649 s&@mandir@&$mandir&g
42650 s&\\\${datarootdir}&$datarootdir&g' ;;
42651 esac
42652 _ACEOF
42653
42654 # Neutralize VPATH when `$srcdir' = `.'.
42655 # Shell code in configure.ac might set extrasub.
42656 # FIXME: do we really want to maintain this feature?
42657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42658 ac_sed_extra="$ac_vpsub
42659 $extrasub
42660 _ACEOF
42661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42662 :t
42663 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42664 s|@configure_input@|$ac_sed_conf_input|;t t
42665 s&@top_builddir@&$ac_top_builddir_sub&;t t
42666 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42667 s&@srcdir@&$ac_srcdir&;t t
42668 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42669 s&@top_srcdir@&$ac_top_srcdir&;t t
42670 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42671 s&@builddir@&$ac_builddir&;t t
42672 s&@abs_builddir@&$ac_abs_builddir&;t t
42673 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42674 s&@INSTALL@&$ac_INSTALL&;t t
42675 $ac_datarootdir_hack
42676 "
42677 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42678 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42679
42680 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42681 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42682 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42683 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42685 which seems to be undefined. Please make sure it is defined" >&5
42686 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42687 which seems to be undefined. Please make sure it is defined" >&2;}
42688
42689 rm -f "$ac_tmp/stdin"
42690 case $ac_file in
42691 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42692 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42693 esac \
42694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42695 ;;
42696 :H)
42697 #
42698 # CONFIG_HEADER
42699 #
42700 if test x"$ac_file" != x-; then
42701 {
42702 $as_echo "/* $configure_input */" \
42703 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42704 } >"$ac_tmp/config.h" \
42705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42706 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42708 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42709 else
42710 rm -f "$ac_file"
42711 mv "$ac_tmp/config.h" "$ac_file" \
42712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42713 fi
42714 else
42715 $as_echo "/* $configure_input */" \
42716 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42717 || as_fn_error $? "could not create -" "$LINENO" 5
42718 fi
42719 ;;
42720
42721 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42722 $as_echo "$as_me: executing $ac_file commands" >&6;}
42723 ;;
42724 esac
42725
42726
42727 case $ac_file$ac_mode in
42728 "rcdefs.h":C)
42729 mkdir -p $outdir &&
42730 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42731 ;;
42732 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42733 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42734 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42735 "wx-config":C) rm -f wx-config
42736 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42737 ;;
42738
42739 esac
42740 done # for ac_tag
42741
42742
42743 as_fn_exit 0
42744 _ACEOF
42745 ac_clean_files=$ac_clean_files_save
42746
42747 test $ac_write_fail = 0 ||
42748 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42749
42750
42751 # configure is writing to config.log, and then calls config.status.
42752 # config.status does its own redirection, appending to config.log.
42753 # Unfortunately, on DOS this fails, as config.log is still kept open
42754 # by configure, so config.status won't be able to write to it; its
42755 # output is simply discarded. So we exec the FD to /dev/null,
42756 # effectively closing config.log, so it can be properly (re)opened and
42757 # appended to by config.status. When coming back to configure, we
42758 # need to make the FD available again.
42759 if test "$no_create" != yes; then
42760 ac_cs_success=:
42761 ac_config_status_args=
42762 test "$silent" = yes &&
42763 ac_config_status_args="$ac_config_status_args --quiet"
42764 exec 5>/dev/null
42765 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42766 exec 5>>config.log
42767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42768 # would make configure fail if this is the last instruction.
42769 $ac_cs_success || as_fn_exit 1
42770 fi
42771
42772 #
42773 # CONFIG_SUBDIRS section.
42774 #
42775 if test "$no_recursion" != yes; then
42776
42777 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42778 # so they do not pile up.
42779 ac_sub_configure_args=
42780 ac_prev=
42781 eval "set x $ac_configure_args"
42782 shift
42783 for ac_arg
42784 do
42785 if test -n "$ac_prev"; then
42786 ac_prev=
42787 continue
42788 fi
42789 case $ac_arg in
42790 -cache-file | --cache-file | --cache-fil | --cache-fi \
42791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42792 ac_prev=cache_file ;;
42793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42795 | --c=*)
42796 ;;
42797 --config-cache | -C)
42798 ;;
42799 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42800 ac_prev=srcdir ;;
42801 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42802 ;;
42803 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42804 ac_prev=prefix ;;
42805 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42806 ;;
42807 --disable-option-checking)
42808 ;;
42809 *)
42810 case $ac_arg in
42811 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42812 esac
42813 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42814 esac
42815 done
42816
42817 # Always prepend --prefix to ensure using the same prefix
42818 # in subdir configurations.
42819 ac_arg="--prefix=$prefix"
42820 case $ac_arg in
42821 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42822 esac
42823 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42824
42825 # Pass --silent
42826 if test "$silent" = yes; then
42827 ac_sub_configure_args="--silent $ac_sub_configure_args"
42828 fi
42829
42830 # Always prepend --disable-option-checking to silence warnings, since
42831 # different subdirs can have different --enable and --with options.
42832 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42833
42834 ac_popdir=`pwd`
42835 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42836
42837 # Do not complain, so a configure script can configure whichever
42838 # parts of a large source tree are present.
42839 test -d "$srcdir/$ac_dir" || continue
42840
42841 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42842 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42843 $as_echo "$ac_msg" >&6
42844 as_dir="$ac_dir"; as_fn_mkdir_p
42845 ac_builddir=.
42846
42847 case "$ac_dir" in
42848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42849 *)
42850 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42851 # A ".." for each directory in $ac_dir_suffix.
42852 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42853 case $ac_top_builddir_sub in
42854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42856 esac ;;
42857 esac
42858 ac_abs_top_builddir=$ac_pwd
42859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42860 # for backward compatibility:
42861 ac_top_builddir=$ac_top_build_prefix
42862
42863 case $srcdir in
42864 .) # We are building in place.
42865 ac_srcdir=.
42866 ac_top_srcdir=$ac_top_builddir_sub
42867 ac_abs_top_srcdir=$ac_pwd ;;
42868 [\\/]* | ?:[\\/]* ) # Absolute name.
42869 ac_srcdir=$srcdir$ac_dir_suffix;
42870 ac_top_srcdir=$srcdir
42871 ac_abs_top_srcdir=$srcdir ;;
42872 *) # Relative name.
42873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42874 ac_top_srcdir=$ac_top_build_prefix$srcdir
42875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42876 esac
42877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42878
42879
42880 cd "$ac_dir"
42881
42882 # Check for guested configure; otherwise get Cygnus style configure.
42883 if test -f "$ac_srcdir/configure.gnu"; then
42884 ac_sub_configure=$ac_srcdir/configure.gnu
42885 elif test -f "$ac_srcdir/configure"; then
42886 ac_sub_configure=$ac_srcdir/configure
42887 elif test -f "$ac_srcdir/configure.in"; then
42888 # This should be Cygnus configure.
42889 ac_sub_configure=$ac_aux_dir/configure
42890 else
42891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42892 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42893 ac_sub_configure=
42894 fi
42895
42896 # The recursion is here.
42897 if test -n "$ac_sub_configure"; then
42898 # Make the cache file name correct relative to the subdirectory.
42899 case $cache_file in
42900 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42901 *) # Relative name.
42902 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42903 esac
42904
42905 { $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
42906 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42907 # The eval makes quoting arguments work.
42908 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42909 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42910 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42911 fi
42912
42913 cd "$ac_popdir"
42914 done
42915 fi
42916 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42918 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42919 fi
42920
42921
42922 echo
42923 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42924 echo ""
42925 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42926 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42927 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42928 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42929 if test "$wxUSE_UNICODE" = "yes"; then
42930 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42931 echo " (using UTF-8)"
42932 else
42933 echo " (using wchar_t)"
42934 fi
42935 else
42936 echo
42937 fi
42938
42939 echo " What level of wxWidgets compatibility should be enabled?"
42940 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42941 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42942
42943 echo " Which libraries should wxWidgets use?"
42944 echo " STL ${wxUSE_STL}"
42945 echo " jpeg ${wxUSE_LIBJPEG-none}"
42946 echo " png ${wxUSE_LIBPNG-none}"
42947 echo " regex ${wxUSE_REGEX}"
42948 echo " tiff ${wxUSE_LIBTIFF-none}"
42949 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42950 echo " xpm ${wxUSE_LIBXPM-none}"
42951 fi
42952 echo " zlib ${wxUSE_ZLIB}"
42953 echo " expat ${wxUSE_EXPAT}"
42954 echo " libmspack ${wxUSE_LIBMSPACK}"
42955 echo " sdl ${wxUSE_LIBSDL}"
42956
42957 echo ""
42958