]> git.saurik.com Git - wxWidgets.git/blob - configure
adapting new osx modifier handling, fixes #14377
[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.68 for wxWidgets 2.9.4.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n'
54 as_echo_n='printf %s'
55 else
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
59 else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval
62 arg=$1;
63 case $arg in #(
64 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 esac;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 '
70 export as_echo_n_body
71 as_echo_n='sh -c $as_echo_n_body as_echo'
72 fi
73 export as_echo_body
74 as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" "" $as_nl"
93
94 # Find who we are. Look in the path if we contain no directory separator.
95 as_myself=
96 case $0 in #((
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 for as_dir in $PATH
100 do
101 IFS=$as_save_IFS
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 done
105 IFS=$as_save_IFS
106
107 ;;
108 esac
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
112 as_myself=$0
113 fi
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 exit 1
117 fi
118
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126 done
127 PS1='$ '
128 PS2='> '
129 PS4='+ '
130
131 # NLS nuisances.
132 LC_ALL=C
133 export LC_ALL
134 LANGUAGE=C
135 export LANGUAGE
136
137 # CDPATH.
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 emulate sh
143 NULLCMD=:
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 setopt NO_GLOB_SUBST
148 else
149 case \`(set -o) 2>/dev/null\` in #(
150 *posix*) :
151 set -o posix ;; #(
152 *) :
153 ;;
154 esac
155 fi
156 "
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
162
163 exitcode=0
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
170 else
171 exitcode=1; echo positional parameters were not saved.
172 fi
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev/null; then :
180 as_have_required=yes
181 else
182 as_have_required=no
183 fi
184 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
186 else
187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 as_found=false
189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 do
191 IFS=$as_save_IFS
192 test -z "$as_dir" && as_dir=.
193 as_found=:
194 case $as_dir in #(
195 /*)
196 for as_base in sh bash ksh sh5; do
197 # Try only shells that exist, to save several forks.
198 as_shell=$as_dir/$as_base
199 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 CONFIG_SHELL=$as_shell as_have_required=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 break 2
204 fi
205 fi
206 done;;
207 esac
208 as_found=false
209 done
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212 CONFIG_SHELL=$SHELL as_have_required=yes
213 fi; }
214 IFS=$as_save_IFS
215
216
217 if test "x$CONFIG_SHELL" != x; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
221 # Preserve -v and -x to the replacement shell.
222 BASH_ENV=/dev/null
223 ENV=/dev/null
224 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225 export CONFIG_SHELL
226 case $- in # ((((
227 *v*x* | *x*v* ) as_opts=-vx ;;
228 *v* ) as_opts=-v ;;
229 *x* ) as_opts=-x ;;
230 * ) as_opts= ;;
231 esac
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 fi
234
235 if test x$as_have_required = xno; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x${ZSH_VERSION+set} = xset ; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 else
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: wx-dev@lists.wxwidgets.org about your system, including
244 $0: any error possibly output before this message. Then
245 $0: install a modern shell, or manually run the script
246 $0: under such a shell if you do have one."
247 fi
248 exit 1
249 fi
250 fi
251 fi
252 SHELL=${CONFIG_SHELL-/bin/sh}
253 export SHELL
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
257
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
261 # as_fn_unset VAR
262 # ---------------
263 # Portably unset VAR.
264 as_fn_unset ()
265 {
266 { eval $1=; unset $1;}
267 }
268 as_unset=as_fn_unset
269
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
273 as_fn_set_status ()
274 {
275 return $1
276 } # as_fn_set_status
277
278 # as_fn_exit STATUS
279 # -----------------
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 as_fn_exit ()
282 {
283 set +e
284 as_fn_set_status $1
285 exit $1
286 } # as_fn_exit
287
288 # as_fn_mkdir_p
289 # -------------
290 # Create "$as_dir" as a directory, including parents if necessary.
291 as_fn_mkdir_p ()
292 {
293
294 case $as_dir in #(
295 -*) as_dir=./$as_dir;;
296 esac
297 test -d "$as_dir" || eval $as_mkdir_p || {
298 as_dirs=
299 while :; do
300 case $as_dir in #(
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302 *) as_qdir=$as_dir;;
303 esac
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\/\)[^/].*/{
316 s//\1/
317 q
318 }
319 /^X\(\/\/\)$/{
320 s//\1/
321 q
322 }
323 /^X\(\/\).*/{
324 s//\1/
325 q
326 }
327 s/.*/./; q'`
328 test -d "$as_dir" && break
329 done
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334 } # as_fn_mkdir_p
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
340 # implementations.
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
343 {
344 eval $1+=\$2
345 }'
346 else
347 as_fn_append ()
348 {
349 eval $1=\$$1\$2
350 }
351 fi # as_fn_append
352
353 # as_fn_arith ARG...
354 # ------------------
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359 eval 'as_fn_arith ()
360 {
361 as_val=$(( $* ))
362 }'
363 else
364 as_fn_arith ()
365 {
366 as_val=`expr "$@" || test $? -eq 1`
367 }
368 fi # as_fn_arith
369
370
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
376 as_fn_error ()
377 {
378 as_status=$1; test $as_status -eq 0 && as_status=1
379 if test "$4"; then
380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 fi
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
385 } # as_fn_error
386
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
389 as_expr=expr
390 else
391 as_expr=false
392 fi
393
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395 as_basename=basename
396 else
397 as_basename=false
398 fi
399
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401 as_dirname=dirname
402 else
403 as_dirname=false
404 fi
405
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 $as_echo X/"$0" |
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 s//\1/
413 q
414 }
415 /^X\/\(\/\/\)$/{
416 s//\1/
417 q
418 }
419 /^X\/\(\/\).*/{
420 s//\1/
421 q
422 }
423 s/.*/./; q'`
424
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
439 p
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
445 b
446 :lineno
447 N
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
459 . "./$as_me.lineno"
460 # Exit status is that of the last command.
461 exit
462 }
463
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
466 -n*)
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 xy) ECHO_C='\c';;
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 ECHO_T=' ';;
472 esac;;
473 *)
474 ECHO_N='-n';;
475 esac
476
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
480 else
481 rm -f conf$$.dir
482 mkdir conf$$.dir 2>/dev/null
483 fi
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 as_ln_s='ln -s'
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 as_ln_s='cp -p'
493 elif ln conf$$.file conf$$ 2>/dev/null; then
494 as_ln_s=ln
495 else
496 as_ln_s='cp -p'
497 fi
498 else
499 as_ln_s='cp -p'
500 fi
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
503
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
506 else
507 test -d ./-p && rmdir ./-p
508 as_mkdir_p=false
509 fi
510
511 if test -x / >/dev/null 2>&1; then
512 as_test_x='test -x'
513 else
514 if ls -dL / >/dev/null 2>&1; then
515 as_ls_L_option=L
516 else
517 as_ls_L_option=
518 fi
519 as_test_x='
520 eval sh -c '\''
521 if test -d "$1"; then
522 test -d "$1/.";
523 else
524 case $1 in #(
525 -*)set "./$1";;
526 esac;
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
529 '\'' sh
530 '
531 fi
532 as_executable_p=$as_test_x
533
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541 test -n "$DJDIR" || exec 7<&0 </dev/null
542 exec 6>&1
543
544 # Name of the host.
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549 #
550 # Initializations.
551 #
552 ac_default_prefix=/usr/local
553 ac_clean_files=
554 ac_config_libobj_dir=.
555 LIBOBJS=
556 cross_compiling=no
557 subdirs=
558 MFLAGS=
559 MAKEFLAGS=
560
561 # Identity of this package.
562 PACKAGE_NAME='wxWidgets'
563 PACKAGE_TARNAME='wxwidgets'
564 PACKAGE_VERSION='2.9.4'
565 PACKAGE_STRING='wxWidgets 2.9.4'
566 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
567 PACKAGE_URL=''
568
569 ac_unique_file="wx-config.in"
570 # Factoring default headers for most tests.
571 ac_includes_default="\
572 #include <stdio.h>
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
575 #endif
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
578 #endif
579 #ifdef STDC_HEADERS
580 # include <stdlib.h>
581 # include <stddef.h>
582 #else
583 # ifdef HAVE_STDLIB_H
584 # include <stdlib.h>
585 # endif
586 #endif
587 #ifdef HAVE_STRING_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 # include <memory.h>
590 # endif
591 # include <string.h>
592 #endif
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
595 #endif
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
598 #endif
599 #ifdef HAVE_STDINT_H
600 # include <stdint.h>
601 #endif
602 #ifdef HAVE_UNISTD_H
603 # include <unistd.h>
604 #endif"
605
606 enable_option_checking=no
607 ac_subst_vars='LTLIBOBJS
608 LIBOBJS
609 CPPUNIT_CONFIG
610 DLLTOOL
611 GCC
612 MACSETFILE
613 POSTLINK_COMMAND
614 LIBWXMACRES
615 WX_RESOURCES_MACOSX_DATA
616 WX_RESOURCES_MACOSX_ASCII
617 RESPROGRAMOBJ
618 RESFLAGS
619 RESCOMP
620 WX_VERSION_TAG
621 DMALLOC_LIBS
622 OPENGL_LIBS
623 LDFLAGS_GL
624 SAMPLES_SUBDIRS
625 DISTDIR
626 GUIDIST
627 WXCONFIG_RESFLAGS
628 WXCONFIG_LDFLAGS_GUI
629 WXCONFIG_LDFLAGS
630 WXCONFIG_RPATH
631 WXCONFIG_LIBS
632 WXCONFIG_CXXFLAGS
633 WXCONFIG_CFLAGS
634 WXCONFIG_CPPFLAGS
635 WX_CHARTYPE
636 WX_SUBVERSION
637 WX_VERSION
638 WX_RELEASE
639 WIDGET_SET
640 cross_compiling
641 TOOLCHAIN_FULLNAME
642 TOOLCHAIN_NAME
643 TOOLKIT_DIR
644 TOOLKIT
645 WIN32INSTALL
646 AFMINSTALL
647 USE_GUI
648 WX_LIBRARY_BASENAME_GUI
649 WX_LIBRARY_BASENAME_NOGUI
650 SHARED
651 DEREZ
652 COND_wxUSE_ZLIB_builtin
653 COND_wxUSE_REGEX_builtin
654 COND_wxUSE_LIBTIFF_builtin
655 COND_wxUSE_LIBPNG_builtin
656 COND_wxUSE_LIBJPEG_builtin
657 COND_wxUSE_EXPAT_builtin
658 COND_WXUSE_ZLIB_BUILTIN
659 COND_WXUSE_REGEX_BUILTIN
660 COND_WXUSE_LIBTIFF_BUILTIN
661 COND_WXUSE_LIBPNG_BUILTIN
662 COND_WXUSE_LIBJPEG_BUILTIN
663 COND_WXUSE_EXPAT_BUILTIN
664 COND_WXUNIV_1
665 COND_WXUNIV_0
666 COND_WITH_PLUGIN_SDL_1
667 COND_WINDOWS_IMPLIB_1
668 COND_USE_XRC_1
669 COND_USE_THREADS_1
670 COND_USE_THREADS_0
671 COND_USE_STC_1
672 COND_USE_SOVERSOLARIS_1
673 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
674 COND_USE_SOVERSION_0
675 COND_USE_SOVERLINUX_1
676 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
677 COND_USE_SOTWOSYMLINKS_1
678 COND_USE_RTTI_1
679 COND_USE_RTTI_0
680 COND_USE_PLUGINS_0
681 COND_USE_PCH_1
682 COND_USE_OPENGL_1
683 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
684 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
685 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
686 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
687 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
688 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
689 COND_USE_GUI_1_WXUNIV_1
690 COND_USE_GUI_1_WXUNIV_0
691 COND_USE_GUI_1_USE_OPENGL_1
692 COND_USE_GUI_1
693 COND_USE_GUI_0
694 COND_USE_EXCEPTIONS_1
695 COND_USE_EXCEPTIONS_0
696 COND_USE_CAIRO_1
697 COND_UNICODE_1
698 COND_TOOLKIT_X11_USE_GUI_1
699 COND_TOOLKIT_X11
700 COND_TOOLKIT_WINCE_WXUNIV_0
701 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
702 COND_TOOLKIT_WINCE_USE_GUI_1
703 COND_TOOLKIT_WINCE
704 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
705 COND_TOOLKIT_PM_USE_GUI_1
706 COND_TOOLKIT_PM
707 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
709 COND_TOOLKIT_OSX_IPHONE
710 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
711 COND_TOOLKIT_OSX_COCOA
712 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
713 COND_TOOLKIT_OSX_CARBON
714 COND_TOOLKIT_MSW_WXUNIV_0
715 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_MSW_USE_GUI_1
717 COND_TOOLKIT_MSW
718 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_MOTIF_USE_GUI_1
720 COND_TOOLKIT_MOTIF
721 COND_TOOLKIT_MAC
722 COND_TOOLKIT_GTK_USE_GUI_1
723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
726 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
729 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
734 COND_TOOLKIT_GTK
735 COND_TOOLKIT_DFB_USE_GUI_1
736 COND_TOOLKIT_DFB
737 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_COCOA_USE_GUI_1
739 COND_TOOLKIT_COCOA
740 COND_TOOLKIT_
741 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
742 COND_SHARED_1
743 COND_SHARED_0_wxUSE_ZLIB_builtin
744 COND_SHARED_0_wxUSE_REGEX_builtin
745 COND_SHARED_0_wxUSE_EXPAT_builtin
746 COND_SHARED_0_USE_STC_1
747 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
748 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
749 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
750 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
751 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
752 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
753 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
754 COND_SHARED_0
755 COND_PLATFORM_WIN32_1_SHARED_0
756 COND_PLATFORM_WIN32_1
757 COND_PLATFORM_WIN32_0
758 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
759 COND_PLATFORM_UNIX_1_USE_GUI_1
760 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
761 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
762 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
763 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
764 COND_PLATFORM_UNIX_1
765 COND_PLATFORM_UNIX_0
766 COND_PLATFORM_OS2_1
767 COND_PLATFORM_MSDOS_1
768 COND_PLATFORM_MSDOS_0
769 COND_PLATFORM_MAC_1
770 COND_PLATFORM_MAC_0
771 COND_PLATFORM_MACOS_1
772 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
773 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
774 COND_PLATFORM_MACOSX_1_USE_GUI_1
775 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
777 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
779 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
780 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
781 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
783 COND_PLATFORM_MACOSX_1
784 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
785 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
786 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
787 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
788 COND_MONOLITHIC_1_SHARED_1
789 COND_MONOLITHIC_1_SHARED_0
790 COND_MONOLITHIC_1
791 COND_MONOLITHIC_0_USE_XRC_1
792 COND_MONOLITHIC_0_USE_WEBVIEW_1
793 COND_MONOLITHIC_0_USE_STC_1
794 COND_MONOLITHIC_0_USE_RICHTEXT_1
795 COND_MONOLITHIC_0_USE_RIBBON_1
796 COND_MONOLITHIC_0_USE_QA_1
797 COND_MONOLITHIC_0_USE_PROPGRID_1
798 COND_MONOLITHIC_0_USE_MEDIA_1
799 COND_MONOLITHIC_0_USE_HTML_1
800 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
801 COND_MONOLITHIC_0_USE_GUI_1
802 COND_MONOLITHIC_0_USE_AUI_1
803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
804 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
805 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
806 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
807 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
810 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
813 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
814 COND_MONOLITHIC_0_SHARED_1
815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
817 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
818 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
819 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0
828 COND_ICC_PCH_1
829 COND_GCC_PCH_1
830 COND_DEPS_TRACKING_1
831 COND_DEPS_TRACKING_0
832 COND_DEBUG_INFO_1
833 COND_DEBUG_INFO_0
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_FLAG_0
836 COND_BUILD_release_UNICODE_1
837 COND_BUILD_release_UNICODE_0
838 COND_BUILD_release_DEBUG_INFO_default
839 COND_BUILD_release
840 COND_BUILD_debug_UNICODE_1
841 COND_BUILD_debug_UNICODE_0
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_DEBUG_FLAG_default
844 COND_BUILD_debug
845 COND_BUILD_RELEASE_UNICODE_1
846 COND_BUILD_RELEASE_UNICODE_0
847 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
848 COND_BUILD_RELEASE
849 COND_BUILD_DEBUG_UNICODE_1
850 COND_BUILD_DEBUG_UNICODE_0
851 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
852 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
853 COND_BUILD_DEBUG
854 BK_MAKE_PCH
855 ICC_PCH_USE_SWITCH
856 ICC_PCH_CREATE_SWITCH
857 ICC_PCH
858 GCC_PCH
859 OBJCXXFLAGS
860 SETFILE
861 REZ
862 WINDRES
863 BK_DEPS
864 DEPS_TRACKING
865 SONAME_FLAG
866 USE_SOTWOSYMLINKS
867 USE_MACVERSION
868 USE_SOVERCYGWIN
869 USE_SOVERSOLARIS
870 USE_SOVERLINUX
871 USE_SOVERSION
872 WINDOWS_IMPLIB
873 PIC_FLAG
874 SHARED_LD_MODULE_CXX
875 SHARED_LD_MODULE_CC
876 SHARED_LD_CXX
877 SHARED_LD_CC
878 AIX_CXX_LD
879 dlldir
880 DLLPREFIX_MODULE
881 DLLPREFIX
882 LIBEXT
883 LIBPREFIX
884 DLLIMP_SUFFIX
885 SO_SUFFIX_MODULE
886 SO_SUFFIX
887 PLATFORM_BEOS
888 PLATFORM_OS2
889 PLATFORM_MACOSX
890 PLATFORM_MACOS
891 PLATFORM_MAC
892 PLATFORM_MSDOS
893 PLATFORM_WIN32
894 PLATFORM_UNIX
895 IF_GNU_MAKE
896 LDFLAGS_GUI
897 INSTALL_DIR
898 NM
899 STRIP
900 AROPTIONS
901 MAKE_SET
902 SET_MAKE
903 LN_S
904 INSTALL_DATA
905 INSTALL_SCRIPT
906 INSTALL_PROGRAM
907 RANLIB
908 CPPUNIT_LIBS
909 CPPUNIT_CFLAGS
910 HOST_SUFFIX
911 HEADER_PAD_OPTION
912 SAMPLES_RPATH_FLAG
913 DYLIB_RPATH_POSTLINK
914 DYLIB_RPATH_INSTALL
915 TOOLKIT_VERSION
916 TOOLKIT_LOWERCASE
917 DEBUG_FLAG
918 DEBUG_INFO
919 UNICODE
920 EXTRALIBS_HILDON
921 EXTRALIBS_GNOMEVFS
922 EXTRALIBS_GNOMEPRINT
923 EXTRALIBS_GTKPRINT
924 WITH_PLUGIN_SDL
925 EXTRALIBS_STC
926 EXTRALIBS_SDL
927 EXTRALIBS_OPENGL
928 EXTRALIBS_GUI
929 EXTRALIBS_MEDIA
930 EXTRALIBS_HTML
931 EXTRALIBS_XML
932 EXTRALIBS
933 CXXWARNINGS
934 USE_PLUGINS
935 MONOLITHIC
936 WXUNIV
937 WX_LIB_FLAVOUR
938 WX_FLAVOUR
939 OFFICIAL_BUILD
940 VENDOR
941 wxUSE_LIBTIFF
942 wxUSE_LIBPNG
943 wxUSE_LIBJPEG
944 wxUSE_EXPAT
945 wxUSE_REGEX
946 wxUSE_ZLIB
947 STD_GUI_LIBS
948 STD_BASE_LIBS
949 BUILT_WX_LIBS
950 ALL_WX_LIBS
951 GST_LIBS
952 GST_CFLAGS
953 CAIRO_LIBS
954 CAIRO_CFLAGS
955 WEBKIT_LIBS
956 WEBKIT_CFLAGS
957 COND_PYTHON
958 PYTHON
959 HILDON2_LIBS
960 HILDON2_CFLAGS
961 HILDON_LIBS
962 HILDON_CFLAGS
963 GNOMEVFS_LIBS
964 GNOMEVFS_CFLAGS
965 LIBGNOMEPRINTUI_LIBS
966 LIBGNOMEPRINTUI_CFLAGS
967 GTKPRINT_LIBS
968 GTKPRINT_CFLAGS
969 SDL_LIBS
970 SDL_CFLAGS
971 SDL_CONFIG
972 GXX_VERSION
973 LIBICONV
974 CXXFLAGS_VISIBILITY
975 CFLAGS_VISIBILITY
976 MesaGL_LIBS
977 MesaGL_CFLAGS
978 GLU_LIBS
979 GLU_CFLAGS
980 GL_LIBS
981 GL_CFLAGS
982 SM_LIBS
983 SM_CFLAGS
984 Xxf86vm_LIBS
985 Xxf86vm_CFLAGS
986 Xinerama_LIBS
987 Xinerama_CFLAGS
988 PANGOXFT_LIBS
989 PANGOXFT_CFLAGS
990 PANGOFT2_LIBS
991 PANGOFT2_CFLAGS
992 PANGOX_LIBS
993 PANGOX_CFLAGS
994 X_EXTRA_LIBS
995 X_LIBS
996 X_PRE_LIBS
997 X_CFLAGS
998 XMKMF
999 DIRECTFB_LIBS
1000 DIRECTFB_CFLAGS
1001 GTK_CONFIG
1002 GTK_LIBS
1003 GTK_CFLAGS
1004 PKG_CONFIG
1005 subdirs
1006 CXXCPP
1007 OSX_SW_VERS
1008 AR
1009 ac_ct_CXX
1010 CXXFLAGS
1011 CXX
1012 EGREP
1013 GREP
1014 CPP
1015 OBJEXT
1016 EXEEXT
1017 ac_ct_CC
1018 CPPFLAGS
1019 LDFLAGS
1020 CFLAGS
1021 CC
1022 wx_top_builddir
1023 host_os
1024 host_vendor
1025 host_cpu
1026 host
1027 build_os
1028 build_vendor
1029 build_cpu
1030 build
1031 target_alias
1032 host_alias
1033 build_alias
1034 LIBS
1035 ECHO_T
1036 ECHO_N
1037 ECHO_C
1038 DEFS
1039 mandir
1040 localedir
1041 libdir
1042 psdir
1043 pdfdir
1044 dvidir
1045 htmldir
1046 infodir
1047 docdir
1048 oldincludedir
1049 includedir
1050 localstatedir
1051 sharedstatedir
1052 sysconfdir
1053 datadir
1054 datarootdir
1055 libexecdir
1056 sbindir
1057 bindir
1058 program_transform_name
1059 prefix
1060 exec_prefix
1061 PACKAGE_URL
1062 PACKAGE_BUGREPORT
1063 PACKAGE_STRING
1064 PACKAGE_VERSION
1065 PACKAGE_TARNAME
1066 PACKAGE_NAME
1067 PATH_SEPARATOR
1068 SHELL'
1069 ac_subst_files=''
1070 ac_user_opts='
1071 enable_option_checking
1072 enable_gui
1073 enable_monolithic
1074 enable_plugins
1075 with_subdirs
1076 with_flavour
1077 enable_official_build
1078 enable_vendor
1079 enable_all_features
1080 enable_universal
1081 with_themes
1082 with_gtk
1083 with_motif
1084 with_osx_carbon
1085 with_osx_cocoa
1086 with_osx_iphone
1087 with_osx
1088 with_carbon
1089 with_cocoa
1090 with_iphone
1091 with_mac
1092 with_old_cocoa
1093 with_wine
1094 with_msw
1095 with_pm
1096 with_directfb
1097 with_microwin
1098 with_x11
1099 enable_nanox
1100 enable_gpe
1101 with_libpng
1102 with_libjpeg
1103 with_libtiff
1104 with_libxpm
1105 with_libiconv
1106 with_libmspack
1107 with_gtkprint
1108 with_gnomeprint
1109 with_gnomevfs
1110 with_hildon
1111 with_opengl
1112 with_dmalloc
1113 with_sdl
1114 with_regex
1115 with_zlib
1116 with_expat
1117 with_macosx_sdk
1118 with_macosx_version_min
1119 enable_debug
1120 enable_debug_flag
1121 enable_debug_info
1122 enable_debug_gdb
1123 enable_debug_cntxt
1124 enable_mem_tracing
1125 enable_shared
1126 enable_stl
1127 enable_std_containers
1128 enable_std_iostreams
1129 enable_std_string
1130 enable_std_string_conv_in_wxstring
1131 enable_unicode
1132 enable_mslu
1133 enable_utf8
1134 enable_utf8only
1135 enable_extended_rtti
1136 enable_omf
1137 enable_optimise
1138 enable_profile
1139 enable_no_rtti
1140 enable_no_exceptions
1141 enable_permissive
1142 enable_no_deps
1143 enable_vararg_macros
1144 enable_universal_binary
1145 enable_macosx_arch
1146 enable_compat26
1147 enable_compat28
1148 enable_rpath
1149 enable_objc_uniquifying
1150 enable_visibility
1151 enable_tls
1152 enable_intl
1153 enable_xlocale
1154 enable_config
1155 enable_protocols
1156 enable_ftp
1157 enable_http
1158 enable_fileproto
1159 enable_sockets
1160 enable_ipv6
1161 enable_ole
1162 enable_dataobj
1163 enable_ipc
1164 enable_baseevtloop
1165 enable_epollloop
1166 enable_selectloop
1167 enable_any
1168 enable_apple_ieee
1169 enable_arcstream
1170 enable_base64
1171 enable_backtrace
1172 enable_catch_segvs
1173 enable_cmdline
1174 enable_datetime
1175 enable_debugreport
1176 enable_dialupman
1177 enable_dynlib
1178 enable_dynamicloader
1179 enable_exceptions
1180 enable_ffile
1181 enable_file
1182 enable_filehistory
1183 enable_filesystem
1184 enable_fontenum
1185 enable_fontmap
1186 enable_fs_archive
1187 enable_fs_inet
1188 enable_fs_zip
1189 enable_fswatcher
1190 enable_geometry
1191 enable_log
1192 enable_longlong
1193 enable_mimetype
1194 enable_printfposparam
1195 enable_snglinst
1196 enable_sound
1197 enable_stdpaths
1198 enable_stopwatch
1199 enable_streams
1200 enable_sysoptions
1201 enable_tarstream
1202 enable_textbuf
1203 enable_textfile
1204 enable_timer
1205 enable_variant
1206 enable_zipstream
1207 enable_url
1208 enable_protocol
1209 enable_protocol_http
1210 enable_protocol_ftp
1211 enable_protocol_file
1212 enable_threads
1213 enable_iniconf
1214 enable_regkey
1215 enable_docview
1216 enable_help
1217 enable_mshtmlhelp
1218 enable_html
1219 enable_htmlhelp
1220 enable_xrc
1221 enable_aui
1222 enable_propgrid
1223 enable_ribbon
1224 enable_stc
1225 enable_constraints
1226 enable_loggui
1227 enable_logwin
1228 enable_logdialog
1229 enable_mdi
1230 enable_mdidoc
1231 enable_mediactrl
1232 enable_gstreamer8
1233 enable_richtext
1234 enable_postscript
1235 enable_printarch
1236 enable_svg
1237 enable_webkit
1238 enable_webview
1239 enable_graphics_ctx
1240 enable_clipboard
1241 enable_dnd
1242 enable_controls
1243 enable_markup
1244 enable_accel
1245 enable_animatectrl
1246 enable_bannerwindow
1247 enable_artstd
1248 enable_arttango
1249 enable_bmpbutton
1250 enable_bmpcombobox
1251 enable_button
1252 enable_calendar
1253 enable_caret
1254 enable_checkbox
1255 enable_checklst
1256 enable_choice
1257 enable_choicebook
1258 enable_collpane
1259 enable_colourpicker
1260 enable_combobox
1261 enable_comboctrl
1262 enable_commandlinkbutton
1263 enable_dataviewctrl
1264 enable_datepick
1265 enable_detect_sm
1266 enable_dirpicker
1267 enable_display
1268 enable_editablebox
1269 enable_filectrl
1270 enable_filepicker
1271 enable_fontpicker
1272 enable_gauge
1273 enable_grid
1274 enable_headerctrl
1275 enable_hyperlink
1276 enable_imaglist
1277 enable_infobar
1278 enable_listbook
1279 enable_listbox
1280 enable_listctrl
1281 enable_notebook
1282 enable_notifmsg
1283 enable_odcombobox
1284 enable_popupwin
1285 enable_radiobox
1286 enable_radiobtn
1287 enable_richmsgdlg
1288 enable_richtooltip
1289 enable_rearrangectrl
1290 enable_sash
1291 enable_scrollbar
1292 enable_searchctrl
1293 enable_slider
1294 enable_spinbtn
1295 enable_spinctrl
1296 enable_splitter
1297 enable_statbmp
1298 enable_statbox
1299 enable_statline
1300 enable_stattext
1301 enable_statusbar
1302 enable_taskbaricon
1303 enable_tbarnative
1304 enable_textctrl
1305 enable_tipwindow
1306 enable_togglebtn
1307 enable_toolbar
1308 enable_toolbook
1309 enable_treebook
1310 enable_treectrl
1311 enable_treelist
1312 enable_commondlg
1313 enable_aboutdlg
1314 enable_choicedlg
1315 enable_coldlg
1316 enable_filedlg
1317 enable_finddlg
1318 enable_fontdlg
1319 enable_dirdlg
1320 enable_msgdlg
1321 enable_numberdlg
1322 enable_splash
1323 enable_textdlg
1324 enable_tipdlg
1325 enable_progressdlg
1326 enable_wizarddlg
1327 enable_menus
1328 enable_miniframe
1329 enable_tooltips
1330 enable_splines
1331 enable_mousewheel
1332 enable_validators
1333 enable_busyinfo
1334 enable_hotkey
1335 enable_joystick
1336 enable_metafile
1337 enable_dragimage
1338 enable_accessibility
1339 enable_uiactionsim
1340 enable_dctransform
1341 enable_webviewwebkit
1342 enable_palette
1343 enable_image
1344 enable_gif
1345 enable_pcx
1346 enable_tga
1347 enable_iff
1348 enable_pnm
1349 enable_xpm
1350 enable_ico_cur
1351 enable_dccache
1352 enable_ps_in_msw
1353 enable_ownerdrawn
1354 enable_uxtheme
1355 enable_wxdib
1356 enable_webviewie
1357 enable_autoidman
1358 enable_largefile
1359 enable_gtktest
1360 with_gtk_prefix
1361 with_gtk_exec_prefix
1362 with_x
1363 with_libiconv_prefix
1364 with_sdl_prefix
1365 with_sdl_exec_prefix
1366 enable_sdltest
1367 enable_dependency_tracking
1368 enable_precomp_headers
1369 with_cppunit_prefix
1370 with_cppunit_exec_prefix
1371 '
1372 ac_precious_vars='build_alias
1373 host_alias
1374 target_alias
1375 CC
1376 CFLAGS
1377 LDFLAGS
1378 LIBS
1379 CPPFLAGS
1380 CPP
1381 CXX
1382 CXXFLAGS
1383 CCC
1384 CXXCPP
1385 PKG_CONFIG
1386 DIRECTFB_CFLAGS
1387 DIRECTFB_LIBS
1388 XMKMF
1389 PANGOX_CFLAGS
1390 PANGOX_LIBS
1391 PANGOFT2_CFLAGS
1392 PANGOFT2_LIBS
1393 PANGOXFT_CFLAGS
1394 PANGOXFT_LIBS
1395 Xinerama_CFLAGS
1396 Xinerama_LIBS
1397 Xxf86vm_CFLAGS
1398 Xxf86vm_LIBS
1399 SM_CFLAGS
1400 SM_LIBS
1401 GL_CFLAGS
1402 GL_LIBS
1403 GLU_CFLAGS
1404 GLU_LIBS
1405 MesaGL_CFLAGS
1406 MesaGL_LIBS
1407 GTKPRINT_CFLAGS
1408 GTKPRINT_LIBS
1409 LIBGNOMEPRINTUI_CFLAGS
1410 LIBGNOMEPRINTUI_LIBS
1411 GNOMEVFS_CFLAGS
1412 GNOMEVFS_LIBS
1413 HILDON_CFLAGS
1414 HILDON_LIBS
1415 HILDON2_CFLAGS
1416 HILDON2_LIBS
1417 WEBKIT_CFLAGS
1418 WEBKIT_LIBS
1419 CAIRO_CFLAGS
1420 CAIRO_LIBS
1421 GST_CFLAGS
1422 GST_LIBS'
1423 ac_subdirs_all='src/tiff
1424 src/expat'
1425
1426 # Initialize some variables set by options.
1427 ac_init_help=
1428 ac_init_version=false
1429 ac_unrecognized_opts=
1430 ac_unrecognized_sep=
1431 # The variables have the same names as the options, with
1432 # dashes changed to underlines.
1433 cache_file=/dev/null
1434 exec_prefix=NONE
1435 no_create=
1436 no_recursion=
1437 prefix=NONE
1438 program_prefix=NONE
1439 program_suffix=NONE
1440 program_transform_name=s,x,x,
1441 silent=
1442 site=
1443 srcdir=
1444 verbose=
1445 x_includes=NONE
1446 x_libraries=NONE
1447
1448 # Installation directory options.
1449 # These are left unexpanded so users can "make install exec_prefix=/foo"
1450 # and all the variables that are supposed to be based on exec_prefix
1451 # by default will actually change.
1452 # Use braces instead of parens because sh, perl, etc. also accept them.
1453 # (The list follows the same order as the GNU Coding Standards.)
1454 bindir='${exec_prefix}/bin'
1455 sbindir='${exec_prefix}/sbin'
1456 libexecdir='${exec_prefix}/libexec'
1457 datarootdir='${prefix}/share'
1458 datadir='${datarootdir}'
1459 sysconfdir='${prefix}/etc'
1460 sharedstatedir='${prefix}/com'
1461 localstatedir='${prefix}/var'
1462 includedir='${prefix}/include'
1463 oldincludedir='/usr/include'
1464 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1465 infodir='${datarootdir}/info'
1466 htmldir='${docdir}'
1467 dvidir='${docdir}'
1468 pdfdir='${docdir}'
1469 psdir='${docdir}'
1470 libdir='${exec_prefix}/lib'
1471 localedir='${datarootdir}/locale'
1472 mandir='${datarootdir}/man'
1473
1474 ac_prev=
1475 ac_dashdash=
1476 for ac_option
1477 do
1478 # If the previous option needs an argument, assign it.
1479 if test -n "$ac_prev"; then
1480 eval $ac_prev=\$ac_option
1481 ac_prev=
1482 continue
1483 fi
1484
1485 case $ac_option in
1486 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1487 *=) ac_optarg= ;;
1488 *) ac_optarg=yes ;;
1489 esac
1490
1491 # Accept the important Cygnus configure options, so we can diagnose typos.
1492
1493 case $ac_dashdash$ac_option in
1494 --)
1495 ac_dashdash=yes ;;
1496
1497 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1498 ac_prev=bindir ;;
1499 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1500 bindir=$ac_optarg ;;
1501
1502 -build | --build | --buil | --bui | --bu)
1503 ac_prev=build_alias ;;
1504 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1505 build_alias=$ac_optarg ;;
1506
1507 -cache-file | --cache-file | --cache-fil | --cache-fi \
1508 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1509 ac_prev=cache_file ;;
1510 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1511 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1512 cache_file=$ac_optarg ;;
1513
1514 --config-cache | -C)
1515 cache_file=config.cache ;;
1516
1517 -datadir | --datadir | --datadi | --datad)
1518 ac_prev=datadir ;;
1519 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1520 datadir=$ac_optarg ;;
1521
1522 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1523 | --dataroo | --dataro | --datar)
1524 ac_prev=datarootdir ;;
1525 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1526 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1527 datarootdir=$ac_optarg ;;
1528
1529 -disable-* | --disable-*)
1530 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1531 # Reject names that are not valid shell variable names.
1532 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1533 as_fn_error $? "invalid feature name: $ac_useropt"
1534 ac_useropt_orig=$ac_useropt
1535 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1536 case $ac_user_opts in
1537 *"
1538 "enable_$ac_useropt"
1539 "*) ;;
1540 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1541 ac_unrecognized_sep=', ';;
1542 esac
1543 eval enable_$ac_useropt=no ;;
1544
1545 -docdir | --docdir | --docdi | --doc | --do)
1546 ac_prev=docdir ;;
1547 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1548 docdir=$ac_optarg ;;
1549
1550 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1551 ac_prev=dvidir ;;
1552 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1553 dvidir=$ac_optarg ;;
1554
1555 -enable-* | --enable-*)
1556 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1557 # Reject names that are not valid shell variable names.
1558 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1559 as_fn_error $? "invalid feature name: $ac_useropt"
1560 ac_useropt_orig=$ac_useropt
1561 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1562 case $ac_user_opts in
1563 *"
1564 "enable_$ac_useropt"
1565 "*) ;;
1566 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1567 ac_unrecognized_sep=', ';;
1568 esac
1569 eval enable_$ac_useropt=\$ac_optarg ;;
1570
1571 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1572 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1573 | --exec | --exe | --ex)
1574 ac_prev=exec_prefix ;;
1575 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1576 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1577 | --exec=* | --exe=* | --ex=*)
1578 exec_prefix=$ac_optarg ;;
1579
1580 -gas | --gas | --ga | --g)
1581 # Obsolete; use --with-gas.
1582 with_gas=yes ;;
1583
1584 -help | --help | --hel | --he | -h)
1585 ac_init_help=long ;;
1586 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1587 ac_init_help=recursive ;;
1588 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1589 ac_init_help=short ;;
1590
1591 -host | --host | --hos | --ho)
1592 ac_prev=host_alias ;;
1593 -host=* | --host=* | --hos=* | --ho=*)
1594 host_alias=$ac_optarg ;;
1595
1596 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1597 ac_prev=htmldir ;;
1598 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1599 | --ht=*)
1600 htmldir=$ac_optarg ;;
1601
1602 -includedir | --includedir | --includedi | --included | --include \
1603 | --includ | --inclu | --incl | --inc)
1604 ac_prev=includedir ;;
1605 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1606 | --includ=* | --inclu=* | --incl=* | --inc=*)
1607 includedir=$ac_optarg ;;
1608
1609 -infodir | --infodir | --infodi | --infod | --info | --inf)
1610 ac_prev=infodir ;;
1611 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1612 infodir=$ac_optarg ;;
1613
1614 -libdir | --libdir | --libdi | --libd)
1615 ac_prev=libdir ;;
1616 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1617 libdir=$ac_optarg ;;
1618
1619 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1620 | --libexe | --libex | --libe)
1621 ac_prev=libexecdir ;;
1622 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1623 | --libexe=* | --libex=* | --libe=*)
1624 libexecdir=$ac_optarg ;;
1625
1626 -localedir | --localedir | --localedi | --localed | --locale)
1627 ac_prev=localedir ;;
1628 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1629 localedir=$ac_optarg ;;
1630
1631 -localstatedir | --localstatedir | --localstatedi | --localstated \
1632 | --localstate | --localstat | --localsta | --localst | --locals)
1633 ac_prev=localstatedir ;;
1634 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1635 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1636 localstatedir=$ac_optarg ;;
1637
1638 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1639 ac_prev=mandir ;;
1640 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1641 mandir=$ac_optarg ;;
1642
1643 -nfp | --nfp | --nf)
1644 # Obsolete; use --without-fp.
1645 with_fp=no ;;
1646
1647 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1648 | --no-cr | --no-c | -n)
1649 no_create=yes ;;
1650
1651 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1652 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1653 no_recursion=yes ;;
1654
1655 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1656 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1657 | --oldin | --oldi | --old | --ol | --o)
1658 ac_prev=oldincludedir ;;
1659 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1660 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1661 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1662 oldincludedir=$ac_optarg ;;
1663
1664 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1665 ac_prev=prefix ;;
1666 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1667 prefix=$ac_optarg ;;
1668
1669 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1670 | --program-pre | --program-pr | --program-p)
1671 ac_prev=program_prefix ;;
1672 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1673 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1674 program_prefix=$ac_optarg ;;
1675
1676 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1677 | --program-suf | --program-su | --program-s)
1678 ac_prev=program_suffix ;;
1679 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1680 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1681 program_suffix=$ac_optarg ;;
1682
1683 -program-transform-name | --program-transform-name \
1684 | --program-transform-nam | --program-transform-na \
1685 | --program-transform-n | --program-transform- \
1686 | --program-transform | --program-transfor \
1687 | --program-transfo | --program-transf \
1688 | --program-trans | --program-tran \
1689 | --progr-tra | --program-tr | --program-t)
1690 ac_prev=program_transform_name ;;
1691 -program-transform-name=* | --program-transform-name=* \
1692 | --program-transform-nam=* | --program-transform-na=* \
1693 | --program-transform-n=* | --program-transform-=* \
1694 | --program-transform=* | --program-transfor=* \
1695 | --program-transfo=* | --program-transf=* \
1696 | --program-trans=* | --program-tran=* \
1697 | --progr-tra=* | --program-tr=* | --program-t=*)
1698 program_transform_name=$ac_optarg ;;
1699
1700 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1701 ac_prev=pdfdir ;;
1702 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1703 pdfdir=$ac_optarg ;;
1704
1705 -psdir | --psdir | --psdi | --psd | --ps)
1706 ac_prev=psdir ;;
1707 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1708 psdir=$ac_optarg ;;
1709
1710 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1711 | -silent | --silent | --silen | --sile | --sil)
1712 silent=yes ;;
1713
1714 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1715 ac_prev=sbindir ;;
1716 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1717 | --sbi=* | --sb=*)
1718 sbindir=$ac_optarg ;;
1719
1720 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1721 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1722 | --sharedst | --shareds | --shared | --share | --shar \
1723 | --sha | --sh)
1724 ac_prev=sharedstatedir ;;
1725 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1726 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1727 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1728 | --sha=* | --sh=*)
1729 sharedstatedir=$ac_optarg ;;
1730
1731 -site | --site | --sit)
1732 ac_prev=site ;;
1733 -site=* | --site=* | --sit=*)
1734 site=$ac_optarg ;;
1735
1736 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1737 ac_prev=srcdir ;;
1738 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1739 srcdir=$ac_optarg ;;
1740
1741 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1742 | --syscon | --sysco | --sysc | --sys | --sy)
1743 ac_prev=sysconfdir ;;
1744 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1745 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1746 sysconfdir=$ac_optarg ;;
1747
1748 -target | --target | --targe | --targ | --tar | --ta | --t)
1749 ac_prev=target_alias ;;
1750 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1751 target_alias=$ac_optarg ;;
1752
1753 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1754 verbose=yes ;;
1755
1756 -version | --version | --versio | --versi | --vers | -V)
1757 ac_init_version=: ;;
1758
1759 -with-* | --with-*)
1760 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1761 # Reject names that are not valid shell variable names.
1762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1763 as_fn_error $? "invalid package name: $ac_useropt"
1764 ac_useropt_orig=$ac_useropt
1765 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1766 case $ac_user_opts in
1767 *"
1768 "with_$ac_useropt"
1769 "*) ;;
1770 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1771 ac_unrecognized_sep=', ';;
1772 esac
1773 eval with_$ac_useropt=\$ac_optarg ;;
1774
1775 -without-* | --without-*)
1776 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1777 # Reject names that are not valid shell variable names.
1778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1779 as_fn_error $? "invalid package name: $ac_useropt"
1780 ac_useropt_orig=$ac_useropt
1781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1782 case $ac_user_opts in
1783 *"
1784 "with_$ac_useropt"
1785 "*) ;;
1786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1787 ac_unrecognized_sep=', ';;
1788 esac
1789 eval with_$ac_useropt=no ;;
1790
1791 --x)
1792 # Obsolete; use --with-x.
1793 with_x=yes ;;
1794
1795 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1796 | --x-incl | --x-inc | --x-in | --x-i)
1797 ac_prev=x_includes ;;
1798 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1799 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1800 x_includes=$ac_optarg ;;
1801
1802 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1803 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1804 ac_prev=x_libraries ;;
1805 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1806 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1807 x_libraries=$ac_optarg ;;
1808
1809 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1810 Try \`$0 --help' for more information"
1811 ;;
1812
1813 *=*)
1814 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1815 # Reject names that are not valid shell variable names.
1816 case $ac_envvar in #(
1817 '' | [0-9]* | *[!_$as_cr_alnum]* )
1818 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1819 esac
1820 eval $ac_envvar=\$ac_optarg
1821 export $ac_envvar ;;
1822
1823 *)
1824 # FIXME: should be removed in autoconf 3.0.
1825 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1826 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1827 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1828 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1829 ;;
1830
1831 esac
1832 done
1833
1834 if test -n "$ac_prev"; then
1835 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1836 as_fn_error $? "missing argument to $ac_option"
1837 fi
1838
1839 if test -n "$ac_unrecognized_opts"; then
1840 case $enable_option_checking in
1841 no) ;;
1842 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1843 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1844 esac
1845 fi
1846
1847 # Check all directory arguments for consistency.
1848 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1849 datadir sysconfdir sharedstatedir localstatedir includedir \
1850 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1851 libdir localedir mandir
1852 do
1853 eval ac_val=\$$ac_var
1854 # Remove trailing slashes.
1855 case $ac_val in
1856 */ )
1857 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1858 eval $ac_var=\$ac_val;;
1859 esac
1860 # Be sure to have absolute directory names.
1861 case $ac_val in
1862 [\\/$]* | ?:[\\/]* ) continue;;
1863 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1864 esac
1865 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1866 done
1867
1868 # There might be people who depend on the old broken behavior: `$host'
1869 # used to hold the argument of --host etc.
1870 # FIXME: To remove some day.
1871 build=$build_alias
1872 host=$host_alias
1873 target=$target_alias
1874
1875 # FIXME: To remove some day.
1876 if test "x$host_alias" != x; then
1877 if test "x$build_alias" = x; then
1878 cross_compiling=maybe
1879 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1880 If a cross compiler is detected then cross compile mode will be used" >&2
1881 elif test "x$build_alias" != "x$host_alias"; then
1882 cross_compiling=yes
1883 fi
1884 fi
1885
1886 ac_tool_prefix=
1887 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1888
1889 test "$silent" = yes && exec 6>/dev/null
1890
1891
1892 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1893 ac_ls_di=`ls -di .` &&
1894 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1895 as_fn_error $? "working directory cannot be determined"
1896 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1897 as_fn_error $? "pwd does not report name of working directory"
1898
1899
1900 # Find the source files, if location was not specified.
1901 if test -z "$srcdir"; then
1902 ac_srcdir_defaulted=yes
1903 # Try the directory containing this script, then the parent directory.
1904 ac_confdir=`$as_dirname -- "$as_myself" ||
1905 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1906 X"$as_myself" : 'X\(//\)[^/]' \| \
1907 X"$as_myself" : 'X\(//\)$' \| \
1908 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1909 $as_echo X"$as_myself" |
1910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1911 s//\1/
1912 q
1913 }
1914 /^X\(\/\/\)[^/].*/{
1915 s//\1/
1916 q
1917 }
1918 /^X\(\/\/\)$/{
1919 s//\1/
1920 q
1921 }
1922 /^X\(\/\).*/{
1923 s//\1/
1924 q
1925 }
1926 s/.*/./; q'`
1927 srcdir=$ac_confdir
1928 if test ! -r "$srcdir/$ac_unique_file"; then
1929 srcdir=..
1930 fi
1931 else
1932 ac_srcdir_defaulted=no
1933 fi
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1935 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1936 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1937 fi
1938 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1939 ac_abs_confdir=`(
1940 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1941 pwd)`
1942 # When building in place, set srcdir=.
1943 if test "$ac_abs_confdir" = "$ac_pwd"; then
1944 srcdir=.
1945 fi
1946 # Remove unnecessary trailing slashes from srcdir.
1947 # Double slashes in file names in object file debugging info
1948 # mess up M-x gdb in Emacs.
1949 case $srcdir in
1950 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1951 esac
1952 for ac_var in $ac_precious_vars; do
1953 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1954 eval ac_env_${ac_var}_value=\$${ac_var}
1955 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1956 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1957 done
1958
1959 #
1960 # Report the --help message.
1961 #
1962 if test "$ac_init_help" = "long"; then
1963 # Omit some internal or obsolete options to make the list less imposing.
1964 # This message is too long to be a string in the A/UX 3.1 sh.
1965 cat <<_ACEOF
1966 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1967
1968 Usage: $0 [OPTION]... [VAR=VALUE]...
1969
1970 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1971 VAR=VALUE. See below for descriptions of some of the useful variables.
1972
1973 Defaults for the options are specified in brackets.
1974
1975 Configuration:
1976 -h, --help display this help and exit
1977 --help=short display options specific to this package
1978 --help=recursive display the short help of all the included packages
1979 -V, --version display version information and exit
1980 -q, --quiet, --silent do not print \`checking ...' messages
1981 --cache-file=FILE cache test results in FILE [disabled]
1982 -C, --config-cache alias for \`--cache-file=config.cache'
1983 -n, --no-create do not create output files
1984 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1985
1986 Installation directories:
1987 --prefix=PREFIX install architecture-independent files in PREFIX
1988 [$ac_default_prefix]
1989 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1990 [PREFIX]
1991
1992 By default, \`make install' will install all the files in
1993 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1994 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1995 for instance \`--prefix=\$HOME'.
1996
1997 For better control, use the options below.
1998
1999 Fine tuning of the installation directories:
2000 --bindir=DIR user executables [EPREFIX/bin]
2001 --sbindir=DIR system admin executables [EPREFIX/sbin]
2002 --libexecdir=DIR program executables [EPREFIX/libexec]
2003 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2004 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2005 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2006 --libdir=DIR object code libraries [EPREFIX/lib]
2007 --includedir=DIR C header files [PREFIX/include]
2008 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2009 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2010 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2011 --infodir=DIR info documentation [DATAROOTDIR/info]
2012 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2013 --mandir=DIR man documentation [DATAROOTDIR/man]
2014 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2015 --htmldir=DIR html documentation [DOCDIR]
2016 --dvidir=DIR dvi documentation [DOCDIR]
2017 --pdfdir=DIR pdf documentation [DOCDIR]
2018 --psdir=DIR ps documentation [DOCDIR]
2019 _ACEOF
2020
2021 cat <<\_ACEOF
2022
2023 X features:
2024 --x-includes=DIR X include files are in DIR
2025 --x-libraries=DIR X library files are in DIR
2026
2027 System types:
2028 --build=BUILD configure for building on BUILD [guessed]
2029 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2030 _ACEOF
2031 fi
2032
2033 if test -n "$ac_init_help"; then
2034 case $ac_init_help in
2035 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
2036 esac
2037 cat <<\_ACEOF
2038
2039 Optional Features:
2040 --disable-option-checking ignore unrecognized --enable/--with options
2041 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2042 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2043 --disable-gui don't build GUI parts of the library
2044 --enable-monolithic build wxWidgets as single library
2045 --enable-plugins build parts of wxWidgets as loadable components
2046 --enable-official_build official build of wxWidgets (win32 DLL only)
2047 --enable-vendor=VENDOR vendor name (win32 DLL only)
2048 --disable-all-features disable all optional features to build minimal library
2049 --enable-universal use wxWidgets GUI controls instead of native ones
2050 --enable-nanox use NanoX
2051 --enable-gpe use GNOME PDA Environment features if possible
2052 --enable-debug build library for debugging
2053 --disable-debug_flag disable all debugging support
2054 --enable-debug_info generate debug information
2055 --enable-debug_gdb create code with extra GDB debugging information
2056 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2057 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2058 --disable-shared create static library instead of shared
2059 --enable-stl use standard C++ classes for everything
2060 --enable-std_containers use standard C++ container classes
2061 --enable-std_iostreams use standard C++ stream classes
2062 --enable-std_string use standard C++ string classes
2063 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2064 --disable-unicode compile without Unicode support
2065 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2066 --enable-utf8 use UTF-8 representation for strings (Unix only)
2067 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2068 --enable-extended_rtti use extended RTTI (XTI)
2069 --enable-omf use OMF object format
2070 --disable-optimise compile without optimisations
2071 --enable-profile create code with profiling information
2072 --enable-no_rtti create code without RTTI information
2073 --enable-no_exceptions create code without C++ exceptions handling
2074 --enable-permissive compile code disregarding strict ANSI
2075 --enable-no_deps create code without dependency information
2076 --disable-vararg_macros don't use vararg macros, even if they are supported
2077 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2078 --enable-macosx_arch=ARCH build for just the specified architecture
2079 --enable-compat26 enable wxWidgets 2.6 compatibility
2080 --disable-compat28 disable wxWidgets 2.8 compatibility
2081 --disable-rpath disable use of rpath for uninstalled builds
2082 --enable-objc_uniquifying enable Objective-C class name uniquifying
2083 --disable-visibility disable use of ELF symbols visibility even if supported
2084 --disable-tls disable use of compiler TLS support
2085 --enable-intl use internationalization system
2086 --enable-xlocale use x-locale support (requires wxLocale)
2087 --enable-config use wxConfig (and derived) classes
2088 --enable-protocols use wxProtocol and derived classes
2089 --enable-ftp use wxFTP (requires wxProtocol
2090 --enable-http use wxHTTP (requires wxProtocol
2091 --enable-fileproto use wxFileProto class (requires wxProtocol
2092 --enable-sockets use socket/network classes
2093 --enable-ipv6 enable IPv6 support in wxSocket
2094 --enable-ole use OLE classes (Win32 only)
2095 --enable-dataobj use data object classes
2096 --enable-ipc use interprocess communication (wxSocket etc.)
2097 --enable-baseevtloop use event loop in console programs too
2098 --enable-epollloop use wxEpollDispatcher class (Linux only)
2099 --enable-selectloop use wxSelectDispatcher class
2100 --enable-any use wxAny class
2101 --enable-apple_ieee use the Apple IEEE codec
2102 --enable-arcstream use wxArchive streams
2103 --enable-base64 use base64 encoding/decoding functions
2104 --enable-backtrace use wxStackWalker class for getting backtraces
2105 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2106 --enable-cmdline use wxCmdLineParser class
2107 --enable-datetime use wxDateTime class
2108 --enable-debugreport use wxDebugReport class
2109 --enable-dialupman use dialup network classes
2110 --enable-dynlib use wxLibrary class for DLL loading
2111 --enable-dynamicloader use (new) wxDynamicLibrary class
2112 --enable-exceptions build exception-safe library
2113 --enable-ffile use wxFFile class
2114 --enable-file use wxFile class
2115 --enable-filehistory use wxFileHistory class
2116 --enable-filesystem use virtual file systems classes
2117 --enable-fontenum use wxFontEnumerator class
2118 --enable-fontmap use font encodings conversion classes
2119 --enable-fs_archive use virtual archive filesystems
2120 --enable-fs_inet use virtual HTTP/FTP filesystems
2121 --enable-fs_zip now replaced by fs_archive
2122 --enable-fswatcher use wxFileSystemWatcher class
2123 --enable-geometry use geometry class
2124 --enable-log use logging system
2125 --enable-longlong use wxLongLong class
2126 --enable-mimetype use wxMimeTypesManager
2127 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2128 --enable-snglinst use wxSingleInstanceChecker class
2129 --enable-sound use wxSound class
2130 --enable-stdpaths use wxStandardPaths class
2131 --enable-stopwatch use wxStopWatch class
2132 --enable-streams use wxStream etc classes
2133 --enable-sysoptions use wxSystemOptions
2134 --enable-tarstream use wxTar streams
2135 --enable-textbuf use wxTextBuffer class
2136 --enable-textfile use wxTextFile class
2137 --enable-timer use wxTimer class
2138 --enable-variant use wxVariant class
2139 --enable-zipstream use wxZip streams
2140 --enable-url use wxURL class
2141 --enable-protocol use wxProtocol class
2142 --enable-protocol-http HTTP support in wxProtocol
2143 --enable-protocol-ftp FTP support in wxProtocol
2144 --enable-protocol-file FILE support in wxProtocol
2145 --enable-threads use threads
2146 --enable-iniconf use wxIniConfig (Win32 only)
2147 --enable-regkey use wxRegKey class (Win32 only)
2148 --enable-docview use document view architecture
2149 --enable-help use help subsystem
2150 --enable-mshtmlhelp use MS HTML Help (win32)
2151 --enable-html use wxHTML sub-library
2152 --enable-htmlhelp use wxHTML-based help
2153 --enable-xrc use XRC resources sub-library
2154 --enable-aui use AUI docking library
2155 --enable-propgrid use wxPropertyGrid library
2156 --enable-ribbon use wxRibbon library
2157 --enable-stc use wxStyledTextCtrl library
2158 --enable-constraints use layout-constraints system
2159 --enable-loggui use standard GUI logger
2160 --enable-logwin use wxLogWindow
2161 --enable-logdialog use wxLogDialog
2162 --enable-mdi use multiple document interface architecture
2163 --enable-mdidoc use docview architecture with MDI
2164 --enable-mediactrl use wxMediaCtrl class
2165 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2166 --enable-richtext use wxRichTextCtrl
2167 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2168 --enable-printarch use printing architecture
2169 --enable-svg use wxSVGFileDC device context
2170 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2171 --enable-webview use wxWebView library
2172 --enable-graphics_ctx use graphics context 2D drawing API
2173 --enable-clipboard use wxClipboard class
2174 --enable-dnd use Drag'n'Drop classes
2175 --disable-controls disable compilation of all standard controls
2176 --enable-markup support wxControl::SetLabelMarkup
2177 --enable-accel use accelerators
2178 --enable-animatectrl use wxAnimationCtrl class
2179 --enable-bannerwindow use wxBannerWindow class
2180 --enable-artstd use standard XPM icons in wxArtProvider
2181 --enable-arttango use Tango icons in wxArtProvider
2182 --enable-bmpbutton use wxBitmapButton class
2183 --enable-bmpcombobox use wxBitmapComboBox class
2184 --enable-button use wxButton class
2185 --enable-calendar use wxCalendarCtrl class
2186 --enable-caret use wxCaret class
2187 --enable-checkbox use wxCheckBox class
2188 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2189 --enable-choice use wxChoice class
2190 --enable-choicebook use wxChoicebook class
2191 --enable-collpane use wxCollapsiblePane class
2192 --enable-colourpicker use wxColourPickerCtrl class
2193 --enable-combobox use wxComboBox class
2194 --enable-comboctrl use wxComboCtrl class
2195 --enable-commandlinkbutton use wxCommmandLinkButton class
2196 --enable-dataviewctrl use wxDataViewCtrl class
2197 --enable-datepick use wxDatePickerCtrl class
2198 --enable-detect_sm use code to detect X11 session manager
2199 --enable-dirpicker use wxDirPickerCtrl class
2200 --enable-display use wxDisplay class
2201 --enable-editablebox use wxEditableListBox class
2202 --enable-filectrl use wxFileCtrl class
2203 --enable-filepicker use wxFilePickerCtrl class
2204 --enable-fontpicker use wxFontPickerCtrl class
2205 --enable-gauge use wxGauge class
2206 --enable-grid use wxGrid class
2207 --enable-headerctrl use wxHeaderCtrl class
2208 --enable-hyperlink use wxHyperlinkCtrl class
2209 --enable-imaglist use wxImageList class
2210 --enable-infobar use wxInfoBar class
2211 --enable-listbook use wxListbook class
2212 --enable-listbox use wxListBox class
2213 --enable-listctrl use wxListCtrl class
2214 --enable-notebook use wxNotebook class
2215 --enable-notifmsg use wxNotificationMessage class
2216 --enable-odcombobox use wxOwnerDrawnComboBox class
2217 --enable-popupwin use wxPopUpWindow class
2218 --enable-radiobox use wxRadioBox class
2219 --enable-radiobtn use wxRadioButton class
2220 --enable-richmsgdlg use wxRichMessageDialog class
2221 --enable-richtooltip use wxRichToolTip class
2222 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2223 --enable-sash use wxSashWindow class
2224 --enable-scrollbar use wxScrollBar class and scrollable windows
2225 --enable-searchctrl use wxSearchCtrl class
2226 --enable-slider use wxSlider class
2227 --enable-spinbtn use wxSpinButton class
2228 --enable-spinctrl use wxSpinCtrl class
2229 --enable-splitter use wxSplitterWindow class
2230 --enable-statbmp use wxStaticBitmap class
2231 --enable-statbox use wxStaticBox class
2232 --enable-statline use wxStaticLine class
2233 --enable-stattext use wxStaticText class
2234 --enable-statusbar use wxStatusBar class
2235 --enable-taskbaricon use wxTaskBarIcon class
2236 --enable-tbarnative use native wxToolBar class
2237 --enable-textctrl use wxTextCtrl class
2238 --enable-timepick use wxTimePickerCtrl class
2239 --enable-tipwindow use wxTipWindow class
2240 --enable-togglebtn use wxToggleButton class
2241 --enable-toolbar use wxToolBar class
2242 --enable-toolbook use wxToolbook class
2243 --enable-treebook use wxTreebook class
2244 --enable-treectrl use wxTreeCtrl class
2245 --enable-treelist use wxTreeListCtrl class
2246 --enable-commondlg use all common dialogs
2247 --enable-aboutdlg use wxAboutBox
2248 --enable-choicedlg use wxChoiceDialog
2249 --enable-coldlg use wxColourDialog
2250 --enable-filedlg use wxFileDialog
2251 --enable-finddlg use wxFindReplaceDialog
2252 --enable-fontdlg use wxFontDialog
2253 --enable-dirdlg use wxDirDialog
2254 --enable-msgdlg use wxMessageDialog
2255 --enable-numberdlg use wxNumberEntryDialog
2256 --enable-splash use wxSplashScreen
2257 --enable-textdlg use wxTextDialog
2258 --enable-tipdlg use startup tips
2259 --enable-progressdlg use wxProgressDialog
2260 --enable-wizarddlg use wxWizard
2261 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2262 --enable-miniframe use wxMiniFrame class
2263 --enable-tooltips use wxToolTip class
2264 --enable-splines use spline drawing code
2265 --enable-mousewheel use mousewheel
2266 --enable-validators use wxValidator and derived classes
2267 --enable-busyinfo use wxBusyInfo
2268 --enable-hotkey use wxWindow::RegisterHotKey()
2269 --enable-joystick use wxJoystick
2270 --enable-metafiles use wxMetaFile
2271 --enable-dragimage use wxDragImage
2272 --enable-accessibility enable accessibility support
2273 --enable-uiactionsim use wxUIActionSimulator (experimental)
2274 --enable-dctransform use wxDC::SetTransformMatrix and related
2275 --enable-webview-webkit use wxWebView WebKit backend
2276 --enable-palette use wxPalette class
2277 --enable-image use wxImage class
2278 --enable-gif use gif images (GIF file format)
2279 --enable-pcx use pcx images (PCX file format)
2280 --enable-tga use tga images (TGA file format)
2281 --enable-iff use iff images (IFF file format)
2282 --enable-pnm use pnm images (PNM file format)
2283 --enable-xpm use xpm images (XPM file format)
2284 --enable-ico_cur use Windows ICO and CUR formats
2285 --enable-dccache cache temporary wxDC objects (Win32 only)
2286 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2287 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2288 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2289 --enable-wxdib use wxDIB class (Win32 only)
2290 --enable-webview-ie use wxWebView IE backend (Win32 only)
2291 --enable-autoidman use automatic ids management
2292 --disable-largefile omit support for large files
2293 --disable-gtktest do not try to compile and run a test GTK+ program
2294 --disable-gtktest Do not try to compile and run a test GTK program
2295 --disable-sdltest Do not try to compile and run a test SDL program
2296 --enable-omf use OMF object format (OS/2)
2297 --disable-dependency-tracking
2298 don't use dependency tracking even if the compiler
2299 can
2300 --disable-precomp-headers
2301 don't use precompiled headers even if compiler can
2302
2303 Optional Packages:
2304 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2305 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2306 --without-subdirs don't generate makefiles for samples/demos/...
2307 --with-flavour=NAME specify a name to identify this build
2308 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2309 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2310 --with-motif use Motif/Lesstif
2311 --with-osx_carbon use Mac OS X (Carbon)
2312 --with-osx_cocoa use Mac OS X (Cocoa)
2313 --with-osx_iphone use iPhone OS X port
2314 --with-osx use Mac OS X (default port, currently Carbon)
2315 --with-carbon same as --with-osx_carbon
2316 --with-cocoa same as --with-osx_cocoa
2317 --with-iphone same as --with-osx_iphone
2318 --with-mac same as --with-osx
2319 --with-old_cocoa use old, deprecated, Cocoa port
2320 --with-wine use Wine
2321 --with-msw use MS-Windows
2322 --with-pm use OS/2 Presentation Manager
2323 --with-directfb use DirectFB
2324 --with-microwin use MicroWindows
2325 --with-x11 use X11
2326 --with-libpng use libpng (PNG image format)
2327 --with-libjpeg use libjpeg (JPEG file format)
2328 --with-libtiff use libtiff (TIFF file format)
2329 --with-libxpm use libxpm (XPM file format)
2330 --with-libiconv use libiconv (character conversion)
2331 --with-libmspack use libmspack (CHM help files loading)
2332 --without-gtkprint don't use GTK printing support
2333 --without-gnomeprint don't use GNOME printing libraries
2334 --with-gnomevfs use GNOME VFS for associating MIME types
2335 --with-hildon use Hildon framework for Nokia 770/800/810
2336 --with-opengl use OpenGL (or Mesa)
2337 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2338 --with-sdl use SDL for audio on Unix
2339 --with-regex enable support for wxRegEx class
2340 --with-zlib use zlib for LZW compression
2341 --with-expat enable XML support using expat parser
2342 --with-macosx-sdk=PATH use an OS X SDK at PATH
2343 --with-macosx-version-min=VER build binaries which require at least this OS X version
2344 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2345 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2346 --with-x use the X Window System
2347 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2348 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2349 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2350 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2351 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2352
2353 Some influential environment variables:
2354 CC C compiler command
2355 CFLAGS C compiler flags
2356 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2357 nonstandard directory <lib dir>
2358 LIBS libraries to pass to the linker, e.g. -l<library>
2359 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2360 you have headers in a nonstandard directory <include dir>
2361 CPP C preprocessor
2362 CXX C++ compiler command
2363 CXXFLAGS C++ compiler flags
2364 CXXCPP C++ preprocessor
2365 PKG_CONFIG path to pkg-config utility
2366 DIRECTFB_CFLAGS
2367 C compiler flags for DIRECTFB, overriding pkg-config
2368 DIRECTFB_LIBS
2369 linker flags for DIRECTFB, overriding pkg-config
2370 XMKMF Path to xmkmf, Makefile generator for X Window System
2371 PANGOX_CFLAGS
2372 C compiler flags for PANGOX, overriding pkg-config
2373 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2374 PANGOFT2_CFLAGS
2375 C compiler flags for PANGOFT2, overriding pkg-config
2376 PANGOFT2_LIBS
2377 linker flags for PANGOFT2, overriding pkg-config
2378 PANGOXFT_CFLAGS
2379 C compiler flags for PANGOXFT, overriding pkg-config
2380 PANGOXFT_LIBS
2381 linker flags for PANGOXFT, overriding pkg-config
2382 Xinerama_CFLAGS
2383 C compiler flags for Xinerama, overriding pkg-config
2384 Xinerama_LIBS
2385 linker flags for Xinerama, overriding pkg-config
2386 Xxf86vm_CFLAGS
2387 C compiler flags for Xxf86vm, overriding pkg-config
2388 Xxf86vm_LIBS
2389 linker flags for Xxf86vm, overriding pkg-config
2390 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2391 SM_LIBS linker flags for SM, overriding pkg-config
2392 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2393 GL_LIBS linker flags for GL, overriding pkg-config
2394 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2395 GLU_LIBS linker flags for GLU, overriding pkg-config
2396 MesaGL_CFLAGS
2397 C compiler flags for MesaGL, overriding pkg-config
2398 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2399 GTKPRINT_CFLAGS
2400 C compiler flags for GTKPRINT, overriding pkg-config
2401 GTKPRINT_LIBS
2402 linker flags for GTKPRINT, overriding pkg-config
2403 LIBGNOMEPRINTUI_CFLAGS
2404 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2405 LIBGNOMEPRINTUI_LIBS
2406 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2407 GNOMEVFS_CFLAGS
2408 C compiler flags for GNOMEVFS, overriding pkg-config
2409 GNOMEVFS_LIBS
2410 linker flags for GNOMEVFS, overriding pkg-config
2411 HILDON_CFLAGS
2412 C compiler flags for HILDON, overriding pkg-config
2413 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2414 HILDON2_CFLAGS
2415 C compiler flags for HILDON2, overriding pkg-config
2416 HILDON2_LIBS
2417 linker flags for HILDON2, overriding pkg-config
2418 WEBKIT_CFLAGS
2419 C compiler flags for WEBKIT, overriding pkg-config
2420 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2421 CAIRO_CFLAGS
2422 C compiler flags for CAIRO, overriding pkg-config
2423 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2424 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2425 GST_LIBS linker flags for GST, overriding pkg-config
2426
2427 Use these variables to override the choices made by `configure' or to help
2428 it to find libraries and programs with nonstandard names/locations.
2429
2430 Report bugs to <wx-dev@lists.wxwidgets.org>.
2431 _ACEOF
2432 ac_status=$?
2433 fi
2434
2435 if test "$ac_init_help" = "recursive"; then
2436 # If there are subdirs, report their specific --help.
2437 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2438 test -d "$ac_dir" ||
2439 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2440 continue
2441 ac_builddir=.
2442
2443 case "$ac_dir" in
2444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2445 *)
2446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2447 # A ".." for each directory in $ac_dir_suffix.
2448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2449 case $ac_top_builddir_sub in
2450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2452 esac ;;
2453 esac
2454 ac_abs_top_builddir=$ac_pwd
2455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2456 # for backward compatibility:
2457 ac_top_builddir=$ac_top_build_prefix
2458
2459 case $srcdir in
2460 .) # We are building in place.
2461 ac_srcdir=.
2462 ac_top_srcdir=$ac_top_builddir_sub
2463 ac_abs_top_srcdir=$ac_pwd ;;
2464 [\\/]* | ?:[\\/]* ) # Absolute name.
2465 ac_srcdir=$srcdir$ac_dir_suffix;
2466 ac_top_srcdir=$srcdir
2467 ac_abs_top_srcdir=$srcdir ;;
2468 *) # Relative name.
2469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2470 ac_top_srcdir=$ac_top_build_prefix$srcdir
2471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2472 esac
2473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2474
2475 cd "$ac_dir" || { ac_status=$?; continue; }
2476 # Check for guested configure.
2477 if test -f "$ac_srcdir/configure.gnu"; then
2478 echo &&
2479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2480 elif test -f "$ac_srcdir/configure"; then
2481 echo &&
2482 $SHELL "$ac_srcdir/configure" --help=recursive
2483 else
2484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2485 fi || ac_status=$?
2486 cd "$ac_pwd" || { ac_status=$?; break; }
2487 done
2488 fi
2489
2490 test -n "$ac_init_help" && exit $ac_status
2491 if $ac_init_version; then
2492 cat <<\_ACEOF
2493 wxWidgets configure 2.9.4
2494 generated by GNU Autoconf 2.68
2495
2496 Copyright (C) 2010 Free Software Foundation, Inc.
2497 This configure script is free software; the Free Software Foundation
2498 gives unlimited permission to copy, distribute and modify it.
2499 _ACEOF
2500 exit
2501 fi
2502
2503 ## ------------------------ ##
2504 ## Autoconf initialization. ##
2505 ## ------------------------ ##
2506
2507 # ac_fn_c_try_compile LINENO
2508 # --------------------------
2509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_c_try_compile ()
2511 {
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 rm -f conftest.$ac_objext
2514 if { { ac_try="$ac_compile"
2515 case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>conftest.err
2522 ac_status=$?
2523 if test -s conftest.err; then
2524 grep -v '^ *+' conftest.err >conftest.er1
2525 cat conftest.er1 >&5
2526 mv -f conftest.er1 conftest.err
2527 fi
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_c_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then :
2533 ac_retval=0
2534 else
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2537
2538 ac_retval=1
2539 fi
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status $ac_retval
2542
2543 } # ac_fn_c_try_compile
2544
2545 # ac_fn_c_try_cpp LINENO
2546 # ----------------------
2547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2548 ac_fn_c_try_cpp ()
2549 {
2550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551 if { { ac_try="$ac_cpp conftest.$ac_ext"
2552 case "(($ac_try" in
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2555 esac
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2559 ac_status=$?
2560 if test -s conftest.err; then
2561 grep -v '^ *+' conftest.err >conftest.er1
2562 cat conftest.er1 >&5
2563 mv -f conftest.er1 conftest.err
2564 fi
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; } > conftest.i && {
2567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2568 test ! -s conftest.err
2569 }; then :
2570 ac_retval=0
2571 else
2572 $as_echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.$ac_ext >&5
2574
2575 ac_retval=1
2576 fi
2577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 as_fn_set_status $ac_retval
2579
2580 } # ac_fn_c_try_cpp
2581
2582 # ac_fn_cxx_try_compile LINENO
2583 # ----------------------------
2584 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2585 ac_fn_cxx_try_compile ()
2586 {
2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2588 rm -f conftest.$ac_objext
2589 if { { ac_try="$ac_compile"
2590 case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593 esac
2594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2595 $as_echo "$ac_try_echo"; } >&5
2596 (eval "$ac_compile") 2>conftest.err
2597 ac_status=$?
2598 if test -s conftest.err; then
2599 grep -v '^ *+' conftest.err >conftest.er1
2600 cat conftest.er1 >&5
2601 mv -f conftest.er1 conftest.err
2602 fi
2603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2604 test $ac_status = 0; } && {
2605 test -z "$ac_cxx_werror_flag" ||
2606 test ! -s conftest.err
2607 } && test -s conftest.$ac_objext; then :
2608 ac_retval=0
2609 else
2610 $as_echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2612
2613 ac_retval=1
2614 fi
2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2616 as_fn_set_status $ac_retval
2617
2618 } # ac_fn_cxx_try_compile
2619
2620 # ac_fn_c_try_link LINENO
2621 # -----------------------
2622 # Try to link conftest.$ac_ext, and return whether this succeeded.
2623 ac_fn_c_try_link ()
2624 {
2625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2626 rm -f conftest.$ac_objext conftest$ac_exeext
2627 if { { ac_try="$ac_link"
2628 case "(($ac_try" in
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2631 esac
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2633 $as_echo "$ac_try_echo"; } >&5
2634 (eval "$ac_link") 2>conftest.err
2635 ac_status=$?
2636 if test -s conftest.err; then
2637 grep -v '^ *+' conftest.err >conftest.er1
2638 cat conftest.er1 >&5
2639 mv -f conftest.er1 conftest.err
2640 fi
2641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2642 test $ac_status = 0; } && {
2643 test -z "$ac_c_werror_flag" ||
2644 test ! -s conftest.err
2645 } && test -s conftest$ac_exeext && {
2646 test "$cross_compiling" = yes ||
2647 $as_test_x conftest$ac_exeext
2648 }; then :
2649 ac_retval=0
2650 else
2651 $as_echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2653
2654 ac_retval=1
2655 fi
2656 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2657 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2658 # interfere with the next link command; also delete a directory that is
2659 # left behind by Apple's compiler. We do this before executing the actions.
2660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 as_fn_set_status $ac_retval
2663
2664 } # ac_fn_c_try_link
2665
2666 # ac_fn_cxx_try_link LINENO
2667 # -------------------------
2668 # Try to link conftest.$ac_ext, and return whether this succeeded.
2669 ac_fn_cxx_try_link ()
2670 {
2671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2672 rm -f conftest.$ac_objext conftest$ac_exeext
2673 if { { ac_try="$ac_link"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679 $as_echo "$ac_try_echo"; } >&5
2680 (eval "$ac_link") 2>conftest.err
2681 ac_status=$?
2682 if test -s conftest.err; then
2683 grep -v '^ *+' conftest.err >conftest.er1
2684 cat conftest.er1 >&5
2685 mv -f conftest.er1 conftest.err
2686 fi
2687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2688 test $ac_status = 0; } && {
2689 test -z "$ac_cxx_werror_flag" ||
2690 test ! -s conftest.err
2691 } && test -s conftest$ac_exeext && {
2692 test "$cross_compiling" = yes ||
2693 $as_test_x conftest$ac_exeext
2694 }; then :
2695 ac_retval=0
2696 else
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2699
2700 ac_retval=1
2701 fi
2702 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2703 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2704 # interfere with the next link command; also delete a directory that is
2705 # left behind by Apple's compiler. We do this before executing the actions.
2706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 as_fn_set_status $ac_retval
2709
2710 } # ac_fn_cxx_try_link
2711
2712 # ac_fn_c_try_run LINENO
2713 # ----------------------
2714 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2715 # that executables *can* be run.
2716 ac_fn_c_try_run ()
2717 {
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 if { { ac_try="$ac_link"
2720 case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2725 $as_echo "$ac_try_echo"; } >&5
2726 (eval "$ac_link") 2>&5
2727 ac_status=$?
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2730 { { case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 $as_echo "$ac_try_echo"; } >&5
2736 (eval "$ac_try") 2>&5
2737 ac_status=$?
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; }; }; then :
2740 ac_retval=0
2741 else
2742 $as_echo "$as_me: program exited with status $ac_status" >&5
2743 $as_echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2745
2746 ac_retval=$ac_status
2747 fi
2748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2751
2752 } # ac_fn_c_try_run
2753
2754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2755 # -------------------------------------------------------
2756 # Tests whether HEADER exists and can be compiled using the include files in
2757 # INCLUDES, setting the cache variable VAR accordingly.
2758 ac_fn_c_check_header_compile ()
2759 {
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2762 $as_echo_n "checking for $2... " >&6; }
2763 if eval \${$3+:} false; then :
2764 $as_echo_n "(cached) " >&6
2765 else
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2768 $4
2769 #include <$2>
2770 _ACEOF
2771 if ac_fn_c_try_compile "$LINENO"; then :
2772 eval "$3=yes"
2773 else
2774 eval "$3=no"
2775 fi
2776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2777 fi
2778 eval ac_res=\$$3
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2780 $as_echo "$ac_res" >&6; }
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782
2783 } # ac_fn_c_check_header_compile
2784
2785 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2786 # --------------------------------------------
2787 # Tries to find the compile-time value of EXPR in a program that includes
2788 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2789 # computed
2790 ac_fn_c_compute_int ()
2791 {
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 if test "$cross_compiling" = yes; then
2794 # Depending upon the size, compute the lo and hi bounds.
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2797 $4
2798 int
2799 main ()
2800 {
2801 static int test_array [1 - 2 * !(($2) >= 0)];
2802 test_array [0] = 0
2803
2804 ;
2805 return 0;
2806 }
2807 _ACEOF
2808 if ac_fn_c_try_compile "$LINENO"; then :
2809 ac_lo=0 ac_mid=0
2810 while :; do
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2813 $4
2814 int
2815 main ()
2816 {
2817 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2818 test_array [0] = 0
2819
2820 ;
2821 return 0;
2822 }
2823 _ACEOF
2824 if ac_fn_c_try_compile "$LINENO"; then :
2825 ac_hi=$ac_mid; break
2826 else
2827 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2828 if test $ac_lo -le $ac_mid; then
2829 ac_lo= ac_hi=
2830 break
2831 fi
2832 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2833 fi
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 done
2836 else
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2839 $4
2840 int
2841 main ()
2842 {
2843 static int test_array [1 - 2 * !(($2) < 0)];
2844 test_array [0] = 0
2845
2846 ;
2847 return 0;
2848 }
2849 _ACEOF
2850 if ac_fn_c_try_compile "$LINENO"; then :
2851 ac_hi=-1 ac_mid=-1
2852 while :; do
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2855 $4
2856 int
2857 main ()
2858 {
2859 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2860 test_array [0] = 0
2861
2862 ;
2863 return 0;
2864 }
2865 _ACEOF
2866 if ac_fn_c_try_compile "$LINENO"; then :
2867 ac_lo=$ac_mid; break
2868 else
2869 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2870 if test $ac_mid -le $ac_hi; then
2871 ac_lo= ac_hi=
2872 break
2873 fi
2874 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2875 fi
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877 done
2878 else
2879 ac_lo= ac_hi=
2880 fi
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 fi
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 # Binary search between lo and hi bounds.
2885 while test "x$ac_lo" != "x$ac_hi"; do
2886 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2889 $4
2890 int
2891 main ()
2892 {
2893 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2894 test_array [0] = 0
2895
2896 ;
2897 return 0;
2898 }
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 ac_hi=$ac_mid
2902 else
2903 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2904 fi
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 done
2907 case $ac_lo in #((
2908 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2909 '') ac_retval=1 ;;
2910 esac
2911 else
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2914 $4
2915 static long int longval () { return $2; }
2916 static unsigned long int ulongval () { return $2; }
2917 #include <stdio.h>
2918 #include <stdlib.h>
2919 int
2920 main ()
2921 {
2922
2923 FILE *f = fopen ("conftest.val", "w");
2924 if (! f)
2925 return 1;
2926 if (($2) < 0)
2927 {
2928 long int i = longval ();
2929 if (i != ($2))
2930 return 1;
2931 fprintf (f, "%ld", i);
2932 }
2933 else
2934 {
2935 unsigned long int i = ulongval ();
2936 if (i != ($2))
2937 return 1;
2938 fprintf (f, "%lu", i);
2939 }
2940 /* Do not output a trailing newline, as this causes \r\n confusion
2941 on some platforms. */
2942 return ferror (f) || fclose (f) != 0;
2943
2944 ;
2945 return 0;
2946 }
2947 _ACEOF
2948 if ac_fn_c_try_run "$LINENO"; then :
2949 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2950 else
2951 ac_retval=1
2952 fi
2953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2954 conftest.$ac_objext conftest.beam conftest.$ac_ext
2955 rm -f conftest.val
2956
2957 fi
2958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2959 as_fn_set_status $ac_retval
2960
2961 } # ac_fn_c_compute_int
2962
2963 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2964 # ---------------------------------------------------------
2965 # Tests whether HEADER exists and can be compiled using the include files in
2966 # INCLUDES, setting the cache variable VAR accordingly.
2967 ac_fn_cxx_check_header_compile ()
2968 {
2969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2971 $as_echo_n "checking for $2... " >&6; }
2972 if eval \${$3+:} false; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2977 $4
2978 #include <$2>
2979 _ACEOF
2980 if ac_fn_cxx_try_compile "$LINENO"; then :
2981 eval "$3=yes"
2982 else
2983 eval "$3=no"
2984 fi
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 fi
2987 eval ac_res=\$$3
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2989 $as_echo "$ac_res" >&6; }
2990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991
2992 } # ac_fn_cxx_check_header_compile
2993
2994 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2995 # ---------------------------------------------
2996 # Tests whether TYPE exists after having included INCLUDES, setting cache
2997 # variable VAR accordingly.
2998 ac_fn_cxx_check_type ()
2999 {
3000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval \${$3+:} false; then :
3004 $as_echo_n "(cached) " >&6
3005 else
3006 eval "$3=no"
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3009 $4
3010 int
3011 main ()
3012 {
3013 if (sizeof ($2))
3014 return 0;
3015 ;
3016 return 0;
3017 }
3018 _ACEOF
3019 if ac_fn_cxx_try_compile "$LINENO"; then :
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3022 $4
3023 int
3024 main ()
3025 {
3026 if (sizeof (($2)))
3027 return 0;
3028 ;
3029 return 0;
3030 }
3031 _ACEOF
3032 if ac_fn_cxx_try_compile "$LINENO"; then :
3033
3034 else
3035 eval "$3=yes"
3036 fi
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 fi
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 fi
3041 eval ac_res=\$$3
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3043 $as_echo "$ac_res" >&6; }
3044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3045
3046 } # ac_fn_cxx_check_type
3047
3048 # ac_fn_cxx_try_cpp LINENO
3049 # ------------------------
3050 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3051 ac_fn_cxx_try_cpp ()
3052 {
3053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3054 if { { ac_try="$ac_cpp conftest.$ac_ext"
3055 case "(($ac_try" in
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3058 esac
3059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3060 $as_echo "$ac_try_echo"; } >&5
3061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3062 ac_status=$?
3063 if test -s conftest.err; then
3064 grep -v '^ *+' conftest.err >conftest.er1
3065 cat conftest.er1 >&5
3066 mv -f conftest.er1 conftest.err
3067 fi
3068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; } > conftest.i && {
3070 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3071 test ! -s conftest.err
3072 }; then :
3073 ac_retval=0
3074 else
3075 $as_echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3077
3078 ac_retval=1
3079 fi
3080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3081 as_fn_set_status $ac_retval
3082
3083 } # ac_fn_cxx_try_cpp
3084
3085 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3086 # ---------------------------------------------------------
3087 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3088 # the include files in INCLUDES and setting the cache variable VAR
3089 # accordingly.
3090 ac_fn_cxx_check_header_mongrel ()
3091 {
3092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3093 if eval \${$3+:} false; then :
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3095 $as_echo_n "checking for $2... " >&6; }
3096 if eval \${$3+:} false; then :
3097 $as_echo_n "(cached) " >&6
3098 fi
3099 eval ac_res=\$$3
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3101 $as_echo "$ac_res" >&6; }
3102 else
3103 # Is the header compilable?
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3105 $as_echo_n "checking $2 usability... " >&6; }
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3108 $4
3109 #include <$2>
3110 _ACEOF
3111 if ac_fn_cxx_try_compile "$LINENO"; then :
3112 ac_header_compiler=yes
3113 else
3114 ac_header_compiler=no
3115 fi
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3118 $as_echo "$ac_header_compiler" >&6; }
3119
3120 # Is the header present?
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3122 $as_echo_n "checking $2 presence... " >&6; }
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3125 #include <$2>
3126 _ACEOF
3127 if ac_fn_cxx_try_cpp "$LINENO"; then :
3128 ac_header_preproc=yes
3129 else
3130 ac_header_preproc=no
3131 fi
3132 rm -f conftest.err conftest.i conftest.$ac_ext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3134 $as_echo "$ac_header_preproc" >&6; }
3135
3136 # So? What about this header?
3137 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3138 yes:no: )
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3140 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3143 ;;
3144 no:yes:* )
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3146 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3148 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3150 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3152 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3155 ( $as_echo "## ----------------------------------------- ##
3156 ## Report this to wx-dev@lists.wxwidgets.org ##
3157 ## ----------------------------------------- ##"
3158 ) | sed "s/^/$as_me: WARNING: /" >&2
3159 ;;
3160 esac
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3162 $as_echo_n "checking for $2... " >&6; }
3163 if eval \${$3+:} false; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 eval "$3=\$ac_header_compiler"
3167 fi
3168 eval ac_res=\$$3
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3170 $as_echo "$ac_res" >&6; }
3171 fi
3172 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3173
3174 } # ac_fn_cxx_check_header_mongrel
3175
3176 # ac_fn_c_check_func LINENO FUNC VAR
3177 # ----------------------------------
3178 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3179 ac_fn_c_check_func ()
3180 {
3181 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \${$3+:} false; then :
3185 $as_echo_n "(cached) " >&6
3186 else
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3189 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3191 #define $2 innocuous_$2
3192
3193 /* System header to define __stub macros and hopefully few prototypes,
3194 which can conflict with char $2 (); below.
3195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3196 <limits.h> exists even on freestanding compilers. */
3197
3198 #ifdef __STDC__
3199 # include <limits.h>
3200 #else
3201 # include <assert.h>
3202 #endif
3203
3204 #undef $2
3205
3206 /* Override any GCC internal prototype to avoid an error.
3207 Use char because int might match the return type of a GCC
3208 builtin and then its argument prototype would still apply. */
3209 #ifdef __cplusplus
3210 extern "C"
3211 #endif
3212 char $2 ();
3213 /* The GNU C library defines this for functions which it implements
3214 to always fail with ENOSYS. Some functions are actually named
3215 something starting with __ and the normal name is an alias. */
3216 #if defined __stub_$2 || defined __stub___$2
3217 choke me
3218 #endif
3219
3220 int
3221 main ()
3222 {
3223 return $2 ();
3224 ;
3225 return 0;
3226 }
3227 _ACEOF
3228 if ac_fn_c_try_link "$LINENO"; then :
3229 eval "$3=yes"
3230 else
3231 eval "$3=no"
3232 fi
3233 rm -f core conftest.err conftest.$ac_objext \
3234 conftest$ac_exeext conftest.$ac_ext
3235 fi
3236 eval ac_res=\$$3
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3238 $as_echo "$ac_res" >&6; }
3239 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3240
3241 } # ac_fn_c_check_func
3242
3243 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3244 # -------------------------------------------
3245 # Tests whether TYPE exists after having included INCLUDES, setting cache
3246 # variable VAR accordingly.
3247 ac_fn_c_check_type ()
3248 {
3249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3251 $as_echo_n "checking for $2... " >&6; }
3252 if eval \${$3+:} false; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 eval "$3=no"
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3258 $4
3259 int
3260 main ()
3261 {
3262 if (sizeof ($2))
3263 return 0;
3264 ;
3265 return 0;
3266 }
3267 _ACEOF
3268 if ac_fn_c_try_compile "$LINENO"; then :
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3271 $4
3272 int
3273 main ()
3274 {
3275 if (sizeof (($2)))
3276 return 0;
3277 ;
3278 return 0;
3279 }
3280 _ACEOF
3281 if ac_fn_c_try_compile "$LINENO"; then :
3282
3283 else
3284 eval "$3=yes"
3285 fi
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 fi
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 fi
3290 eval ac_res=\$$3
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3292 $as_echo "$ac_res" >&6; }
3293 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3294
3295 } # ac_fn_c_check_type
3296
3297 # ac_fn_cxx_try_run LINENO
3298 # ------------------------
3299 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3300 # that executables *can* be run.
3301 ac_fn_cxx_try_run ()
3302 {
3303 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3304 if { { ac_try="$ac_link"
3305 case "(($ac_try" in
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3308 esac
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_link") 2>&5
3312 ac_status=$?
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3315 { { case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_try") 2>&5
3322 ac_status=$?
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; }; }; then :
3325 ac_retval=0
3326 else
3327 $as_echo "$as_me: program exited with status $ac_status" >&5
3328 $as_echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.$ac_ext >&5
3330
3331 ac_retval=$ac_status
3332 fi
3333 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3335 as_fn_set_status $ac_retval
3336
3337 } # ac_fn_cxx_try_run
3338 cat >config.log <<_ACEOF
3339 This file contains any messages produced by compilers while
3340 running configure, to aid debugging if configure makes a mistake.
3341
3342 It was created by wxWidgets $as_me 2.9.4, which was
3343 generated by GNU Autoconf 2.68. Invocation command line was
3344
3345 $ $0 $@
3346
3347 _ACEOF
3348 exec 5>>config.log
3349 {
3350 cat <<_ASUNAME
3351 ## --------- ##
3352 ## Platform. ##
3353 ## --------- ##
3354
3355 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3356 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3357 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3358 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3359 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3360
3361 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3362 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3363
3364 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3365 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3366 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3367 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3368 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3369 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3370 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3371
3372 _ASUNAME
3373
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3376 do
3377 IFS=$as_save_IFS
3378 test -z "$as_dir" && as_dir=.
3379 $as_echo "PATH: $as_dir"
3380 done
3381 IFS=$as_save_IFS
3382
3383 } >&5
3384
3385 cat >&5 <<_ACEOF
3386
3387
3388 ## ----------- ##
3389 ## Core tests. ##
3390 ## ----------- ##
3391
3392 _ACEOF
3393
3394
3395 # Keep a trace of the command line.
3396 # Strip out --no-create and --no-recursion so they do not pile up.
3397 # Strip out --silent because we don't want to record it for future runs.
3398 # Also quote any args containing shell meta-characters.
3399 # Make two passes to allow for proper duplicate-argument suppression.
3400 ac_configure_args=
3401 ac_configure_args0=
3402 ac_configure_args1=
3403 ac_must_keep_next=false
3404 for ac_pass in 1 2
3405 do
3406 for ac_arg
3407 do
3408 case $ac_arg in
3409 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3411 | -silent | --silent | --silen | --sile | --sil)
3412 continue ;;
3413 *\'*)
3414 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3415 esac
3416 case $ac_pass in
3417 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3418 2)
3419 as_fn_append ac_configure_args1 " '$ac_arg'"
3420 if test $ac_must_keep_next = true; then
3421 ac_must_keep_next=false # Got value, back to normal.
3422 else
3423 case $ac_arg in
3424 *=* | --config-cache | -C | -disable-* | --disable-* \
3425 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3426 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3427 | -with-* | --with-* | -without-* | --without-* | --x)
3428 case "$ac_configure_args0 " in
3429 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3430 esac
3431 ;;
3432 -* ) ac_must_keep_next=true ;;
3433 esac
3434 fi
3435 as_fn_append ac_configure_args " '$ac_arg'"
3436 ;;
3437 esac
3438 done
3439 done
3440 { ac_configure_args0=; unset ac_configure_args0;}
3441 { ac_configure_args1=; unset ac_configure_args1;}
3442
3443 # When interrupted or exit'd, cleanup temporary files, and complete
3444 # config.log. We remove comments because anyway the quotes in there
3445 # would cause problems or look ugly.
3446 # WARNING: Use '\'' to represent an apostrophe within the trap.
3447 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3448 trap 'exit_status=$?
3449 # Save into config.log some information that might help in debugging.
3450 {
3451 echo
3452
3453 $as_echo "## ---------------- ##
3454 ## Cache variables. ##
3455 ## ---------------- ##"
3456 echo
3457 # The following way of writing the cache mishandles newlines in values,
3458 (
3459 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3460 eval ac_val=\$$ac_var
3461 case $ac_val in #(
3462 *${as_nl}*)
3463 case $ac_var in #(
3464 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3465 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3466 esac
3467 case $ac_var in #(
3468 _ | IFS | as_nl) ;; #(
3469 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3470 *) { eval $ac_var=; unset $ac_var;} ;;
3471 esac ;;
3472 esac
3473 done
3474 (set) 2>&1 |
3475 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3476 *${as_nl}ac_space=\ *)
3477 sed -n \
3478 "s/'\''/'\''\\\\'\'''\''/g;
3479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3480 ;; #(
3481 *)
3482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3483 ;;
3484 esac |
3485 sort
3486 )
3487 echo
3488
3489 $as_echo "## ----------------- ##
3490 ## Output variables. ##
3491 ## ----------------- ##"
3492 echo
3493 for ac_var in $ac_subst_vars
3494 do
3495 eval ac_val=\$$ac_var
3496 case $ac_val in
3497 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3498 esac
3499 $as_echo "$ac_var='\''$ac_val'\''"
3500 done | sort
3501 echo
3502
3503 if test -n "$ac_subst_files"; then
3504 $as_echo "## ------------------- ##
3505 ## File substitutions. ##
3506 ## ------------------- ##"
3507 echo
3508 for ac_var in $ac_subst_files
3509 do
3510 eval ac_val=\$$ac_var
3511 case $ac_val in
3512 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3513 esac
3514 $as_echo "$ac_var='\''$ac_val'\''"
3515 done | sort
3516 echo
3517 fi
3518
3519 if test -s confdefs.h; then
3520 $as_echo "## ----------- ##
3521 ## confdefs.h. ##
3522 ## ----------- ##"
3523 echo
3524 cat confdefs.h
3525 echo
3526 fi
3527 test "$ac_signal" != 0 &&
3528 $as_echo "$as_me: caught signal $ac_signal"
3529 $as_echo "$as_me: exit $exit_status"
3530 } >&5
3531 rm -f core *.core core.conftest.* &&
3532 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3533 exit $exit_status
3534 ' 0
3535 for ac_signal in 1 2 13 15; do
3536 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3537 done
3538 ac_signal=0
3539
3540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3541 rm -f -r conftest* confdefs.h
3542
3543 $as_echo "/* confdefs.h */" > confdefs.h
3544
3545 # Predefined preprocessor variables.
3546
3547 cat >>confdefs.h <<_ACEOF
3548 #define PACKAGE_NAME "$PACKAGE_NAME"
3549 _ACEOF
3550
3551 cat >>confdefs.h <<_ACEOF
3552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3553 _ACEOF
3554
3555 cat >>confdefs.h <<_ACEOF
3556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3557 _ACEOF
3558
3559 cat >>confdefs.h <<_ACEOF
3560 #define PACKAGE_STRING "$PACKAGE_STRING"
3561 _ACEOF
3562
3563 cat >>confdefs.h <<_ACEOF
3564 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3565 _ACEOF
3566
3567 cat >>confdefs.h <<_ACEOF
3568 #define PACKAGE_URL "$PACKAGE_URL"
3569 _ACEOF
3570
3571
3572 # Let the site file select an alternate cache file if it wants to.
3573 # Prefer an explicitly selected file to automatically selected ones.
3574 ac_site_file1=NONE
3575 ac_site_file2=NONE
3576 if test -n "$CONFIG_SITE"; then
3577 # We do not want a PATH search for config.site.
3578 case $CONFIG_SITE in #((
3579 -*) ac_site_file1=./$CONFIG_SITE;;
3580 */*) ac_site_file1=$CONFIG_SITE;;
3581 *) ac_site_file1=./$CONFIG_SITE;;
3582 esac
3583 elif test "x$prefix" != xNONE; then
3584 ac_site_file1=$prefix/share/config.site
3585 ac_site_file2=$prefix/etc/config.site
3586 else
3587 ac_site_file1=$ac_default_prefix/share/config.site
3588 ac_site_file2=$ac_default_prefix/etc/config.site
3589 fi
3590 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3591 do
3592 test "x$ac_site_file" = xNONE && continue
3593 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3595 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3596 sed 's/^/| /' "$ac_site_file" >&5
3597 . "$ac_site_file" \
3598 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600 as_fn_error $? "failed to load site script $ac_site_file
3601 See \`config.log' for more details" "$LINENO" 5; }
3602 fi
3603 done
3604
3605 if test -r "$cache_file"; then
3606 # Some versions of bash will fail to source /dev/null (special files
3607 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3608 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3610 $as_echo "$as_me: loading cache $cache_file" >&6;}
3611 case $cache_file in
3612 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3613 *) . "./$cache_file";;
3614 esac
3615 fi
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3618 $as_echo "$as_me: creating cache $cache_file" >&6;}
3619 >$cache_file
3620 fi
3621
3622 # Check that the precious variables saved in the cache have kept the same
3623 # value.
3624 ac_cache_corrupted=false
3625 for ac_var in $ac_precious_vars; do
3626 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3627 eval ac_new_set=\$ac_env_${ac_var}_set
3628 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3629 eval ac_new_val=\$ac_env_${ac_var}_value
3630 case $ac_old_set,$ac_new_set in
3631 set,)
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3633 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3634 ac_cache_corrupted=: ;;
3635 ,set)
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3637 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3638 ac_cache_corrupted=: ;;
3639 ,);;
3640 *)
3641 if test "x$ac_old_val" != "x$ac_new_val"; then
3642 # differences in whitespace do not lead to failure.
3643 ac_old_val_w=`echo x $ac_old_val`
3644 ac_new_val_w=`echo x $ac_new_val`
3645 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3647 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3648 ac_cache_corrupted=:
3649 else
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3651 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3652 eval $ac_var=\$ac_old_val
3653 fi
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3655 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3657 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3658 fi;;
3659 esac
3660 # Pass precious variables to config.status.
3661 if test "$ac_new_set" = set; then
3662 case $ac_new_val in
3663 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3664 *) ac_arg=$ac_var=$ac_new_val ;;
3665 esac
3666 case " $ac_configure_args " in
3667 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3668 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3669 esac
3670 fi
3671 done
3672 if $ac_cache_corrupted; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3676 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3677 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3678 fi
3679 ## -------------------- ##
3680 ## Main body of script. ##
3681 ## -------------------- ##
3682
3683 ac_ext=c
3684 ac_cpp='$CPP $CPPFLAGS'
3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688
3689
3690
3691
3692
3693 ac_aux_dir=
3694 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3695 if test -f "$ac_dir/install-sh"; then
3696 ac_aux_dir=$ac_dir
3697 ac_install_sh="$ac_aux_dir/install-sh -c"
3698 break
3699 elif test -f "$ac_dir/install.sh"; then
3700 ac_aux_dir=$ac_dir
3701 ac_install_sh="$ac_aux_dir/install.sh -c"
3702 break
3703 elif test -f "$ac_dir/shtool"; then
3704 ac_aux_dir=$ac_dir
3705 ac_install_sh="$ac_aux_dir/shtool install -c"
3706 break
3707 fi
3708 done
3709 if test -z "$ac_aux_dir"; then
3710 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3711 fi
3712
3713 # These three variables are undocumented and unsupported,
3714 # and are intended to be withdrawn in a future Autoconf release.
3715 # They can cause serious problems if a builder's source tree is in a directory
3716 # whose full name contains unusual characters.
3717 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3718 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3719 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3720
3721
3722 # Make sure we can run config.sub.
3723 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3724 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3725
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3727 $as_echo_n "checking build system type... " >&6; }
3728 if ${ac_cv_build+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 ac_build_alias=$build_alias
3732 test "x$ac_build_alias" = x &&
3733 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3734 test "x$ac_build_alias" = x &&
3735 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3736 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3737 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3738
3739 fi
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3741 $as_echo "$ac_cv_build" >&6; }
3742 case $ac_cv_build in
3743 *-*-*) ;;
3744 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3745 esac
3746 build=$ac_cv_build
3747 ac_save_IFS=$IFS; IFS='-'
3748 set x $ac_cv_build
3749 shift
3750 build_cpu=$1
3751 build_vendor=$2
3752 shift; shift
3753 # Remember, the first character of IFS is used to create $*,
3754 # except with old shells:
3755 build_os=$*
3756 IFS=$ac_save_IFS
3757 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3758
3759
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3761 $as_echo_n "checking host system type... " >&6; }
3762 if ${ac_cv_host+:} false; then :
3763 $as_echo_n "(cached) " >&6
3764 else
3765 if test "x$host_alias" = x; then
3766 ac_cv_host=$ac_cv_build
3767 else
3768 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3769 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3770 fi
3771
3772 fi
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3774 $as_echo "$ac_cv_host" >&6; }
3775 case $ac_cv_host in
3776 *-*-*) ;;
3777 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3778 esac
3779 host=$ac_cv_host
3780 ac_save_IFS=$IFS; IFS='-'
3781 set x $ac_cv_host
3782 shift
3783 host_cpu=$1
3784 host_vendor=$2
3785 shift; shift
3786 # Remember, the first character of IFS is used to create $*,
3787 # except with old shells:
3788 host_os=$*
3789 IFS=$ac_save_IFS
3790 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3791
3792
3793
3794 if test "$cross_compiling" != "no"; then
3795 HOST_PREFIX="${host_alias}-"
3796 HOST_SUFFIX="-$host_alias"
3797 else
3798 HOST_PREFIX=
3799 HOST_SUFFIX=
3800 fi
3801
3802
3803 wx_major_version_number=2
3804 wx_minor_version_number=9
3805 wx_release_number=4
3806 wx_subrelease_number=0
3807
3808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3809 WX_VERSION=$WX_RELEASE.$wx_release_number
3810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3811
3812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3813
3814
3815 wx_top_builddir="`pwd`"
3816
3817
3818
3819
3820 USE_UNIX=1
3821 USE_OS2=0
3822 USE_WIN32=0
3823 USE_DOS=0
3824 USE_BEOS=0
3825 USE_MAC=0
3826
3827 USE_AIX=
3828 USE_BSD= USE_DARWIN= USE_FREEBSD=
3829 USE_GNU= USE_HPUX=
3830 USE_LINUX=
3831 USE_NETBSD=
3832 USE_OPENBSD=
3833 USE_OSF= USE_SGI=
3834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3835 USE_ULTRIX=
3836 USE_UNIXWARE=
3837
3838 USE_ALPHA=
3839
3840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3841
3842 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3843
3844 DEFAULT_wxUSE_OLD_COCOA=0
3845 DEFAULT_wxUSE_GTK=0
3846 DEFAULT_wxUSE_OSX_CARBON=0
3847 DEFAULT_wxUSE_OSX_COCOA=0
3848 DEFAULT_wxUSE_OSX_IPHONE=0
3849 DEFAULT_wxUSE_MICROWIN=0
3850 DEFAULT_wxUSE_MOTIF=0
3851 DEFAULT_wxUSE_MSW=0
3852 DEFAULT_wxUSE_PM=0
3853 DEFAULT_wxUSE_X11=0
3854 DEFAULT_wxUSE_DFB=0
3855
3856 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3857 DEFAULT_DEFAULT_wxUSE_GTK=0
3858 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3859 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3860 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3861 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3862 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3863 DEFAULT_DEFAULT_wxUSE_MSW=0
3864 DEFAULT_DEFAULT_wxUSE_PM=0
3865 DEFAULT_DEFAULT_wxUSE_X11=0
3866 DEFAULT_DEFAULT_wxUSE_DFB=0
3867
3868 PROGRAM_EXT=
3869 SAMPLES_RPATH_FLAG=
3870 DYLIB_RPATH_INSTALL=
3871 DYLIB_RPATH_POSTLINK=
3872
3873 DEFAULT_STD_FLAG=yes
3874
3875 case "${host}" in
3876 *-hp-hpux* )
3877 USE_HPUX=1
3878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3879 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3880 $as_echo "#define __HPUX__ 1" >>confdefs.h
3881
3882
3883 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3884 ;;
3885 *-*-linux* )
3886 USE_LINUX=1
3887 $as_echo "#define __LINUX__ 1" >>confdefs.h
3888
3889 TMP=`uname -m`
3890 if test "x$TMP" = "xalpha"; then
3891 USE_ALPHA=1
3892 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3893
3894 fi
3895 DEFAULT_DEFAULT_wxUSE_GTK=1
3896 ;;
3897 *-*-gnu* | *-*-k*bsd*-gnu )
3898 USE_GNU=1
3899 TMP=`uname -m`
3900 if test "x$TMP" = "xalpha"; then
3901 USE_ALPHA=1
3902 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3903
3904 fi
3905 DEFAULT_DEFAULT_wxUSE_GTK=1
3906 ;;
3907 *-*-irix5* | *-*-irix6* )
3908 USE_SGI=1
3909 USE_SVR4=1
3910 $as_echo "#define __SGI__ 1" >>confdefs.h
3911
3912 $as_echo "#define __SVR4__ 1" >>confdefs.h
3913
3914 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3915 ;;
3916 *-*-qnx*)
3917 USE_QNX=1
3918 $as_echo "#define __QNX__ 1" >>confdefs.h
3919
3920 DEFAULT_DEFAULT_wxUSE_X11=1
3921 ;;
3922 *-*-solaris2* )
3923 USE_SUN=1
3924 USE_SOLARIS=1
3925 USE_SVR4=1
3926 $as_echo "#define __SUN__ 1" >>confdefs.h
3927
3928 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3929
3930 $as_echo "#define __SVR4__ 1" >>confdefs.h
3931
3932 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3933 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3934 ;;
3935 *-*-sunos4* )
3936 USE_SUN=1
3937 USE_SUNOS=1
3938 USE_BSD=1
3939 $as_echo "#define __SUN__ 1" >>confdefs.h
3940
3941 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3942
3943 $as_echo "#define __BSD__ 1" >>confdefs.h
3944
3945 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3946 ;;
3947 *-*-freebsd*)
3948 USE_BSD=1
3949 USE_FREEBSD=1
3950 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3951
3952 $as_echo "#define __BSD__ 1" >>confdefs.h
3953
3954 DEFAULT_DEFAULT_wxUSE_GTK=1
3955 ;;
3956 *-*-openbsd*|*-*-mirbsd*)
3957 USE_BSD=1
3958 USE_OPENBSD=1
3959 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3960
3961 $as_echo "#define __BSD__ 1" >>confdefs.h
3962
3963 DEFAULT_DEFAULT_wxUSE_GTK=1
3964 ;;
3965 *-*-netbsd*)
3966 USE_BSD=1
3967 USE_NETBSD=1
3968 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3969
3970 $as_echo "#define __BSD__ 1" >>confdefs.h
3971
3972 DEFAULT_DEFAULT_wxUSE_GTK=1
3973 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3974
3975 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3976 ;;
3977 *-*-osf* )
3978 USE_ALPHA=1
3979 USE_OSF=1
3980 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3981
3982 $as_echo "#define __OSF__ 1" >>confdefs.h
3983
3984 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3985 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3986 ;;
3987 *-*-dgux5* )
3988 USE_ALPHA=1
3989 USE_SVR4=1
3990 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3991
3992 $as_echo "#define __SVR4__ 1" >>confdefs.h
3993
3994 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3995 ;;
3996 *-*-sysv5* )
3997 USE_SYSV=1
3998 USE_SVR4=1
3999 $as_echo "#define __SYSV__ 1" >>confdefs.h
4000
4001 $as_echo "#define __SVR4__ 1" >>confdefs.h
4002
4003 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4004 ;;
4005 *-*-aix* )
4006 USE_AIX=1
4007 USE_SYSV=1
4008 USE_SVR4=1
4009 $as_echo "#define __AIX__ 1" >>confdefs.h
4010
4011 $as_echo "#define __SYSV__ 1" >>confdefs.h
4012
4013 $as_echo "#define __SVR4__ 1" >>confdefs.h
4014
4015 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4016 ;;
4017
4018 *-*-*UnixWare*)
4019 USE_SYSV=1
4020 USE_SVR4=1
4021 USE_UNIXWARE=1
4022 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4023
4024 ;;
4025
4026 *-*-cygwin* | *-*-mingw32* )
4027 PROGRAM_EXT=".exe"
4028 DEFAULT_DEFAULT_wxUSE_MSW=1
4029 ;;
4030
4031 *-pc-msdosdjgpp )
4032 USE_UNIX=0
4033 USE_DOS=1
4034 $as_echo "#define __DOS__ 1" >>confdefs.h
4035
4036 PROGRAM_EXT=".exe"
4037 ;;
4038
4039 *-pc-os2_emx | *-pc-os2-emx )
4040 $as_echo "#define __EMX__ 1" >>confdefs.h
4041
4042 USE_OS2=1
4043 $as_echo "#define __OS2__ 1" >>confdefs.h
4044
4045 PROGRAM_EXT=".exe"
4046 DEFAULT_DEFAULT_wxUSE_PM=1
4047 CXX=gcc
4048 LDFLAGS="$LDFLAGS -Zcrtdll"
4049 ac_executable_extensions=".exe"
4050 export ac_executable_extensions
4051 ac_save_IFS="$IFS"
4052 IFS='\\'
4053 ac_TEMP_PATH=
4054 for ac_dir in $PATH; do
4055 IFS=$ac_save_IFS
4056 if test -z "$ac_TEMP_PATH"; then
4057 ac_TEMP_PATH="$ac_dir"
4058 else
4059 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4060 fi
4061 done
4062 export PATH="$ac_TEMP_PATH"
4063 unset ac_TEMP_PATH
4064 DEFAULT_STD_FLAG=no
4065 ;;
4066
4067 arm-apple-darwin*)
4068 USE_BSD=1
4069 USE_DARWIN=1
4070 $as_echo "#define __BSD__ 1" >>confdefs.h
4071
4072 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4073
4074 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4075 ;;
4076
4077 *-*-darwin* )
4078 USE_BSD=1
4079 USE_DARWIN=1
4080 $as_echo "#define __BSD__ 1" >>confdefs.h
4081
4082 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4083
4084 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4085
4086 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4087 ;;
4088
4089 *-*-beos* )
4090 USE_BEOS=1
4091 $as_echo "#define __BEOS__ 1" >>confdefs.h
4092
4093 ;;
4094
4095 *)
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4097 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4099 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4100
4101 DEFAULT_DEFAULT_wxUSE_X11=1
4102 DEFAULT_wxUSE_SHARED=no
4103 esac
4104
4105
4106
4107 DEFAULT_wxUSE_ALL_FEATURES=yes
4108
4109 DEFAULT_wxUSE_STD_CONTAINERS=no
4110 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4111 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4112
4113 DEFAULT_wxUSE_DMALLOC=no
4114 DEFAULT_wxUSE_LIBGNOMEVFS=no
4115 DEFAULT_wxUSE_LIBHILDON=no
4116 DEFAULT_wxUSE_LIBHILDON2=no
4117 DEFAULT_wxUSE_LIBMSPACK=no
4118 DEFAULT_wxUSE_LIBSDL=no
4119
4120 DEFAULT_wxUSE_ACCESSIBILITY=no
4121 DEFAULT_wxUSE_IPV6=no
4122 DEFAULT_wxUSE_GSTREAMER8=no
4123 DEFAULT_wxUSE_UNICODE_UTF8=no
4124 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4125
4126 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4127 DEFAULT_wxUSE_OPENGL=auto
4128 DEFAULT_wxUSE_MEDIACTRL=auto
4129 DEFAULT_wxUSE_COMPILER_TLS=auto
4130 DEFAULT_wxUSE_HOTKEY=auto
4131 DEFAULT_wxUSE_METAFILE=auto
4132
4133 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4134 DEFAULT_wxUSE_MAC_ARCH=no
4135
4136 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4137
4138 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4139
4140
4141
4142
4143
4144 enablestring=disable
4145 defaultval=
4146 if test -z "$defaultval"; then
4147 if test x"$enablestring" = xdisable; then
4148 defaultval=yes
4149 else
4150 defaultval=no
4151 fi
4152 fi
4153
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4155 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4156 # Check whether --enable-gui was given.
4157 if test "${enable_gui+set}" = set; then :
4158 enableval=$enable_gui;
4159 if test "$enableval" = yes; then
4160 wx_cv_use_gui='wxUSE_GUI=yes'
4161 else
4162 wx_cv_use_gui='wxUSE_GUI=no'
4163 fi
4164
4165 else
4166
4167 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4168
4169 fi
4170
4171
4172 eval "$wx_cv_use_gui"
4173
4174 if test x"$enablestring" = xdisable; then
4175 if test $wxUSE_GUI = no; then
4176 result=yes
4177 else
4178 result=no
4179 fi
4180 else
4181 result=$wxUSE_GUI
4182 fi
4183
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4185 $as_echo "$result" >&6; }
4186
4187
4188 enablestring=
4189 defaultval=
4190 if test -z "$defaultval"; then
4191 if test x"$enablestring" = xdisable; then
4192 defaultval=yes
4193 else
4194 defaultval=no
4195 fi
4196 fi
4197
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4199 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4200 # Check whether --enable-monolithic was given.
4201 if test "${enable_monolithic+set}" = set; then :
4202 enableval=$enable_monolithic;
4203 if test "$enableval" = yes; then
4204 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4205 else
4206 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4207 fi
4208
4209 else
4210
4211 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4212
4213 fi
4214
4215
4216 eval "$wx_cv_use_monolithic"
4217
4218 if test x"$enablestring" = xdisable; then
4219 if test $wxUSE_MONOLITHIC = no; then
4220 result=yes
4221 else
4222 result=no
4223 fi
4224 else
4225 result=$wxUSE_MONOLITHIC
4226 fi
4227
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4229 $as_echo "$result" >&6; }
4230
4231
4232 enablestring=
4233 defaultval=
4234 if test -z "$defaultval"; then
4235 if test x"$enablestring" = xdisable; then
4236 defaultval=yes
4237 else
4238 defaultval=no
4239 fi
4240 fi
4241
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4243 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4244 # Check whether --enable-plugins was given.
4245 if test "${enable_plugins+set}" = set; then :
4246 enableval=$enable_plugins;
4247 if test "$enableval" = yes; then
4248 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4249 else
4250 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4251 fi
4252
4253 else
4254
4255 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4256
4257 fi
4258
4259
4260 eval "$wx_cv_use_plugins"
4261
4262 if test x"$enablestring" = xdisable; then
4263 if test $wxUSE_PLUGINS = no; then
4264 result=yes
4265 else
4266 result=no
4267 fi
4268 else
4269 result=$wxUSE_PLUGINS
4270 fi
4271
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4273 $as_echo "$result" >&6; }
4274
4275
4276 withstring=without
4277 defaultval=$wxUSE_ALL_FEATURES
4278 if test -z "$defaultval"; then
4279 if test x"$withstring" = xwithout; then
4280 defaultval=yes
4281 else
4282 defaultval=no
4283 fi
4284 fi
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4286 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4287
4288 # Check whether --with-subdirs was given.
4289 if test "${with_subdirs+set}" = set; then :
4290 withval=$with_subdirs;
4291 if test "$withval" = yes; then
4292 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4293 else
4294 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4295 fi
4296
4297 else
4298
4299 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4300
4301 fi
4302
4303
4304 eval "$wx_cv_use_subdirs"
4305
4306 if test x"$withstring" = xwithout; then
4307 if test $wxWITH_SUBDIRS = yes; then
4308 result=no
4309 else
4310 result=yes
4311 fi
4312 else
4313 result=$wxWITH_SUBDIRS
4314 fi
4315
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4317 $as_echo "$result" >&6; }
4318
4319
4320 # Check whether --with-flavour was given.
4321 if test "${with_flavour+set}" = set; then :
4322 withval=$with_flavour; WX_FLAVOUR="$withval"
4323 fi
4324
4325
4326 enablestring=
4327 defaultval=
4328 if test -z "$defaultval"; then
4329 if test x"$enablestring" = xdisable; then
4330 defaultval=yes
4331 else
4332 defaultval=no
4333 fi
4334 fi
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4337 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4338 # Check whether --enable-official_build was given.
4339 if test "${enable_official_build+set}" = set; then :
4340 enableval=$enable_official_build;
4341 if test "$enableval" = yes; then
4342 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4343 else
4344 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4345 fi
4346
4347 else
4348
4349 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4350
4351 fi
4352
4353
4354 eval "$wx_cv_use_official_build"
4355
4356 if test x"$enablestring" = xdisable; then
4357 if test $wxUSE_OFFICIAL_BUILD = no; then
4358 result=yes
4359 else
4360 result=no
4361 fi
4362 else
4363 result=$wxUSE_OFFICIAL_BUILD
4364 fi
4365
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4367 $as_echo "$result" >&6; }
4368
4369 # Check whether --enable-vendor was given.
4370 if test "${enable_vendor+set}" = set; then :
4371 enableval=$enable_vendor; VENDOR="$enableval"
4372 fi
4373
4374 if test "x$VENDOR" = "x"; then
4375 VENDOR="custom"
4376 fi
4377
4378
4379 enablestring=disable
4380 defaultval=
4381 if test -z "$defaultval"; then
4382 if test x"$enablestring" = xdisable; then
4383 defaultval=yes
4384 else
4385 defaultval=no
4386 fi
4387 fi
4388
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4390 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4391 # Check whether --enable-all-features was given.
4392 if test "${enable_all_features+set}" = set; then :
4393 enableval=$enable_all_features;
4394 if test "$enableval" = yes; then
4395 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4396 else
4397 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4398 fi
4399
4400 else
4401
4402 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4403
4404 fi
4405
4406
4407 eval "$wx_cv_use_all_features"
4408
4409 if test x"$enablestring" = xdisable; then
4410 if test $wxUSE_ALL_FEATURES = no; then
4411 result=yes
4412 else
4413 result=no
4414 fi
4415 else
4416 result=$wxUSE_ALL_FEATURES
4417 fi
4418
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4420 $as_echo "$result" >&6; }
4421
4422
4423 if test "$wxUSE_ALL_FEATURES" = "no"; then
4424 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4425 DEFAULT_wxUSE_MEDIACTRL=no
4426 fi
4427
4428
4429 if test "$wxUSE_GUI" = "yes"; then
4430
4431
4432 enablestring=
4433 defaultval=
4434 if test -z "$defaultval"; then
4435 if test x"$enablestring" = xdisable; then
4436 defaultval=yes
4437 else
4438 defaultval=no
4439 fi
4440 fi
4441
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4443 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4444 # Check whether --enable-universal was given.
4445 if test "${enable_universal+set}" = set; then :
4446 enableval=$enable_universal;
4447 if test "$enableval" = yes; then
4448 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4449 else
4450 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4451 fi
4452
4453 else
4454
4455 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4456
4457 fi
4458
4459
4460 eval "$wx_cv_use_universal"
4461
4462 if test x"$enablestring" = xdisable; then
4463 if test $wxUSE_UNIVERSAL = no; then
4464 result=yes
4465 else
4466 result=no
4467 fi
4468 else
4469 result=$wxUSE_UNIVERSAL
4470 fi
4471
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4473 $as_echo "$result" >&6; }
4474
4475 if test "$wxUSE_UNIVERSAL" = "yes"; then
4476
4477 # Check whether --with-themes was given.
4478 if test "${with_themes+set}" = set; then :
4479 withval=$with_themes; wxUNIV_THEMES="$withval"
4480 fi
4481
4482 fi
4483
4484
4485 # Check whether --with-gtk was given.
4486 if test "${with_gtk+set}" = set; then :
4487 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4488 fi
4489
4490
4491 # Check whether --with-motif was given.
4492 if test "${with_motif+set}" = set; then :
4493 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4494 fi
4495
4496
4497 # Check whether --with-osx_carbon was given.
4498 if test "${with_osx_carbon+set}" = set; then :
4499 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4500 fi
4501
4502
4503 # Check whether --with-osx_cocoa was given.
4504 if test "${with_osx_cocoa+set}" = set; then :
4505 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4506 fi
4507
4508
4509 # Check whether --with-osx_iphone was given.
4510 if test "${with_osx_iphone+set}" = set; then :
4511 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4512 fi
4513
4514
4515 # Check whether --with-osx was given.
4516 if test "${with_osx+set}" = set; then :
4517 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4518 fi
4519
4520
4521 # Check whether --with-carbon was given.
4522 if test "${with_carbon+set}" = set; then :
4523 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4524 fi
4525
4526
4527 # Check whether --with-cocoa was given.
4528 if test "${with_cocoa+set}" = set; then :
4529 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4530 fi
4531
4532
4533 # Check whether --with-iphone was given.
4534 if test "${with_iphone+set}" = set; then :
4535 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4536 fi
4537
4538
4539 # Check whether --with-mac was given.
4540 if test "${with_mac+set}" = set; then :
4541 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4542 fi
4543
4544
4545 # Check whether --with-old_cocoa was given.
4546 if test "${with_old_cocoa+set}" = set; then :
4547 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4548 fi
4549
4550
4551 # Check whether --with-wine was given.
4552 if test "${with_wine+set}" = set; then :
4553 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4554 fi
4555
4556
4557 # Check whether --with-msw was given.
4558 if test "${with_msw+set}" = set; then :
4559 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4560 fi
4561
4562
4563 # Check whether --with-pm was given.
4564 if test "${with_pm+set}" = set; then :
4565 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4566 fi
4567
4568
4569 # Check whether --with-directfb was given.
4570 if test "${with_directfb+set}" = set; then :
4571 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4572 fi
4573
4574
4575 # Check whether --with-microwin was given.
4576 if test "${with_microwin+set}" = set; then :
4577 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4578 fi
4579
4580
4581 # Check whether --with-x11 was given.
4582 if test "${with_x11+set}" = set; then :
4583 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4584 fi
4585
4586
4587 enablestring=
4588 defaultval=
4589 if test -z "$defaultval"; then
4590 if test x"$enablestring" = xdisable; then
4591 defaultval=yes
4592 else
4593 defaultval=no
4594 fi
4595 fi
4596
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4598 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4599 # Check whether --enable-nanox was given.
4600 if test "${enable_nanox+set}" = set; then :
4601 enableval=$enable_nanox;
4602 if test "$enableval" = yes; then
4603 wx_cv_use_nanox='wxUSE_NANOX=yes'
4604 else
4605 wx_cv_use_nanox='wxUSE_NANOX=no'
4606 fi
4607
4608 else
4609
4610 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4611
4612 fi
4613
4614
4615 eval "$wx_cv_use_nanox"
4616
4617 if test x"$enablestring" = xdisable; then
4618 if test $wxUSE_NANOX = no; then
4619 result=yes
4620 else
4621 result=no
4622 fi
4623 else
4624 result=$wxUSE_NANOX
4625 fi
4626
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4628 $as_echo "$result" >&6; }
4629
4630
4631 enablestring=
4632 defaultval=
4633 if test -z "$defaultval"; then
4634 if test x"$enablestring" = xdisable; then
4635 defaultval=yes
4636 else
4637 defaultval=no
4638 fi
4639 fi
4640
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4642 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4643 # Check whether --enable-gpe was given.
4644 if test "${enable_gpe+set}" = set; then :
4645 enableval=$enable_gpe;
4646 if test "$enableval" = yes; then
4647 wx_cv_use_gpe='wxUSE_GPE=yes'
4648 else
4649 wx_cv_use_gpe='wxUSE_GPE=no'
4650 fi
4651
4652 else
4653
4654 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4655
4656 fi
4657
4658
4659 eval "$wx_cv_use_gpe"
4660
4661 if test x"$enablestring" = xdisable; then
4662 if test $wxUSE_GPE = no; then
4663 result=yes
4664 else
4665 result=no
4666 fi
4667 else
4668 result=$wxUSE_GPE
4669 fi
4670
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4672 $as_echo "$result" >&6; }
4673
4674
4675
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4677 $as_echo_n "checking for toolkit... " >&6; }
4678
4679
4680
4681 # In Wine, we need to default to MSW, not GTK or MOTIF
4682 if test "$wxUSE_WINE" = "yes"; then
4683 DEFAULT_DEFAULT_wxUSE_GTK=0
4684 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4685 DEFAULT_DEFAULT_wxUSE_MSW=1
4686 wxUSE_SHARED=no
4687 CC=${CC:-winegcc}
4688 CXX=${CXX:-wineg++}
4689 fi
4690
4691
4692 if test "$wxUSE_GUI" = "yes"; then
4693
4694 if test "$USE_BEOS" = 1; then
4695 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4696 fi
4697
4698 if test "$TOOLKIT_GIVEN" = 1; then
4699 for toolkit in $ALL_TOOLKITS; do
4700 var=wxUSE_$toolkit
4701 eval "value=\$${var}"
4702 if test "x$value" = "xno"; then
4703 eval "$var=0"
4704 elif test "x$value" != "x"; then
4705 eval "$var=1"
4706 fi
4707
4708 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4709 eval "wx${toolkit}_VERSION=$value"
4710 fi
4711 done
4712 else
4713 for toolkit in $ALL_TOOLKITS; do
4714 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4715 eval "wxUSE_$toolkit=\$${var}"
4716 done
4717 fi
4718
4719 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4720 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4721 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4722
4723 case "${host}" in
4724 *-pc-os2_emx | *-pc-os2-emx )
4725 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4726 esac
4727
4728 case "$NUM_TOOLKITS" in
4729 1)
4730 ;;
4731 0)
4732 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4733 ;;
4734 *)
4735 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4736 esac
4737
4738 for toolkit in $ALL_TOOLKITS; do
4739 var=wxUSE_$toolkit
4740 eval "value=\$${var}"
4741 if test "$value" = 1; then
4742 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4744 $as_echo "$toolkit_echo" >&6; }
4745 fi
4746 done
4747 else
4748 if test "x$host_alias" != "x"; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4750 $as_echo "base ($host_alias hosted) only" >&6; }
4751 else
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4753 $as_echo "base only" >&6; }
4754 fi
4755 fi
4756
4757 wxUSE_MAC=0
4758 if test "$wxUSE_OSX_CARBON" = 1 \
4759 -o "$wxUSE_OSX_COCOA" = 1 \
4760 -o "$wxUSE_OSX_IPHONE" = 1; then
4761 wxUSE_MAC=1
4762 fi
4763
4764
4765
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4767 $as_echo_n "checking for --with-libpng... " >&6; }
4768
4769 # Check whether --with-libpng was given.
4770 if test "${with_libpng+set}" = set; then :
4771 withval=$with_libpng;
4772 if test "$withval" = yes; then
4773 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4774 elif test "$withval" = no; then
4775 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4776 elif test "$withval" = sys; then
4777 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4778 elif test "$withval" = builtin; then
4779 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4780 else
4781 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4782 fi
4783
4784 else
4785
4786 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4787
4788 fi
4789
4790
4791 eval "$wx_cv_use_libpng"
4792
4793 if test "$wxUSE_LIBPNG" = yes; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4795 $as_echo "yes" >&6; }
4796 elif test "$wxUSE_LIBPNG" = no; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 $as_echo "no" >&6; }
4799 elif test "$wxUSE_LIBPNG" = sys; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4801 $as_echo "system version" >&6; }
4802 elif test "$wxUSE_LIBPNG" = builtin; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4804 $as_echo "builtin version" >&6; }
4805 else
4806 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4807 fi
4808
4809
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4811 $as_echo_n "checking for --with-libjpeg... " >&6; }
4812
4813 # Check whether --with-libjpeg was given.
4814 if test "${with_libjpeg+set}" = set; then :
4815 withval=$with_libjpeg;
4816 if test "$withval" = yes; then
4817 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4818 elif test "$withval" = no; then
4819 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4820 elif test "$withval" = sys; then
4821 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4822 elif test "$withval" = builtin; then
4823 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4824 else
4825 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4826 fi
4827
4828 else
4829
4830 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4831
4832 fi
4833
4834
4835 eval "$wx_cv_use_libjpeg"
4836
4837 if test "$wxUSE_LIBJPEG" = yes; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4839 $as_echo "yes" >&6; }
4840 elif test "$wxUSE_LIBJPEG" = no; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4843 elif test "$wxUSE_LIBJPEG" = sys; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4845 $as_echo "system version" >&6; }
4846 elif test "$wxUSE_LIBJPEG" = builtin; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4848 $as_echo "builtin version" >&6; }
4849 else
4850 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4851 fi
4852
4853
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4855 $as_echo_n "checking for --with-libtiff... " >&6; }
4856
4857 # Check whether --with-libtiff was given.
4858 if test "${with_libtiff+set}" = set; then :
4859 withval=$with_libtiff;
4860 if test "$withval" = yes; then
4861 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4862 elif test "$withval" = no; then
4863 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4864 elif test "$withval" = sys; then
4865 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4866 elif test "$withval" = builtin; then
4867 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4868 else
4869 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4870 fi
4871
4872 else
4873
4874 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4875
4876 fi
4877
4878
4879 eval "$wx_cv_use_libtiff"
4880
4881 if test "$wxUSE_LIBTIFF" = yes; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4884 elif test "$wxUSE_LIBTIFF" = no; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 elif test "$wxUSE_LIBTIFF" = sys; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4889 $as_echo "system version" >&6; }
4890 elif test "$wxUSE_LIBTIFF" = builtin; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4892 $as_echo "builtin version" >&6; }
4893 else
4894 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4895 fi
4896
4897
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4899 $as_echo_n "checking for --with-libxpm... " >&6; }
4900
4901 # Check whether --with-libxpm was given.
4902 if test "${with_libxpm+set}" = set; then :
4903 withval=$with_libxpm;
4904 if test "$withval" = yes; then
4905 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4906 elif test "$withval" = no; then
4907 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4908 elif test "$withval" = sys; then
4909 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4910 elif test "$withval" = builtin; then
4911 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4912 else
4913 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4914 fi
4915
4916 else
4917
4918 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4919
4920 fi
4921
4922
4923 eval "$wx_cv_use_libxpm"
4924
4925 if test "$wxUSE_LIBXPM" = yes; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 elif test "$wxUSE_LIBXPM" = no; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4931 elif test "$wxUSE_LIBXPM" = sys; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4933 $as_echo "system version" >&6; }
4934 elif test "$wxUSE_LIBXPM" = builtin; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4936 $as_echo "builtin version" >&6; }
4937 else
4938 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4939 fi
4940
4941
4942 withstring=
4943 defaultval=$wxUSE_ALL_FEATURES
4944 if test -z "$defaultval"; then
4945 if test x"$withstring" = xwithout; then
4946 defaultval=yes
4947 else
4948 defaultval=no
4949 fi
4950 fi
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4952 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4953
4954 # Check whether --with-libiconv was given.
4955 if test "${with_libiconv+set}" = set; then :
4956 withval=$with_libiconv;
4957 if test "$withval" = yes; then
4958 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4959 else
4960 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4961 fi
4962
4963 else
4964
4965 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4966
4967 fi
4968
4969
4970 eval "$wx_cv_use_libiconv"
4971
4972 if test x"$withstring" = xwithout; then
4973 if test $wxUSE_LIBICONV = yes; then
4974 result=no
4975 else
4976 result=yes
4977 fi
4978 else
4979 result=$wxUSE_LIBICONV
4980 fi
4981
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4983 $as_echo "$result" >&6; }
4984
4985
4986 withstring=
4987 defaultval=$wxUSE_ALL_FEATURES
4988 if test -z "$defaultval"; then
4989 if test x"$withstring" = xwithout; then
4990 defaultval=yes
4991 else
4992 defaultval=no
4993 fi
4994 fi
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
4996 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
4997
4998 # Check whether --with-libmspack was given.
4999 if test "${with_libmspack+set}" = set; then :
5000 withval=$with_libmspack;
5001 if test "$withval" = yes; then
5002 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5003 else
5004 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5005 fi
5006
5007 else
5008
5009 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5010
5011 fi
5012
5013
5014 eval "$wx_cv_use_libmspack"
5015
5016 if test x"$withstring" = xwithout; then
5017 if test $wxUSE_LIBMSPACK = yes; then
5018 result=no
5019 else
5020 result=yes
5021 fi
5022 else
5023 result=$wxUSE_LIBMSPACK
5024 fi
5025
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5027 $as_echo "$result" >&6; }
5028
5029
5030 withstring=without
5031 defaultval=$wxUSE_ALL_FEATURES
5032 if test -z "$defaultval"; then
5033 if test x"$withstring" = xwithout; then
5034 defaultval=yes
5035 else
5036 defaultval=no
5037 fi
5038 fi
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5040 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5041
5042 # Check whether --with-gtkprint was given.
5043 if test "${with_gtkprint+set}" = set; then :
5044 withval=$with_gtkprint;
5045 if test "$withval" = yes; then
5046 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5047 else
5048 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5049 fi
5050
5051 else
5052
5053 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5054
5055 fi
5056
5057
5058 eval "$wx_cv_use_gtkprint"
5059
5060 if test x"$withstring" = xwithout; then
5061 if test $wxUSE_GTKPRINT = yes; then
5062 result=no
5063 else
5064 result=yes
5065 fi
5066 else
5067 result=$wxUSE_GTKPRINT
5068 fi
5069
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5071 $as_echo "$result" >&6; }
5072
5073
5074 withstring=without
5075 defaultval=$wxUSE_ALL_FEATURES
5076 if test -z "$defaultval"; then
5077 if test x"$withstring" = xwithout; then
5078 defaultval=yes
5079 else
5080 defaultval=no
5081 fi
5082 fi
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5084 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5085
5086 # Check whether --with-gnomeprint was given.
5087 if test "${with_gnomeprint+set}" = set; then :
5088 withval=$with_gnomeprint;
5089 if test "$withval" = yes; then
5090 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5091 else
5092 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5093 fi
5094
5095 else
5096
5097 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5098
5099 fi
5100
5101
5102 eval "$wx_cv_use_gnomeprint"
5103
5104 if test x"$withstring" = xwithout; then
5105 if test $wxUSE_LIBGNOMEPRINT = yes; then
5106 result=no
5107 else
5108 result=yes
5109 fi
5110 else
5111 result=$wxUSE_LIBGNOMEPRINT
5112 fi
5113
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5115 $as_echo "$result" >&6; }
5116
5117
5118 withstring=
5119 defaultval=$wxUSE_ALL_FEATURES
5120 if test -z "$defaultval"; then
5121 if test x"$withstring" = xwithout; then
5122 defaultval=yes
5123 else
5124 defaultval=no
5125 fi
5126 fi
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5128 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5129
5130 # Check whether --with-gnomevfs was given.
5131 if test "${with_gnomevfs+set}" = set; then :
5132 withval=$with_gnomevfs;
5133 if test "$withval" = yes; then
5134 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5135 else
5136 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5137 fi
5138
5139 else
5140
5141 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5142
5143 fi
5144
5145
5146 eval "$wx_cv_use_gnomevfs"
5147
5148 if test x"$withstring" = xwithout; then
5149 if test $wxUSE_LIBGNOMEVFS = yes; then
5150 result=no
5151 else
5152 result=yes
5153 fi
5154 else
5155 result=$wxUSE_LIBGNOMEVFS
5156 fi
5157
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5159 $as_echo "$result" >&6; }
5160
5161
5162 withstring=
5163 defaultval=$wxUSE_ALL_FEATURES
5164 if test -z "$defaultval"; then
5165 if test x"$withstring" = xwithout; then
5166 defaultval=yes
5167 else
5168 defaultval=no
5169 fi
5170 fi
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5172 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5173
5174 # Check whether --with-hildon was given.
5175 if test "${with_hildon+set}" = set; then :
5176 withval=$with_hildon;
5177 if test "$withval" = yes; then
5178 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5179 else
5180 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5181 fi
5182
5183 else
5184
5185 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5186
5187 fi
5188
5189
5190 eval "$wx_cv_use_hildon"
5191
5192 if test x"$withstring" = xwithout; then
5193 if test $wxUSE_LIBHILDON = yes; then
5194 result=no
5195 else
5196 result=yes
5197 fi
5198 else
5199 result=$wxUSE_LIBHILDON
5200 fi
5201
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5203 $as_echo "$result" >&6; }
5204
5205
5206 withstring=
5207 defaultval=$wxUSE_ALL_FEATURES
5208 if test -z "$defaultval"; then
5209 if test x"$withstring" = xwithout; then
5210 defaultval=yes
5211 else
5212 defaultval=no
5213 fi
5214 fi
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5216 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5217
5218 # Check whether --with-opengl was given.
5219 if test "${with_opengl+set}" = set; then :
5220 withval=$with_opengl;
5221 if test "$withval" = yes; then
5222 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5223 else
5224 wx_cv_use_opengl='wxUSE_OPENGL=no'
5225 fi
5226
5227 else
5228
5229 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5230
5231 fi
5232
5233
5234 eval "$wx_cv_use_opengl"
5235
5236 if test x"$withstring" = xwithout; then
5237 if test $wxUSE_OPENGL = yes; then
5238 result=no
5239 else
5240 result=yes
5241 fi
5242 else
5243 result=$wxUSE_OPENGL
5244 fi
5245
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5247 $as_echo "$result" >&6; }
5248
5249
5250 fi
5251
5252
5253 withstring=
5254 defaultval=$wxUSE_ALL_FEATURES
5255 if test -z "$defaultval"; then
5256 if test x"$withstring" = xwithout; then
5257 defaultval=yes
5258 else
5259 defaultval=no
5260 fi
5261 fi
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5263 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5264
5265 # Check whether --with-dmalloc was given.
5266 if test "${with_dmalloc+set}" = set; then :
5267 withval=$with_dmalloc;
5268 if test "$withval" = yes; then
5269 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5270 else
5271 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5272 fi
5273
5274 else
5275
5276 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5277
5278 fi
5279
5280
5281 eval "$wx_cv_use_dmalloc"
5282
5283 if test x"$withstring" = xwithout; then
5284 if test $wxUSE_DMALLOC = yes; then
5285 result=no
5286 else
5287 result=yes
5288 fi
5289 else
5290 result=$wxUSE_DMALLOC
5291 fi
5292
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5294 $as_echo "$result" >&6; }
5295
5296
5297 withstring=
5298 defaultval=$wxUSE_ALL_FEATURES
5299 if test -z "$defaultval"; then
5300 if test x"$withstring" = xwithout; then
5301 defaultval=yes
5302 else
5303 defaultval=no
5304 fi
5305 fi
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5307 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5308
5309 # Check whether --with-sdl was given.
5310 if test "${with_sdl+set}" = set; then :
5311 withval=$with_sdl;
5312 if test "$withval" = yes; then
5313 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5314 else
5315 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5316 fi
5317
5318 else
5319
5320 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5321
5322 fi
5323
5324
5325 eval "$wx_cv_use_sdl"
5326
5327 if test x"$withstring" = xwithout; then
5328 if test $wxUSE_LIBSDL = yes; then
5329 result=no
5330 else
5331 result=yes
5332 fi
5333 else
5334 result=$wxUSE_LIBSDL
5335 fi
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5338 $as_echo "$result" >&6; }
5339
5340
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5342 $as_echo_n "checking for --with-regex... " >&6; }
5343
5344 # Check whether --with-regex was given.
5345 if test "${with_regex+set}" = set; then :
5346 withval=$with_regex;
5347 if test "$withval" = yes; then
5348 wx_cv_use_regex='wxUSE_REGEX=yes'
5349 elif test "$withval" = no; then
5350 wx_cv_use_regex='wxUSE_REGEX=no'
5351 elif test "$withval" = sys; then
5352 wx_cv_use_regex='wxUSE_REGEX=sys'
5353 elif test "$withval" = builtin; then
5354 wx_cv_use_regex='wxUSE_REGEX=builtin'
5355 else
5356 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5357 fi
5358
5359 else
5360
5361 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5362
5363 fi
5364
5365
5366 eval "$wx_cv_use_regex"
5367
5368 if test "$wxUSE_REGEX" = yes; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5370 $as_echo "yes" >&6; }
5371 elif test "$wxUSE_REGEX" = no; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5374 elif test "$wxUSE_REGEX" = sys; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5376 $as_echo "system version" >&6; }
5377 elif test "$wxUSE_REGEX" = builtin; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5379 $as_echo "builtin version" >&6; }
5380 else
5381 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5382 fi
5383
5384
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5386 $as_echo_n "checking for --with-zlib... " >&6; }
5387
5388 # Check whether --with-zlib was given.
5389 if test "${with_zlib+set}" = set; then :
5390 withval=$with_zlib;
5391 if test "$withval" = yes; then
5392 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5393 elif test "$withval" = no; then
5394 wx_cv_use_zlib='wxUSE_ZLIB=no'
5395 elif test "$withval" = sys; then
5396 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5397 elif test "$withval" = builtin; then
5398 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5399 else
5400 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5401 fi
5402
5403 else
5404
5405 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5406
5407 fi
5408
5409
5410 eval "$wx_cv_use_zlib"
5411
5412 if test "$wxUSE_ZLIB" = yes; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5414 $as_echo "yes" >&6; }
5415 elif test "$wxUSE_ZLIB" = no; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5418 elif test "$wxUSE_ZLIB" = sys; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5420 $as_echo "system version" >&6; }
5421 elif test "$wxUSE_ZLIB" = builtin; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5423 $as_echo "builtin version" >&6; }
5424 else
5425 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5426 fi
5427
5428
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5430 $as_echo_n "checking for --with-expat... " >&6; }
5431
5432 # Check whether --with-expat was given.
5433 if test "${with_expat+set}" = set; then :
5434 withval=$with_expat;
5435 if test "$withval" = yes; then
5436 wx_cv_use_expat='wxUSE_EXPAT=yes'
5437 elif test "$withval" = no; then
5438 wx_cv_use_expat='wxUSE_EXPAT=no'
5439 elif test "$withval" = sys; then
5440 wx_cv_use_expat='wxUSE_EXPAT=sys'
5441 elif test "$withval" = builtin; then
5442 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5443 else
5444 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5445 fi
5446
5447 else
5448
5449 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5450
5451 fi
5452
5453
5454 eval "$wx_cv_use_expat"
5455
5456 if test "$wxUSE_EXPAT" = yes; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5458 $as_echo "yes" >&6; }
5459 elif test "$wxUSE_EXPAT" = no; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5462 elif test "$wxUSE_EXPAT" = sys; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5464 $as_echo "system version" >&6; }
5465 elif test "$wxUSE_EXPAT" = builtin; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5467 $as_echo "builtin version" >&6; }
5468 else
5469 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5470 fi
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5474 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5475
5476 # Check whether --with-macosx-sdk was given.
5477 if test "${with_macosx_sdk+set}" = set; then :
5478 withval=$with_macosx_sdk;
5479 wxUSE_MACOSX_SDK=$withval
5480 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5481
5482 fi
5483
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5485 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5486
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5488 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5489
5490 # Check whether --with-macosx-version-min was given.
5491 if test "${with_macosx_version_min+set}" = set; then :
5492 withval=$with_macosx_version_min;
5493 wxUSE_MACOSX_VERSION_MIN=$withval
5494 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5495
5496 fi
5497
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5499 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5500
5501
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5503 $as_echo_n "checking for --enable-debug... " >&6; }
5504 # Check whether --enable-debug was given.
5505 if test "${enable_debug+set}" = set; then :
5506 enableval=$enable_debug;
5507 if test "$enableval" = yes; then
5508 wxUSE_DEBUG=yes
5509 elif test "$enableval" = no; then
5510 wxUSE_DEBUG=no
5511 elif test "$enableval" = max; then
5512 wxUSE_DEBUG=yes
5513 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5514 else
5515 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5516 fi
5517
5518 else
5519 wxUSE_DEBUG=default
5520
5521 fi
5522
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5524 $as_echo "${enable_debug-default}" >&6; }
5525
5526 case "$wxUSE_DEBUG" in
5527 yes)
5528 DEFAULT_wxUSE_DEBUG_FLAG=yes
5529 DEFAULT_wxUSE_DEBUG_INFO=yes
5530
5531 DEFAULT_wxUSE_OPTIMISE=no
5532 ;;
5533
5534 no)
5535 DEFAULT_wxUSE_DEBUG_FLAG=no
5536 DEFAULT_wxUSE_DEBUG_INFO=no
5537 ;;
5538
5539 default)
5540 DEFAULT_wxUSE_DEBUG_FLAG=yes
5541 DEFAULT_wxUSE_DEBUG_INFO=no
5542 ;;
5543 esac
5544
5545
5546 enablestring=disable
5547 defaultval=
5548 if test -z "$defaultval"; then
5549 if test x"$enablestring" = xdisable; then
5550 defaultval=yes
5551 else
5552 defaultval=no
5553 fi
5554 fi
5555
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5557 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5558 # Check whether --enable-debug_flag was given.
5559 if test "${enable_debug_flag+set}" = set; then :
5560 enableval=$enable_debug_flag;
5561 if test "$enableval" = yes; then
5562 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5563 else
5564 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5565 fi
5566
5567 else
5568
5569 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5570
5571 fi
5572
5573
5574 eval "$wx_cv_use_debug_flag"
5575
5576 if test x"$enablestring" = xdisable; then
5577 if test $wxUSE_DEBUG_FLAG = no; then
5578 result=yes
5579 else
5580 result=no
5581 fi
5582 else
5583 result=$wxUSE_DEBUG_FLAG
5584 fi
5585
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5587 $as_echo "$result" >&6; }
5588
5589
5590 enablestring=
5591 defaultval=
5592 if test -z "$defaultval"; then
5593 if test x"$enablestring" = xdisable; then
5594 defaultval=yes
5595 else
5596 defaultval=no
5597 fi
5598 fi
5599
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5601 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5602 # Check whether --enable-debug_info was given.
5603 if test "${enable_debug_info+set}" = set; then :
5604 enableval=$enable_debug_info;
5605 if test "$enableval" = yes; then
5606 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5607 else
5608 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5609 fi
5610
5611 else
5612
5613 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5614
5615 fi
5616
5617
5618 eval "$wx_cv_use_debug_info"
5619
5620 if test x"$enablestring" = xdisable; then
5621 if test $wxUSE_DEBUG_INFO = no; then
5622 result=yes
5623 else
5624 result=no
5625 fi
5626 else
5627 result=$wxUSE_DEBUG_INFO
5628 fi
5629
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5631 $as_echo "$result" >&6; }
5632
5633
5634
5635
5636 enablestring=
5637 defaultval=
5638 if test -z "$defaultval"; then
5639 if test x"$enablestring" = xdisable; then
5640 defaultval=yes
5641 else
5642 defaultval=no
5643 fi
5644 fi
5645
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5647 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5648 # Check whether --enable-debug_gdb was given.
5649 if test "${enable_debug_gdb+set}" = set; then :
5650 enableval=$enable_debug_gdb;
5651 if test "$enableval" = yes; then
5652 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5653 else
5654 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5655 fi
5656
5657 else
5658
5659 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5660
5661 fi
5662
5663
5664 eval "$wx_cv_use_debug_gdb"
5665
5666 if test x"$enablestring" = xdisable; then
5667 if test $wxUSE_DEBUG_GDB = no; then
5668 result=yes
5669 else
5670 result=no
5671 fi
5672 else
5673 result=$wxUSE_DEBUG_GDB
5674 fi
5675
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5677 $as_echo "$result" >&6; }
5678
5679
5680 enablestring=
5681 defaultval=
5682 if test -z "$defaultval"; then
5683 if test x"$enablestring" = xdisable; then
5684 defaultval=yes
5685 else
5686 defaultval=no
5687 fi
5688 fi
5689
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5691 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5692 # Check whether --enable-debug_cntxt was given.
5693 if test "${enable_debug_cntxt+set}" = set; then :
5694 enableval=$enable_debug_cntxt;
5695 if test "$enableval" = yes; then
5696 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5697 else
5698 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5699 fi
5700
5701 else
5702
5703 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5704
5705 fi
5706
5707
5708 eval "$wx_cv_use_debug_cntxt"
5709
5710 if test x"$enablestring" = xdisable; then
5711 if test $wxUSE_DEBUG_CONTEXT = no; then
5712 result=yes
5713 else
5714 result=no
5715 fi
5716 else
5717 result=$wxUSE_DEBUG_CONTEXT
5718 fi
5719
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5721 $as_echo "$result" >&6; }
5722
5723
5724 enablestring=
5725 defaultval=
5726 if test -z "$defaultval"; then
5727 if test x"$enablestring" = xdisable; then
5728 defaultval=yes
5729 else
5730 defaultval=no
5731 fi
5732 fi
5733
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5735 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5736 # Check whether --enable-mem_tracing was given.
5737 if test "${enable_mem_tracing+set}" = set; then :
5738 enableval=$enable_mem_tracing;
5739 if test "$enableval" = yes; then
5740 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5741 else
5742 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5743 fi
5744
5745 else
5746
5747 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5748
5749 fi
5750
5751
5752 eval "$wx_cv_use_mem_tracing"
5753
5754 if test x"$enablestring" = xdisable; then
5755 if test $wxUSE_MEM_TRACING = no; then
5756 result=yes
5757 else
5758 result=no
5759 fi
5760 else
5761 result=$wxUSE_MEM_TRACING
5762 fi
5763
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5765 $as_echo "$result" >&6; }
5766
5767
5768
5769
5770 enablestring=disable
5771 defaultval=
5772 if test -z "$defaultval"; then
5773 if test x"$enablestring" = xdisable; then
5774 defaultval=yes
5775 else
5776 defaultval=no
5777 fi
5778 fi
5779
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5781 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5782 # Check whether --enable-shared was given.
5783 if test "${enable_shared+set}" = set; then :
5784 enableval=$enable_shared;
5785 if test "$enableval" = yes; then
5786 wx_cv_use_shared='wxUSE_SHARED=yes'
5787 else
5788 wx_cv_use_shared='wxUSE_SHARED=no'
5789 fi
5790
5791 else
5792
5793 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5794
5795 fi
5796
5797
5798 eval "$wx_cv_use_shared"
5799
5800 if test x"$enablestring" = xdisable; then
5801 if test $wxUSE_SHARED = no; then
5802 result=yes
5803 else
5804 result=no
5805 fi
5806 else
5807 result=$wxUSE_SHARED
5808 fi
5809
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5811 $as_echo "$result" >&6; }
5812
5813
5814 enablestring=
5815 defaultval=
5816 if test -z "$defaultval"; then
5817 if test x"$enablestring" = xdisable; then
5818 defaultval=yes
5819 else
5820 defaultval=no
5821 fi
5822 fi
5823
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5825 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5826 # Check whether --enable-stl was given.
5827 if test "${enable_stl+set}" = set; then :
5828 enableval=$enable_stl;
5829 if test "$enableval" = yes; then
5830 wx_cv_use_stl='wxUSE_STL=yes'
5831 else
5832 wx_cv_use_stl='wxUSE_STL=no'
5833 fi
5834
5835 else
5836
5837 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5838
5839 fi
5840
5841
5842 eval "$wx_cv_use_stl"
5843
5844 if test x"$enablestring" = xdisable; then
5845 if test $wxUSE_STL = no; then
5846 result=yes
5847 else
5848 result=no
5849 fi
5850 else
5851 result=$wxUSE_STL
5852 fi
5853
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5855 $as_echo "$result" >&6; }
5856
5857 if test "$wxUSE_STL" = "yes"; then
5858 DEFAULT_wxUSE_STD_CONTAINERS=yes
5859 DEFAULT_wxUSE_STD_IOSTREAM=yes
5860 DEFAULT_wxUSE_STD_STRING=yes
5861 fi
5862
5863 enablestring=
5864 defaultval=
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5867 defaultval=yes
5868 else
5869 defaultval=no
5870 fi
5871 fi
5872
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5874 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5875 # Check whether --enable-std_containers was given.
5876 if test "${enable_std_containers+set}" = set; then :
5877 enableval=$enable_std_containers;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5880 else
5881 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5882 fi
5883
5884 else
5885
5886 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5887
5888 fi
5889
5890
5891 eval "$wx_cv_use_std_containers"
5892
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_STD_CONTAINERS = no; then
5895 result=yes
5896 else
5897 result=no
5898 fi
5899 else
5900 result=$wxUSE_STD_CONTAINERS
5901 fi
5902
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5904 $as_echo "$result" >&6; }
5905
5906
5907 enablestring=
5908 defaultval=
5909 if test -z "$defaultval"; then
5910 if test x"$enablestring" = xdisable; then
5911 defaultval=yes
5912 else
5913 defaultval=no
5914 fi
5915 fi
5916
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5918 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5919 # Check whether --enable-std_iostreams was given.
5920 if test "${enable_std_iostreams+set}" = set; then :
5921 enableval=$enable_std_iostreams;
5922 if test "$enableval" = yes; then
5923 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5924 else
5925 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5926 fi
5927
5928 else
5929
5930 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5931
5932 fi
5933
5934
5935 eval "$wx_cv_use_std_iostreams"
5936
5937 if test x"$enablestring" = xdisable; then
5938 if test $wxUSE_STD_IOSTREAM = no; then
5939 result=yes
5940 else
5941 result=no
5942 fi
5943 else
5944 result=$wxUSE_STD_IOSTREAM
5945 fi
5946
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5948 $as_echo "$result" >&6; }
5949
5950
5951 enablestring=
5952 defaultval=
5953 if test -z "$defaultval"; then
5954 if test x"$enablestring" = xdisable; then
5955 defaultval=yes
5956 else
5957 defaultval=no
5958 fi
5959 fi
5960
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5962 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5963 # Check whether --enable-std_string was given.
5964 if test "${enable_std_string+set}" = set; then :
5965 enableval=$enable_std_string;
5966 if test "$enableval" = yes; then
5967 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5968 else
5969 wx_cv_use_std_string='wxUSE_STD_STRING=no'
5970 fi
5971
5972 else
5973
5974 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5975
5976 fi
5977
5978
5979 eval "$wx_cv_use_std_string"
5980
5981 if test x"$enablestring" = xdisable; then
5982 if test $wxUSE_STD_STRING = no; then
5983 result=yes
5984 else
5985 result=no
5986 fi
5987 else
5988 result=$wxUSE_STD_STRING
5989 fi
5990
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5992 $as_echo "$result" >&6; }
5993
5994
5995 enablestring=
5996 defaultval=
5997 if test -z "$defaultval"; then
5998 if test x"$enablestring" = xdisable; then
5999 defaultval=yes
6000 else
6001 defaultval=no
6002 fi
6003 fi
6004
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6006 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6007 # Check whether --enable-std_string_conv_in_wxstring was given.
6008 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6009 enableval=$enable_std_string_conv_in_wxstring;
6010 if test "$enableval" = yes; then
6011 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6012 else
6013 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6014 fi
6015
6016 else
6017
6018 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6019
6020 fi
6021
6022
6023 eval "$wx_cv_use_std_string_conv_in_wxstring"
6024
6025 if test x"$enablestring" = xdisable; then
6026 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6027 result=yes
6028 else
6029 result=no
6030 fi
6031 else
6032 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6033 fi
6034
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6036 $as_echo "$result" >&6; }
6037
6038
6039 enablestring=disable
6040 defaultval=
6041 if test -z "$defaultval"; then
6042 if test x"$enablestring" = xdisable; then
6043 defaultval=yes
6044 else
6045 defaultval=no
6046 fi
6047 fi
6048
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6050 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6051 # Check whether --enable-unicode was given.
6052 if test "${enable_unicode+set}" = set; then :
6053 enableval=$enable_unicode;
6054 if test "$enableval" = yes; then
6055 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6056 else
6057 wx_cv_use_unicode='wxUSE_UNICODE=no'
6058 fi
6059
6060 else
6061
6062 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6063
6064 fi
6065
6066
6067 eval "$wx_cv_use_unicode"
6068
6069 if test x"$enablestring" = xdisable; then
6070 if test $wxUSE_UNICODE = no; then
6071 result=yes
6072 else
6073 result=no
6074 fi
6075 else
6076 result=$wxUSE_UNICODE
6077 fi
6078
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6080 $as_echo "$result" >&6; }
6081
6082
6083 enablestring=
6084 defaultval=
6085 if test -z "$defaultval"; then
6086 if test x"$enablestring" = xdisable; then
6087 defaultval=yes
6088 else
6089 defaultval=no
6090 fi
6091 fi
6092
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6094 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6095 # Check whether --enable-mslu was given.
6096 if test "${enable_mslu+set}" = set; then :
6097 enableval=$enable_mslu;
6098 if test "$enableval" = yes; then
6099 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6100 else
6101 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6102 fi
6103
6104 else
6105
6106 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6107
6108 fi
6109
6110
6111 eval "$wx_cv_use_mslu"
6112
6113 if test x"$enablestring" = xdisable; then
6114 if test $wxUSE_UNICODE_MSLU = no; then
6115 result=yes
6116 else
6117 result=no
6118 fi
6119 else
6120 result=$wxUSE_UNICODE_MSLU
6121 fi
6122
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6124 $as_echo "$result" >&6; }
6125
6126
6127 enablestring=
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6129 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6130 # Check whether --enable-utf8 was given.
6131 if test "${enable_utf8+set}" = set; then :
6132 enableval=$enable_utf8;
6133 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6134
6135 else
6136
6137 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6138
6139 fi
6140
6141
6142 eval "$wx_cv_use_utf8"
6143
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6145 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6146
6147
6148 enablestring=
6149 defaultval=
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6152 defaultval=yes
6153 else
6154 defaultval=no
6155 fi
6156 fi
6157
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6159 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6160 # Check whether --enable-utf8only was given.
6161 if test "${enable_utf8only+set}" = set; then :
6162 enableval=$enable_utf8only;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6165 else
6166 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6167 fi
6168
6169 else
6170
6171 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6172
6173 fi
6174
6175
6176 eval "$wx_cv_use_utf8only"
6177
6178 if test x"$enablestring" = xdisable; then
6179 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6180 result=yes
6181 else
6182 result=no
6183 fi
6184 else
6185 result=$wxUSE_UNICODE_UTF8_LOCALE
6186 fi
6187
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6189 $as_echo "$result" >&6; }
6190
6191
6192 enablestring=
6193 defaultval=
6194 if test -z "$defaultval"; then
6195 if test x"$enablestring" = xdisable; then
6196 defaultval=yes
6197 else
6198 defaultval=no
6199 fi
6200 fi
6201
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6203 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6204 # Check whether --enable-extended_rtti was given.
6205 if test "${enable_extended_rtti+set}" = set; then :
6206 enableval=$enable_extended_rtti;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6209 else
6210 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6211 fi
6212
6213 else
6214
6215 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6216
6217 fi
6218
6219
6220 eval "$wx_cv_use_extended_rtti"
6221
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_EXTENDED_RTTI = no; then
6224 result=yes
6225 else
6226 result=no
6227 fi
6228 else
6229 result=$wxUSE_EXTENDED_RTTI
6230 fi
6231
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6233 $as_echo "$result" >&6; }
6234
6235 if test "$USE_OS2" = 1; then
6236 DEFAULT_wxUSE_OMF=no
6237
6238 enablestring=
6239 defaultval=
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6242 defaultval=yes
6243 else
6244 defaultval=no
6245 fi
6246 fi
6247
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6249 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6250 # Check whether --enable-omf was given.
6251 if test "${enable_omf+set}" = set; then :
6252 enableval=$enable_omf;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_omf='wxUSE_OMF=yes'
6255 else
6256 wx_cv_use_omf='wxUSE_OMF=no'
6257 fi
6258
6259 else
6260
6261 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6262
6263 fi
6264
6265
6266 eval "$wx_cv_use_omf"
6267
6268 if test x"$enablestring" = xdisable; then
6269 if test $wxUSE_OMF = no; then
6270 result=yes
6271 else
6272 result=no
6273 fi
6274 else
6275 result=$wxUSE_OMF
6276 fi
6277
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6279 $as_echo "$result" >&6; }
6280
6281 fi
6282
6283
6284 enablestring=disable
6285 defaultval=
6286 if test -z "$defaultval"; then
6287 if test x"$enablestring" = xdisable; then
6288 defaultval=yes
6289 else
6290 defaultval=no
6291 fi
6292 fi
6293
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6295 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6296 # Check whether --enable-optimise was given.
6297 if test "${enable_optimise+set}" = set; then :
6298 enableval=$enable_optimise;
6299 if test "$enableval" = yes; then
6300 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6301 else
6302 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6303 fi
6304
6305 else
6306
6307 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6308
6309 fi
6310
6311
6312 eval "$wx_cv_use_optimise"
6313
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_OPTIMISE = no; then
6316 result=yes
6317 else
6318 result=no
6319 fi
6320 else
6321 result=$wxUSE_OPTIMISE
6322 fi
6323
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6325 $as_echo "$result" >&6; }
6326
6327
6328
6329 enablestring=
6330 defaultval=
6331 if test -z "$defaultval"; then
6332 if test x"$enablestring" = xdisable; then
6333 defaultval=yes
6334 else
6335 defaultval=no
6336 fi
6337 fi
6338
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6340 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6341 # Check whether --enable-profile was given.
6342 if test "${enable_profile+set}" = set; then :
6343 enableval=$enable_profile;
6344 if test "$enableval" = yes; then
6345 wx_cv_use_profile='wxUSE_PROFILE=yes'
6346 else
6347 wx_cv_use_profile='wxUSE_PROFILE=no'
6348 fi
6349
6350 else
6351
6352 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6353
6354 fi
6355
6356
6357 eval "$wx_cv_use_profile"
6358
6359 if test x"$enablestring" = xdisable; then
6360 if test $wxUSE_PROFILE = no; then
6361 result=yes
6362 else
6363 result=no
6364 fi
6365 else
6366 result=$wxUSE_PROFILE
6367 fi
6368
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6370 $as_echo "$result" >&6; }
6371
6372
6373 enablestring=
6374 defaultval=
6375 if test -z "$defaultval"; then
6376 if test x"$enablestring" = xdisable; then
6377 defaultval=yes
6378 else
6379 defaultval=no
6380 fi
6381 fi
6382
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6384 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6385 # Check whether --enable-no_rtti was given.
6386 if test "${enable_no_rtti+set}" = set; then :
6387 enableval=$enable_no_rtti;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6390 else
6391 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6392 fi
6393
6394 else
6395
6396 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6397
6398 fi
6399
6400
6401 eval "$wx_cv_use_no_rtti"
6402
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_NO_RTTI = no; then
6405 result=yes
6406 else
6407 result=no
6408 fi
6409 else
6410 result=$wxUSE_NO_RTTI
6411 fi
6412
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6414 $as_echo "$result" >&6; }
6415
6416
6417 enablestring=
6418 defaultval=
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6421 defaultval=yes
6422 else
6423 defaultval=no
6424 fi
6425 fi
6426
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6428 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6429 # Check whether --enable-no_exceptions was given.
6430 if test "${enable_no_exceptions+set}" = set; then :
6431 enableval=$enable_no_exceptions;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6434 else
6435 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6436 fi
6437
6438 else
6439
6440 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6441
6442 fi
6443
6444
6445 eval "$wx_cv_use_no_exceptions"
6446
6447 if test x"$enablestring" = xdisable; then
6448 if test $wxUSE_NO_EXCEPTIONS = no; then
6449 result=yes
6450 else
6451 result=no
6452 fi
6453 else
6454 result=$wxUSE_NO_EXCEPTIONS
6455 fi
6456
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6458 $as_echo "$result" >&6; }
6459
6460
6461 enablestring=
6462 defaultval=
6463 if test -z "$defaultval"; then
6464 if test x"$enablestring" = xdisable; then
6465 defaultval=yes
6466 else
6467 defaultval=no
6468 fi
6469 fi
6470
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6472 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6473 # Check whether --enable-permissive was given.
6474 if test "${enable_permissive+set}" = set; then :
6475 enableval=$enable_permissive;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6478 else
6479 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6480 fi
6481
6482 else
6483
6484 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6485
6486 fi
6487
6488
6489 eval "$wx_cv_use_permissive"
6490
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_PERMISSIVE = no; then
6493 result=yes
6494 else
6495 result=no
6496 fi
6497 else
6498 result=$wxUSE_PERMISSIVE
6499 fi
6500
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6502 $as_echo "$result" >&6; }
6503
6504
6505 enablestring=
6506 defaultval=
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6509 defaultval=yes
6510 else
6511 defaultval=no
6512 fi
6513 fi
6514
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6516 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6517 # Check whether --enable-no_deps was given.
6518 if test "${enable_no_deps+set}" = set; then :
6519 enableval=$enable_no_deps;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6522 else
6523 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6524 fi
6525
6526 else
6527
6528 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6529
6530 fi
6531
6532
6533 eval "$wx_cv_use_no_deps"
6534
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_NO_DEPS = no; then
6537 result=yes
6538 else
6539 result=no
6540 fi
6541 else
6542 result=$wxUSE_NO_DEPS
6543 fi
6544
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6546 $as_echo "$result" >&6; }
6547
6548
6549 enablestring=disable
6550 defaultval=
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6553 defaultval=yes
6554 else
6555 defaultval=no
6556 fi
6557 fi
6558
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6560 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6561 # Check whether --enable-vararg_macros was given.
6562 if test "${enable_vararg_macros+set}" = set; then :
6563 enableval=$enable_vararg_macros;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6566 else
6567 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6568 fi
6569
6570 else
6571
6572 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6573
6574 fi
6575
6576
6577 eval "$wx_cv_use_vararg_macros"
6578
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_VARARG_MACROS = no; then
6581 result=yes
6582 else
6583 result=no
6584 fi
6585 else
6586 result=$wxUSE_VARARG_MACROS
6587 fi
6588
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6590 $as_echo "$result" >&6; }
6591
6592
6593
6594 enablestring=
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6596 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6597 # Check whether --enable-universal_binary was given.
6598 if test "${enable_universal_binary+set}" = set; then :
6599 enableval=$enable_universal_binary;
6600 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6601
6602 else
6603
6604 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6605
6606 fi
6607
6608
6609 eval "$wx_cv_use_universal_binary"
6610
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6612 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6613
6614
6615 enablestring=
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6617 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6618 # Check whether --enable-macosx_arch was given.
6619 if test "${enable_macosx_arch+set}" = set; then :
6620 enableval=$enable_macosx_arch;
6621 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6622
6623 else
6624
6625 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6626
6627 fi
6628
6629
6630 eval "$wx_cv_use_macosx_arch"
6631
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6633 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6634
6635
6636
6637 enablestring=
6638 defaultval=
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6641 defaultval=yes
6642 else
6643 defaultval=no
6644 fi
6645 fi
6646
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6648 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6649 # Check whether --enable-compat26 was given.
6650 if test "${enable_compat26+set}" = set; then :
6651 enableval=$enable_compat26;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6654 else
6655 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6656 fi
6657
6658 else
6659
6660 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6661
6662 fi
6663
6664
6665 eval "$wx_cv_use_compat26"
6666
6667 if test x"$enablestring" = xdisable; then
6668 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6669 result=yes
6670 else
6671 result=no
6672 fi
6673 else
6674 result=$WXWIN_COMPATIBILITY_2_6
6675 fi
6676
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6678 $as_echo "$result" >&6; }
6679
6680
6681 enablestring=disable
6682 defaultval=
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6685 defaultval=yes
6686 else
6687 defaultval=no
6688 fi
6689 fi
6690
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6692 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6693 # Check whether --enable-compat28 was given.
6694 if test "${enable_compat28+set}" = set; then :
6695 enableval=$enable_compat28;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6698 else
6699 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6700 fi
6701
6702 else
6703
6704 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_compat28"
6710
6711 if test x"$enablestring" = xdisable; then
6712 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6713 result=yes
6714 else
6715 result=no
6716 fi
6717 else
6718 result=$WXWIN_COMPATIBILITY_2_8
6719 fi
6720
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6722 $as_echo "$result" >&6; }
6723
6724
6725
6726 enablestring=disable
6727 defaultval=
6728 if test -z "$defaultval"; then
6729 if test x"$enablestring" = xdisable; then
6730 defaultval=yes
6731 else
6732 defaultval=no
6733 fi
6734 fi
6735
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6737 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6738 # Check whether --enable-rpath was given.
6739 if test "${enable_rpath+set}" = set; then :
6740 enableval=$enable_rpath;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_rpath='wxUSE_RPATH=yes'
6743 else
6744 wx_cv_use_rpath='wxUSE_RPATH=no'
6745 fi
6746
6747 else
6748
6749 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6750
6751 fi
6752
6753
6754 eval "$wx_cv_use_rpath"
6755
6756 if test x"$enablestring" = xdisable; then
6757 if test $wxUSE_RPATH = no; then
6758 result=yes
6759 else
6760 result=no
6761 fi
6762 else
6763 result=$wxUSE_RPATH
6764 fi
6765
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6767 $as_echo "$result" >&6; }
6768
6769
6770
6771 enablestring=
6772 defaultval=
6773 if test -z "$defaultval"; then
6774 if test x"$enablestring" = xdisable; then
6775 defaultval=yes
6776 else
6777 defaultval=no
6778 fi
6779 fi
6780
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6782 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6783 # Check whether --enable-objc_uniquifying was given.
6784 if test "${enable_objc_uniquifying+set}" = set; then :
6785 enableval=$enable_objc_uniquifying;
6786 if test "$enableval" = yes; then
6787 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6788 else
6789 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6790 fi
6791
6792 else
6793
6794 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6795
6796 fi
6797
6798
6799 eval "$wx_cv_use_objc_uniquifying"
6800
6801 if test x"$enablestring" = xdisable; then
6802 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6803 result=yes
6804 else
6805 result=no
6806 fi
6807 else
6808 result=$wxUSE_OBJC_UNIQUIFYING
6809 fi
6810
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6812 $as_echo "$result" >&6; }
6813
6814
6815
6816 enablestring=disable
6817 defaultval=
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6820 defaultval=yes
6821 else
6822 defaultval=no
6823 fi
6824 fi
6825
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6827 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6828 # Check whether --enable-visibility was given.
6829 if test "${enable_visibility+set}" = set; then :
6830 enableval=$enable_visibility;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6833 else
6834 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6835 fi
6836
6837 else
6838
6839 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6840
6841 fi
6842
6843
6844 eval "$wx_cv_use_visibility"
6845
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_VISIBILITY = no; then
6848 result=yes
6849 else
6850 result=no
6851 fi
6852 else
6853 result=$wxUSE_VISIBILITY
6854 fi
6855
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6857 $as_echo "$result" >&6; }
6858
6859
6860 enablestring=disable
6861 defaultval=
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6864 defaultval=yes
6865 else
6866 defaultval=no
6867 fi
6868 fi
6869
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6871 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6872 # Check whether --enable-tls was given.
6873 if test "${enable_tls+set}" = set; then :
6874 enableval=$enable_tls;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6877 else
6878 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6879 fi
6880
6881 else
6882
6883 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6884
6885 fi
6886
6887
6888 eval "$wx_cv_use_tls"
6889
6890 if test x"$enablestring" = xdisable; then
6891 if test $wxUSE_COMPILER_TLS = no; then
6892 result=yes
6893 else
6894 result=no
6895 fi
6896 else
6897 result=$wxUSE_COMPILER_TLS
6898 fi
6899
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6901 $as_echo "$result" >&6; }
6902
6903
6904
6905
6906 enablestring=
6907 defaultval=$wxUSE_ALL_FEATURES
6908 if test -z "$defaultval"; then
6909 if test x"$enablestring" = xdisable; then
6910 defaultval=yes
6911 else
6912 defaultval=no
6913 fi
6914 fi
6915
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6917 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6918 # Check whether --enable-intl was given.
6919 if test "${enable_intl+set}" = set; then :
6920 enableval=$enable_intl;
6921 if test "$enableval" = yes; then
6922 wx_cv_use_intl='wxUSE_INTL=yes'
6923 else
6924 wx_cv_use_intl='wxUSE_INTL=no'
6925 fi
6926
6927 else
6928
6929 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6930
6931 fi
6932
6933
6934 eval "$wx_cv_use_intl"
6935
6936 if test x"$enablestring" = xdisable; then
6937 if test $wxUSE_INTL = no; then
6938 result=yes
6939 else
6940 result=no
6941 fi
6942 else
6943 result=$wxUSE_INTL
6944 fi
6945
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6947 $as_echo "$result" >&6; }
6948
6949
6950 enablestring=
6951 defaultval=$wxUSE_ALL_FEATURES
6952 if test -z "$defaultval"; then
6953 if test x"$enablestring" = xdisable; then
6954 defaultval=yes
6955 else
6956 defaultval=no
6957 fi
6958 fi
6959
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6961 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6962 # Check whether --enable-xlocale was given.
6963 if test "${enable_xlocale+set}" = set; then :
6964 enableval=$enable_xlocale;
6965 if test "$enableval" = yes; then
6966 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6967 else
6968 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6969 fi
6970
6971 else
6972
6973 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6974
6975 fi
6976
6977
6978 eval "$wx_cv_use_xlocale"
6979
6980 if test x"$enablestring" = xdisable; then
6981 if test $wxUSE_XLOCALE = no; then
6982 result=yes
6983 else
6984 result=no
6985 fi
6986 else
6987 result=$wxUSE_XLOCALE
6988 fi
6989
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6991 $as_echo "$result" >&6; }
6992
6993
6994 enablestring=
6995 defaultval=$wxUSE_ALL_FEATURES
6996 if test -z "$defaultval"; then
6997 if test x"$enablestring" = xdisable; then
6998 defaultval=yes
6999 else
7000 defaultval=no
7001 fi
7002 fi
7003
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7005 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7006 # Check whether --enable-config was given.
7007 if test "${enable_config+set}" = set; then :
7008 enableval=$enable_config;
7009 if test "$enableval" = yes; then
7010 wx_cv_use_config='wxUSE_CONFIG=yes'
7011 else
7012 wx_cv_use_config='wxUSE_CONFIG=no'
7013 fi
7014
7015 else
7016
7017 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7018
7019 fi
7020
7021
7022 eval "$wx_cv_use_config"
7023
7024 if test x"$enablestring" = xdisable; then
7025 if test $wxUSE_CONFIG = no; then
7026 result=yes
7027 else
7028 result=no
7029 fi
7030 else
7031 result=$wxUSE_CONFIG
7032 fi
7033
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7035 $as_echo "$result" >&6; }
7036
7037
7038
7039 enablestring=
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7043 defaultval=yes
7044 else
7045 defaultval=no
7046 fi
7047 fi
7048
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7050 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7051 # Check whether --enable-protocols was given.
7052 if test "${enable_protocols+set}" = set; then :
7053 enableval=$enable_protocols;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7056 else
7057 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7058 fi
7059
7060 else
7061
7062 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7063
7064 fi
7065
7066
7067 eval "$wx_cv_use_protocols"
7068
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_PROTOCOL = no; then
7071 result=yes
7072 else
7073 result=no
7074 fi
7075 else
7076 result=$wxUSE_PROTOCOL
7077 fi
7078
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7080 $as_echo "$result" >&6; }
7081
7082
7083 enablestring=
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7087 defaultval=yes
7088 else
7089 defaultval=no
7090 fi
7091 fi
7092
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7094 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7095 # Check whether --enable-ftp was given.
7096 if test "${enable_ftp+set}" = set; then :
7097 enableval=$enable_ftp;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7100 else
7101 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7102 fi
7103
7104 else
7105
7106 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7107
7108 fi
7109
7110
7111 eval "$wx_cv_use_ftp"
7112
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_PROTOCOL_FTP = no; then
7115 result=yes
7116 else
7117 result=no
7118 fi
7119 else
7120 result=$wxUSE_PROTOCOL_FTP
7121 fi
7122
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7124 $as_echo "$result" >&6; }
7125
7126
7127 enablestring=
7128 defaultval=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x"$enablestring" = xdisable; then
7131 defaultval=yes
7132 else
7133 defaultval=no
7134 fi
7135 fi
7136
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7138 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7139 # Check whether --enable-http was given.
7140 if test "${enable_http+set}" = set; then :
7141 enableval=$enable_http;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7144 else
7145 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7146 fi
7147
7148 else
7149
7150 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7151
7152 fi
7153
7154
7155 eval "$wx_cv_use_http"
7156
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_PROTOCOL_HTTP = no; then
7159 result=yes
7160 else
7161 result=no
7162 fi
7163 else
7164 result=$wxUSE_PROTOCOL_HTTP
7165 fi
7166
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7168 $as_echo "$result" >&6; }
7169
7170
7171 enablestring=
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7175 defaultval=yes
7176 else
7177 defaultval=no
7178 fi
7179 fi
7180
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7182 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7183 # Check whether --enable-fileproto was given.
7184 if test "${enable_fileproto+set}" = set; then :
7185 enableval=$enable_fileproto;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7188 else
7189 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7190 fi
7191
7192 else
7193
7194 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7195
7196 fi
7197
7198
7199 eval "$wx_cv_use_fileproto"
7200
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_PROTOCOL_FILE = no; then
7203 result=yes
7204 else
7205 result=no
7206 fi
7207 else
7208 result=$wxUSE_PROTOCOL_FILE
7209 fi
7210
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7212 $as_echo "$result" >&6; }
7213
7214
7215 enablestring=
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7219 defaultval=yes
7220 else
7221 defaultval=no
7222 fi
7223 fi
7224
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7226 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7227 # Check whether --enable-sockets was given.
7228 if test "${enable_sockets+set}" = set; then :
7229 enableval=$enable_sockets;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7232 else
7233 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7234 fi
7235
7236 else
7237
7238 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7239
7240 fi
7241
7242
7243 eval "$wx_cv_use_sockets"
7244
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_SOCKETS = no; then
7247 result=yes
7248 else
7249 result=no
7250 fi
7251 else
7252 result=$wxUSE_SOCKETS
7253 fi
7254
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7256 $as_echo "$result" >&6; }
7257
7258
7259 enablestring=
7260 defaultval=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x"$enablestring" = xdisable; then
7263 defaultval=yes
7264 else
7265 defaultval=no
7266 fi
7267 fi
7268
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7270 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7271 # Check whether --enable-ipv6 was given.
7272 if test "${enable_ipv6+set}" = set; then :
7273 enableval=$enable_ipv6;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7276 else
7277 wx_cv_use_ipv6='wxUSE_IPV6=no'
7278 fi
7279
7280 else
7281
7282 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7283
7284 fi
7285
7286
7287 eval "$wx_cv_use_ipv6"
7288
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_IPV6 = no; then
7291 result=yes
7292 else
7293 result=no
7294 fi
7295 else
7296 result=$wxUSE_IPV6
7297 fi
7298
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7300 $as_echo "$result" >&6; }
7301
7302
7303 enablestring=
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7307 defaultval=yes
7308 else
7309 defaultval=no
7310 fi
7311 fi
7312
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7314 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7315 # Check whether --enable-ole was given.
7316 if test "${enable_ole+set}" = set; then :
7317 enableval=$enable_ole;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_ole='wxUSE_OLE=yes'
7320 else
7321 wx_cv_use_ole='wxUSE_OLE=no'
7322 fi
7323
7324 else
7325
7326 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7327
7328 fi
7329
7330
7331 eval "$wx_cv_use_ole"
7332
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_OLE = no; then
7335 result=yes
7336 else
7337 result=no
7338 fi
7339 else
7340 result=$wxUSE_OLE
7341 fi
7342
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7344 $as_echo "$result" >&6; }
7345
7346
7347 enablestring=
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7351 defaultval=yes
7352 else
7353 defaultval=no
7354 fi
7355 fi
7356
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7358 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7359 # Check whether --enable-dataobj was given.
7360 if test "${enable_dataobj+set}" = set; then :
7361 enableval=$enable_dataobj;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7364 else
7365 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7366 fi
7367
7368 else
7369
7370 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7371
7372 fi
7373
7374
7375 eval "$wx_cv_use_dataobj"
7376
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_DATAOBJ = no; then
7379 result=yes
7380 else
7381 result=no
7382 fi
7383 else
7384 result=$wxUSE_DATAOBJ
7385 fi
7386
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7388 $as_echo "$result" >&6; }
7389
7390
7391
7392 enablestring=
7393 defaultval=$wxUSE_ALL_FEATURES
7394 if test -z "$defaultval"; then
7395 if test x"$enablestring" = xdisable; then
7396 defaultval=yes
7397 else
7398 defaultval=no
7399 fi
7400 fi
7401
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7403 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7404 # Check whether --enable-ipc was given.
7405 if test "${enable_ipc+set}" = set; then :
7406 enableval=$enable_ipc;
7407 if test "$enableval" = yes; then
7408 wx_cv_use_ipc='wxUSE_IPC=yes'
7409 else
7410 wx_cv_use_ipc='wxUSE_IPC=no'
7411 fi
7412
7413 else
7414
7415 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7416
7417 fi
7418
7419
7420 eval "$wx_cv_use_ipc"
7421
7422 if test x"$enablestring" = xdisable; then
7423 if test $wxUSE_IPC = no; then
7424 result=yes
7425 else
7426 result=no
7427 fi
7428 else
7429 result=$wxUSE_IPC
7430 fi
7431
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7433 $as_echo "$result" >&6; }
7434
7435
7436
7437 enablestring=
7438 defaultval=$wxUSE_ALL_FEATURES
7439 if test -z "$defaultval"; then
7440 if test x"$enablestring" = xdisable; then
7441 defaultval=yes
7442 else
7443 defaultval=no
7444 fi
7445 fi
7446
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7448 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7449 # Check whether --enable-baseevtloop was given.
7450 if test "${enable_baseevtloop+set}" = set; then :
7451 enableval=$enable_baseevtloop;
7452 if test "$enableval" = yes; then
7453 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7454 else
7455 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7456 fi
7457
7458 else
7459
7460 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7461
7462 fi
7463
7464
7465 eval "$wx_cv_use_baseevtloop"
7466
7467 if test x"$enablestring" = xdisable; then
7468 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7469 result=yes
7470 else
7471 result=no
7472 fi
7473 else
7474 result=$wxUSE_CONSOLE_EVENTLOOP
7475 fi
7476
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7478 $as_echo "$result" >&6; }
7479
7480
7481 enablestring=
7482 defaultval=$wxUSE_ALL_FEATURES
7483 if test -z "$defaultval"; then
7484 if test x"$enablestring" = xdisable; then
7485 defaultval=yes
7486 else
7487 defaultval=no
7488 fi
7489 fi
7490
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7492 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7493 # Check whether --enable-epollloop was given.
7494 if test "${enable_epollloop+set}" = set; then :
7495 enableval=$enable_epollloop;
7496 if test "$enableval" = yes; then
7497 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7498 else
7499 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7500 fi
7501
7502 else
7503
7504 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7505
7506 fi
7507
7508
7509 eval "$wx_cv_use_epollloop"
7510
7511 if test x"$enablestring" = xdisable; then
7512 if test $wxUSE_EPOLL_DISPATCHER = no; then
7513 result=yes
7514 else
7515 result=no
7516 fi
7517 else
7518 result=$wxUSE_EPOLL_DISPATCHER
7519 fi
7520
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7522 $as_echo "$result" >&6; }
7523
7524
7525 enablestring=
7526 defaultval=$wxUSE_ALL_FEATURES
7527 if test -z "$defaultval"; then
7528 if test x"$enablestring" = xdisable; then
7529 defaultval=yes
7530 else
7531 defaultval=no
7532 fi
7533 fi
7534
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7536 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7537 # Check whether --enable-selectloop was given.
7538 if test "${enable_selectloop+set}" = set; then :
7539 enableval=$enable_selectloop;
7540 if test "$enableval" = yes; then
7541 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7542 else
7543 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7544 fi
7545
7546 else
7547
7548 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7549
7550 fi
7551
7552
7553 eval "$wx_cv_use_selectloop"
7554
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_SELECT_DISPATCHER = no; then
7557 result=yes
7558 else
7559 result=no
7560 fi
7561 else
7562 result=$wxUSE_SELECT_DISPATCHER
7563 fi
7564
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7566 $as_echo "$result" >&6; }
7567
7568
7569
7570 enablestring=
7571 defaultval=$wxUSE_ALL_FEATURES
7572 if test -z "$defaultval"; then
7573 if test x"$enablestring" = xdisable; then
7574 defaultval=yes
7575 else
7576 defaultval=no
7577 fi
7578 fi
7579
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7581 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7582 # Check whether --enable-any was given.
7583 if test "${enable_any+set}" = set; then :
7584 enableval=$enable_any;
7585 if test "$enableval" = yes; then
7586 wx_cv_use_any='wxUSE_ANY=yes'
7587 else
7588 wx_cv_use_any='wxUSE_ANY=no'
7589 fi
7590
7591 else
7592
7593 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7594
7595 fi
7596
7597
7598 eval "$wx_cv_use_any"
7599
7600 if test x"$enablestring" = xdisable; then
7601 if test $wxUSE_ANY = no; then
7602 result=yes
7603 else
7604 result=no
7605 fi
7606 else
7607 result=$wxUSE_ANY
7608 fi
7609
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7611 $as_echo "$result" >&6; }
7612
7613
7614 enablestring=
7615 defaultval=$wxUSE_ALL_FEATURES
7616 if test -z "$defaultval"; then
7617 if test x"$enablestring" = xdisable; then
7618 defaultval=yes
7619 else
7620 defaultval=no
7621 fi
7622 fi
7623
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7625 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7626 # Check whether --enable-apple_ieee was given.
7627 if test "${enable_apple_ieee+set}" = set; then :
7628 enableval=$enable_apple_ieee;
7629 if test "$enableval" = yes; then
7630 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7631 else
7632 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7633 fi
7634
7635 else
7636
7637 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7638
7639 fi
7640
7641
7642 eval "$wx_cv_use_apple_ieee"
7643
7644 if test x"$enablestring" = xdisable; then
7645 if test $wxUSE_APPLE_IEEE = no; then
7646 result=yes
7647 else
7648 result=no
7649 fi
7650 else
7651 result=$wxUSE_APPLE_IEEE
7652 fi
7653
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7655 $as_echo "$result" >&6; }
7656
7657
7658 enablestring=
7659 defaultval=$wxUSE_ALL_FEATURES
7660 if test -z "$defaultval"; then
7661 if test x"$enablestring" = xdisable; then
7662 defaultval=yes
7663 else
7664 defaultval=no
7665 fi
7666 fi
7667
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7669 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7670 # Check whether --enable-arcstream was given.
7671 if test "${enable_arcstream+set}" = set; then :
7672 enableval=$enable_arcstream;
7673 if test "$enableval" = yes; then
7674 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7675 else
7676 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7677 fi
7678
7679 else
7680
7681 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7682
7683 fi
7684
7685
7686 eval "$wx_cv_use_arcstream"
7687
7688 if test x"$enablestring" = xdisable; then
7689 if test $wxUSE_ARCHIVE_STREAMS = no; then
7690 result=yes
7691 else
7692 result=no
7693 fi
7694 else
7695 result=$wxUSE_ARCHIVE_STREAMS
7696 fi
7697
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7699 $as_echo "$result" >&6; }
7700
7701
7702 enablestring=
7703 defaultval=$wxUSE_ALL_FEATURES
7704 if test -z "$defaultval"; then
7705 if test x"$enablestring" = xdisable; then
7706 defaultval=yes
7707 else
7708 defaultval=no
7709 fi
7710 fi
7711
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7713 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7714 # Check whether --enable-base64 was given.
7715 if test "${enable_base64+set}" = set; then :
7716 enableval=$enable_base64;
7717 if test "$enableval" = yes; then
7718 wx_cv_use_base64='wxUSE_BASE64=yes'
7719 else
7720 wx_cv_use_base64='wxUSE_BASE64=no'
7721 fi
7722
7723 else
7724
7725 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7726
7727 fi
7728
7729
7730 eval "$wx_cv_use_base64"
7731
7732 if test x"$enablestring" = xdisable; then
7733 if test $wxUSE_BASE64 = no; then
7734 result=yes
7735 else
7736 result=no
7737 fi
7738 else
7739 result=$wxUSE_BASE64
7740 fi
7741
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7743 $as_echo "$result" >&6; }
7744
7745
7746 enablestring=
7747 defaultval=$wxUSE_ALL_FEATURES
7748 if test -z "$defaultval"; then
7749 if test x"$enablestring" = xdisable; then
7750 defaultval=yes
7751 else
7752 defaultval=no
7753 fi
7754 fi
7755
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7757 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7758 # Check whether --enable-backtrace was given.
7759 if test "${enable_backtrace+set}" = set; then :
7760 enableval=$enable_backtrace;
7761 if test "$enableval" = yes; then
7762 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7763 else
7764 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7765 fi
7766
7767 else
7768
7769 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7770
7771 fi
7772
7773
7774 eval "$wx_cv_use_backtrace"
7775
7776 if test x"$enablestring" = xdisable; then
7777 if test $wxUSE_STACKWALKER = no; then
7778 result=yes
7779 else
7780 result=no
7781 fi
7782 else
7783 result=$wxUSE_STACKWALKER
7784 fi
7785
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7787 $as_echo "$result" >&6; }
7788
7789
7790 enablestring=
7791 defaultval=$wxUSE_ALL_FEATURES
7792 if test -z "$defaultval"; then
7793 if test x"$enablestring" = xdisable; then
7794 defaultval=yes
7795 else
7796 defaultval=no
7797 fi
7798 fi
7799
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7801 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7802 # Check whether --enable-catch_segvs was given.
7803 if test "${enable_catch_segvs+set}" = set; then :
7804 enableval=$enable_catch_segvs;
7805 if test "$enableval" = yes; then
7806 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7807 else
7808 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7809 fi
7810
7811 else
7812
7813 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7814
7815 fi
7816
7817
7818 eval "$wx_cv_use_catch_segvs"
7819
7820 if test x"$enablestring" = xdisable; then
7821 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7822 result=yes
7823 else
7824 result=no
7825 fi
7826 else
7827 result=$wxUSE_ON_FATAL_EXCEPTION
7828 fi
7829
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7831 $as_echo "$result" >&6; }
7832
7833
7834 enablestring=
7835 defaultval=$wxUSE_ALL_FEATURES
7836 if test -z "$defaultval"; then
7837 if test x"$enablestring" = xdisable; then
7838 defaultval=yes
7839 else
7840 defaultval=no
7841 fi
7842 fi
7843
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7845 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7846 # Check whether --enable-cmdline was given.
7847 if test "${enable_cmdline+set}" = set; then :
7848 enableval=$enable_cmdline;
7849 if test "$enableval" = yes; then
7850 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7851 else
7852 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7853 fi
7854
7855 else
7856
7857 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7858
7859 fi
7860
7861
7862 eval "$wx_cv_use_cmdline"
7863
7864 if test x"$enablestring" = xdisable; then
7865 if test $wxUSE_CMDLINE_PARSER = no; then
7866 result=yes
7867 else
7868 result=no
7869 fi
7870 else
7871 result=$wxUSE_CMDLINE_PARSER
7872 fi
7873
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7875 $as_echo "$result" >&6; }
7876
7877
7878 enablestring=
7879 defaultval=$wxUSE_ALL_FEATURES
7880 if test -z "$defaultval"; then
7881 if test x"$enablestring" = xdisable; then
7882 defaultval=yes
7883 else
7884 defaultval=no
7885 fi
7886 fi
7887
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7889 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7890 # Check whether --enable-datetime was given.
7891 if test "${enable_datetime+set}" = set; then :
7892 enableval=$enable_datetime;
7893 if test "$enableval" = yes; then
7894 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7895 else
7896 wx_cv_use_datetime='wxUSE_DATETIME=no'
7897 fi
7898
7899 else
7900
7901 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7902
7903 fi
7904
7905
7906 eval "$wx_cv_use_datetime"
7907
7908 if test x"$enablestring" = xdisable; then
7909 if test $wxUSE_DATETIME = no; then
7910 result=yes
7911 else
7912 result=no
7913 fi
7914 else
7915 result=$wxUSE_DATETIME
7916 fi
7917
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7919 $as_echo "$result" >&6; }
7920
7921
7922 enablestring=
7923 defaultval=$wxUSE_ALL_FEATURES
7924 if test -z "$defaultval"; then
7925 if test x"$enablestring" = xdisable; then
7926 defaultval=yes
7927 else
7928 defaultval=no
7929 fi
7930 fi
7931
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7933 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7934 # Check whether --enable-debugreport was given.
7935 if test "${enable_debugreport+set}" = set; then :
7936 enableval=$enable_debugreport;
7937 if test "$enableval" = yes; then
7938 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7939 else
7940 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7941 fi
7942
7943 else
7944
7945 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7946
7947 fi
7948
7949
7950 eval "$wx_cv_use_debugreport"
7951
7952 if test x"$enablestring" = xdisable; then
7953 if test $wxUSE_DEBUGREPORT = no; then
7954 result=yes
7955 else
7956 result=no
7957 fi
7958 else
7959 result=$wxUSE_DEBUGREPORT
7960 fi
7961
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7963 $as_echo "$result" >&6; }
7964
7965
7966 enablestring=
7967 defaultval=$wxUSE_ALL_FEATURES
7968 if test -z "$defaultval"; then
7969 if test x"$enablestring" = xdisable; then
7970 defaultval=yes
7971 else
7972 defaultval=no
7973 fi
7974 fi
7975
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7977 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7978 # Check whether --enable-dialupman was given.
7979 if test "${enable_dialupman+set}" = set; then :
7980 enableval=$enable_dialupman;
7981 if test "$enableval" = yes; then
7982 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7983 else
7984 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7985 fi
7986
7987 else
7988
7989 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7990
7991 fi
7992
7993
7994 eval "$wx_cv_use_dialupman"
7995
7996 if test x"$enablestring" = xdisable; then
7997 if test $wxUSE_DIALUP_MANAGER = no; then
7998 result=yes
7999 else
8000 result=no
8001 fi
8002 else
8003 result=$wxUSE_DIALUP_MANAGER
8004 fi
8005
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8007 $as_echo "$result" >&6; }
8008
8009
8010 enablestring=
8011 defaultval=$wxUSE_ALL_FEATURES
8012 if test -z "$defaultval"; then
8013 if test x"$enablestring" = xdisable; then
8014 defaultval=yes
8015 else
8016 defaultval=no
8017 fi
8018 fi
8019
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8021 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8022 # Check whether --enable-dynlib was given.
8023 if test "${enable_dynlib+set}" = set; then :
8024 enableval=$enable_dynlib;
8025 if test "$enableval" = yes; then
8026 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8027 else
8028 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8029 fi
8030
8031 else
8032
8033 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8034
8035 fi
8036
8037
8038 eval "$wx_cv_use_dynlib"
8039
8040 if test x"$enablestring" = xdisable; then
8041 if test $wxUSE_DYNLIB_CLASS = no; then
8042 result=yes
8043 else
8044 result=no
8045 fi
8046 else
8047 result=$wxUSE_DYNLIB_CLASS
8048 fi
8049
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8051 $as_echo "$result" >&6; }
8052
8053
8054 enablestring=
8055 defaultval=$wxUSE_ALL_FEATURES
8056 if test -z "$defaultval"; then
8057 if test x"$enablestring" = xdisable; then
8058 defaultval=yes
8059 else
8060 defaultval=no
8061 fi
8062 fi
8063
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8065 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8066 # Check whether --enable-dynamicloader was given.
8067 if test "${enable_dynamicloader+set}" = set; then :
8068 enableval=$enable_dynamicloader;
8069 if test "$enableval" = yes; then
8070 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8071 else
8072 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8073 fi
8074
8075 else
8076
8077 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8078
8079 fi
8080
8081
8082 eval "$wx_cv_use_dynamicloader"
8083
8084 if test x"$enablestring" = xdisable; then
8085 if test $wxUSE_DYNAMIC_LOADER = no; then
8086 result=yes
8087 else
8088 result=no
8089 fi
8090 else
8091 result=$wxUSE_DYNAMIC_LOADER
8092 fi
8093
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8095 $as_echo "$result" >&6; }
8096
8097
8098 enablestring=
8099 defaultval=$wxUSE_ALL_FEATURES
8100 if test -z "$defaultval"; then
8101 if test x"$enablestring" = xdisable; then
8102 defaultval=yes
8103 else
8104 defaultval=no
8105 fi
8106 fi
8107
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8109 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8110 # Check whether --enable-exceptions was given.
8111 if test "${enable_exceptions+set}" = set; then :
8112 enableval=$enable_exceptions;
8113 if test "$enableval" = yes; then
8114 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8115 else
8116 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8117 fi
8118
8119 else
8120
8121 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8122
8123 fi
8124
8125
8126 eval "$wx_cv_use_exceptions"
8127
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_EXCEPTIONS = no; then
8130 result=yes
8131 else
8132 result=no
8133 fi
8134 else
8135 result=$wxUSE_EXCEPTIONS
8136 fi
8137
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8139 $as_echo "$result" >&6; }
8140
8141
8142 enablestring=
8143 defaultval=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x"$enablestring" = xdisable; then
8146 defaultval=yes
8147 else
8148 defaultval=no
8149 fi
8150 fi
8151
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8153 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8154 # Check whether --enable-ffile was given.
8155 if test "${enable_ffile+set}" = set; then :
8156 enableval=$enable_ffile;
8157 if test "$enableval" = yes; then
8158 wx_cv_use_ffile='wxUSE_FFILE=yes'
8159 else
8160 wx_cv_use_ffile='wxUSE_FFILE=no'
8161 fi
8162
8163 else
8164
8165 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8166
8167 fi
8168
8169
8170 eval "$wx_cv_use_ffile"
8171
8172 if test x"$enablestring" = xdisable; then
8173 if test $wxUSE_FFILE = no; then
8174 result=yes
8175 else
8176 result=no
8177 fi
8178 else
8179 result=$wxUSE_FFILE
8180 fi
8181
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8183 $as_echo "$result" >&6; }
8184
8185
8186 enablestring=
8187 defaultval=$wxUSE_ALL_FEATURES
8188 if test -z "$defaultval"; then
8189 if test x"$enablestring" = xdisable; then
8190 defaultval=yes
8191 else
8192 defaultval=no
8193 fi
8194 fi
8195
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8197 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8198 # Check whether --enable-file was given.
8199 if test "${enable_file+set}" = set; then :
8200 enableval=$enable_file;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_file='wxUSE_FILE=yes'
8203 else
8204 wx_cv_use_file='wxUSE_FILE=no'
8205 fi
8206
8207 else
8208
8209 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8210
8211 fi
8212
8213
8214 eval "$wx_cv_use_file"
8215
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_FILE = no; then
8218 result=yes
8219 else
8220 result=no
8221 fi
8222 else
8223 result=$wxUSE_FILE
8224 fi
8225
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8227 $as_echo "$result" >&6; }
8228
8229
8230 enablestring=
8231 defaultval=$wxUSE_ALL_FEATURES
8232 if test -z "$defaultval"; then
8233 if test x"$enablestring" = xdisable; then
8234 defaultval=yes
8235 else
8236 defaultval=no
8237 fi
8238 fi
8239
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8241 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8242 # Check whether --enable-filehistory was given.
8243 if test "${enable_filehistory+set}" = set; then :
8244 enableval=$enable_filehistory;
8245 if test "$enableval" = yes; then
8246 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8247 else
8248 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8249 fi
8250
8251 else
8252
8253 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8254
8255 fi
8256
8257
8258 eval "$wx_cv_use_filehistory"
8259
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_FILE_HISTORY = no; then
8262 result=yes
8263 else
8264 result=no
8265 fi
8266 else
8267 result=$wxUSE_FILE_HISTORY
8268 fi
8269
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8271 $as_echo "$result" >&6; }
8272
8273
8274 enablestring=
8275 defaultval=$wxUSE_ALL_FEATURES
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8278 defaultval=yes
8279 else
8280 defaultval=no
8281 fi
8282 fi
8283
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8285 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8286 # Check whether --enable-filesystem was given.
8287 if test "${enable_filesystem+set}" = set; then :
8288 enableval=$enable_filesystem;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8291 else
8292 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8293 fi
8294
8295 else
8296
8297 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8298
8299 fi
8300
8301
8302 eval "$wx_cv_use_filesystem"
8303
8304 if test x"$enablestring" = xdisable; then
8305 if test $wxUSE_FILESYSTEM = no; then
8306 result=yes
8307 else
8308 result=no
8309 fi
8310 else
8311 result=$wxUSE_FILESYSTEM
8312 fi
8313
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8315 $as_echo "$result" >&6; }
8316
8317
8318 enablestring=
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8322 defaultval=yes
8323 else
8324 defaultval=no
8325 fi
8326 fi
8327
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8329 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8330 # Check whether --enable-fontenum was given.
8331 if test "${enable_fontenum+set}" = set; then :
8332 enableval=$enable_fontenum;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8335 else
8336 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8337 fi
8338
8339 else
8340
8341 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8342
8343 fi
8344
8345
8346 eval "$wx_cv_use_fontenum"
8347
8348 if test x"$enablestring" = xdisable; then
8349 if test $wxUSE_FONTENUM = no; then
8350 result=yes
8351 else
8352 result=no
8353 fi
8354 else
8355 result=$wxUSE_FONTENUM
8356 fi
8357
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8359 $as_echo "$result" >&6; }
8360
8361
8362 enablestring=
8363 defaultval=$wxUSE_ALL_FEATURES
8364 if test -z "$defaultval"; then
8365 if test x"$enablestring" = xdisable; then
8366 defaultval=yes
8367 else
8368 defaultval=no
8369 fi
8370 fi
8371
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8373 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8374 # Check whether --enable-fontmap was given.
8375 if test "${enable_fontmap+set}" = set; then :
8376 enableval=$enable_fontmap;
8377 if test "$enableval" = yes; then
8378 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8379 else
8380 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8381 fi
8382
8383 else
8384
8385 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8386
8387 fi
8388
8389
8390 eval "$wx_cv_use_fontmap"
8391
8392 if test x"$enablestring" = xdisable; then
8393 if test $wxUSE_FONTMAP = no; then
8394 result=yes
8395 else
8396 result=no
8397 fi
8398 else
8399 result=$wxUSE_FONTMAP
8400 fi
8401
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8403 $as_echo "$result" >&6; }
8404
8405
8406 enablestring=
8407 defaultval=$wxUSE_ALL_FEATURES
8408 if test -z "$defaultval"; then
8409 if test x"$enablestring" = xdisable; then
8410 defaultval=yes
8411 else
8412 defaultval=no
8413 fi
8414 fi
8415
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8417 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8418 # Check whether --enable-fs_archive was given.
8419 if test "${enable_fs_archive+set}" = set; then :
8420 enableval=$enable_fs_archive;
8421 if test "$enableval" = yes; then
8422 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8423 else
8424 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8425 fi
8426
8427 else
8428
8429 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8430
8431 fi
8432
8433
8434 eval "$wx_cv_use_fs_archive"
8435
8436 if test x"$enablestring" = xdisable; then
8437 if test $wxUSE_FS_ARCHIVE = no; then
8438 result=yes
8439 else
8440 result=no
8441 fi
8442 else
8443 result=$wxUSE_FS_ARCHIVE
8444 fi
8445
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8447 $as_echo "$result" >&6; }
8448
8449
8450 enablestring=
8451 defaultval=$wxUSE_ALL_FEATURES
8452 if test -z "$defaultval"; then
8453 if test x"$enablestring" = xdisable; then
8454 defaultval=yes
8455 else
8456 defaultval=no
8457 fi
8458 fi
8459
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8461 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8462 # Check whether --enable-fs_inet was given.
8463 if test "${enable_fs_inet+set}" = set; then :
8464 enableval=$enable_fs_inet;
8465 if test "$enableval" = yes; then
8466 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8467 else
8468 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8469 fi
8470
8471 else
8472
8473 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8474
8475 fi
8476
8477
8478 eval "$wx_cv_use_fs_inet"
8479
8480 if test x"$enablestring" = xdisable; then
8481 if test $wxUSE_FS_INET = no; then
8482 result=yes
8483 else
8484 result=no
8485 fi
8486 else
8487 result=$wxUSE_FS_INET
8488 fi
8489
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8491 $as_echo "$result" >&6; }
8492
8493
8494 enablestring=
8495 defaultval=$wxUSE_ALL_FEATURES
8496 if test -z "$defaultval"; then
8497 if test x"$enablestring" = xdisable; then
8498 defaultval=yes
8499 else
8500 defaultval=no
8501 fi
8502 fi
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8505 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8506 # Check whether --enable-fs_zip was given.
8507 if test "${enable_fs_zip+set}" = set; then :
8508 enableval=$enable_fs_zip;
8509 if test "$enableval" = yes; then
8510 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8511 else
8512 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8513 fi
8514
8515 else
8516
8517 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8518
8519 fi
8520
8521
8522 eval "$wx_cv_use_fs_zip"
8523
8524 if test x"$enablestring" = xdisable; then
8525 if test $wxUSE_FS_ZIP = no; then
8526 result=yes
8527 else
8528 result=no
8529 fi
8530 else
8531 result=$wxUSE_FS_ZIP
8532 fi
8533
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8535 $as_echo "$result" >&6; }
8536
8537
8538 enablestring=
8539 defaultval=$wxUSE_ALL_FEATURES
8540 if test -z "$defaultval"; then
8541 if test x"$enablestring" = xdisable; then
8542 defaultval=yes
8543 else
8544 defaultval=no
8545 fi
8546 fi
8547
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8549 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8550 # Check whether --enable-fswatcher was given.
8551 if test "${enable_fswatcher+set}" = set; then :
8552 enableval=$enable_fswatcher;
8553 if test "$enableval" = yes; then
8554 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8555 else
8556 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8557 fi
8558
8559 else
8560
8561 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8562
8563 fi
8564
8565
8566 eval "$wx_cv_use_fswatcher"
8567
8568 if test x"$enablestring" = xdisable; then
8569 if test $wxUSE_FSWATCHER = no; then
8570 result=yes
8571 else
8572 result=no
8573 fi
8574 else
8575 result=$wxUSE_FSWATCHER
8576 fi
8577
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8579 $as_echo "$result" >&6; }
8580
8581
8582 enablestring=
8583 defaultval=$wxUSE_ALL_FEATURES
8584 if test -z "$defaultval"; then
8585 if test x"$enablestring" = xdisable; then
8586 defaultval=yes
8587 else
8588 defaultval=no
8589 fi
8590 fi
8591
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8593 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8594 # Check whether --enable-geometry was given.
8595 if test "${enable_geometry+set}" = set; then :
8596 enableval=$enable_geometry;
8597 if test "$enableval" = yes; then
8598 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8599 else
8600 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8601 fi
8602
8603 else
8604
8605 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8606
8607 fi
8608
8609
8610 eval "$wx_cv_use_geometry"
8611
8612 if test x"$enablestring" = xdisable; then
8613 if test $wxUSE_GEOMETRY = no; then
8614 result=yes
8615 else
8616 result=no
8617 fi
8618 else
8619 result=$wxUSE_GEOMETRY
8620 fi
8621
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8623 $as_echo "$result" >&6; }
8624
8625
8626 enablestring=
8627 defaultval=$wxUSE_ALL_FEATURES
8628 if test -z "$defaultval"; then
8629 if test x"$enablestring" = xdisable; then
8630 defaultval=yes
8631 else
8632 defaultval=no
8633 fi
8634 fi
8635
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8637 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8638 # Check whether --enable-log was given.
8639 if test "${enable_log+set}" = set; then :
8640 enableval=$enable_log;
8641 if test "$enableval" = yes; then
8642 wx_cv_use_log='wxUSE_LOG=yes'
8643 else
8644 wx_cv_use_log='wxUSE_LOG=no'
8645 fi
8646
8647 else
8648
8649 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8650
8651 fi
8652
8653
8654 eval "$wx_cv_use_log"
8655
8656 if test x"$enablestring" = xdisable; then
8657 if test $wxUSE_LOG = no; then
8658 result=yes
8659 else
8660 result=no
8661 fi
8662 else
8663 result=$wxUSE_LOG
8664 fi
8665
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8667 $as_echo "$result" >&6; }
8668
8669
8670 enablestring=
8671 defaultval=$wxUSE_ALL_FEATURES
8672 if test -z "$defaultval"; then
8673 if test x"$enablestring" = xdisable; then
8674 defaultval=yes
8675 else
8676 defaultval=no
8677 fi
8678 fi
8679
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8681 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8682 # Check whether --enable-longlong was given.
8683 if test "${enable_longlong+set}" = set; then :
8684 enableval=$enable_longlong;
8685 if test "$enableval" = yes; then
8686 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8687 else
8688 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8689 fi
8690
8691 else
8692
8693 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8694
8695 fi
8696
8697
8698 eval "$wx_cv_use_longlong"
8699
8700 if test x"$enablestring" = xdisable; then
8701 if test $wxUSE_LONGLONG = no; then
8702 result=yes
8703 else
8704 result=no
8705 fi
8706 else
8707 result=$wxUSE_LONGLONG
8708 fi
8709
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8711 $as_echo "$result" >&6; }
8712
8713
8714 enablestring=
8715 defaultval=$wxUSE_ALL_FEATURES
8716 if test -z "$defaultval"; then
8717 if test x"$enablestring" = xdisable; then
8718 defaultval=yes
8719 else
8720 defaultval=no
8721 fi
8722 fi
8723
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8725 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8726 # Check whether --enable-mimetype was given.
8727 if test "${enable_mimetype+set}" = set; then :
8728 enableval=$enable_mimetype;
8729 if test "$enableval" = yes; then
8730 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8731 else
8732 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8733 fi
8734
8735 else
8736
8737 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8738
8739 fi
8740
8741
8742 eval "$wx_cv_use_mimetype"
8743
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_MIMETYPE = no; then
8746 result=yes
8747 else
8748 result=no
8749 fi
8750 else
8751 result=$wxUSE_MIMETYPE
8752 fi
8753
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8755 $as_echo "$result" >&6; }
8756
8757
8758 enablestring=
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8762 defaultval=yes
8763 else
8764 defaultval=no
8765 fi
8766 fi
8767
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8769 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8770 # Check whether --enable-printfposparam was given.
8771 if test "${enable_printfposparam+set}" = set; then :
8772 enableval=$enable_printfposparam;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8775 else
8776 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8777 fi
8778
8779 else
8780
8781 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8782
8783 fi
8784
8785
8786 eval "$wx_cv_use_printfposparam"
8787
8788 if test x"$enablestring" = xdisable; then
8789 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8790 result=yes
8791 else
8792 result=no
8793 fi
8794 else
8795 result=$wxUSE_PRINTF_POS_PARAMS
8796 fi
8797
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8799 $as_echo "$result" >&6; }
8800
8801
8802 enablestring=
8803 defaultval=$wxUSE_ALL_FEATURES
8804 if test -z "$defaultval"; then
8805 if test x"$enablestring" = xdisable; then
8806 defaultval=yes
8807 else
8808 defaultval=no
8809 fi
8810 fi
8811
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8813 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8814 # Check whether --enable-snglinst was given.
8815 if test "${enable_snglinst+set}" = set; then :
8816 enableval=$enable_snglinst;
8817 if test "$enableval" = yes; then
8818 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8819 else
8820 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8821 fi
8822
8823 else
8824
8825 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8826
8827 fi
8828
8829
8830 eval "$wx_cv_use_snglinst"
8831
8832 if test x"$enablestring" = xdisable; then
8833 if test $wxUSE_SNGLINST_CHECKER = no; then
8834 result=yes
8835 else
8836 result=no
8837 fi
8838 else
8839 result=$wxUSE_SNGLINST_CHECKER
8840 fi
8841
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8843 $as_echo "$result" >&6; }
8844
8845
8846 enablestring=
8847 defaultval=$wxUSE_ALL_FEATURES
8848 if test -z "$defaultval"; then
8849 if test x"$enablestring" = xdisable; then
8850 defaultval=yes
8851 else
8852 defaultval=no
8853 fi
8854 fi
8855
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8857 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8858 # Check whether --enable-sound was given.
8859 if test "${enable_sound+set}" = set; then :
8860 enableval=$enable_sound;
8861 if test "$enableval" = yes; then
8862 wx_cv_use_sound='wxUSE_SOUND=yes'
8863 else
8864 wx_cv_use_sound='wxUSE_SOUND=no'
8865 fi
8866
8867 else
8868
8869 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8870
8871 fi
8872
8873
8874 eval "$wx_cv_use_sound"
8875
8876 if test x"$enablestring" = xdisable; then
8877 if test $wxUSE_SOUND = no; then
8878 result=yes
8879 else
8880 result=no
8881 fi
8882 else
8883 result=$wxUSE_SOUND
8884 fi
8885
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8887 $as_echo "$result" >&6; }
8888
8889
8890 enablestring=
8891 defaultval=$wxUSE_ALL_FEATURES
8892 if test -z "$defaultval"; then
8893 if test x"$enablestring" = xdisable; then
8894 defaultval=yes
8895 else
8896 defaultval=no
8897 fi
8898 fi
8899
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8901 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8902 # Check whether --enable-stdpaths was given.
8903 if test "${enable_stdpaths+set}" = set; then :
8904 enableval=$enable_stdpaths;
8905 if test "$enableval" = yes; then
8906 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8907 else
8908 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8909 fi
8910
8911 else
8912
8913 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8914
8915 fi
8916
8917
8918 eval "$wx_cv_use_stdpaths"
8919
8920 if test x"$enablestring" = xdisable; then
8921 if test $wxUSE_STDPATHS = no; then
8922 result=yes
8923 else
8924 result=no
8925 fi
8926 else
8927 result=$wxUSE_STDPATHS
8928 fi
8929
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8931 $as_echo "$result" >&6; }
8932
8933
8934 enablestring=
8935 defaultval=$wxUSE_ALL_FEATURES
8936 if test -z "$defaultval"; then
8937 if test x"$enablestring" = xdisable; then
8938 defaultval=yes
8939 else
8940 defaultval=no
8941 fi
8942 fi
8943
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8945 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8946 # Check whether --enable-stopwatch was given.
8947 if test "${enable_stopwatch+set}" = set; then :
8948 enableval=$enable_stopwatch;
8949 if test "$enableval" = yes; then
8950 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8951 else
8952 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8953 fi
8954
8955 else
8956
8957 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8958
8959 fi
8960
8961
8962 eval "$wx_cv_use_stopwatch"
8963
8964 if test x"$enablestring" = xdisable; then
8965 if test $wxUSE_STOPWATCH = no; then
8966 result=yes
8967 else
8968 result=no
8969 fi
8970 else
8971 result=$wxUSE_STOPWATCH
8972 fi
8973
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8975 $as_echo "$result" >&6; }
8976
8977
8978 enablestring=
8979 defaultval=$wxUSE_ALL_FEATURES
8980 if test -z "$defaultval"; then
8981 if test x"$enablestring" = xdisable; then
8982 defaultval=yes
8983 else
8984 defaultval=no
8985 fi
8986 fi
8987
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8989 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8990 # Check whether --enable-streams was given.
8991 if test "${enable_streams+set}" = set; then :
8992 enableval=$enable_streams;
8993 if test "$enableval" = yes; then
8994 wx_cv_use_streams='wxUSE_STREAMS=yes'
8995 else
8996 wx_cv_use_streams='wxUSE_STREAMS=no'
8997 fi
8998
8999 else
9000
9001 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9002
9003 fi
9004
9005
9006 eval "$wx_cv_use_streams"
9007
9008 if test x"$enablestring" = xdisable; then
9009 if test $wxUSE_STREAMS = no; then
9010 result=yes
9011 else
9012 result=no
9013 fi
9014 else
9015 result=$wxUSE_STREAMS
9016 fi
9017
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9019 $as_echo "$result" >&6; }
9020
9021
9022 enablestring=
9023 defaultval=$wxUSE_ALL_FEATURES
9024 if test -z "$defaultval"; then
9025 if test x"$enablestring" = xdisable; then
9026 defaultval=yes
9027 else
9028 defaultval=no
9029 fi
9030 fi
9031
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9033 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9034 # Check whether --enable-sysoptions was given.
9035 if test "${enable_sysoptions+set}" = set; then :
9036 enableval=$enable_sysoptions;
9037 if test "$enableval" = yes; then
9038 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9039 else
9040 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9041 fi
9042
9043 else
9044
9045 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9046
9047 fi
9048
9049
9050 eval "$wx_cv_use_sysoptions"
9051
9052 if test x"$enablestring" = xdisable; then
9053 if test $wxUSE_SYSTEM_OPTIONS = no; then
9054 result=yes
9055 else
9056 result=no
9057 fi
9058 else
9059 result=$wxUSE_SYSTEM_OPTIONS
9060 fi
9061
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9063 $as_echo "$result" >&6; }
9064
9065
9066 enablestring=
9067 defaultval=$wxUSE_ALL_FEATURES
9068 if test -z "$defaultval"; then
9069 if test x"$enablestring" = xdisable; then
9070 defaultval=yes
9071 else
9072 defaultval=no
9073 fi
9074 fi
9075
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9077 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9078 # Check whether --enable-tarstream was given.
9079 if test "${enable_tarstream+set}" = set; then :
9080 enableval=$enable_tarstream;
9081 if test "$enableval" = yes; then
9082 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9083 else
9084 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9085 fi
9086
9087 else
9088
9089 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9090
9091 fi
9092
9093
9094 eval "$wx_cv_use_tarstream"
9095
9096 if test x"$enablestring" = xdisable; then
9097 if test $wxUSE_TARSTREAM = no; then
9098 result=yes
9099 else
9100 result=no
9101 fi
9102 else
9103 result=$wxUSE_TARSTREAM
9104 fi
9105
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9107 $as_echo "$result" >&6; }
9108
9109
9110 enablestring=
9111 defaultval=$wxUSE_ALL_FEATURES
9112 if test -z "$defaultval"; then
9113 if test x"$enablestring" = xdisable; then
9114 defaultval=yes
9115 else
9116 defaultval=no
9117 fi
9118 fi
9119
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9121 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9122 # Check whether --enable-textbuf was given.
9123 if test "${enable_textbuf+set}" = set; then :
9124 enableval=$enable_textbuf;
9125 if test "$enableval" = yes; then
9126 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9127 else
9128 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9129 fi
9130
9131 else
9132
9133 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9134
9135 fi
9136
9137
9138 eval "$wx_cv_use_textbuf"
9139
9140 if test x"$enablestring" = xdisable; then
9141 if test $wxUSE_TEXTBUFFER = no; then
9142 result=yes
9143 else
9144 result=no
9145 fi
9146 else
9147 result=$wxUSE_TEXTBUFFER
9148 fi
9149
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9151 $as_echo "$result" >&6; }
9152
9153
9154 enablestring=
9155 defaultval=$wxUSE_ALL_FEATURES
9156 if test -z "$defaultval"; then
9157 if test x"$enablestring" = xdisable; then
9158 defaultval=yes
9159 else
9160 defaultval=no
9161 fi
9162 fi
9163
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9165 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9166 # Check whether --enable-textfile was given.
9167 if test "${enable_textfile+set}" = set; then :
9168 enableval=$enable_textfile;
9169 if test "$enableval" = yes; then
9170 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9171 else
9172 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9173 fi
9174
9175 else
9176
9177 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9178
9179 fi
9180
9181
9182 eval "$wx_cv_use_textfile"
9183
9184 if test x"$enablestring" = xdisable; then
9185 if test $wxUSE_TEXTFILE = no; then
9186 result=yes
9187 else
9188 result=no
9189 fi
9190 else
9191 result=$wxUSE_TEXTFILE
9192 fi
9193
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9195 $as_echo "$result" >&6; }
9196
9197
9198 enablestring=
9199 defaultval=$wxUSE_ALL_FEATURES
9200 if test -z "$defaultval"; then
9201 if test x"$enablestring" = xdisable; then
9202 defaultval=yes
9203 else
9204 defaultval=no
9205 fi
9206 fi
9207
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9209 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9210 # Check whether --enable-timer was given.
9211 if test "${enable_timer+set}" = set; then :
9212 enableval=$enable_timer;
9213 if test "$enableval" = yes; then
9214 wx_cv_use_timer='wxUSE_TIMER=yes'
9215 else
9216 wx_cv_use_timer='wxUSE_TIMER=no'
9217 fi
9218
9219 else
9220
9221 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9222
9223 fi
9224
9225
9226 eval "$wx_cv_use_timer"
9227
9228 if test x"$enablestring" = xdisable; then
9229 if test $wxUSE_TIMER = no; then
9230 result=yes
9231 else
9232 result=no
9233 fi
9234 else
9235 result=$wxUSE_TIMER
9236 fi
9237
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9239 $as_echo "$result" >&6; }
9240
9241
9242 enablestring=
9243 defaultval=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x"$enablestring" = xdisable; then
9246 defaultval=yes
9247 else
9248 defaultval=no
9249 fi
9250 fi
9251
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9253 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9254 # Check whether --enable-variant was given.
9255 if test "${enable_variant+set}" = set; then :
9256 enableval=$enable_variant;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_variant='wxUSE_VARIANT=yes'
9259 else
9260 wx_cv_use_variant='wxUSE_VARIANT=no'
9261 fi
9262
9263 else
9264
9265 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9266
9267 fi
9268
9269
9270 eval "$wx_cv_use_variant"
9271
9272 if test x"$enablestring" = xdisable; then
9273 if test $wxUSE_VARIANT = no; then
9274 result=yes
9275 else
9276 result=no
9277 fi
9278 else
9279 result=$wxUSE_VARIANT
9280 fi
9281
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9283 $as_echo "$result" >&6; }
9284
9285
9286 enablestring=
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9290 defaultval=yes
9291 else
9292 defaultval=no
9293 fi
9294 fi
9295
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9297 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9298 # Check whether --enable-zipstream was given.
9299 if test "${enable_zipstream+set}" = set; then :
9300 enableval=$enable_zipstream;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9303 else
9304 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9305 fi
9306
9307 else
9308
9309 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9310
9311 fi
9312
9313
9314 eval "$wx_cv_use_zipstream"
9315
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_ZIPSTREAM = no; then
9318 result=yes
9319 else
9320 result=no
9321 fi
9322 else
9323 result=$wxUSE_ZIPSTREAM
9324 fi
9325
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9327 $as_echo "$result" >&6; }
9328
9329
9330
9331 enablestring=
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9335 defaultval=yes
9336 else
9337 defaultval=no
9338 fi
9339 fi
9340
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9342 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9343 # Check whether --enable-url was given.
9344 if test "${enable_url+set}" = set; then :
9345 enableval=$enable_url;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_url='wxUSE_URL=yes'
9348 else
9349 wx_cv_use_url='wxUSE_URL=no'
9350 fi
9351
9352 else
9353
9354 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9355
9356 fi
9357
9358
9359 eval "$wx_cv_use_url"
9360
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_URL = no; then
9363 result=yes
9364 else
9365 result=no
9366 fi
9367 else
9368 result=$wxUSE_URL
9369 fi
9370
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9372 $as_echo "$result" >&6; }
9373
9374
9375 enablestring=
9376 defaultval=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9379 defaultval=yes
9380 else
9381 defaultval=no
9382 fi
9383 fi
9384
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9386 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9387 # Check whether --enable-protocol was given.
9388 if test "${enable_protocol+set}" = set; then :
9389 enableval=$enable_protocol;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9392 else
9393 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9394 fi
9395
9396 else
9397
9398 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9399
9400 fi
9401
9402
9403 eval "$wx_cv_use_protocol"
9404
9405 if test x"$enablestring" = xdisable; then
9406 if test $wxUSE_PROTOCOL = no; then
9407 result=yes
9408 else
9409 result=no
9410 fi
9411 else
9412 result=$wxUSE_PROTOCOL
9413 fi
9414
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9416 $as_echo "$result" >&6; }
9417
9418
9419 enablestring=
9420 defaultval=$wxUSE_ALL_FEATURES
9421 if test -z "$defaultval"; then
9422 if test x"$enablestring" = xdisable; then
9423 defaultval=yes
9424 else
9425 defaultval=no
9426 fi
9427 fi
9428
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9430 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9431 # Check whether --enable-protocol_http was given.
9432 if test "${enable_protocol_http+set}" = set; then :
9433 enableval=$enable_protocol_http;
9434 if test "$enableval" = yes; then
9435 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9436 else
9437 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9438 fi
9439
9440 else
9441
9442 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9443
9444 fi
9445
9446
9447 eval "$wx_cv_use_protocol_http"
9448
9449 if test x"$enablestring" = xdisable; then
9450 if test $wxUSE_PROTOCOL_HTTP = no; then
9451 result=yes
9452 else
9453 result=no
9454 fi
9455 else
9456 result=$wxUSE_PROTOCOL_HTTP
9457 fi
9458
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9460 $as_echo "$result" >&6; }
9461
9462
9463 enablestring=
9464 defaultval=$wxUSE_ALL_FEATURES
9465 if test -z "$defaultval"; then
9466 if test x"$enablestring" = xdisable; then
9467 defaultval=yes
9468 else
9469 defaultval=no
9470 fi
9471 fi
9472
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9474 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9475 # Check whether --enable-protocol_ftp was given.
9476 if test "${enable_protocol_ftp+set}" = set; then :
9477 enableval=$enable_protocol_ftp;
9478 if test "$enableval" = yes; then
9479 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9480 else
9481 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9482 fi
9483
9484 else
9485
9486 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9487
9488 fi
9489
9490
9491 eval "$wx_cv_use_protocol_ftp"
9492
9493 if test x"$enablestring" = xdisable; then
9494 if test $wxUSE_PROTOCOL_FTP = no; then
9495 result=yes
9496 else
9497 result=no
9498 fi
9499 else
9500 result=$wxUSE_PROTOCOL_FTP
9501 fi
9502
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9504 $as_echo "$result" >&6; }
9505
9506
9507 enablestring=
9508 defaultval=$wxUSE_ALL_FEATURES
9509 if test -z "$defaultval"; then
9510 if test x"$enablestring" = xdisable; then
9511 defaultval=yes
9512 else
9513 defaultval=no
9514 fi
9515 fi
9516
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9518 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9519 # Check whether --enable-protocol_file was given.
9520 if test "${enable_protocol_file+set}" = set; then :
9521 enableval=$enable_protocol_file;
9522 if test "$enableval" = yes; then
9523 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9524 else
9525 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9526 fi
9527
9528 else
9529
9530 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9531
9532 fi
9533
9534
9535 eval "$wx_cv_use_protocol_file"
9536
9537 if test x"$enablestring" = xdisable; then
9538 if test $wxUSE_PROTOCOL_FILE = no; then
9539 result=yes
9540 else
9541 result=no
9542 fi
9543 else
9544 result=$wxUSE_PROTOCOL_FILE
9545 fi
9546
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9548 $as_echo "$result" >&6; }
9549
9550
9551
9552 enablestring=
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9556 defaultval=yes
9557 else
9558 defaultval=no
9559 fi
9560 fi
9561
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9563 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9564 # Check whether --enable-threads was given.
9565 if test "${enable_threads+set}" = set; then :
9566 enableval=$enable_threads;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_threads='wxUSE_THREADS=yes'
9569 else
9570 wx_cv_use_threads='wxUSE_THREADS=no'
9571 fi
9572
9573 else
9574
9575 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9576
9577 fi
9578
9579
9580 eval "$wx_cv_use_threads"
9581
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_THREADS = no; then
9584 result=yes
9585 else
9586 result=no
9587 fi
9588 else
9589 result=$wxUSE_THREADS
9590 fi
9591
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9593 $as_echo "$result" >&6; }
9594
9595
9596
9597 enablestring=
9598 defaultval=
9599 if test -z "$defaultval"; then
9600 if test x"$enablestring" = xdisable; then
9601 defaultval=yes
9602 else
9603 defaultval=no
9604 fi
9605 fi
9606
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9608 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9609 # Check whether --enable-iniconf was given.
9610 if test "${enable_iniconf+set}" = set; then :
9611 enableval=$enable_iniconf;
9612 if test "$enableval" = yes; then
9613 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9614 else
9615 wx_cv_use_iniconf='wxUSE_INICONF=no'
9616 fi
9617
9618 else
9619
9620 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9621
9622 fi
9623
9624
9625 eval "$wx_cv_use_iniconf"
9626
9627 if test x"$enablestring" = xdisable; then
9628 if test $wxUSE_INICONF = no; then
9629 result=yes
9630 else
9631 result=no
9632 fi
9633 else
9634 result=$wxUSE_INICONF
9635 fi
9636
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9638 $as_echo "$result" >&6; }
9639
9640
9641 enablestring=
9642 defaultval=$wxUSE_ALL_FEATURES
9643 if test -z "$defaultval"; then
9644 if test x"$enablestring" = xdisable; then
9645 defaultval=yes
9646 else
9647 defaultval=no
9648 fi
9649 fi
9650
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9652 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9653 # Check whether --enable-regkey was given.
9654 if test "${enable_regkey+set}" = set; then :
9655 enableval=$enable_regkey;
9656 if test "$enableval" = yes; then
9657 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9658 else
9659 wx_cv_use_regkey='wxUSE_REGKEY=no'
9660 fi
9661
9662 else
9663
9664 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9665
9666 fi
9667
9668
9669 eval "$wx_cv_use_regkey"
9670
9671 if test x"$enablestring" = xdisable; then
9672 if test $wxUSE_REGKEY = no; then
9673 result=yes
9674 else
9675 result=no
9676 fi
9677 else
9678 result=$wxUSE_REGKEY
9679 fi
9680
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9682 $as_echo "$result" >&6; }
9683
9684
9685 if test "$wxUSE_GUI" = "yes"; then
9686
9687
9688
9689 enablestring=
9690 defaultval=$wxUSE_ALL_FEATURES
9691 if test -z "$defaultval"; then
9692 if test x"$enablestring" = xdisable; then
9693 defaultval=yes
9694 else
9695 defaultval=no
9696 fi
9697 fi
9698
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9700 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9701 # Check whether --enable-docview was given.
9702 if test "${enable_docview+set}" = set; then :
9703 enableval=$enable_docview;
9704 if test "$enableval" = yes; then
9705 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9706 else
9707 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9708 fi
9709
9710 else
9711
9712 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9713
9714 fi
9715
9716
9717 eval "$wx_cv_use_docview"
9718
9719 if test x"$enablestring" = xdisable; then
9720 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9721 result=yes
9722 else
9723 result=no
9724 fi
9725 else
9726 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9727 fi
9728
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9730 $as_echo "$result" >&6; }
9731
9732
9733 enablestring=
9734 defaultval=$wxUSE_ALL_FEATURES
9735 if test -z "$defaultval"; then
9736 if test x"$enablestring" = xdisable; then
9737 defaultval=yes
9738 else
9739 defaultval=no
9740 fi
9741 fi
9742
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9744 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9745 # Check whether --enable-help was given.
9746 if test "${enable_help+set}" = set; then :
9747 enableval=$enable_help;
9748 if test "$enableval" = yes; then
9749 wx_cv_use_help='wxUSE_HELP=yes'
9750 else
9751 wx_cv_use_help='wxUSE_HELP=no'
9752 fi
9753
9754 else
9755
9756 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9757
9758 fi
9759
9760
9761 eval "$wx_cv_use_help"
9762
9763 if test x"$enablestring" = xdisable; then
9764 if test $wxUSE_HELP = no; then
9765 result=yes
9766 else
9767 result=no
9768 fi
9769 else
9770 result=$wxUSE_HELP
9771 fi
9772
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9774 $as_echo "$result" >&6; }
9775
9776
9777 enablestring=
9778 defaultval=$wxUSE_ALL_FEATURES
9779 if test -z "$defaultval"; then
9780 if test x"$enablestring" = xdisable; then
9781 defaultval=yes
9782 else
9783 defaultval=no
9784 fi
9785 fi
9786
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9788 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9789 # Check whether --enable-mshtmlhelp was given.
9790 if test "${enable_mshtmlhelp+set}" = set; then :
9791 enableval=$enable_mshtmlhelp;
9792 if test "$enableval" = yes; then
9793 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9794 else
9795 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9796 fi
9797
9798 else
9799
9800 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9801
9802 fi
9803
9804
9805 eval "$wx_cv_use_mshtmlhelp"
9806
9807 if test x"$enablestring" = xdisable; then
9808 if test $wxUSE_MS_HTML_HELP = no; then
9809 result=yes
9810 else
9811 result=no
9812 fi
9813 else
9814 result=$wxUSE_MS_HTML_HELP
9815 fi
9816
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9818 $as_echo "$result" >&6; }
9819
9820
9821 enablestring=
9822 defaultval=$wxUSE_ALL_FEATURES
9823 if test -z "$defaultval"; then
9824 if test x"$enablestring" = xdisable; then
9825 defaultval=yes
9826 else
9827 defaultval=no
9828 fi
9829 fi
9830
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9832 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9833 # Check whether --enable-html was given.
9834 if test "${enable_html+set}" = set; then :
9835 enableval=$enable_html;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_html='wxUSE_HTML=yes'
9838 else
9839 wx_cv_use_html='wxUSE_HTML=no'
9840 fi
9841
9842 else
9843
9844 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9845
9846 fi
9847
9848
9849 eval "$wx_cv_use_html"
9850
9851 if test x"$enablestring" = xdisable; then
9852 if test $wxUSE_HTML = no; then
9853 result=yes
9854 else
9855 result=no
9856 fi
9857 else
9858 result=$wxUSE_HTML
9859 fi
9860
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9862 $as_echo "$result" >&6; }
9863
9864
9865 enablestring=
9866 defaultval=$wxUSE_ALL_FEATURES
9867 if test -z "$defaultval"; then
9868 if test x"$enablestring" = xdisable; then
9869 defaultval=yes
9870 else
9871 defaultval=no
9872 fi
9873 fi
9874
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9876 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9877 # Check whether --enable-htmlhelp was given.
9878 if test "${enable_htmlhelp+set}" = set; then :
9879 enableval=$enable_htmlhelp;
9880 if test "$enableval" = yes; then
9881 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9882 else
9883 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9884 fi
9885
9886 else
9887
9888 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9889
9890 fi
9891
9892
9893 eval "$wx_cv_use_htmlhelp"
9894
9895 if test x"$enablestring" = xdisable; then
9896 if test $wxUSE_WXHTML_HELP = no; then
9897 result=yes
9898 else
9899 result=no
9900 fi
9901 else
9902 result=$wxUSE_WXHTML_HELP
9903 fi
9904
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9906 $as_echo "$result" >&6; }
9907
9908
9909 enablestring=
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9913 defaultval=yes
9914 else
9915 defaultval=no
9916 fi
9917 fi
9918
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9920 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9921 # Check whether --enable-xrc was given.
9922 if test "${enable_xrc+set}" = set; then :
9923 enableval=$enable_xrc;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_xrc='wxUSE_XRC=yes'
9926 else
9927 wx_cv_use_xrc='wxUSE_XRC=no'
9928 fi
9929
9930 else
9931
9932 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9933
9934 fi
9935
9936
9937 eval "$wx_cv_use_xrc"
9938
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_XRC = no; then
9941 result=yes
9942 else
9943 result=no
9944 fi
9945 else
9946 result=$wxUSE_XRC
9947 fi
9948
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9950 $as_echo "$result" >&6; }
9951
9952
9953 enablestring=
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9957 defaultval=yes
9958 else
9959 defaultval=no
9960 fi
9961 fi
9962
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9964 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9965 # Check whether --enable-aui was given.
9966 if test "${enable_aui+set}" = set; then :
9967 enableval=$enable_aui;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_aui='wxUSE_AUI=yes'
9970 else
9971 wx_cv_use_aui='wxUSE_AUI=no'
9972 fi
9973
9974 else
9975
9976 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9977
9978 fi
9979
9980
9981 eval "$wx_cv_use_aui"
9982
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_AUI = no; then
9985 result=yes
9986 else
9987 result=no
9988 fi
9989 else
9990 result=$wxUSE_AUI
9991 fi
9992
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9994 $as_echo "$result" >&6; }
9995
9996
9997 enablestring=
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10001 defaultval=yes
10002 else
10003 defaultval=no
10004 fi
10005 fi
10006
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10008 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10009 # Check whether --enable-propgrid was given.
10010 if test "${enable_propgrid+set}" = set; then :
10011 enableval=$enable_propgrid;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10014 else
10015 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10016 fi
10017
10018 else
10019
10020 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10021
10022 fi
10023
10024
10025 eval "$wx_cv_use_propgrid"
10026
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_PROPGRID = no; then
10029 result=yes
10030 else
10031 result=no
10032 fi
10033 else
10034 result=$wxUSE_PROPGRID
10035 fi
10036
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10038 $as_echo "$result" >&6; }
10039
10040
10041 enablestring=
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10045 defaultval=yes
10046 else
10047 defaultval=no
10048 fi
10049 fi
10050
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10052 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10053 # Check whether --enable-ribbon was given.
10054 if test "${enable_ribbon+set}" = set; then :
10055 enableval=$enable_ribbon;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10058 else
10059 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10060 fi
10061
10062 else
10063
10064 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10065
10066 fi
10067
10068
10069 eval "$wx_cv_use_ribbon"
10070
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_RIBBON = no; then
10073 result=yes
10074 else
10075 result=no
10076 fi
10077 else
10078 result=$wxUSE_RIBBON
10079 fi
10080
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10082 $as_echo "$result" >&6; }
10083
10084
10085 enablestring=
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10089 defaultval=yes
10090 else
10091 defaultval=no
10092 fi
10093 fi
10094
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10096 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10097 # Check whether --enable-stc was given.
10098 if test "${enable_stc+set}" = set; then :
10099 enableval=$enable_stc;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_stc='wxUSE_STC=yes'
10102 else
10103 wx_cv_use_stc='wxUSE_STC=no'
10104 fi
10105
10106 else
10107
10108 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10109
10110 fi
10111
10112
10113 eval "$wx_cv_use_stc"
10114
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_STC = no; then
10117 result=yes
10118 else
10119 result=no
10120 fi
10121 else
10122 result=$wxUSE_STC
10123 fi
10124
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10126 $as_echo "$result" >&6; }
10127
10128
10129 enablestring=
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10133 defaultval=yes
10134 else
10135 defaultval=no
10136 fi
10137 fi
10138
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10140 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10141 # Check whether --enable-constraints was given.
10142 if test "${enable_constraints+set}" = set; then :
10143 enableval=$enable_constraints;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10146 else
10147 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10148 fi
10149
10150 else
10151
10152 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10153
10154 fi
10155
10156
10157 eval "$wx_cv_use_constraints"
10158
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_CONSTRAINTS = no; then
10161 result=yes
10162 else
10163 result=no
10164 fi
10165 else
10166 result=$wxUSE_CONSTRAINTS
10167 fi
10168
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10170 $as_echo "$result" >&6; }
10171
10172
10173 enablestring=
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10177 defaultval=yes
10178 else
10179 defaultval=no
10180 fi
10181 fi
10182
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10184 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10185 # Check whether --enable-loggui was given.
10186 if test "${enable_loggui+set}" = set; then :
10187 enableval=$enable_loggui;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10190 else
10191 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10192 fi
10193
10194 else
10195
10196 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10197
10198 fi
10199
10200
10201 eval "$wx_cv_use_loggui"
10202
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_LOGGUI = no; then
10205 result=yes
10206 else
10207 result=no
10208 fi
10209 else
10210 result=$wxUSE_LOGGUI
10211 fi
10212
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10214 $as_echo "$result" >&6; }
10215
10216
10217 enablestring=
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10221 defaultval=yes
10222 else
10223 defaultval=no
10224 fi
10225 fi
10226
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10228 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10229 # Check whether --enable-logwin was given.
10230 if test "${enable_logwin+set}" = set; then :
10231 enableval=$enable_logwin;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10234 else
10235 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10236 fi
10237
10238 else
10239
10240 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_logwin"
10246
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_LOGWINDOW = no; then
10249 result=yes
10250 else
10251 result=no
10252 fi
10253 else
10254 result=$wxUSE_LOGWINDOW
10255 fi
10256
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10258 $as_echo "$result" >&6; }
10259
10260
10261 enablestring=
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10265 defaultval=yes
10266 else
10267 defaultval=no
10268 fi
10269 fi
10270
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10272 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10273 # Check whether --enable-logdialog was given.
10274 if test "${enable_logdialog+set}" = set; then :
10275 enableval=$enable_logdialog;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10278 else
10279 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10280 fi
10281
10282 else
10283
10284 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10285
10286 fi
10287
10288
10289 eval "$wx_cv_use_logdialog"
10290
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_LOGDIALOG = no; then
10293 result=yes
10294 else
10295 result=no
10296 fi
10297 else
10298 result=$wxUSE_LOGDIALOG
10299 fi
10300
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10302 $as_echo "$result" >&6; }
10303
10304
10305 enablestring=
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10309 defaultval=yes
10310 else
10311 defaultval=no
10312 fi
10313 fi
10314
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10316 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10317 # Check whether --enable-mdi was given.
10318 if test "${enable_mdi+set}" = set; then :
10319 enableval=$enable_mdi;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_mdi='wxUSE_MDI=yes'
10322 else
10323 wx_cv_use_mdi='wxUSE_MDI=no'
10324 fi
10325
10326 else
10327
10328 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10329
10330 fi
10331
10332
10333 eval "$wx_cv_use_mdi"
10334
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_MDI = no; then
10337 result=yes
10338 else
10339 result=no
10340 fi
10341 else
10342 result=$wxUSE_MDI
10343 fi
10344
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10346 $as_echo "$result" >&6; }
10347
10348
10349 enablestring=
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10353 defaultval=yes
10354 else
10355 defaultval=no
10356 fi
10357 fi
10358
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10360 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10361 # Check whether --enable-mdidoc was given.
10362 if test "${enable_mdidoc+set}" = set; then :
10363 enableval=$enable_mdidoc;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10366 else
10367 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10368 fi
10369
10370 else
10371
10372 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10373
10374 fi
10375
10376
10377 eval "$wx_cv_use_mdidoc"
10378
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_MDI_ARCHITECTURE = no; then
10381 result=yes
10382 else
10383 result=no
10384 fi
10385 else
10386 result=$wxUSE_MDI_ARCHITECTURE
10387 fi
10388
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10390 $as_echo "$result" >&6; }
10391
10392
10393 enablestring=
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10397 defaultval=yes
10398 else
10399 defaultval=no
10400 fi
10401 fi
10402
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10404 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10405 # Check whether --enable-mediactrl was given.
10406 if test "${enable_mediactrl+set}" = set; then :
10407 enableval=$enable_mediactrl;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10410 else
10411 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10412 fi
10413
10414 else
10415
10416 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10417
10418 fi
10419
10420
10421 eval "$wx_cv_use_mediactrl"
10422
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_MEDIACTRL = no; then
10425 result=yes
10426 else
10427 result=no
10428 fi
10429 else
10430 result=$wxUSE_MEDIACTRL
10431 fi
10432
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10434 $as_echo "$result" >&6; }
10435
10436
10437 enablestring=
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10441 defaultval=yes
10442 else
10443 defaultval=no
10444 fi
10445 fi
10446
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10448 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10449 # Check whether --enable-gstreamer8 was given.
10450 if test "${enable_gstreamer8+set}" = set; then :
10451 enableval=$enable_gstreamer8;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10454 else
10455 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10456 fi
10457
10458 else
10459
10460 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10461
10462 fi
10463
10464
10465 eval "$wx_cv_use_gstreamer8"
10466
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_GSTREAMER8 = no; then
10469 result=yes
10470 else
10471 result=no
10472 fi
10473 else
10474 result=$wxUSE_GSTREAMER8
10475 fi
10476
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10478 $as_echo "$result" >&6; }
10479
10480
10481 enablestring=
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10485 defaultval=yes
10486 else
10487 defaultval=no
10488 fi
10489 fi
10490
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10492 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10493 # Check whether --enable-richtext was given.
10494 if test "${enable_richtext+set}" = set; then :
10495 enableval=$enable_richtext;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10498 else
10499 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10500 fi
10501
10502 else
10503
10504 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10505
10506 fi
10507
10508
10509 eval "$wx_cv_use_richtext"
10510
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_RICHTEXT = no; then
10513 result=yes
10514 else
10515 result=no
10516 fi
10517 else
10518 result=$wxUSE_RICHTEXT
10519 fi
10520
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10522 $as_echo "$result" >&6; }
10523
10524
10525 enablestring=
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10529 defaultval=yes
10530 else
10531 defaultval=no
10532 fi
10533 fi
10534
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10536 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10537 # Check whether --enable-postscript was given.
10538 if test "${enable_postscript+set}" = set; then :
10539 enableval=$enable_postscript;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10542 else
10543 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10544 fi
10545
10546 else
10547
10548 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10549
10550 fi
10551
10552
10553 eval "$wx_cv_use_postscript"
10554
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_POSTSCRIPT = no; then
10557 result=yes
10558 else
10559 result=no
10560 fi
10561 else
10562 result=$wxUSE_POSTSCRIPT
10563 fi
10564
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10566 $as_echo "$result" >&6; }
10567
10568
10569 enablestring=
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10573 defaultval=yes
10574 else
10575 defaultval=no
10576 fi
10577 fi
10578
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10580 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10581 # Check whether --enable-printarch was given.
10582 if test "${enable_printarch+set}" = set; then :
10583 enableval=$enable_printarch;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10586 else
10587 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10588 fi
10589
10590 else
10591
10592 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10593
10594 fi
10595
10596
10597 eval "$wx_cv_use_printarch"
10598
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10601 result=yes
10602 else
10603 result=no
10604 fi
10605 else
10606 result=$wxUSE_PRINTING_ARCHITECTURE
10607 fi
10608
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10610 $as_echo "$result" >&6; }
10611
10612
10613 enablestring=
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10617 defaultval=yes
10618 else
10619 defaultval=no
10620 fi
10621 fi
10622
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10624 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10625 # Check whether --enable-svg was given.
10626 if test "${enable_svg+set}" = set; then :
10627 enableval=$enable_svg;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_svg='wxUSE_SVG=yes'
10630 else
10631 wx_cv_use_svg='wxUSE_SVG=no'
10632 fi
10633
10634 else
10635
10636 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10637
10638 fi
10639
10640
10641 eval "$wx_cv_use_svg"
10642
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_SVG = no; then
10645 result=yes
10646 else
10647 result=no
10648 fi
10649 else
10650 result=$wxUSE_SVG
10651 fi
10652
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10654 $as_echo "$result" >&6; }
10655
10656
10657 enablestring=
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10661 defaultval=yes
10662 else
10663 defaultval=no
10664 fi
10665 fi
10666
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10668 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10669 # Check whether --enable-webkit was given.
10670 if test "${enable_webkit+set}" = set; then :
10671 enableval=$enable_webkit;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10674 else
10675 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10676 fi
10677
10678 else
10679
10680 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10681
10682 fi
10683
10684
10685 eval "$wx_cv_use_webkit"
10686
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_WEBKIT = no; then
10689 result=yes
10690 else
10691 result=no
10692 fi
10693 else
10694 result=$wxUSE_WEBKIT
10695 fi
10696
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10698 $as_echo "$result" >&6; }
10699
10700
10701 enablestring=
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10705 defaultval=yes
10706 else
10707 defaultval=no
10708 fi
10709 fi
10710
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10712 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10713 # Check whether --enable-webview was given.
10714 if test "${enable_webview+set}" = set; then :
10715 enableval=$enable_webview;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10718 else
10719 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10720 fi
10721
10722 else
10723
10724 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10725
10726 fi
10727
10728
10729 eval "$wx_cv_use_webview"
10730
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_WEBVIEW = no; then
10733 result=yes
10734 else
10735 result=no
10736 fi
10737 else
10738 result=$wxUSE_WEBVIEW
10739 fi
10740
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10742 $as_echo "$result" >&6; }
10743
10744
10745 if test "$wxUSE_MAC" != 1; then
10746
10747 enablestring=
10748 defaultval=$wxUSE_ALL_FEATURES
10749 if test -z "$defaultval"; then
10750 if test x"$enablestring" = xdisable; then
10751 defaultval=yes
10752 else
10753 defaultval=no
10754 fi
10755 fi
10756
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10758 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10759 # Check whether --enable-graphics_ctx was given.
10760 if test "${enable_graphics_ctx+set}" = set; then :
10761 enableval=$enable_graphics_ctx;
10762 if test "$enableval" = yes; then
10763 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10764 else
10765 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10766 fi
10767
10768 else
10769
10770 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10771
10772 fi
10773
10774
10775 eval "$wx_cv_use_graphics_ctx"
10776
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10779 result=yes
10780 else
10781 result=no
10782 fi
10783 else
10784 result=$wxUSE_GRAPHICS_CONTEXT
10785 fi
10786
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10788 $as_echo "$result" >&6; }
10789
10790 fi
10791
10792
10793
10794 enablestring=
10795 defaultval=$wxUSE_ALL_FEATURES
10796 if test -z "$defaultval"; then
10797 if test x"$enablestring" = xdisable; then
10798 defaultval=yes
10799 else
10800 defaultval=no
10801 fi
10802 fi
10803
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10805 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10806 # Check whether --enable-clipboard was given.
10807 if test "${enable_clipboard+set}" = set; then :
10808 enableval=$enable_clipboard;
10809 if test "$enableval" = yes; then
10810 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10811 else
10812 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10813 fi
10814
10815 else
10816
10817 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10818
10819 fi
10820
10821
10822 eval "$wx_cv_use_clipboard"
10823
10824 if test x"$enablestring" = xdisable; then
10825 if test $wxUSE_CLIPBOARD = no; then
10826 result=yes
10827 else
10828 result=no
10829 fi
10830 else
10831 result=$wxUSE_CLIPBOARD
10832 fi
10833
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10835 $as_echo "$result" >&6; }
10836
10837
10838 enablestring=
10839 defaultval=$wxUSE_ALL_FEATURES
10840 if test -z "$defaultval"; then
10841 if test x"$enablestring" = xdisable; then
10842 defaultval=yes
10843 else
10844 defaultval=no
10845 fi
10846 fi
10847
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10849 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10850 # Check whether --enable-dnd was given.
10851 if test "${enable_dnd+set}" = set; then :
10852 enableval=$enable_dnd;
10853 if test "$enableval" = yes; then
10854 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10855 else
10856 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10857 fi
10858
10859 else
10860
10861 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10862
10863 fi
10864
10865
10866 eval "$wx_cv_use_dnd"
10867
10868 if test x"$enablestring" = xdisable; then
10869 if test $wxUSE_DRAG_AND_DROP = no; then
10870 result=yes
10871 else
10872 result=no
10873 fi
10874 else
10875 result=$wxUSE_DRAG_AND_DROP
10876 fi
10877
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10879 $as_echo "$result" >&6; }
10880
10881
10882
10883 DEFAULT_wxUSE_CONTROLS=none
10884
10885 enablestring=disable
10886 defaultval=
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10889 defaultval=yes
10890 else
10891 defaultval=no
10892 fi
10893 fi
10894
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10896 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10897 # Check whether --enable-controls was given.
10898 if test "${enable_controls+set}" = set; then :
10899 enableval=$enable_controls;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10902 else
10903 wx_cv_use_controls='wxUSE_CONTROLS=no'
10904 fi
10905
10906 else
10907
10908 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10909
10910 fi
10911
10912
10913 eval "$wx_cv_use_controls"
10914
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_CONTROLS = no; then
10917 result=yes
10918 else
10919 result=no
10920 fi
10921 else
10922 result=$wxUSE_CONTROLS
10923 fi
10924
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10926 $as_echo "$result" >&6; }
10927
10928
10929 if test "$wxUSE_CONTROLS" = "no"; then
10930 DEFAULT_wxUSE_ACCEL=no
10931 DEFAULT_wxUSE_ANIMATIONCTRL=no
10932 DEFAULT_wxUSE_BANNERWINDOW=no
10933 DEFAULT_wxUSE_BMPBUTTON=no
10934 DEFAULT_wxUSE_BUTTON=no
10935 DEFAULT_wxUSE_CALCTRL=no
10936 DEFAULT_wxUSE_CARET=no
10937 DEFAULT_wxUSE_CHECKBOX=no
10938 DEFAULT_wxUSE_CHECKLISTBOX=no
10939 DEFAULT_wxUSE_CHOICE=no
10940 DEFAULT_wxUSE_CHOICEBOOK=no
10941 DEFAULT_wxUSE_COLLPANE=no
10942 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10943 DEFAULT_wxUSE_COMBOBOX=no
10944 DEFAULT_wxUSE_COMBOBOX=no
10945 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10946 DEFAULT_wxUSE_DATAVIEWCTRL=no
10947 DEFAULT_wxUSE_DATEPICKCTRL=no
10948 DEFAULT_wxUSE_DETECT_SM=no
10949 DEFAULT_wxUSE_DIRPICKERCTRL=no
10950 DEFAULT_wxUSE_DISPLAY=no
10951 DEFAULT_wxUSE_FILECTRL=no
10952 DEFAULT_wxUSE_FILEPICKERCTRL=no
10953 DEFAULT_wxUSE_FONTPICKERCTRL=no
10954 DEFAULT_wxUSE_GAUGE=no
10955 DEFAULT_wxUSE_GRID=no
10956 DEFAULT_wxUSE_HEADERCTRL=no
10957 DEFAULT_wxUSE_HYPERLINKCTRL=no
10958 DEFAULT_wxUSE_IMAGLIST=no
10959 DEFAULT_wxUSE_LISTBOOK=no
10960 DEFAULT_wxUSE_LISTBOX=no
10961 DEFAULT_wxUSE_LISTCTRL=no
10962 DEFAULT_wxUSE_MARKUP=no
10963 DEFAULT_wxUSE_NOTEBOOK=no
10964 DEFAULT_wxUSE_POPUPWIN=no
10965 DEFAULT_wxUSE_RADIOBOX=no
10966 DEFAULT_wxUSE_RADIOBTN=no
10967 DEFAULT_wxUSE_RICHMSGDLG=no
10968 DEFAULT_wxUSE_RICHTOOLTIP=no
10969 DEFAULT_wxUSE_REARRANGECTRL=no
10970 DEFAULT_wxUSE_SASH=no
10971 DEFAULT_wxUSE_SCROLLBAR=no
10972 DEFAULT_wxUSE_SEARCHCTRL=no
10973 DEFAULT_wxUSE_SLIDER=no
10974 DEFAULT_wxUSE_SPINBTN=no
10975 DEFAULT_wxUSE_SPINCTRL=no
10976 DEFAULT_wxUSE_SPLITTER=no
10977 DEFAULT_wxUSE_STATBMP=no
10978 DEFAULT_wxUSE_STATBOX=no
10979 DEFAULT_wxUSE_STATLINE=no
10980 DEFAULT_wxUSE_STATUSBAR=no
10981 DEFAULT_wxUSE_TIMEPICKCTRL=no
10982 DEFAULT_wxUSE_TIPWINDOW=no
10983 DEFAULT_wxUSE_TOGGLEBTN=no
10984 DEFAULT_wxUSE_TOOLBAR=no
10985 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10986 DEFAULT_wxUSE_TOOLBOOK=no
10987 DEFAULT_wxUSE_TOOLTIPS=no
10988 DEFAULT_wxUSE_TREEBOOK=no
10989 DEFAULT_wxUSE_TREECTRL=no
10990 DEFAULT_wxUSE_TREELISTCTRL=no
10991 fi
10992
10993
10994 enablestring=
10995 defaultval=$wxUSE_ALL_FEATURES
10996 if test -z "$defaultval"; then
10997 if test x"$enablestring" = xdisable; then
10998 defaultval=yes
10999 else
11000 defaultval=no
11001 fi
11002 fi
11003
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11005 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11006 # Check whether --enable-markup was given.
11007 if test "${enable_markup+set}" = set; then :
11008 enableval=$enable_markup;
11009 if test "$enableval" = yes; then
11010 wx_cv_use_markup='wxUSE_MARKUP=yes'
11011 else
11012 wx_cv_use_markup='wxUSE_MARKUP=no'
11013 fi
11014
11015 else
11016
11017 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11018
11019 fi
11020
11021
11022 eval "$wx_cv_use_markup"
11023
11024 if test x"$enablestring" = xdisable; then
11025 if test $wxUSE_MARKUP = no; then
11026 result=yes
11027 else
11028 result=no
11029 fi
11030 else
11031 result=$wxUSE_MARKUP
11032 fi
11033
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11035 $as_echo "$result" >&6; }
11036
11037
11038
11039 enablestring=
11040 defaultval=$wxUSE_ALL_FEATURES
11041 if test -z "$defaultval"; then
11042 if test x"$enablestring" = xdisable; then
11043 defaultval=yes
11044 else
11045 defaultval=no
11046 fi
11047 fi
11048
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11050 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11051 # Check whether --enable-accel was given.
11052 if test "${enable_accel+set}" = set; then :
11053 enableval=$enable_accel;
11054 if test "$enableval" = yes; then
11055 wx_cv_use_accel='wxUSE_ACCEL=yes'
11056 else
11057 wx_cv_use_accel='wxUSE_ACCEL=no'
11058 fi
11059
11060 else
11061
11062 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11063
11064 fi
11065
11066
11067 eval "$wx_cv_use_accel"
11068
11069 if test x"$enablestring" = xdisable; then
11070 if test $wxUSE_ACCEL = no; then
11071 result=yes
11072 else
11073 result=no
11074 fi
11075 else
11076 result=$wxUSE_ACCEL
11077 fi
11078
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11080 $as_echo "$result" >&6; }
11081
11082
11083 enablestring=
11084 defaultval=$wxUSE_ALL_FEATURES
11085 if test -z "$defaultval"; then
11086 if test x"$enablestring" = xdisable; then
11087 defaultval=yes
11088 else
11089 defaultval=no
11090 fi
11091 fi
11092
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11094 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11095 # Check whether --enable-animatectrl was given.
11096 if test "${enable_animatectrl+set}" = set; then :
11097 enableval=$enable_animatectrl;
11098 if test "$enableval" = yes; then
11099 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11100 else
11101 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11102 fi
11103
11104 else
11105
11106 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11107
11108 fi
11109
11110
11111 eval "$wx_cv_use_animatectrl"
11112
11113 if test x"$enablestring" = xdisable; then
11114 if test $wxUSE_ANIMATIONCTRL = no; then
11115 result=yes
11116 else
11117 result=no
11118 fi
11119 else
11120 result=$wxUSE_ANIMATIONCTRL
11121 fi
11122
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11124 $as_echo "$result" >&6; }
11125
11126
11127 enablestring=
11128 defaultval=$wxUSE_ALL_FEATURES
11129 if test -z "$defaultval"; then
11130 if test x"$enablestring" = xdisable; then
11131 defaultval=yes
11132 else
11133 defaultval=no
11134 fi
11135 fi
11136
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11138 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11139 # Check whether --enable-bannerwindow was given.
11140 if test "${enable_bannerwindow+set}" = set; then :
11141 enableval=$enable_bannerwindow;
11142 if test "$enableval" = yes; then
11143 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11144 else
11145 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11146 fi
11147
11148 else
11149
11150 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11151
11152 fi
11153
11154
11155 eval "$wx_cv_use_bannerwindow"
11156
11157 if test x"$enablestring" = xdisable; then
11158 if test $wxUSE_BANNERWINDOW = no; then
11159 result=yes
11160 else
11161 result=no
11162 fi
11163 else
11164 result=$wxUSE_BANNERWINDOW
11165 fi
11166
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11168 $as_echo "$result" >&6; }
11169
11170
11171 enablestring=
11172 defaultval=$wxUSE_ALL_FEATURES
11173 if test -z "$defaultval"; then
11174 if test x"$enablestring" = xdisable; then
11175 defaultval=yes
11176 else
11177 defaultval=no
11178 fi
11179 fi
11180
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11182 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11183 # Check whether --enable-artstd was given.
11184 if test "${enable_artstd+set}" = set; then :
11185 enableval=$enable_artstd;
11186 if test "$enableval" = yes; then
11187 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11188 else
11189 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11190 fi
11191
11192 else
11193
11194 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11195
11196 fi
11197
11198
11199 eval "$wx_cv_use_artstd"
11200
11201 if test x"$enablestring" = xdisable; then
11202 if test $wxUSE_ARTPROVIDER_STD = no; then
11203 result=yes
11204 else
11205 result=no
11206 fi
11207 else
11208 result=$wxUSE_ARTPROVIDER_STD
11209 fi
11210
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11212 $as_echo "$result" >&6; }
11213
11214
11215 enablestring=
11216 defaultval=$wxUSE_ALL_FEATURES
11217 if test -z "$defaultval"; then
11218 if test x"$enablestring" = xdisable; then
11219 defaultval=yes
11220 else
11221 defaultval=no
11222 fi
11223 fi
11224
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11226 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11227 # Check whether --enable-arttango was given.
11228 if test "${enable_arttango+set}" = set; then :
11229 enableval=$enable_arttango;
11230 if test "$enableval" = yes; then
11231 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11232 else
11233 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11234 fi
11235
11236 else
11237
11238 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11239
11240 fi
11241
11242
11243 eval "$wx_cv_use_arttango"
11244
11245 if test x"$enablestring" = xdisable; then
11246 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11247 result=yes
11248 else
11249 result=no
11250 fi
11251 else
11252 result=$wxUSE_ARTPROVIDER_TANGO
11253 fi
11254
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11256 $as_echo "$result" >&6; }
11257
11258
11259 enablestring=
11260 defaultval=$wxUSE_ALL_FEATURES
11261 if test -z "$defaultval"; then
11262 if test x"$enablestring" = xdisable; then
11263 defaultval=yes
11264 else
11265 defaultval=no
11266 fi
11267 fi
11268
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11270 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11271 # Check whether --enable-bmpbutton was given.
11272 if test "${enable_bmpbutton+set}" = set; then :
11273 enableval=$enable_bmpbutton;
11274 if test "$enableval" = yes; then
11275 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11276 else
11277 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11278 fi
11279
11280 else
11281
11282 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11283
11284 fi
11285
11286
11287 eval "$wx_cv_use_bmpbutton"
11288
11289 if test x"$enablestring" = xdisable; then
11290 if test $wxUSE_BMPBUTTON = no; then
11291 result=yes
11292 else
11293 result=no
11294 fi
11295 else
11296 result=$wxUSE_BMPBUTTON
11297 fi
11298
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11300 $as_echo "$result" >&6; }
11301
11302
11303 enablestring=
11304 defaultval=$wxUSE_ALL_FEATURES
11305 if test -z "$defaultval"; then
11306 if test x"$enablestring" = xdisable; then
11307 defaultval=yes
11308 else
11309 defaultval=no
11310 fi
11311 fi
11312
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11314 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11315 # Check whether --enable-bmpcombobox was given.
11316 if test "${enable_bmpcombobox+set}" = set; then :
11317 enableval=$enable_bmpcombobox;
11318 if test "$enableval" = yes; then
11319 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11320 else
11321 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11322 fi
11323
11324 else
11325
11326 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11327
11328 fi
11329
11330
11331 eval "$wx_cv_use_bmpcombobox"
11332
11333 if test x"$enablestring" = xdisable; then
11334 if test $wxUSE_BITMAPCOMBOBOX = no; then
11335 result=yes
11336 else
11337 result=no
11338 fi
11339 else
11340 result=$wxUSE_BITMAPCOMBOBOX
11341 fi
11342
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11344 $as_echo "$result" >&6; }
11345
11346
11347 enablestring=
11348 defaultval=$wxUSE_ALL_FEATURES
11349 if test -z "$defaultval"; then
11350 if test x"$enablestring" = xdisable; then
11351 defaultval=yes
11352 else
11353 defaultval=no
11354 fi
11355 fi
11356
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11358 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11359 # Check whether --enable-button was given.
11360 if test "${enable_button+set}" = set; then :
11361 enableval=$enable_button;
11362 if test "$enableval" = yes; then
11363 wx_cv_use_button='wxUSE_BUTTON=yes'
11364 else
11365 wx_cv_use_button='wxUSE_BUTTON=no'
11366 fi
11367
11368 else
11369
11370 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11371
11372 fi
11373
11374
11375 eval "$wx_cv_use_button"
11376
11377 if test x"$enablestring" = xdisable; then
11378 if test $wxUSE_BUTTON = no; then
11379 result=yes
11380 else
11381 result=no
11382 fi
11383 else
11384 result=$wxUSE_BUTTON
11385 fi
11386
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11388 $as_echo "$result" >&6; }
11389
11390
11391 enablestring=
11392 defaultval=$wxUSE_ALL_FEATURES
11393 if test -z "$defaultval"; then
11394 if test x"$enablestring" = xdisable; then
11395 defaultval=yes
11396 else
11397 defaultval=no
11398 fi
11399 fi
11400
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11402 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11403 # Check whether --enable-calendar was given.
11404 if test "${enable_calendar+set}" = set; then :
11405 enableval=$enable_calendar;
11406 if test "$enableval" = yes; then
11407 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11408 else
11409 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11410 fi
11411
11412 else
11413
11414 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11415
11416 fi
11417
11418
11419 eval "$wx_cv_use_calendar"
11420
11421 if test x"$enablestring" = xdisable; then
11422 if test $wxUSE_CALCTRL = no; then
11423 result=yes
11424 else
11425 result=no
11426 fi
11427 else
11428 result=$wxUSE_CALCTRL
11429 fi
11430
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11432 $as_echo "$result" >&6; }
11433
11434
11435 enablestring=
11436 defaultval=$wxUSE_ALL_FEATURES
11437 if test -z "$defaultval"; then
11438 if test x"$enablestring" = xdisable; then
11439 defaultval=yes
11440 else
11441 defaultval=no
11442 fi
11443 fi
11444
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11446 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11447 # Check whether --enable-caret was given.
11448 if test "${enable_caret+set}" = set; then :
11449 enableval=$enable_caret;
11450 if test "$enableval" = yes; then
11451 wx_cv_use_caret='wxUSE_CARET=yes'
11452 else
11453 wx_cv_use_caret='wxUSE_CARET=no'
11454 fi
11455
11456 else
11457
11458 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11459
11460 fi
11461
11462
11463 eval "$wx_cv_use_caret"
11464
11465 if test x"$enablestring" = xdisable; then
11466 if test $wxUSE_CARET = no; then
11467 result=yes
11468 else
11469 result=no
11470 fi
11471 else
11472 result=$wxUSE_CARET
11473 fi
11474
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11476 $as_echo "$result" >&6; }
11477
11478
11479 enablestring=
11480 defaultval=$wxUSE_ALL_FEATURES
11481 if test -z "$defaultval"; then
11482 if test x"$enablestring" = xdisable; then
11483 defaultval=yes
11484 else
11485 defaultval=no
11486 fi
11487 fi
11488
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11490 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11491 # Check whether --enable-checkbox was given.
11492 if test "${enable_checkbox+set}" = set; then :
11493 enableval=$enable_checkbox;
11494 if test "$enableval" = yes; then
11495 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11496 else
11497 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11498 fi
11499
11500 else
11501
11502 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11503
11504 fi
11505
11506
11507 eval "$wx_cv_use_checkbox"
11508
11509 if test x"$enablestring" = xdisable; then
11510 if test $wxUSE_CHECKBOX = no; then
11511 result=yes
11512 else
11513 result=no
11514 fi
11515 else
11516 result=$wxUSE_CHECKBOX
11517 fi
11518
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11520 $as_echo "$result" >&6; }
11521
11522
11523 enablestring=
11524 defaultval=$wxUSE_ALL_FEATURES
11525 if test -z "$defaultval"; then
11526 if test x"$enablestring" = xdisable; then
11527 defaultval=yes
11528 else
11529 defaultval=no
11530 fi
11531 fi
11532
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11534 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11535 # Check whether --enable-checklst was given.
11536 if test "${enable_checklst+set}" = set; then :
11537 enableval=$enable_checklst;
11538 if test "$enableval" = yes; then
11539 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11540 else
11541 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11542 fi
11543
11544 else
11545
11546 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11547
11548 fi
11549
11550
11551 eval "$wx_cv_use_checklst"
11552
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_CHECKLST = no; then
11555 result=yes
11556 else
11557 result=no
11558 fi
11559 else
11560 result=$wxUSE_CHECKLST
11561 fi
11562
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11564 $as_echo "$result" >&6; }
11565
11566
11567 enablestring=
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11571 defaultval=yes
11572 else
11573 defaultval=no
11574 fi
11575 fi
11576
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11578 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11579 # Check whether --enable-choice was given.
11580 if test "${enable_choice+set}" = set; then :
11581 enableval=$enable_choice;
11582 if test "$enableval" = yes; then
11583 wx_cv_use_choice='wxUSE_CHOICE=yes'
11584 else
11585 wx_cv_use_choice='wxUSE_CHOICE=no'
11586 fi
11587
11588 else
11589
11590 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11591
11592 fi
11593
11594
11595 eval "$wx_cv_use_choice"
11596
11597 if test x"$enablestring" = xdisable; then
11598 if test $wxUSE_CHOICE = no; then
11599 result=yes
11600 else
11601 result=no
11602 fi
11603 else
11604 result=$wxUSE_CHOICE
11605 fi
11606
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11608 $as_echo "$result" >&6; }
11609
11610
11611 enablestring=
11612 defaultval=$wxUSE_ALL_FEATURES
11613 if test -z "$defaultval"; then
11614 if test x"$enablestring" = xdisable; then
11615 defaultval=yes
11616 else
11617 defaultval=no
11618 fi
11619 fi
11620
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11622 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11623 # Check whether --enable-choicebook was given.
11624 if test "${enable_choicebook+set}" = set; then :
11625 enableval=$enable_choicebook;
11626 if test "$enableval" = yes; then
11627 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11628 else
11629 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11630 fi
11631
11632 else
11633
11634 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11635
11636 fi
11637
11638
11639 eval "$wx_cv_use_choicebook"
11640
11641 if test x"$enablestring" = xdisable; then
11642 if test $wxUSE_CHOICEBOOK = no; then
11643 result=yes
11644 else
11645 result=no
11646 fi
11647 else
11648 result=$wxUSE_CHOICEBOOK
11649 fi
11650
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11652 $as_echo "$result" >&6; }
11653
11654
11655 enablestring=
11656 defaultval=$wxUSE_ALL_FEATURES
11657 if test -z "$defaultval"; then
11658 if test x"$enablestring" = xdisable; then
11659 defaultval=yes
11660 else
11661 defaultval=no
11662 fi
11663 fi
11664
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11666 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11667 # Check whether --enable-collpane was given.
11668 if test "${enable_collpane+set}" = set; then :
11669 enableval=$enable_collpane;
11670 if test "$enableval" = yes; then
11671 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11672 else
11673 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11674 fi
11675
11676 else
11677
11678 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11679
11680 fi
11681
11682
11683 eval "$wx_cv_use_collpane"
11684
11685 if test x"$enablestring" = xdisable; then
11686 if test $wxUSE_COLLPANE = no; then
11687 result=yes
11688 else
11689 result=no
11690 fi
11691 else
11692 result=$wxUSE_COLLPANE
11693 fi
11694
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11696 $as_echo "$result" >&6; }
11697
11698
11699 enablestring=
11700 defaultval=$wxUSE_ALL_FEATURES
11701 if test -z "$defaultval"; then
11702 if test x"$enablestring" = xdisable; then
11703 defaultval=yes
11704 else
11705 defaultval=no
11706 fi
11707 fi
11708
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11710 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11711 # Check whether --enable-colourpicker was given.
11712 if test "${enable_colourpicker+set}" = set; then :
11713 enableval=$enable_colourpicker;
11714 if test "$enableval" = yes; then
11715 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11716 else
11717 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11718 fi
11719
11720 else
11721
11722 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11723
11724 fi
11725
11726
11727 eval "$wx_cv_use_colourpicker"
11728
11729 if test x"$enablestring" = xdisable; then
11730 if test $wxUSE_COLOURPICKERCTRL = no; then
11731 result=yes
11732 else
11733 result=no
11734 fi
11735 else
11736 result=$wxUSE_COLOURPICKERCTRL
11737 fi
11738
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11740 $as_echo "$result" >&6; }
11741
11742
11743 enablestring=
11744 defaultval=$wxUSE_ALL_FEATURES
11745 if test -z "$defaultval"; then
11746 if test x"$enablestring" = xdisable; then
11747 defaultval=yes
11748 else
11749 defaultval=no
11750 fi
11751 fi
11752
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11754 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11755 # Check whether --enable-combobox was given.
11756 if test "${enable_combobox+set}" = set; then :
11757 enableval=$enable_combobox;
11758 if test "$enableval" = yes; then
11759 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11760 else
11761 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11762 fi
11763
11764 else
11765
11766 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11767
11768 fi
11769
11770
11771 eval "$wx_cv_use_combobox"
11772
11773 if test x"$enablestring" = xdisable; then
11774 if test $wxUSE_COMBOBOX = no; then
11775 result=yes
11776 else
11777 result=no
11778 fi
11779 else
11780 result=$wxUSE_COMBOBOX
11781 fi
11782
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11784 $as_echo "$result" >&6; }
11785
11786
11787 enablestring=
11788 defaultval=$wxUSE_ALL_FEATURES
11789 if test -z "$defaultval"; then
11790 if test x"$enablestring" = xdisable; then
11791 defaultval=yes
11792 else
11793 defaultval=no
11794 fi
11795 fi
11796
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11798 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11799 # Check whether --enable-comboctrl was given.
11800 if test "${enable_comboctrl+set}" = set; then :
11801 enableval=$enable_comboctrl;
11802 if test "$enableval" = yes; then
11803 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11804 else
11805 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11806 fi
11807
11808 else
11809
11810 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11811
11812 fi
11813
11814
11815 eval "$wx_cv_use_comboctrl"
11816
11817 if test x"$enablestring" = xdisable; then
11818 if test $wxUSE_COMBOCTRL = no; then
11819 result=yes
11820 else
11821 result=no
11822 fi
11823 else
11824 result=$wxUSE_COMBOCTRL
11825 fi
11826
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11828 $as_echo "$result" >&6; }
11829
11830
11831 enablestring=
11832 defaultval=$wxUSE_ALL_FEATURES
11833 if test -z "$defaultval"; then
11834 if test x"$enablestring" = xdisable; then
11835 defaultval=yes
11836 else
11837 defaultval=no
11838 fi
11839 fi
11840
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11842 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11843 # Check whether --enable-commandlinkbutton was given.
11844 if test "${enable_commandlinkbutton+set}" = set; then :
11845 enableval=$enable_commandlinkbutton;
11846 if test "$enableval" = yes; then
11847 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11848 else
11849 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11850 fi
11851
11852 else
11853
11854 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11855
11856 fi
11857
11858
11859 eval "$wx_cv_use_commandlinkbutton"
11860
11861 if test x"$enablestring" = xdisable; then
11862 if test $wxUSE_COMMANDLINKBUTTON = no; then
11863 result=yes
11864 else
11865 result=no
11866 fi
11867 else
11868 result=$wxUSE_COMMANDLINKBUTTON
11869 fi
11870
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11872 $as_echo "$result" >&6; }
11873
11874
11875 enablestring=
11876 defaultval=$wxUSE_ALL_FEATURES
11877 if test -z "$defaultval"; then
11878 if test x"$enablestring" = xdisable; then
11879 defaultval=yes
11880 else
11881 defaultval=no
11882 fi
11883 fi
11884
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11886 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11887 # Check whether --enable-dataviewctrl was given.
11888 if test "${enable_dataviewctrl+set}" = set; then :
11889 enableval=$enable_dataviewctrl;
11890 if test "$enableval" = yes; then
11891 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11892 else
11893 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11894 fi
11895
11896 else
11897
11898 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11899
11900 fi
11901
11902
11903 eval "$wx_cv_use_dataviewctrl"
11904
11905 if test x"$enablestring" = xdisable; then
11906 if test $wxUSE_DATAVIEWCTRL = no; then
11907 result=yes
11908 else
11909 result=no
11910 fi
11911 else
11912 result=$wxUSE_DATAVIEWCTRL
11913 fi
11914
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11916 $as_echo "$result" >&6; }
11917
11918
11919 enablestring=
11920 defaultval=$wxUSE_ALL_FEATURES
11921 if test -z "$defaultval"; then
11922 if test x"$enablestring" = xdisable; then
11923 defaultval=yes
11924 else
11925 defaultval=no
11926 fi
11927 fi
11928
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11930 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11931 # Check whether --enable-datepick was given.
11932 if test "${enable_datepick+set}" = set; then :
11933 enableval=$enable_datepick;
11934 if test "$enableval" = yes; then
11935 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11936 else
11937 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11938 fi
11939
11940 else
11941
11942 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11943
11944 fi
11945
11946
11947 eval "$wx_cv_use_datepick"
11948
11949 if test x"$enablestring" = xdisable; then
11950 if test $wxUSE_DATEPICKCTRL = no; then
11951 result=yes
11952 else
11953 result=no
11954 fi
11955 else
11956 result=$wxUSE_DATEPICKCTRL
11957 fi
11958
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11960 $as_echo "$result" >&6; }
11961
11962
11963 enablestring=
11964 defaultval=$wxUSE_ALL_FEATURES
11965 if test -z "$defaultval"; then
11966 if test x"$enablestring" = xdisable; then
11967 defaultval=yes
11968 else
11969 defaultval=no
11970 fi
11971 fi
11972
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11974 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11975 # Check whether --enable-detect_sm was given.
11976 if test "${enable_detect_sm+set}" = set; then :
11977 enableval=$enable_detect_sm;
11978 if test "$enableval" = yes; then
11979 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11980 else
11981 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11982 fi
11983
11984 else
11985
11986 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11987
11988 fi
11989
11990
11991 eval "$wx_cv_use_detect_sm"
11992
11993 if test x"$enablestring" = xdisable; then
11994 if test $wxUSE_DETECT_SM = no; then
11995 result=yes
11996 else
11997 result=no
11998 fi
11999 else
12000 result=$wxUSE_DETECT_SM
12001 fi
12002
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12004 $as_echo "$result" >&6; }
12005
12006
12007 enablestring=
12008 defaultval=$wxUSE_ALL_FEATURES
12009 if test -z "$defaultval"; then
12010 if test x"$enablestring" = xdisable; then
12011 defaultval=yes
12012 else
12013 defaultval=no
12014 fi
12015 fi
12016
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12018 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12019 # Check whether --enable-dirpicker was given.
12020 if test "${enable_dirpicker+set}" = set; then :
12021 enableval=$enable_dirpicker;
12022 if test "$enableval" = yes; then
12023 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12024 else
12025 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12026 fi
12027
12028 else
12029
12030 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12031
12032 fi
12033
12034
12035 eval "$wx_cv_use_dirpicker"
12036
12037 if test x"$enablestring" = xdisable; then
12038 if test $wxUSE_DIRPICKERCTRL = no; then
12039 result=yes
12040 else
12041 result=no
12042 fi
12043 else
12044 result=$wxUSE_DIRPICKERCTRL
12045 fi
12046
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12048 $as_echo "$result" >&6; }
12049
12050
12051 enablestring=
12052 defaultval=$wxUSE_ALL_FEATURES
12053 if test -z "$defaultval"; then
12054 if test x"$enablestring" = xdisable; then
12055 defaultval=yes
12056 else
12057 defaultval=no
12058 fi
12059 fi
12060
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12062 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12063 # Check whether --enable-display was given.
12064 if test "${enable_display+set}" = set; then :
12065 enableval=$enable_display;
12066 if test "$enableval" = yes; then
12067 wx_cv_use_display='wxUSE_DISPLAY=yes'
12068 else
12069 wx_cv_use_display='wxUSE_DISPLAY=no'
12070 fi
12071
12072 else
12073
12074 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12075
12076 fi
12077
12078
12079 eval "$wx_cv_use_display"
12080
12081 if test x"$enablestring" = xdisable; then
12082 if test $wxUSE_DISPLAY = no; then
12083 result=yes
12084 else
12085 result=no
12086 fi
12087 else
12088 result=$wxUSE_DISPLAY
12089 fi
12090
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12092 $as_echo "$result" >&6; }
12093
12094
12095 enablestring=
12096 defaultval=$wxUSE_ALL_FEATURES
12097 if test -z "$defaultval"; then
12098 if test x"$enablestring" = xdisable; then
12099 defaultval=yes
12100 else
12101 defaultval=no
12102 fi
12103 fi
12104
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12106 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12107 # Check whether --enable-editablebox was given.
12108 if test "${enable_editablebox+set}" = set; then :
12109 enableval=$enable_editablebox;
12110 if test "$enableval" = yes; then
12111 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12112 else
12113 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12114 fi
12115
12116 else
12117
12118 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12119
12120 fi
12121
12122
12123 eval "$wx_cv_use_editablebox"
12124
12125 if test x"$enablestring" = xdisable; then
12126 if test $wxUSE_EDITABLELISTBOX = no; then
12127 result=yes
12128 else
12129 result=no
12130 fi
12131 else
12132 result=$wxUSE_EDITABLELISTBOX
12133 fi
12134
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12136 $as_echo "$result" >&6; }
12137
12138
12139 enablestring=
12140 defaultval=$wxUSE_ALL_FEATURES
12141 if test -z "$defaultval"; then
12142 if test x"$enablestring" = xdisable; then
12143 defaultval=yes
12144 else
12145 defaultval=no
12146 fi
12147 fi
12148
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12150 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12151 # Check whether --enable-filectrl was given.
12152 if test "${enable_filectrl+set}" = set; then :
12153 enableval=$enable_filectrl;
12154 if test "$enableval" = yes; then
12155 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12156 else
12157 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12158 fi
12159
12160 else
12161
12162 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12163
12164 fi
12165
12166
12167 eval "$wx_cv_use_filectrl"
12168
12169 if test x"$enablestring" = xdisable; then
12170 if test $wxUSE_FILECTRL = no; then
12171 result=yes
12172 else
12173 result=no
12174 fi
12175 else
12176 result=$wxUSE_FILECTRL
12177 fi
12178
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12180 $as_echo "$result" >&6; }
12181
12182
12183 enablestring=
12184 defaultval=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x"$enablestring" = xdisable; then
12187 defaultval=yes
12188 else
12189 defaultval=no
12190 fi
12191 fi
12192
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12194 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12195 # Check whether --enable-filepicker was given.
12196 if test "${enable_filepicker+set}" = set; then :
12197 enableval=$enable_filepicker;
12198 if test "$enableval" = yes; then
12199 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12200 else
12201 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12202 fi
12203
12204 else
12205
12206 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12207
12208 fi
12209
12210
12211 eval "$wx_cv_use_filepicker"
12212
12213 if test x"$enablestring" = xdisable; then
12214 if test $wxUSE_FILEPICKERCTRL = no; then
12215 result=yes
12216 else
12217 result=no
12218 fi
12219 else
12220 result=$wxUSE_FILEPICKERCTRL
12221 fi
12222
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12224 $as_echo "$result" >&6; }
12225
12226
12227 enablestring=
12228 defaultval=$wxUSE_ALL_FEATURES
12229 if test -z "$defaultval"; then
12230 if test x"$enablestring" = xdisable; then
12231 defaultval=yes
12232 else
12233 defaultval=no
12234 fi
12235 fi
12236
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12238 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12239 # Check whether --enable-fontpicker was given.
12240 if test "${enable_fontpicker+set}" = set; then :
12241 enableval=$enable_fontpicker;
12242 if test "$enableval" = yes; then
12243 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12244 else
12245 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12246 fi
12247
12248 else
12249
12250 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12251
12252 fi
12253
12254
12255 eval "$wx_cv_use_fontpicker"
12256
12257 if test x"$enablestring" = xdisable; then
12258 if test $wxUSE_FONTPICKERCTRL = no; then
12259 result=yes
12260 else
12261 result=no
12262 fi
12263 else
12264 result=$wxUSE_FONTPICKERCTRL
12265 fi
12266
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12268 $as_echo "$result" >&6; }
12269
12270
12271 enablestring=
12272 defaultval=$wxUSE_ALL_FEATURES
12273 if test -z "$defaultval"; then
12274 if test x"$enablestring" = xdisable; then
12275 defaultval=yes
12276 else
12277 defaultval=no
12278 fi
12279 fi
12280
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12282 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12283 # Check whether --enable-gauge was given.
12284 if test "${enable_gauge+set}" = set; then :
12285 enableval=$enable_gauge;
12286 if test "$enableval" = yes; then
12287 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12288 else
12289 wx_cv_use_gauge='wxUSE_GAUGE=no'
12290 fi
12291
12292 else
12293
12294 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12295
12296 fi
12297
12298
12299 eval "$wx_cv_use_gauge"
12300
12301 if test x"$enablestring" = xdisable; then
12302 if test $wxUSE_GAUGE = no; then
12303 result=yes
12304 else
12305 result=no
12306 fi
12307 else
12308 result=$wxUSE_GAUGE
12309 fi
12310
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12312 $as_echo "$result" >&6; }
12313
12314
12315 enablestring=
12316 defaultval=$wxUSE_ALL_FEATURES
12317 if test -z "$defaultval"; then
12318 if test x"$enablestring" = xdisable; then
12319 defaultval=yes
12320 else
12321 defaultval=no
12322 fi
12323 fi
12324
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12326 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12327 # Check whether --enable-grid was given.
12328 if test "${enable_grid+set}" = set; then :
12329 enableval=$enable_grid;
12330 if test "$enableval" = yes; then
12331 wx_cv_use_grid='wxUSE_GRID=yes'
12332 else
12333 wx_cv_use_grid='wxUSE_GRID=no'
12334 fi
12335
12336 else
12337
12338 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12339
12340 fi
12341
12342
12343 eval "$wx_cv_use_grid"
12344
12345 if test x"$enablestring" = xdisable; then
12346 if test $wxUSE_GRID = no; then
12347 result=yes
12348 else
12349 result=no
12350 fi
12351 else
12352 result=$wxUSE_GRID
12353 fi
12354
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12356 $as_echo "$result" >&6; }
12357
12358
12359 enablestring=
12360 defaultval=$wxUSE_ALL_FEATURES
12361 if test -z "$defaultval"; then
12362 if test x"$enablestring" = xdisable; then
12363 defaultval=yes
12364 else
12365 defaultval=no
12366 fi
12367 fi
12368
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12370 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12371 # Check whether --enable-headerctrl was given.
12372 if test "${enable_headerctrl+set}" = set; then :
12373 enableval=$enable_headerctrl;
12374 if test "$enableval" = yes; then
12375 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12376 else
12377 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12378 fi
12379
12380 else
12381
12382 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12383
12384 fi
12385
12386
12387 eval "$wx_cv_use_headerctrl"
12388
12389 if test x"$enablestring" = xdisable; then
12390 if test $wxUSE_HEADERCTRL = no; then
12391 result=yes
12392 else
12393 result=no
12394 fi
12395 else
12396 result=$wxUSE_HEADERCTRL
12397 fi
12398
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12400 $as_echo "$result" >&6; }
12401
12402
12403 enablestring=
12404 defaultval=$wxUSE_ALL_FEATURES
12405 if test -z "$defaultval"; then
12406 if test x"$enablestring" = xdisable; then
12407 defaultval=yes
12408 else
12409 defaultval=no
12410 fi
12411 fi
12412
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12414 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12415 # Check whether --enable-hyperlink was given.
12416 if test "${enable_hyperlink+set}" = set; then :
12417 enableval=$enable_hyperlink;
12418 if test "$enableval" = yes; then
12419 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12420 else
12421 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12422 fi
12423
12424 else
12425
12426 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12427
12428 fi
12429
12430
12431 eval "$wx_cv_use_hyperlink"
12432
12433 if test x"$enablestring" = xdisable; then
12434 if test $wxUSE_HYPERLINKCTRL = no; then
12435 result=yes
12436 else
12437 result=no
12438 fi
12439 else
12440 result=$wxUSE_HYPERLINKCTRL
12441 fi
12442
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12444 $as_echo "$result" >&6; }
12445
12446
12447 enablestring=
12448 defaultval=$wxUSE_ALL_FEATURES
12449 if test -z "$defaultval"; then
12450 if test x"$enablestring" = xdisable; then
12451 defaultval=yes
12452 else
12453 defaultval=no
12454 fi
12455 fi
12456
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12458 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12459 # Check whether --enable-imaglist was given.
12460 if test "${enable_imaglist+set}" = set; then :
12461 enableval=$enable_imaglist;
12462 if test "$enableval" = yes; then
12463 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12464 else
12465 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12466 fi
12467
12468 else
12469
12470 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12471
12472 fi
12473
12474
12475 eval "$wx_cv_use_imaglist"
12476
12477 if test x"$enablestring" = xdisable; then
12478 if test $wxUSE_IMAGLIST = no; then
12479 result=yes
12480 else
12481 result=no
12482 fi
12483 else
12484 result=$wxUSE_IMAGLIST
12485 fi
12486
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12488 $as_echo "$result" >&6; }
12489
12490
12491 enablestring=
12492 defaultval=$wxUSE_ALL_FEATURES
12493 if test -z "$defaultval"; then
12494 if test x"$enablestring" = xdisable; then
12495 defaultval=yes
12496 else
12497 defaultval=no
12498 fi
12499 fi
12500
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12502 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12503 # Check whether --enable-infobar was given.
12504 if test "${enable_infobar+set}" = set; then :
12505 enableval=$enable_infobar;
12506 if test "$enableval" = yes; then
12507 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12508 else
12509 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12510 fi
12511
12512 else
12513
12514 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12515
12516 fi
12517
12518
12519 eval "$wx_cv_use_infobar"
12520
12521 if test x"$enablestring" = xdisable; then
12522 if test $wxUSE_INFOBAR = no; then
12523 result=yes
12524 else
12525 result=no
12526 fi
12527 else
12528 result=$wxUSE_INFOBAR
12529 fi
12530
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12532 $as_echo "$result" >&6; }
12533
12534
12535 enablestring=
12536 defaultval=$wxUSE_ALL_FEATURES
12537 if test -z "$defaultval"; then
12538 if test x"$enablestring" = xdisable; then
12539 defaultval=yes
12540 else
12541 defaultval=no
12542 fi
12543 fi
12544
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12546 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12547 # Check whether --enable-listbook was given.
12548 if test "${enable_listbook+set}" = set; then :
12549 enableval=$enable_listbook;
12550 if test "$enableval" = yes; then
12551 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12552 else
12553 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12554 fi
12555
12556 else
12557
12558 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12559
12560 fi
12561
12562
12563 eval "$wx_cv_use_listbook"
12564
12565 if test x"$enablestring" = xdisable; then
12566 if test $wxUSE_LISTBOOK = no; then
12567 result=yes
12568 else
12569 result=no
12570 fi
12571 else
12572 result=$wxUSE_LISTBOOK
12573 fi
12574
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12576 $as_echo "$result" >&6; }
12577
12578
12579 enablestring=
12580 defaultval=$wxUSE_ALL_FEATURES
12581 if test -z "$defaultval"; then
12582 if test x"$enablestring" = xdisable; then
12583 defaultval=yes
12584 else
12585 defaultval=no
12586 fi
12587 fi
12588
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12590 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12591 # Check whether --enable-listbox was given.
12592 if test "${enable_listbox+set}" = set; then :
12593 enableval=$enable_listbox;
12594 if test "$enableval" = yes; then
12595 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12596 else
12597 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12598 fi
12599
12600 else
12601
12602 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12603
12604 fi
12605
12606
12607 eval "$wx_cv_use_listbox"
12608
12609 if test x"$enablestring" = xdisable; then
12610 if test $wxUSE_LISTBOX = no; then
12611 result=yes
12612 else
12613 result=no
12614 fi
12615 else
12616 result=$wxUSE_LISTBOX
12617 fi
12618
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12620 $as_echo "$result" >&6; }
12621
12622
12623 enablestring=
12624 defaultval=$wxUSE_ALL_FEATURES
12625 if test -z "$defaultval"; then
12626 if test x"$enablestring" = xdisable; then
12627 defaultval=yes
12628 else
12629 defaultval=no
12630 fi
12631 fi
12632
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12634 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12635 # Check whether --enable-listctrl was given.
12636 if test "${enable_listctrl+set}" = set; then :
12637 enableval=$enable_listctrl;
12638 if test "$enableval" = yes; then
12639 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12640 else
12641 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12642 fi
12643
12644 else
12645
12646 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12647
12648 fi
12649
12650
12651 eval "$wx_cv_use_listctrl"
12652
12653 if test x"$enablestring" = xdisable; then
12654 if test $wxUSE_LISTCTRL = no; then
12655 result=yes
12656 else
12657 result=no
12658 fi
12659 else
12660 result=$wxUSE_LISTCTRL
12661 fi
12662
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12664 $as_echo "$result" >&6; }
12665
12666
12667 enablestring=
12668 defaultval=$wxUSE_ALL_FEATURES
12669 if test -z "$defaultval"; then
12670 if test x"$enablestring" = xdisable; then
12671 defaultval=yes
12672 else
12673 defaultval=no
12674 fi
12675 fi
12676
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12678 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12679 # Check whether --enable-notebook was given.
12680 if test "${enable_notebook+set}" = set; then :
12681 enableval=$enable_notebook;
12682 if test "$enableval" = yes; then
12683 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12684 else
12685 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12686 fi
12687
12688 else
12689
12690 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12691
12692 fi
12693
12694
12695 eval "$wx_cv_use_notebook"
12696
12697 if test x"$enablestring" = xdisable; then
12698 if test $wxUSE_NOTEBOOK = no; then
12699 result=yes
12700 else
12701 result=no
12702 fi
12703 else
12704 result=$wxUSE_NOTEBOOK
12705 fi
12706
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12708 $as_echo "$result" >&6; }
12709
12710
12711 enablestring=
12712 defaultval=$wxUSE_ALL_FEATURES
12713 if test -z "$defaultval"; then
12714 if test x"$enablestring" = xdisable; then
12715 defaultval=yes
12716 else
12717 defaultval=no
12718 fi
12719 fi
12720
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12722 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12723 # Check whether --enable-notifmsg was given.
12724 if test "${enable_notifmsg+set}" = set; then :
12725 enableval=$enable_notifmsg;
12726 if test "$enableval" = yes; then
12727 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12728 else
12729 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12730 fi
12731
12732 else
12733
12734 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12735
12736 fi
12737
12738
12739 eval "$wx_cv_use_notifmsg"
12740
12741 if test x"$enablestring" = xdisable; then
12742 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12743 result=yes
12744 else
12745 result=no
12746 fi
12747 else
12748 result=$wxUSE_NOTIFICATION_MESSAGE
12749 fi
12750
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12752 $as_echo "$result" >&6; }
12753
12754
12755 enablestring=
12756 defaultval=$wxUSE_ALL_FEATURES
12757 if test -z "$defaultval"; then
12758 if test x"$enablestring" = xdisable; then
12759 defaultval=yes
12760 else
12761 defaultval=no
12762 fi
12763 fi
12764
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12766 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12767 # Check whether --enable-odcombobox was given.
12768 if test "${enable_odcombobox+set}" = set; then :
12769 enableval=$enable_odcombobox;
12770 if test "$enableval" = yes; then
12771 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12772 else
12773 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12774 fi
12775
12776 else
12777
12778 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12779
12780 fi
12781
12782
12783 eval "$wx_cv_use_odcombobox"
12784
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_ODCOMBOBOX = no; then
12787 result=yes
12788 else
12789 result=no
12790 fi
12791 else
12792 result=$wxUSE_ODCOMBOBOX
12793 fi
12794
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12796 $as_echo "$result" >&6; }
12797
12798
12799 enablestring=
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12803 defaultval=yes
12804 else
12805 defaultval=no
12806 fi
12807 fi
12808
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12810 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12811 # Check whether --enable-popupwin was given.
12812 if test "${enable_popupwin+set}" = set; then :
12813 enableval=$enable_popupwin;
12814 if test "$enableval" = yes; then
12815 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12816 else
12817 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12818 fi
12819
12820 else
12821
12822 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12823
12824 fi
12825
12826
12827 eval "$wx_cv_use_popupwin"
12828
12829 if test x"$enablestring" = xdisable; then
12830 if test $wxUSE_POPUPWIN = no; then
12831 result=yes
12832 else
12833 result=no
12834 fi
12835 else
12836 result=$wxUSE_POPUPWIN
12837 fi
12838
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12840 $as_echo "$result" >&6; }
12841
12842
12843 enablestring=
12844 defaultval=$wxUSE_ALL_FEATURES
12845 if test -z "$defaultval"; then
12846 if test x"$enablestring" = xdisable; then
12847 defaultval=yes
12848 else
12849 defaultval=no
12850 fi
12851 fi
12852
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12854 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12855 # Check whether --enable-radiobox was given.
12856 if test "${enable_radiobox+set}" = set; then :
12857 enableval=$enable_radiobox;
12858 if test "$enableval" = yes; then
12859 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12860 else
12861 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12862 fi
12863
12864 else
12865
12866 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12867
12868 fi
12869
12870
12871 eval "$wx_cv_use_radiobox"
12872
12873 if test x"$enablestring" = xdisable; then
12874 if test $wxUSE_RADIOBOX = no; then
12875 result=yes
12876 else
12877 result=no
12878 fi
12879 else
12880 result=$wxUSE_RADIOBOX
12881 fi
12882
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12884 $as_echo "$result" >&6; }
12885
12886
12887 enablestring=
12888 defaultval=$wxUSE_ALL_FEATURES
12889 if test -z "$defaultval"; then
12890 if test x"$enablestring" = xdisable; then
12891 defaultval=yes
12892 else
12893 defaultval=no
12894 fi
12895 fi
12896
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12898 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12899 # Check whether --enable-radiobtn was given.
12900 if test "${enable_radiobtn+set}" = set; then :
12901 enableval=$enable_radiobtn;
12902 if test "$enableval" = yes; then
12903 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12904 else
12905 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12906 fi
12907
12908 else
12909
12910 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12911
12912 fi
12913
12914
12915 eval "$wx_cv_use_radiobtn"
12916
12917 if test x"$enablestring" = xdisable; then
12918 if test $wxUSE_RADIOBTN = no; then
12919 result=yes
12920 else
12921 result=no
12922 fi
12923 else
12924 result=$wxUSE_RADIOBTN
12925 fi
12926
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12928 $as_echo "$result" >&6; }
12929
12930
12931 enablestring=
12932 defaultval=$wxUSE_ALL_FEATURES
12933 if test -z "$defaultval"; then
12934 if test x"$enablestring" = xdisable; then
12935 defaultval=yes
12936 else
12937 defaultval=no
12938 fi
12939 fi
12940
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12942 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12943 # Check whether --enable-richmsgdlg was given.
12944 if test "${enable_richmsgdlg+set}" = set; then :
12945 enableval=$enable_richmsgdlg;
12946 if test "$enableval" = yes; then
12947 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12948 else
12949 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12950 fi
12951
12952 else
12953
12954 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12955
12956 fi
12957
12958
12959 eval "$wx_cv_use_richmsgdlg"
12960
12961 if test x"$enablestring" = xdisable; then
12962 if test $wxUSE_RICHMSGDLG = no; then
12963 result=yes
12964 else
12965 result=no
12966 fi
12967 else
12968 result=$wxUSE_RICHMSGDLG
12969 fi
12970
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12972 $as_echo "$result" >&6; }
12973
12974
12975 enablestring=
12976 defaultval=$wxUSE_ALL_FEATURES
12977 if test -z "$defaultval"; then
12978 if test x"$enablestring" = xdisable; then
12979 defaultval=yes
12980 else
12981 defaultval=no
12982 fi
12983 fi
12984
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12986 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12987 # Check whether --enable-richtooltip was given.
12988 if test "${enable_richtooltip+set}" = set; then :
12989 enableval=$enable_richtooltip;
12990 if test "$enableval" = yes; then
12991 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12992 else
12993 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12994 fi
12995
12996 else
12997
12998 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
12999
13000 fi
13001
13002
13003 eval "$wx_cv_use_richtooltip"
13004
13005 if test x"$enablestring" = xdisable; then
13006 if test $wxUSE_RICHTOOLTIP = no; then
13007 result=yes
13008 else
13009 result=no
13010 fi
13011 else
13012 result=$wxUSE_RICHTOOLTIP
13013 fi
13014
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13016 $as_echo "$result" >&6; }
13017
13018
13019 enablestring=
13020 defaultval=$wxUSE_ALL_FEATURES
13021 if test -z "$defaultval"; then
13022 if test x"$enablestring" = xdisable; then
13023 defaultval=yes
13024 else
13025 defaultval=no
13026 fi
13027 fi
13028
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13030 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13031 # Check whether --enable-rearrangectrl was given.
13032 if test "${enable_rearrangectrl+set}" = set; then :
13033 enableval=$enable_rearrangectrl;
13034 if test "$enableval" = yes; then
13035 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13036 else
13037 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13038 fi
13039
13040 else
13041
13042 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13043
13044 fi
13045
13046
13047 eval "$wx_cv_use_rearrangectrl"
13048
13049 if test x"$enablestring" = xdisable; then
13050 if test $wxUSE_REARRANGECTRL = no; then
13051 result=yes
13052 else
13053 result=no
13054 fi
13055 else
13056 result=$wxUSE_REARRANGECTRL
13057 fi
13058
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13060 $as_echo "$result" >&6; }
13061
13062
13063 enablestring=
13064 defaultval=$wxUSE_ALL_FEATURES
13065 if test -z "$defaultval"; then
13066 if test x"$enablestring" = xdisable; then
13067 defaultval=yes
13068 else
13069 defaultval=no
13070 fi
13071 fi
13072
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13074 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13075 # Check whether --enable-sash was given.
13076 if test "${enable_sash+set}" = set; then :
13077 enableval=$enable_sash;
13078 if test "$enableval" = yes; then
13079 wx_cv_use_sash='wxUSE_SASH=yes'
13080 else
13081 wx_cv_use_sash='wxUSE_SASH=no'
13082 fi
13083
13084 else
13085
13086 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13087
13088 fi
13089
13090
13091 eval "$wx_cv_use_sash"
13092
13093 if test x"$enablestring" = xdisable; then
13094 if test $wxUSE_SASH = no; then
13095 result=yes
13096 else
13097 result=no
13098 fi
13099 else
13100 result=$wxUSE_SASH
13101 fi
13102
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13104 $as_echo "$result" >&6; }
13105
13106
13107 enablestring=
13108 defaultval=$wxUSE_ALL_FEATURES
13109 if test -z "$defaultval"; then
13110 if test x"$enablestring" = xdisable; then
13111 defaultval=yes
13112 else
13113 defaultval=no
13114 fi
13115 fi
13116
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13118 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13119 # Check whether --enable-scrollbar was given.
13120 if test "${enable_scrollbar+set}" = set; then :
13121 enableval=$enable_scrollbar;
13122 if test "$enableval" = yes; then
13123 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13124 else
13125 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13126 fi
13127
13128 else
13129
13130 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13131
13132 fi
13133
13134
13135 eval "$wx_cv_use_scrollbar"
13136
13137 if test x"$enablestring" = xdisable; then
13138 if test $wxUSE_SCROLLBAR = no; then
13139 result=yes
13140 else
13141 result=no
13142 fi
13143 else
13144 result=$wxUSE_SCROLLBAR
13145 fi
13146
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13148 $as_echo "$result" >&6; }
13149
13150
13151 enablestring=
13152 defaultval=$wxUSE_ALL_FEATURES
13153 if test -z "$defaultval"; then
13154 if test x"$enablestring" = xdisable; then
13155 defaultval=yes
13156 else
13157 defaultval=no
13158 fi
13159 fi
13160
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13162 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13163 # Check whether --enable-searchctrl was given.
13164 if test "${enable_searchctrl+set}" = set; then :
13165 enableval=$enable_searchctrl;
13166 if test "$enableval" = yes; then
13167 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13168 else
13169 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13170 fi
13171
13172 else
13173
13174 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13175
13176 fi
13177
13178
13179 eval "$wx_cv_use_searchctrl"
13180
13181 if test x"$enablestring" = xdisable; then
13182 if test $wxUSE_SEARCHCTRL = no; then
13183 result=yes
13184 else
13185 result=no
13186 fi
13187 else
13188 result=$wxUSE_SEARCHCTRL
13189 fi
13190
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13192 $as_echo "$result" >&6; }
13193
13194
13195 enablestring=
13196 defaultval=$wxUSE_ALL_FEATURES
13197 if test -z "$defaultval"; then
13198 if test x"$enablestring" = xdisable; then
13199 defaultval=yes
13200 else
13201 defaultval=no
13202 fi
13203 fi
13204
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13206 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13207 # Check whether --enable-slider was given.
13208 if test "${enable_slider+set}" = set; then :
13209 enableval=$enable_slider;
13210 if test "$enableval" = yes; then
13211 wx_cv_use_slider='wxUSE_SLIDER=yes'
13212 else
13213 wx_cv_use_slider='wxUSE_SLIDER=no'
13214 fi
13215
13216 else
13217
13218 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13219
13220 fi
13221
13222
13223 eval "$wx_cv_use_slider"
13224
13225 if test x"$enablestring" = xdisable; then
13226 if test $wxUSE_SLIDER = no; then
13227 result=yes
13228 else
13229 result=no
13230 fi
13231 else
13232 result=$wxUSE_SLIDER
13233 fi
13234
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13236 $as_echo "$result" >&6; }
13237
13238
13239 enablestring=
13240 defaultval=$wxUSE_ALL_FEATURES
13241 if test -z "$defaultval"; then
13242 if test x"$enablestring" = xdisable; then
13243 defaultval=yes
13244 else
13245 defaultval=no
13246 fi
13247 fi
13248
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13250 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13251 # Check whether --enable-spinbtn was given.
13252 if test "${enable_spinbtn+set}" = set; then :
13253 enableval=$enable_spinbtn;
13254 if test "$enableval" = yes; then
13255 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13256 else
13257 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13258 fi
13259
13260 else
13261
13262 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13263
13264 fi
13265
13266
13267 eval "$wx_cv_use_spinbtn"
13268
13269 if test x"$enablestring" = xdisable; then
13270 if test $wxUSE_SPINBTN = no; then
13271 result=yes
13272 else
13273 result=no
13274 fi
13275 else
13276 result=$wxUSE_SPINBTN
13277 fi
13278
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13280 $as_echo "$result" >&6; }
13281
13282
13283 enablestring=
13284 defaultval=$wxUSE_ALL_FEATURES
13285 if test -z "$defaultval"; then
13286 if test x"$enablestring" = xdisable; then
13287 defaultval=yes
13288 else
13289 defaultval=no
13290 fi
13291 fi
13292
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13294 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13295 # Check whether --enable-spinctrl was given.
13296 if test "${enable_spinctrl+set}" = set; then :
13297 enableval=$enable_spinctrl;
13298 if test "$enableval" = yes; then
13299 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13300 else
13301 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13302 fi
13303
13304 else
13305
13306 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13307
13308 fi
13309
13310
13311 eval "$wx_cv_use_spinctrl"
13312
13313 if test x"$enablestring" = xdisable; then
13314 if test $wxUSE_SPINCTRL = no; then
13315 result=yes
13316 else
13317 result=no
13318 fi
13319 else
13320 result=$wxUSE_SPINCTRL
13321 fi
13322
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13324 $as_echo "$result" >&6; }
13325
13326
13327 enablestring=
13328 defaultval=$wxUSE_ALL_FEATURES
13329 if test -z "$defaultval"; then
13330 if test x"$enablestring" = xdisable; then
13331 defaultval=yes
13332 else
13333 defaultval=no
13334 fi
13335 fi
13336
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13338 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13339 # Check whether --enable-splitter was given.
13340 if test "${enable_splitter+set}" = set; then :
13341 enableval=$enable_splitter;
13342 if test "$enableval" = yes; then
13343 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13344 else
13345 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13346 fi
13347
13348 else
13349
13350 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13351
13352 fi
13353
13354
13355 eval "$wx_cv_use_splitter"
13356
13357 if test x"$enablestring" = xdisable; then
13358 if test $wxUSE_SPLITTER = no; then
13359 result=yes
13360 else
13361 result=no
13362 fi
13363 else
13364 result=$wxUSE_SPLITTER
13365 fi
13366
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13368 $as_echo "$result" >&6; }
13369
13370
13371 enablestring=
13372 defaultval=$wxUSE_ALL_FEATURES
13373 if test -z "$defaultval"; then
13374 if test x"$enablestring" = xdisable; then
13375 defaultval=yes
13376 else
13377 defaultval=no
13378 fi
13379 fi
13380
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13382 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13383 # Check whether --enable-statbmp was given.
13384 if test "${enable_statbmp+set}" = set; then :
13385 enableval=$enable_statbmp;
13386 if test "$enableval" = yes; then
13387 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13388 else
13389 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13390 fi
13391
13392 else
13393
13394 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13395
13396 fi
13397
13398
13399 eval "$wx_cv_use_statbmp"
13400
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_STATBMP = no; then
13403 result=yes
13404 else
13405 result=no
13406 fi
13407 else
13408 result=$wxUSE_STATBMP
13409 fi
13410
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13412 $as_echo "$result" >&6; }
13413
13414
13415 enablestring=
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13419 defaultval=yes
13420 else
13421 defaultval=no
13422 fi
13423 fi
13424
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13426 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13427 # Check whether --enable-statbox was given.
13428 if test "${enable_statbox+set}" = set; then :
13429 enableval=$enable_statbox;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13432 else
13433 wx_cv_use_statbox='wxUSE_STATBOX=no'
13434 fi
13435
13436 else
13437
13438 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13439
13440 fi
13441
13442
13443 eval "$wx_cv_use_statbox"
13444
13445 if test x"$enablestring" = xdisable; then
13446 if test $wxUSE_STATBOX = no; then
13447 result=yes
13448 else
13449 result=no
13450 fi
13451 else
13452 result=$wxUSE_STATBOX
13453 fi
13454
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13456 $as_echo "$result" >&6; }
13457
13458
13459 enablestring=
13460 defaultval=$wxUSE_ALL_FEATURES
13461 if test -z "$defaultval"; then
13462 if test x"$enablestring" = xdisable; then
13463 defaultval=yes
13464 else
13465 defaultval=no
13466 fi
13467 fi
13468
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13470 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13471 # Check whether --enable-statline was given.
13472 if test "${enable_statline+set}" = set; then :
13473 enableval=$enable_statline;
13474 if test "$enableval" = yes; then
13475 wx_cv_use_statline='wxUSE_STATLINE=yes'
13476 else
13477 wx_cv_use_statline='wxUSE_STATLINE=no'
13478 fi
13479
13480 else
13481
13482 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13483
13484 fi
13485
13486
13487 eval "$wx_cv_use_statline"
13488
13489 if test x"$enablestring" = xdisable; then
13490 if test $wxUSE_STATLINE = no; then
13491 result=yes
13492 else
13493 result=no
13494 fi
13495 else
13496 result=$wxUSE_STATLINE
13497 fi
13498
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13500 $as_echo "$result" >&6; }
13501
13502
13503 enablestring=
13504 defaultval=$wxUSE_ALL_FEATURES
13505 if test -z "$defaultval"; then
13506 if test x"$enablestring" = xdisable; then
13507 defaultval=yes
13508 else
13509 defaultval=no
13510 fi
13511 fi
13512
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13514 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13515 # Check whether --enable-stattext was given.
13516 if test "${enable_stattext+set}" = set; then :
13517 enableval=$enable_stattext;
13518 if test "$enableval" = yes; then
13519 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13520 else
13521 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13522 fi
13523
13524 else
13525
13526 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13527
13528 fi
13529
13530
13531 eval "$wx_cv_use_stattext"
13532
13533 if test x"$enablestring" = xdisable; then
13534 if test $wxUSE_STATTEXT = no; then
13535 result=yes
13536 else
13537 result=no
13538 fi
13539 else
13540 result=$wxUSE_STATTEXT
13541 fi
13542
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13544 $as_echo "$result" >&6; }
13545
13546
13547 enablestring=
13548 defaultval=$wxUSE_ALL_FEATURES
13549 if test -z "$defaultval"; then
13550 if test x"$enablestring" = xdisable; then
13551 defaultval=yes
13552 else
13553 defaultval=no
13554 fi
13555 fi
13556
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13558 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13559 # Check whether --enable-statusbar was given.
13560 if test "${enable_statusbar+set}" = set; then :
13561 enableval=$enable_statusbar;
13562 if test "$enableval" = yes; then
13563 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13564 else
13565 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13566 fi
13567
13568 else
13569
13570 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13571
13572 fi
13573
13574
13575 eval "$wx_cv_use_statusbar"
13576
13577 if test x"$enablestring" = xdisable; then
13578 if test $wxUSE_STATUSBAR = no; then
13579 result=yes
13580 else
13581 result=no
13582 fi
13583 else
13584 result=$wxUSE_STATUSBAR
13585 fi
13586
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13588 $as_echo "$result" >&6; }
13589
13590
13591 enablestring=
13592 defaultval=$wxUSE_ALL_FEATURES
13593 if test -z "$defaultval"; then
13594 if test x"$enablestring" = xdisable; then
13595 defaultval=yes
13596 else
13597 defaultval=no
13598 fi
13599 fi
13600
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13602 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13603 # Check whether --enable-taskbaricon was given.
13604 if test "${enable_taskbaricon+set}" = set; then :
13605 enableval=$enable_taskbaricon;
13606 if test "$enableval" = yes; then
13607 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13608 else
13609 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13610 fi
13611
13612 else
13613
13614 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13615
13616 fi
13617
13618
13619 eval "$wx_cv_use_taskbaricon"
13620
13621 if test x"$enablestring" = xdisable; then
13622 if test $wxUSE_TASKBARICON = no; then
13623 result=yes
13624 else
13625 result=no
13626 fi
13627 else
13628 result=$wxUSE_TASKBARICON
13629 fi
13630
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13632 $as_echo "$result" >&6; }
13633
13634
13635 enablestring=
13636 defaultval=$wxUSE_ALL_FEATURES
13637 if test -z "$defaultval"; then
13638 if test x"$enablestring" = xdisable; then
13639 defaultval=yes
13640 else
13641 defaultval=no
13642 fi
13643 fi
13644
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13646 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13647 # Check whether --enable-tbarnative was given.
13648 if test "${enable_tbarnative+set}" = set; then :
13649 enableval=$enable_tbarnative;
13650 if test "$enableval" = yes; then
13651 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13652 else
13653 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13654 fi
13655
13656 else
13657
13658 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13659
13660 fi
13661
13662
13663 eval "$wx_cv_use_tbarnative"
13664
13665 if test x"$enablestring" = xdisable; then
13666 if test $wxUSE_TOOLBAR_NATIVE = no; then
13667 result=yes
13668 else
13669 result=no
13670 fi
13671 else
13672 result=$wxUSE_TOOLBAR_NATIVE
13673 fi
13674
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13676 $as_echo "$result" >&6; }
13677
13678
13679 enablestring=
13680 defaultval=$wxUSE_ALL_FEATURES
13681 if test -z "$defaultval"; then
13682 if test x"$enablestring" = xdisable; then
13683 defaultval=yes
13684 else
13685 defaultval=no
13686 fi
13687 fi
13688
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13690 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13691 # Check whether --enable-textctrl was given.
13692 if test "${enable_textctrl+set}" = set; then :
13693 enableval=$enable_textctrl;
13694 if test "$enableval" = yes; then
13695 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13696 else
13697 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13698 fi
13699
13700 else
13701
13702 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13703
13704 fi
13705
13706
13707 eval "$wx_cv_use_textctrl"
13708
13709 if test x"$enablestring" = xdisable; then
13710 if test $wxUSE_TEXTCTRL = no; then
13711 result=yes
13712 else
13713 result=no
13714 fi
13715 else
13716 result=$wxUSE_TEXTCTRL
13717 fi
13718
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13720 $as_echo "$result" >&6; }
13721
13722
13723 enablestring=
13724 defaultval=$wxUSE_ALL_FEATURES
13725 if test -z "$defaultval"; then
13726 if test x"$enablestring" = xdisable; then
13727 defaultval=yes
13728 else
13729 defaultval=no
13730 fi
13731 fi
13732
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13734 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13735 # Check whether --enable-datepick was given.
13736 if test "${enable_datepick+set}" = set; then :
13737 enableval=$enable_datepick;
13738 if test "$enableval" = yes; then
13739 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13740 else
13741 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13742 fi
13743
13744 else
13745
13746 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13747
13748 fi
13749
13750
13751 eval "$wx_cv_use_datepick"
13752
13753 if test x"$enablestring" = xdisable; then
13754 if test $wxUSE_TIMEPICKCTRL = no; then
13755 result=yes
13756 else
13757 result=no
13758 fi
13759 else
13760 result=$wxUSE_TIMEPICKCTRL
13761 fi
13762
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13764 $as_echo "$result" >&6; }
13765
13766
13767 enablestring=
13768 defaultval=$wxUSE_ALL_FEATURES
13769 if test -z "$defaultval"; then
13770 if test x"$enablestring" = xdisable; then
13771 defaultval=yes
13772 else
13773 defaultval=no
13774 fi
13775 fi
13776
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13778 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13779 # Check whether --enable-tipwindow was given.
13780 if test "${enable_tipwindow+set}" = set; then :
13781 enableval=$enable_tipwindow;
13782 if test "$enableval" = yes; then
13783 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13784 else
13785 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13786 fi
13787
13788 else
13789
13790 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13791
13792 fi
13793
13794
13795 eval "$wx_cv_use_tipwindow"
13796
13797 if test x"$enablestring" = xdisable; then
13798 if test $wxUSE_TIPWINDOW = no; then
13799 result=yes
13800 else
13801 result=no
13802 fi
13803 else
13804 result=$wxUSE_TIPWINDOW
13805 fi
13806
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13808 $as_echo "$result" >&6; }
13809
13810
13811 enablestring=
13812 defaultval=$wxUSE_ALL_FEATURES
13813 if test -z "$defaultval"; then
13814 if test x"$enablestring" = xdisable; then
13815 defaultval=yes
13816 else
13817 defaultval=no
13818 fi
13819 fi
13820
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13822 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13823 # Check whether --enable-togglebtn was given.
13824 if test "${enable_togglebtn+set}" = set; then :
13825 enableval=$enable_togglebtn;
13826 if test "$enableval" = yes; then
13827 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13828 else
13829 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13830 fi
13831
13832 else
13833
13834 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13835
13836 fi
13837
13838
13839 eval "$wx_cv_use_togglebtn"
13840
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_TOGGLEBTN = no; then
13843 result=yes
13844 else
13845 result=no
13846 fi
13847 else
13848 result=$wxUSE_TOGGLEBTN
13849 fi
13850
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13852 $as_echo "$result" >&6; }
13853
13854
13855 enablestring=
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13859 defaultval=yes
13860 else
13861 defaultval=no
13862 fi
13863 fi
13864
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13866 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13867 # Check whether --enable-toolbar was given.
13868 if test "${enable_toolbar+set}" = set; then :
13869 enableval=$enable_toolbar;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13872 else
13873 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13874 fi
13875
13876 else
13877
13878 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13879
13880 fi
13881
13882
13883 eval "$wx_cv_use_toolbar"
13884
13885 if test x"$enablestring" = xdisable; then
13886 if test $wxUSE_TOOLBAR = no; then
13887 result=yes
13888 else
13889 result=no
13890 fi
13891 else
13892 result=$wxUSE_TOOLBAR
13893 fi
13894
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13896 $as_echo "$result" >&6; }
13897
13898
13899 enablestring=
13900 defaultval=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x"$enablestring" = xdisable; then
13903 defaultval=yes
13904 else
13905 defaultval=no
13906 fi
13907 fi
13908
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13910 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13911 # Check whether --enable-toolbook was given.
13912 if test "${enable_toolbook+set}" = set; then :
13913 enableval=$enable_toolbook;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13916 else
13917 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13918 fi
13919
13920 else
13921
13922 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13923
13924 fi
13925
13926
13927 eval "$wx_cv_use_toolbook"
13928
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_TOOLBOOK = no; then
13931 result=yes
13932 else
13933 result=no
13934 fi
13935 else
13936 result=$wxUSE_TOOLBOOK
13937 fi
13938
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13940 $as_echo "$result" >&6; }
13941
13942
13943 enablestring=
13944 defaultval=$wxUSE_ALL_FEATURES
13945 if test -z "$defaultval"; then
13946 if test x"$enablestring" = xdisable; then
13947 defaultval=yes
13948 else
13949 defaultval=no
13950 fi
13951 fi
13952
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13954 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13955 # Check whether --enable-treebook was given.
13956 if test "${enable_treebook+set}" = set; then :
13957 enableval=$enable_treebook;
13958 if test "$enableval" = yes; then
13959 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13960 else
13961 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13962 fi
13963
13964 else
13965
13966 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13967
13968 fi
13969
13970
13971 eval "$wx_cv_use_treebook"
13972
13973 if test x"$enablestring" = xdisable; then
13974 if test $wxUSE_TREEBOOK = no; then
13975 result=yes
13976 else
13977 result=no
13978 fi
13979 else
13980 result=$wxUSE_TREEBOOK
13981 fi
13982
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13984 $as_echo "$result" >&6; }
13985
13986
13987 enablestring=
13988 defaultval=$wxUSE_ALL_FEATURES
13989 if test -z "$defaultval"; then
13990 if test x"$enablestring" = xdisable; then
13991 defaultval=yes
13992 else
13993 defaultval=no
13994 fi
13995 fi
13996
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13998 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13999 # Check whether --enable-treectrl was given.
14000 if test "${enable_treectrl+set}" = set; then :
14001 enableval=$enable_treectrl;
14002 if test "$enableval" = yes; then
14003 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14004 else
14005 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14006 fi
14007
14008 else
14009
14010 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14011
14012 fi
14013
14014
14015 eval "$wx_cv_use_treectrl"
14016
14017 if test x"$enablestring" = xdisable; then
14018 if test $wxUSE_TREECTRL = no; then
14019 result=yes
14020 else
14021 result=no
14022 fi
14023 else
14024 result=$wxUSE_TREECTRL
14025 fi
14026
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14028 $as_echo "$result" >&6; }
14029
14030
14031 enablestring=
14032 defaultval=$wxUSE_ALL_FEATURES
14033 if test -z "$defaultval"; then
14034 if test x"$enablestring" = xdisable; then
14035 defaultval=yes
14036 else
14037 defaultval=no
14038 fi
14039 fi
14040
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14042 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14043 # Check whether --enable-treelist was given.
14044 if test "${enable_treelist+set}" = set; then :
14045 enableval=$enable_treelist;
14046 if test "$enableval" = yes; then
14047 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14048 else
14049 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14050 fi
14051
14052 else
14053
14054 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14055
14056 fi
14057
14058
14059 eval "$wx_cv_use_treelist"
14060
14061 if test x"$enablestring" = xdisable; then
14062 if test $wxUSE_TREELISTCTRL = no; then
14063 result=yes
14064 else
14065 result=no
14066 fi
14067 else
14068 result=$wxUSE_TREELISTCTRL
14069 fi
14070
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14072 $as_echo "$result" >&6; }
14073
14074
14075
14076
14077 enablestring=
14078 defaultval=$wxUSE_ALL_FEATURES
14079 if test -z "$defaultval"; then
14080 if test x"$enablestring" = xdisable; then
14081 defaultval=yes
14082 else
14083 defaultval=no
14084 fi
14085 fi
14086
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14088 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14089 # Check whether --enable-commondlg was given.
14090 if test "${enable_commondlg+set}" = set; then :
14091 enableval=$enable_commondlg;
14092 if test "$enableval" = yes; then
14093 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14094 else
14095 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14096 fi
14097
14098 else
14099
14100 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14101
14102 fi
14103
14104
14105 eval "$wx_cv_use_commondlg"
14106
14107 if test x"$enablestring" = xdisable; then
14108 if test $wxUSE_COMMONDLGS = no; then
14109 result=yes
14110 else
14111 result=no
14112 fi
14113 else
14114 result=$wxUSE_COMMONDLGS
14115 fi
14116
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14118 $as_echo "$result" >&6; }
14119
14120
14121 enablestring=
14122 defaultval=$wxUSE_ALL_FEATURES
14123 if test -z "$defaultval"; then
14124 if test x"$enablestring" = xdisable; then
14125 defaultval=yes
14126 else
14127 defaultval=no
14128 fi
14129 fi
14130
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14132 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14133 # Check whether --enable-aboutdlg was given.
14134 if test "${enable_aboutdlg+set}" = set; then :
14135 enableval=$enable_aboutdlg;
14136 if test "$enableval" = yes; then
14137 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14138 else
14139 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14140 fi
14141
14142 else
14143
14144 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14145
14146 fi
14147
14148
14149 eval "$wx_cv_use_aboutdlg"
14150
14151 if test x"$enablestring" = xdisable; then
14152 if test $wxUSE_ABOUTDLG = no; then
14153 result=yes
14154 else
14155 result=no
14156 fi
14157 else
14158 result=$wxUSE_ABOUTDLG
14159 fi
14160
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14162 $as_echo "$result" >&6; }
14163
14164
14165 enablestring=
14166 defaultval=$wxUSE_ALL_FEATURES
14167 if test -z "$defaultval"; then
14168 if test x"$enablestring" = xdisable; then
14169 defaultval=yes
14170 else
14171 defaultval=no
14172 fi
14173 fi
14174
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14176 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14177 # Check whether --enable-choicedlg was given.
14178 if test "${enable_choicedlg+set}" = set; then :
14179 enableval=$enable_choicedlg;
14180 if test "$enableval" = yes; then
14181 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14182 else
14183 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14184 fi
14185
14186 else
14187
14188 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14189
14190 fi
14191
14192
14193 eval "$wx_cv_use_choicedlg"
14194
14195 if test x"$enablestring" = xdisable; then
14196 if test $wxUSE_CHOICEDLG = no; then
14197 result=yes
14198 else
14199 result=no
14200 fi
14201 else
14202 result=$wxUSE_CHOICEDLG
14203 fi
14204
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14206 $as_echo "$result" >&6; }
14207
14208
14209 enablestring=
14210 defaultval=$wxUSE_ALL_FEATURES
14211 if test -z "$defaultval"; then
14212 if test x"$enablestring" = xdisable; then
14213 defaultval=yes
14214 else
14215 defaultval=no
14216 fi
14217 fi
14218
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14220 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14221 # Check whether --enable-coldlg was given.
14222 if test "${enable_coldlg+set}" = set; then :
14223 enableval=$enable_coldlg;
14224 if test "$enableval" = yes; then
14225 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14226 else
14227 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14228 fi
14229
14230 else
14231
14232 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14233
14234 fi
14235
14236
14237 eval "$wx_cv_use_coldlg"
14238
14239 if test x"$enablestring" = xdisable; then
14240 if test $wxUSE_COLOURDLG = no; then
14241 result=yes
14242 else
14243 result=no
14244 fi
14245 else
14246 result=$wxUSE_COLOURDLG
14247 fi
14248
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14250 $as_echo "$result" >&6; }
14251
14252
14253 enablestring=
14254 defaultval=$wxUSE_ALL_FEATURES
14255 if test -z "$defaultval"; then
14256 if test x"$enablestring" = xdisable; then
14257 defaultval=yes
14258 else
14259 defaultval=no
14260 fi
14261 fi
14262
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14264 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14265 # Check whether --enable-filedlg was given.
14266 if test "${enable_filedlg+set}" = set; then :
14267 enableval=$enable_filedlg;
14268 if test "$enableval" = yes; then
14269 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14270 else
14271 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14272 fi
14273
14274 else
14275
14276 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14277
14278 fi
14279
14280
14281 eval "$wx_cv_use_filedlg"
14282
14283 if test x"$enablestring" = xdisable; then
14284 if test $wxUSE_FILEDLG = no; then
14285 result=yes
14286 else
14287 result=no
14288 fi
14289 else
14290 result=$wxUSE_FILEDLG
14291 fi
14292
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14294 $as_echo "$result" >&6; }
14295
14296
14297 enablestring=
14298 defaultval=$wxUSE_ALL_FEATURES
14299 if test -z "$defaultval"; then
14300 if test x"$enablestring" = xdisable; then
14301 defaultval=yes
14302 else
14303 defaultval=no
14304 fi
14305 fi
14306
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14308 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14309 # Check whether --enable-finddlg was given.
14310 if test "${enable_finddlg+set}" = set; then :
14311 enableval=$enable_finddlg;
14312 if test "$enableval" = yes; then
14313 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14314 else
14315 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14316 fi
14317
14318 else
14319
14320 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14321
14322 fi
14323
14324
14325 eval "$wx_cv_use_finddlg"
14326
14327 if test x"$enablestring" = xdisable; then
14328 if test $wxUSE_FINDREPLDLG = no; then
14329 result=yes
14330 else
14331 result=no
14332 fi
14333 else
14334 result=$wxUSE_FINDREPLDLG
14335 fi
14336
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14338 $as_echo "$result" >&6; }
14339
14340
14341 enablestring=
14342 defaultval=$wxUSE_ALL_FEATURES
14343 if test -z "$defaultval"; then
14344 if test x"$enablestring" = xdisable; then
14345 defaultval=yes
14346 else
14347 defaultval=no
14348 fi
14349 fi
14350
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14352 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14353 # Check whether --enable-fontdlg was given.
14354 if test "${enable_fontdlg+set}" = set; then :
14355 enableval=$enable_fontdlg;
14356 if test "$enableval" = yes; then
14357 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14358 else
14359 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14360 fi
14361
14362 else
14363
14364 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14365
14366 fi
14367
14368
14369 eval "$wx_cv_use_fontdlg"
14370
14371 if test x"$enablestring" = xdisable; then
14372 if test $wxUSE_FONTDLG = no; then
14373 result=yes
14374 else
14375 result=no
14376 fi
14377 else
14378 result=$wxUSE_FONTDLG
14379 fi
14380
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14382 $as_echo "$result" >&6; }
14383
14384
14385 enablestring=
14386 defaultval=$wxUSE_ALL_FEATURES
14387 if test -z "$defaultval"; then
14388 if test x"$enablestring" = xdisable; then
14389 defaultval=yes
14390 else
14391 defaultval=no
14392 fi
14393 fi
14394
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14396 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14397 # Check whether --enable-dirdlg was given.
14398 if test "${enable_dirdlg+set}" = set; then :
14399 enableval=$enable_dirdlg;
14400 if test "$enableval" = yes; then
14401 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14402 else
14403 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14404 fi
14405
14406 else
14407
14408 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14409
14410 fi
14411
14412
14413 eval "$wx_cv_use_dirdlg"
14414
14415 if test x"$enablestring" = xdisable; then
14416 if test $wxUSE_DIRDLG = no; then
14417 result=yes
14418 else
14419 result=no
14420 fi
14421 else
14422 result=$wxUSE_DIRDLG
14423 fi
14424
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14426 $as_echo "$result" >&6; }
14427
14428
14429 enablestring=
14430 defaultval=$wxUSE_ALL_FEATURES
14431 if test -z "$defaultval"; then
14432 if test x"$enablestring" = xdisable; then
14433 defaultval=yes
14434 else
14435 defaultval=no
14436 fi
14437 fi
14438
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14440 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14441 # Check whether --enable-msgdlg was given.
14442 if test "${enable_msgdlg+set}" = set; then :
14443 enableval=$enable_msgdlg;
14444 if test "$enableval" = yes; then
14445 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14446 else
14447 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14448 fi
14449
14450 else
14451
14452 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14453
14454 fi
14455
14456
14457 eval "$wx_cv_use_msgdlg"
14458
14459 if test x"$enablestring" = xdisable; then
14460 if test $wxUSE_MSGDLG = no; then
14461 result=yes
14462 else
14463 result=no
14464 fi
14465 else
14466 result=$wxUSE_MSGDLG
14467 fi
14468
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14470 $as_echo "$result" >&6; }
14471
14472
14473 enablestring=
14474 defaultval=$wxUSE_ALL_FEATURES
14475 if test -z "$defaultval"; then
14476 if test x"$enablestring" = xdisable; then
14477 defaultval=yes
14478 else
14479 defaultval=no
14480 fi
14481 fi
14482
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14484 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14485 # Check whether --enable-numberdlg was given.
14486 if test "${enable_numberdlg+set}" = set; then :
14487 enableval=$enable_numberdlg;
14488 if test "$enableval" = yes; then
14489 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14490 else
14491 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14492 fi
14493
14494 else
14495
14496 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14497
14498 fi
14499
14500
14501 eval "$wx_cv_use_numberdlg"
14502
14503 if test x"$enablestring" = xdisable; then
14504 if test $wxUSE_NUMBERDLG = no; then
14505 result=yes
14506 else
14507 result=no
14508 fi
14509 else
14510 result=$wxUSE_NUMBERDLG
14511 fi
14512
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14514 $as_echo "$result" >&6; }
14515
14516
14517 enablestring=
14518 defaultval=$wxUSE_ALL_FEATURES
14519 if test -z "$defaultval"; then
14520 if test x"$enablestring" = xdisable; then
14521 defaultval=yes
14522 else
14523 defaultval=no
14524 fi
14525 fi
14526
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14528 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14529 # Check whether --enable-splash was given.
14530 if test "${enable_splash+set}" = set; then :
14531 enableval=$enable_splash;
14532 if test "$enableval" = yes; then
14533 wx_cv_use_splash='wxUSE_SPLASH=yes'
14534 else
14535 wx_cv_use_splash='wxUSE_SPLASH=no'
14536 fi
14537
14538 else
14539
14540 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14541
14542 fi
14543
14544
14545 eval "$wx_cv_use_splash"
14546
14547 if test x"$enablestring" = xdisable; then
14548 if test $wxUSE_SPLASH = no; then
14549 result=yes
14550 else
14551 result=no
14552 fi
14553 else
14554 result=$wxUSE_SPLASH
14555 fi
14556
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14558 $as_echo "$result" >&6; }
14559
14560
14561 enablestring=
14562 defaultval=$wxUSE_ALL_FEATURES
14563 if test -z "$defaultval"; then
14564 if test x"$enablestring" = xdisable; then
14565 defaultval=yes
14566 else
14567 defaultval=no
14568 fi
14569 fi
14570
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14572 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14573 # Check whether --enable-textdlg was given.
14574 if test "${enable_textdlg+set}" = set; then :
14575 enableval=$enable_textdlg;
14576 if test "$enableval" = yes; then
14577 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14578 else
14579 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14580 fi
14581
14582 else
14583
14584 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14585
14586 fi
14587
14588
14589 eval "$wx_cv_use_textdlg"
14590
14591 if test x"$enablestring" = xdisable; then
14592 if test $wxUSE_TEXTDLG = no; then
14593 result=yes
14594 else
14595 result=no
14596 fi
14597 else
14598 result=$wxUSE_TEXTDLG
14599 fi
14600
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14602 $as_echo "$result" >&6; }
14603
14604
14605 enablestring=
14606 defaultval=$wxUSE_ALL_FEATURES
14607 if test -z "$defaultval"; then
14608 if test x"$enablestring" = xdisable; then
14609 defaultval=yes
14610 else
14611 defaultval=no
14612 fi
14613 fi
14614
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14616 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14617 # Check whether --enable-tipdlg was given.
14618 if test "${enable_tipdlg+set}" = set; then :
14619 enableval=$enable_tipdlg;
14620 if test "$enableval" = yes; then
14621 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14622 else
14623 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14624 fi
14625
14626 else
14627
14628 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14629
14630 fi
14631
14632
14633 eval "$wx_cv_use_tipdlg"
14634
14635 if test x"$enablestring" = xdisable; then
14636 if test $wxUSE_STARTUP_TIPS = no; then
14637 result=yes
14638 else
14639 result=no
14640 fi
14641 else
14642 result=$wxUSE_STARTUP_TIPS
14643 fi
14644
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14646 $as_echo "$result" >&6; }
14647
14648
14649 enablestring=
14650 defaultval=$wxUSE_ALL_FEATURES
14651 if test -z "$defaultval"; then
14652 if test x"$enablestring" = xdisable; then
14653 defaultval=yes
14654 else
14655 defaultval=no
14656 fi
14657 fi
14658
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14660 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14661 # Check whether --enable-progressdlg was given.
14662 if test "${enable_progressdlg+set}" = set; then :
14663 enableval=$enable_progressdlg;
14664 if test "$enableval" = yes; then
14665 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14666 else
14667 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14668 fi
14669
14670 else
14671
14672 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14673
14674 fi
14675
14676
14677 eval "$wx_cv_use_progressdlg"
14678
14679 if test x"$enablestring" = xdisable; then
14680 if test $wxUSE_PROGRESSDLG = no; then
14681 result=yes
14682 else
14683 result=no
14684 fi
14685 else
14686 result=$wxUSE_PROGRESSDLG
14687 fi
14688
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14690 $as_echo "$result" >&6; }
14691
14692
14693 enablestring=
14694 defaultval=$wxUSE_ALL_FEATURES
14695 if test -z "$defaultval"; then
14696 if test x"$enablestring" = xdisable; then
14697 defaultval=yes
14698 else
14699 defaultval=no
14700 fi
14701 fi
14702
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14704 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14705 # Check whether --enable-wizarddlg was given.
14706 if test "${enable_wizarddlg+set}" = set; then :
14707 enableval=$enable_wizarddlg;
14708 if test "$enableval" = yes; then
14709 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14710 else
14711 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14712 fi
14713
14714 else
14715
14716 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14717
14718 fi
14719
14720
14721 eval "$wx_cv_use_wizarddlg"
14722
14723 if test x"$enablestring" = xdisable; then
14724 if test $wxUSE_WIZARDDLG = no; then
14725 result=yes
14726 else
14727 result=no
14728 fi
14729 else
14730 result=$wxUSE_WIZARDDLG
14731 fi
14732
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14734 $as_echo "$result" >&6; }
14735
14736
14737
14738
14739 enablestring=
14740 defaultval=$wxUSE_ALL_FEATURES
14741 if test -z "$defaultval"; then
14742 if test x"$enablestring" = xdisable; then
14743 defaultval=yes
14744 else
14745 defaultval=no
14746 fi
14747 fi
14748
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14750 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14751 # Check whether --enable-menus was given.
14752 if test "${enable_menus+set}" = set; then :
14753 enableval=$enable_menus;
14754 if test "$enableval" = yes; then
14755 wx_cv_use_menus='wxUSE_MENUS=yes'
14756 else
14757 wx_cv_use_menus='wxUSE_MENUS=no'
14758 fi
14759
14760 else
14761
14762 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14763
14764 fi
14765
14766
14767 eval "$wx_cv_use_menus"
14768
14769 if test x"$enablestring" = xdisable; then
14770 if test $wxUSE_MENUS = no; then
14771 result=yes
14772 else
14773 result=no
14774 fi
14775 else
14776 result=$wxUSE_MENUS
14777 fi
14778
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14780 $as_echo "$result" >&6; }
14781
14782
14783 enablestring=
14784 defaultval=$wxUSE_ALL_FEATURES
14785 if test -z "$defaultval"; then
14786 if test x"$enablestring" = xdisable; then
14787 defaultval=yes
14788 else
14789 defaultval=no
14790 fi
14791 fi
14792
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14794 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14795 # Check whether --enable-miniframe was given.
14796 if test "${enable_miniframe+set}" = set; then :
14797 enableval=$enable_miniframe;
14798 if test "$enableval" = yes; then
14799 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14800 else
14801 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14802 fi
14803
14804 else
14805
14806 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14807
14808 fi
14809
14810
14811 eval "$wx_cv_use_miniframe"
14812
14813 if test x"$enablestring" = xdisable; then
14814 if test $wxUSE_MINIFRAME = no; then
14815 result=yes
14816 else
14817 result=no
14818 fi
14819 else
14820 result=$wxUSE_MINIFRAME
14821 fi
14822
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14824 $as_echo "$result" >&6; }
14825
14826
14827 enablestring=
14828 defaultval=$wxUSE_ALL_FEATURES
14829 if test -z "$defaultval"; then
14830 if test x"$enablestring" = xdisable; then
14831 defaultval=yes
14832 else
14833 defaultval=no
14834 fi
14835 fi
14836
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14838 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14839 # Check whether --enable-tooltips was given.
14840 if test "${enable_tooltips+set}" = set; then :
14841 enableval=$enable_tooltips;
14842 if test "$enableval" = yes; then
14843 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14844 else
14845 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14846 fi
14847
14848 else
14849
14850 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14851
14852 fi
14853
14854
14855 eval "$wx_cv_use_tooltips"
14856
14857 if test x"$enablestring" = xdisable; then
14858 if test $wxUSE_TOOLTIPS = no; then
14859 result=yes
14860 else
14861 result=no
14862 fi
14863 else
14864 result=$wxUSE_TOOLTIPS
14865 fi
14866
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14868 $as_echo "$result" >&6; }
14869
14870
14871 enablestring=
14872 defaultval=$wxUSE_ALL_FEATURES
14873 if test -z "$defaultval"; then
14874 if test x"$enablestring" = xdisable; then
14875 defaultval=yes
14876 else
14877 defaultval=no
14878 fi
14879 fi
14880
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14882 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14883 # Check whether --enable-splines was given.
14884 if test "${enable_splines+set}" = set; then :
14885 enableval=$enable_splines;
14886 if test "$enableval" = yes; then
14887 wx_cv_use_splines='wxUSE_SPLINES=yes'
14888 else
14889 wx_cv_use_splines='wxUSE_SPLINES=no'
14890 fi
14891
14892 else
14893
14894 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14895
14896 fi
14897
14898
14899 eval "$wx_cv_use_splines"
14900
14901 if test x"$enablestring" = xdisable; then
14902 if test $wxUSE_SPLINES = no; then
14903 result=yes
14904 else
14905 result=no
14906 fi
14907 else
14908 result=$wxUSE_SPLINES
14909 fi
14910
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14912 $as_echo "$result" >&6; }
14913
14914
14915 enablestring=
14916 defaultval=$wxUSE_ALL_FEATURES
14917 if test -z "$defaultval"; then
14918 if test x"$enablestring" = xdisable; then
14919 defaultval=yes
14920 else
14921 defaultval=no
14922 fi
14923 fi
14924
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14926 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14927 # Check whether --enable-mousewheel was given.
14928 if test "${enable_mousewheel+set}" = set; then :
14929 enableval=$enable_mousewheel;
14930 if test "$enableval" = yes; then
14931 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14932 else
14933 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14934 fi
14935
14936 else
14937
14938 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14939
14940 fi
14941
14942
14943 eval "$wx_cv_use_mousewheel"
14944
14945 if test x"$enablestring" = xdisable; then
14946 if test $wxUSE_MOUSEWHEEL = no; then
14947 result=yes
14948 else
14949 result=no
14950 fi
14951 else
14952 result=$wxUSE_MOUSEWHEEL
14953 fi
14954
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14956 $as_echo "$result" >&6; }
14957
14958
14959 enablestring=
14960 defaultval=$wxUSE_ALL_FEATURES
14961 if test -z "$defaultval"; then
14962 if test x"$enablestring" = xdisable; then
14963 defaultval=yes
14964 else
14965 defaultval=no
14966 fi
14967 fi
14968
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14970 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14971 # Check whether --enable-validators was given.
14972 if test "${enable_validators+set}" = set; then :
14973 enableval=$enable_validators;
14974 if test "$enableval" = yes; then
14975 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14976 else
14977 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14978 fi
14979
14980 else
14981
14982 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14983
14984 fi
14985
14986
14987 eval "$wx_cv_use_validators"
14988
14989 if test x"$enablestring" = xdisable; then
14990 if test $wxUSE_VALIDATORS = no; then
14991 result=yes
14992 else
14993 result=no
14994 fi
14995 else
14996 result=$wxUSE_VALIDATORS
14997 fi
14998
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15000 $as_echo "$result" >&6; }
15001
15002
15003 enablestring=
15004 defaultval=$wxUSE_ALL_FEATURES
15005 if test -z "$defaultval"; then
15006 if test x"$enablestring" = xdisable; then
15007 defaultval=yes
15008 else
15009 defaultval=no
15010 fi
15011 fi
15012
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15014 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15015 # Check whether --enable-busyinfo was given.
15016 if test "${enable_busyinfo+set}" = set; then :
15017 enableval=$enable_busyinfo;
15018 if test "$enableval" = yes; then
15019 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15020 else
15021 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15022 fi
15023
15024 else
15025
15026 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15027
15028 fi
15029
15030
15031 eval "$wx_cv_use_busyinfo"
15032
15033 if test x"$enablestring" = xdisable; then
15034 if test $wxUSE_BUSYINFO = no; then
15035 result=yes
15036 else
15037 result=no
15038 fi
15039 else
15040 result=$wxUSE_BUSYINFO
15041 fi
15042
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15044 $as_echo "$result" >&6; }
15045
15046
15047 enablestring=
15048 defaultval=$wxUSE_ALL_FEATURES
15049 if test -z "$defaultval"; then
15050 if test x"$enablestring" = xdisable; then
15051 defaultval=yes
15052 else
15053 defaultval=no
15054 fi
15055 fi
15056
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15058 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15059 # Check whether --enable-hotkey was given.
15060 if test "${enable_hotkey+set}" = set; then :
15061 enableval=$enable_hotkey;
15062 if test "$enableval" = yes; then
15063 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15064 else
15065 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15066 fi
15067
15068 else
15069
15070 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15071
15072 fi
15073
15074
15075 eval "$wx_cv_use_hotkey"
15076
15077 if test x"$enablestring" = xdisable; then
15078 if test $wxUSE_HOTKEY = no; then
15079 result=yes
15080 else
15081 result=no
15082 fi
15083 else
15084 result=$wxUSE_HOTKEY
15085 fi
15086
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15088 $as_echo "$result" >&6; }
15089
15090
15091 enablestring=
15092 defaultval=$wxUSE_ALL_FEATURES
15093 if test -z "$defaultval"; then
15094 if test x"$enablestring" = xdisable; then
15095 defaultval=yes
15096 else
15097 defaultval=no
15098 fi
15099 fi
15100
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15102 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15103 # Check whether --enable-joystick was given.
15104 if test "${enable_joystick+set}" = set; then :
15105 enableval=$enable_joystick;
15106 if test "$enableval" = yes; then
15107 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15108 else
15109 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15110 fi
15111
15112 else
15113
15114 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15115
15116 fi
15117
15118
15119 eval "$wx_cv_use_joystick"
15120
15121 if test x"$enablestring" = xdisable; then
15122 if test $wxUSE_JOYSTICK = no; then
15123 result=yes
15124 else
15125 result=no
15126 fi
15127 else
15128 result=$wxUSE_JOYSTICK
15129 fi
15130
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15132 $as_echo "$result" >&6; }
15133
15134
15135 enablestring=
15136 defaultval=$wxUSE_ALL_FEATURES
15137 if test -z "$defaultval"; then
15138 if test x"$enablestring" = xdisable; then
15139 defaultval=yes
15140 else
15141 defaultval=no
15142 fi
15143 fi
15144
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15146 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15147 # Check whether --enable-metafile was given.
15148 if test "${enable_metafile+set}" = set; then :
15149 enableval=$enable_metafile;
15150 if test "$enableval" = yes; then
15151 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15152 else
15153 wx_cv_use_metafile='wxUSE_METAFILE=no'
15154 fi
15155
15156 else
15157
15158 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15159
15160 fi
15161
15162
15163 eval "$wx_cv_use_metafile"
15164
15165 if test x"$enablestring" = xdisable; then
15166 if test $wxUSE_METAFILE = no; then
15167 result=yes
15168 else
15169 result=no
15170 fi
15171 else
15172 result=$wxUSE_METAFILE
15173 fi
15174
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15176 $as_echo "$result" >&6; }
15177
15178
15179 enablestring=
15180 defaultval=$wxUSE_ALL_FEATURES
15181 if test -z "$defaultval"; then
15182 if test x"$enablestring" = xdisable; then
15183 defaultval=yes
15184 else
15185 defaultval=no
15186 fi
15187 fi
15188
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15190 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15191 # Check whether --enable-dragimage was given.
15192 if test "${enable_dragimage+set}" = set; then :
15193 enableval=$enable_dragimage;
15194 if test "$enableval" = yes; then
15195 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15196 else
15197 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15198 fi
15199
15200 else
15201
15202 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15203
15204 fi
15205
15206
15207 eval "$wx_cv_use_dragimage"
15208
15209 if test x"$enablestring" = xdisable; then
15210 if test $wxUSE_DRAGIMAGE = no; then
15211 result=yes
15212 else
15213 result=no
15214 fi
15215 else
15216 result=$wxUSE_DRAGIMAGE
15217 fi
15218
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15220 $as_echo "$result" >&6; }
15221
15222
15223 enablestring=
15224 defaultval=$wxUSE_ALL_FEATURES
15225 if test -z "$defaultval"; then
15226 if test x"$enablestring" = xdisable; then
15227 defaultval=yes
15228 else
15229 defaultval=no
15230 fi
15231 fi
15232
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15234 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15235 # Check whether --enable-accessibility was given.
15236 if test "${enable_accessibility+set}" = set; then :
15237 enableval=$enable_accessibility;
15238 if test "$enableval" = yes; then
15239 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15240 else
15241 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15242 fi
15243
15244 else
15245
15246 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15247
15248 fi
15249
15250
15251 eval "$wx_cv_use_accessibility"
15252
15253 if test x"$enablestring" = xdisable; then
15254 if test $wxUSE_ACCESSIBILITY = no; then
15255 result=yes
15256 else
15257 result=no
15258 fi
15259 else
15260 result=$wxUSE_ACCESSIBILITY
15261 fi
15262
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15264 $as_echo "$result" >&6; }
15265
15266
15267 enablestring=
15268 defaultval=$wxUSE_ALL_FEATURES
15269 if test -z "$defaultval"; then
15270 if test x"$enablestring" = xdisable; then
15271 defaultval=yes
15272 else
15273 defaultval=no
15274 fi
15275 fi
15276
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15278 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15279 # Check whether --enable-uiactionsim was given.
15280 if test "${enable_uiactionsim+set}" = set; then :
15281 enableval=$enable_uiactionsim;
15282 if test "$enableval" = yes; then
15283 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15284 else
15285 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15286 fi
15287
15288 else
15289
15290 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15291
15292 fi
15293
15294
15295 eval "$wx_cv_use_uiactionsim"
15296
15297 if test x"$enablestring" = xdisable; then
15298 if test $wxUSE_UIACTIONSIMULATOR = no; then
15299 result=yes
15300 else
15301 result=no
15302 fi
15303 else
15304 result=$wxUSE_UIACTIONSIMULATOR
15305 fi
15306
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15308 $as_echo "$result" >&6; }
15309
15310
15311 enablestring=
15312 defaultval=$wxUSE_ALL_FEATURES
15313 if test -z "$defaultval"; then
15314 if test x"$enablestring" = xdisable; then
15315 defaultval=yes
15316 else
15317 defaultval=no
15318 fi
15319 fi
15320
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15322 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15323 # Check whether --enable-dctransform was given.
15324 if test "${enable_dctransform+set}" = set; then :
15325 enableval=$enable_dctransform;
15326 if test "$enableval" = yes; then
15327 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15328 else
15329 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15330 fi
15331
15332 else
15333
15334 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15335
15336 fi
15337
15338
15339 eval "$wx_cv_use_dctransform"
15340
15341 if test x"$enablestring" = xdisable; then
15342 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15343 result=yes
15344 else
15345 result=no
15346 fi
15347 else
15348 result=$wxUSE_DC_TRANSFORM_MATRIX
15349 fi
15350
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15352 $as_echo "$result" >&6; }
15353
15354
15355 enablestring=
15356 defaultval=$wxUSE_ALL_FEATURES
15357 if test -z "$defaultval"; then
15358 if test x"$enablestring" = xdisable; then
15359 defaultval=yes
15360 else
15361 defaultval=no
15362 fi
15363 fi
15364
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15366 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15367 # Check whether --enable-webviewwebkit was given.
15368 if test "${enable_webviewwebkit+set}" = set; then :
15369 enableval=$enable_webviewwebkit;
15370 if test "$enableval" = yes; then
15371 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15372 else
15373 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15374 fi
15375
15376 else
15377
15378 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15379
15380 fi
15381
15382
15383 eval "$wx_cv_use_webviewwebkit"
15384
15385 if test x"$enablestring" = xdisable; then
15386 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15387 result=yes
15388 else
15389 result=no
15390 fi
15391 else
15392 result=$wxUSE_WEBVIEW_WEBKIT
15393 fi
15394
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15396 $as_echo "$result" >&6; }
15397
15398
15399
15400
15401 enablestring=
15402 defaultval=$wxUSE_ALL_FEATURES
15403 if test -z "$defaultval"; then
15404 if test x"$enablestring" = xdisable; then
15405 defaultval=yes
15406 else
15407 defaultval=no
15408 fi
15409 fi
15410
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15412 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15413 # Check whether --enable-palette was given.
15414 if test "${enable_palette+set}" = set; then :
15415 enableval=$enable_palette;
15416 if test "$enableval" = yes; then
15417 wx_cv_use_palette='wxUSE_PALETTE=yes'
15418 else
15419 wx_cv_use_palette='wxUSE_PALETTE=no'
15420 fi
15421
15422 else
15423
15424 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15425
15426 fi
15427
15428
15429 eval "$wx_cv_use_palette"
15430
15431 if test x"$enablestring" = xdisable; then
15432 if test $wxUSE_PALETTE = no; then
15433 result=yes
15434 else
15435 result=no
15436 fi
15437 else
15438 result=$wxUSE_PALETTE
15439 fi
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15442 $as_echo "$result" >&6; }
15443
15444
15445 enablestring=
15446 defaultval=$wxUSE_ALL_FEATURES
15447 if test -z "$defaultval"; then
15448 if test x"$enablestring" = xdisable; then
15449 defaultval=yes
15450 else
15451 defaultval=no
15452 fi
15453 fi
15454
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15456 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15457 # Check whether --enable-image was given.
15458 if test "${enable_image+set}" = set; then :
15459 enableval=$enable_image;
15460 if test "$enableval" = yes; then
15461 wx_cv_use_image='wxUSE_IMAGE=yes'
15462 else
15463 wx_cv_use_image='wxUSE_IMAGE=no'
15464 fi
15465
15466 else
15467
15468 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15469
15470 fi
15471
15472
15473 eval "$wx_cv_use_image"
15474
15475 if test x"$enablestring" = xdisable; then
15476 if test $wxUSE_IMAGE = no; then
15477 result=yes
15478 else
15479 result=no
15480 fi
15481 else
15482 result=$wxUSE_IMAGE
15483 fi
15484
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15486 $as_echo "$result" >&6; }
15487
15488
15489 enablestring=
15490 defaultval=$wxUSE_ALL_FEATURES
15491 if test -z "$defaultval"; then
15492 if test x"$enablestring" = xdisable; then
15493 defaultval=yes
15494 else
15495 defaultval=no
15496 fi
15497 fi
15498
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15500 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15501 # Check whether --enable-gif was given.
15502 if test "${enable_gif+set}" = set; then :
15503 enableval=$enable_gif;
15504 if test "$enableval" = yes; then
15505 wx_cv_use_gif='wxUSE_GIF=yes'
15506 else
15507 wx_cv_use_gif='wxUSE_GIF=no'
15508 fi
15509
15510 else
15511
15512 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15513
15514 fi
15515
15516
15517 eval "$wx_cv_use_gif"
15518
15519 if test x"$enablestring" = xdisable; then
15520 if test $wxUSE_GIF = no; then
15521 result=yes
15522 else
15523 result=no
15524 fi
15525 else
15526 result=$wxUSE_GIF
15527 fi
15528
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15530 $as_echo "$result" >&6; }
15531
15532
15533 enablestring=
15534 defaultval=$wxUSE_ALL_FEATURES
15535 if test -z "$defaultval"; then
15536 if test x"$enablestring" = xdisable; then
15537 defaultval=yes
15538 else
15539 defaultval=no
15540 fi
15541 fi
15542
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15544 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15545 # Check whether --enable-pcx was given.
15546 if test "${enable_pcx+set}" = set; then :
15547 enableval=$enable_pcx;
15548 if test "$enableval" = yes; then
15549 wx_cv_use_pcx='wxUSE_PCX=yes'
15550 else
15551 wx_cv_use_pcx='wxUSE_PCX=no'
15552 fi
15553
15554 else
15555
15556 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15557
15558 fi
15559
15560
15561 eval "$wx_cv_use_pcx"
15562
15563 if test x"$enablestring" = xdisable; then
15564 if test $wxUSE_PCX = no; then
15565 result=yes
15566 else
15567 result=no
15568 fi
15569 else
15570 result=$wxUSE_PCX
15571 fi
15572
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15574 $as_echo "$result" >&6; }
15575
15576
15577 enablestring=
15578 defaultval=$wxUSE_ALL_FEATURES
15579 if test -z "$defaultval"; then
15580 if test x"$enablestring" = xdisable; then
15581 defaultval=yes
15582 else
15583 defaultval=no
15584 fi
15585 fi
15586
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15588 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15589 # Check whether --enable-tga was given.
15590 if test "${enable_tga+set}" = set; then :
15591 enableval=$enable_tga;
15592 if test "$enableval" = yes; then
15593 wx_cv_use_tga='wxUSE_TGA=yes'
15594 else
15595 wx_cv_use_tga='wxUSE_TGA=no'
15596 fi
15597
15598 else
15599
15600 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15601
15602 fi
15603
15604
15605 eval "$wx_cv_use_tga"
15606
15607 if test x"$enablestring" = xdisable; then
15608 if test $wxUSE_TGA = no; then
15609 result=yes
15610 else
15611 result=no
15612 fi
15613 else
15614 result=$wxUSE_TGA
15615 fi
15616
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15618 $as_echo "$result" >&6; }
15619
15620
15621 enablestring=
15622 defaultval=$wxUSE_ALL_FEATURES
15623 if test -z "$defaultval"; then
15624 if test x"$enablestring" = xdisable; then
15625 defaultval=yes
15626 else
15627 defaultval=no
15628 fi
15629 fi
15630
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15632 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15633 # Check whether --enable-iff was given.
15634 if test "${enable_iff+set}" = set; then :
15635 enableval=$enable_iff;
15636 if test "$enableval" = yes; then
15637 wx_cv_use_iff='wxUSE_IFF=yes'
15638 else
15639 wx_cv_use_iff='wxUSE_IFF=no'
15640 fi
15641
15642 else
15643
15644 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15645
15646 fi
15647
15648
15649 eval "$wx_cv_use_iff"
15650
15651 if test x"$enablestring" = xdisable; then
15652 if test $wxUSE_IFF = no; then
15653 result=yes
15654 else
15655 result=no
15656 fi
15657 else
15658 result=$wxUSE_IFF
15659 fi
15660
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15662 $as_echo "$result" >&6; }
15663
15664
15665 enablestring=
15666 defaultval=$wxUSE_ALL_FEATURES
15667 if test -z "$defaultval"; then
15668 if test x"$enablestring" = xdisable; then
15669 defaultval=yes
15670 else
15671 defaultval=no
15672 fi
15673 fi
15674
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15676 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15677 # Check whether --enable-pnm was given.
15678 if test "${enable_pnm+set}" = set; then :
15679 enableval=$enable_pnm;
15680 if test "$enableval" = yes; then
15681 wx_cv_use_pnm='wxUSE_PNM=yes'
15682 else
15683 wx_cv_use_pnm='wxUSE_PNM=no'
15684 fi
15685
15686 else
15687
15688 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15689
15690 fi
15691
15692
15693 eval "$wx_cv_use_pnm"
15694
15695 if test x"$enablestring" = xdisable; then
15696 if test $wxUSE_PNM = no; then
15697 result=yes
15698 else
15699 result=no
15700 fi
15701 else
15702 result=$wxUSE_PNM
15703 fi
15704
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15706 $as_echo "$result" >&6; }
15707
15708
15709 enablestring=
15710 defaultval=$wxUSE_ALL_FEATURES
15711 if test -z "$defaultval"; then
15712 if test x"$enablestring" = xdisable; then
15713 defaultval=yes
15714 else
15715 defaultval=no
15716 fi
15717 fi
15718
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15720 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15721 # Check whether --enable-xpm was given.
15722 if test "${enable_xpm+set}" = set; then :
15723 enableval=$enable_xpm;
15724 if test "$enableval" = yes; then
15725 wx_cv_use_xpm='wxUSE_XPM=yes'
15726 else
15727 wx_cv_use_xpm='wxUSE_XPM=no'
15728 fi
15729
15730 else
15731
15732 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15733
15734 fi
15735
15736
15737 eval "$wx_cv_use_xpm"
15738
15739 if test x"$enablestring" = xdisable; then
15740 if test $wxUSE_XPM = no; then
15741 result=yes
15742 else
15743 result=no
15744 fi
15745 else
15746 result=$wxUSE_XPM
15747 fi
15748
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15750 $as_echo "$result" >&6; }
15751
15752
15753 enablestring=
15754 defaultval=$wxUSE_ALL_FEATURES
15755 if test -z "$defaultval"; then
15756 if test x"$enablestring" = xdisable; then
15757 defaultval=yes
15758 else
15759 defaultval=no
15760 fi
15761 fi
15762
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15764 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15765 # Check whether --enable-ico_cur was given.
15766 if test "${enable_ico_cur+set}" = set; then :
15767 enableval=$enable_ico_cur;
15768 if test "$enableval" = yes; then
15769 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15770 else
15771 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15772 fi
15773
15774 else
15775
15776 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15777
15778 fi
15779
15780
15781 eval "$wx_cv_use_ico_cur"
15782
15783 if test x"$enablestring" = xdisable; then
15784 if test $wxUSE_ICO_CUR = no; then
15785 result=yes
15786 else
15787 result=no
15788 fi
15789 else
15790 result=$wxUSE_ICO_CUR
15791 fi
15792
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15794 $as_echo "$result" >&6; }
15795
15796
15797
15798
15799 enablestring=
15800 defaultval=$wxUSE_ALL_FEATURES
15801 if test -z "$defaultval"; then
15802 if test x"$enablestring" = xdisable; then
15803 defaultval=yes
15804 else
15805 defaultval=no
15806 fi
15807 fi
15808
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15810 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15811 # Check whether --enable-dccache was given.
15812 if test "${enable_dccache+set}" = set; then :
15813 enableval=$enable_dccache;
15814 if test "$enableval" = yes; then
15815 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15816 else
15817 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15818 fi
15819
15820 else
15821
15822 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15823
15824 fi
15825
15826
15827 eval "$wx_cv_use_dccache"
15828
15829 if test x"$enablestring" = xdisable; then
15830 if test $wxUSE_DC_CACHEING = no; then
15831 result=yes
15832 else
15833 result=no
15834 fi
15835 else
15836 result=$wxUSE_DC_CACHEING
15837 fi
15838
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15840 $as_echo "$result" >&6; }
15841
15842
15843 enablestring=
15844 defaultval=$wxUSE_ALL_FEATURES
15845 if test -z "$defaultval"; then
15846 if test x"$enablestring" = xdisable; then
15847 defaultval=yes
15848 else
15849 defaultval=no
15850 fi
15851 fi
15852
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15854 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15855 # Check whether --enable-ps-in-msw was given.
15856 if test "${enable_ps_in_msw+set}" = set; then :
15857 enableval=$enable_ps_in_msw;
15858 if test "$enableval" = yes; then
15859 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15860 else
15861 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15862 fi
15863
15864 else
15865
15866 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15867
15868 fi
15869
15870
15871 eval "$wx_cv_use_ps_in_msw"
15872
15873 if test x"$enablestring" = xdisable; then
15874 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15875 result=yes
15876 else
15877 result=no
15878 fi
15879 else
15880 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15881 fi
15882
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15884 $as_echo "$result" >&6; }
15885
15886
15887 enablestring=
15888 defaultval=$wxUSE_ALL_FEATURES
15889 if test -z "$defaultval"; then
15890 if test x"$enablestring" = xdisable; then
15891 defaultval=yes
15892 else
15893 defaultval=no
15894 fi
15895 fi
15896
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15898 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15899 # Check whether --enable-ownerdrawn was given.
15900 if test "${enable_ownerdrawn+set}" = set; then :
15901 enableval=$enable_ownerdrawn;
15902 if test "$enableval" = yes; then
15903 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15904 else
15905 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15906 fi
15907
15908 else
15909
15910 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15911
15912 fi
15913
15914
15915 eval "$wx_cv_use_ownerdrawn"
15916
15917 if test x"$enablestring" = xdisable; then
15918 if test $wxUSE_OWNER_DRAWN = no; then
15919 result=yes
15920 else
15921 result=no
15922 fi
15923 else
15924 result=$wxUSE_OWNER_DRAWN
15925 fi
15926
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15928 $as_echo "$result" >&6; }
15929
15930
15931 enablestring=
15932 defaultval=$wxUSE_ALL_FEATURES
15933 if test -z "$defaultval"; then
15934 if test x"$enablestring" = xdisable; then
15935 defaultval=yes
15936 else
15937 defaultval=no
15938 fi
15939 fi
15940
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15942 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15943 # Check whether --enable-uxtheme was given.
15944 if test "${enable_uxtheme+set}" = set; then :
15945 enableval=$enable_uxtheme;
15946 if test "$enableval" = yes; then
15947 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15948 else
15949 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15950 fi
15951
15952 else
15953
15954 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15955
15956 fi
15957
15958
15959 eval "$wx_cv_use_uxtheme"
15960
15961 if test x"$enablestring" = xdisable; then
15962 if test $wxUSE_UXTHEME = no; then
15963 result=yes
15964 else
15965 result=no
15966 fi
15967 else
15968 result=$wxUSE_UXTHEME
15969 fi
15970
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15972 $as_echo "$result" >&6; }
15973
15974
15975 enablestring=
15976 defaultval=$wxUSE_ALL_FEATURES
15977 if test -z "$defaultval"; then
15978 if test x"$enablestring" = xdisable; then
15979 defaultval=yes
15980 else
15981 defaultval=no
15982 fi
15983 fi
15984
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15986 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15987 # Check whether --enable-wxdib was given.
15988 if test "${enable_wxdib+set}" = set; then :
15989 enableval=$enable_wxdib;
15990 if test "$enableval" = yes; then
15991 wx_cv_use_wxdib='wxUSE_DIB=yes'
15992 else
15993 wx_cv_use_wxdib='wxUSE_DIB=no'
15994 fi
15995
15996 else
15997
15998 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15999
16000 fi
16001
16002
16003 eval "$wx_cv_use_wxdib"
16004
16005 if test x"$enablestring" = xdisable; then
16006 if test $wxUSE_DIB = no; then
16007 result=yes
16008 else
16009 result=no
16010 fi
16011 else
16012 result=$wxUSE_DIB
16013 fi
16014
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16016 $as_echo "$result" >&6; }
16017
16018
16019 enablestring=
16020 defaultval=$wxUSE_ALL_FEATURES
16021 if test -z "$defaultval"; then
16022 if test x"$enablestring" = xdisable; then
16023 defaultval=yes
16024 else
16025 defaultval=no
16026 fi
16027 fi
16028
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16030 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16031 # Check whether --enable-webviewie was given.
16032 if test "${enable_webviewie+set}" = set; then :
16033 enableval=$enable_webviewie;
16034 if test "$enableval" = yes; then
16035 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16036 else
16037 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16038 fi
16039
16040 else
16041
16042 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16043
16044 fi
16045
16046
16047 eval "$wx_cv_use_webviewie"
16048
16049 if test x"$enablestring" = xdisable; then
16050 if test $wxUSE_WEBVIEW_IE = no; then
16051 result=yes
16052 else
16053 result=no
16054 fi
16055 else
16056 result=$wxUSE_WEBVIEW_IE
16057 fi
16058
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16060 $as_echo "$result" >&6; }
16061
16062
16063 if test "$wxUSE_MSW" != 1; then
16064 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16065 fi
16066
16067
16068 enablestring=
16069 defaultval=$wxUSE_ALL_FEATURES
16070 if test -z "$defaultval"; then
16071 if test x"$enablestring" = xdisable; then
16072 defaultval=yes
16073 else
16074 defaultval=no
16075 fi
16076 fi
16077
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16079 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16080 # Check whether --enable-autoidman was given.
16081 if test "${enable_autoidman+set}" = set; then :
16082 enableval=$enable_autoidman;
16083 if test "$enableval" = yes; then
16084 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16085 else
16086 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16087 fi
16088
16089 else
16090
16091 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16092
16093 fi
16094
16095
16096 eval "$wx_cv_use_autoidman"
16097
16098 if test x"$enablestring" = xdisable; then
16099 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16100 result=yes
16101 else
16102 result=no
16103 fi
16104 else
16105 result=$wxUSE_AUTOID_MANAGEMENT
16106 fi
16107
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16109 $as_echo "$result" >&6; }
16110
16111
16112 fi
16113
16114
16115 cat >confcache <<\_ACEOF
16116 # This file is a shell script that caches the results of configure
16117 # tests run on this system so they can be shared between configure
16118 # scripts and configure runs, see configure's option --config-cache.
16119 # It is not useful on other systems. If it contains results you don't
16120 # want to keep, you may remove or edit it.
16121 #
16122 # config.status only pays attention to the cache file if you give it
16123 # the --recheck option to rerun configure.
16124 #
16125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16127 # following values.
16128
16129 _ACEOF
16130
16131 # The following way of writing the cache mishandles newlines in values,
16132 # but we know of no workaround that is simple, portable, and efficient.
16133 # So, we kill variables containing newlines.
16134 # Ultrix sh set writes to stderr and can't be redirected directly,
16135 # and sets the high bit in the cache file unless we assign to the vars.
16136 (
16137 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16138 eval ac_val=\$$ac_var
16139 case $ac_val in #(
16140 *${as_nl}*)
16141 case $ac_var in #(
16142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16144 esac
16145 case $ac_var in #(
16146 _ | IFS | as_nl) ;; #(
16147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16148 *) { eval $ac_var=; unset $ac_var;} ;;
16149 esac ;;
16150 esac
16151 done
16152
16153 (set) 2>&1 |
16154 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16155 *${as_nl}ac_space=\ *)
16156 # `set' does not quote correctly, so add quotes: double-quote
16157 # substitution turns \\\\ into \\, and sed turns \\ into \.
16158 sed -n \
16159 "s/'/'\\\\''/g;
16160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16161 ;; #(
16162 *)
16163 # `set' quotes correctly as required by POSIX, so do not add quotes.
16164 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16165 ;;
16166 esac |
16167 sort
16168 ) |
16169 sed '
16170 /^ac_cv_env_/b end
16171 t clear
16172 :clear
16173 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16174 t end
16175 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16176 :end' >>confcache
16177 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16178 if test -w "$cache_file"; then
16179 if test "x$cache_file" != "x/dev/null"; then
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16181 $as_echo "$as_me: updating cache $cache_file" >&6;}
16182 if test ! -f "$cache_file" || test -h "$cache_file"; then
16183 cat confcache >"$cache_file"
16184 else
16185 case $cache_file in #(
16186 */* | ?:*)
16187 mv -f confcache "$cache_file"$$ &&
16188 mv -f "$cache_file"$$ "$cache_file" ;; #(
16189 *)
16190 mv -f confcache "$cache_file" ;;
16191 esac
16192 fi
16193 fi
16194 else
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16196 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16197 fi
16198 fi
16199 rm -f confcache
16200
16201 CFLAGS=${CFLAGS:=}
16202 ac_ext=c
16203 ac_cpp='$CPP $CPPFLAGS'
16204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16207 if test -n "$ac_tool_prefix"; then
16208 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16209 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16211 $as_echo_n "checking for $ac_word... " >&6; }
16212 if ${ac_cv_prog_CC+:} false; then :
16213 $as_echo_n "(cached) " >&6
16214 else
16215 if test -n "$CC"; then
16216 ac_cv_prog_CC="$CC" # Let the user override the test.
16217 else
16218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16219 for as_dir in $PATH
16220 do
16221 IFS=$as_save_IFS
16222 test -z "$as_dir" && as_dir=.
16223 for ac_exec_ext in '' $ac_executable_extensions; do
16224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16225 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16227 break 2
16228 fi
16229 done
16230 done
16231 IFS=$as_save_IFS
16232
16233 fi
16234 fi
16235 CC=$ac_cv_prog_CC
16236 if test -n "$CC"; then
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16238 $as_echo "$CC" >&6; }
16239 else
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16241 $as_echo "no" >&6; }
16242 fi
16243
16244
16245 fi
16246 if test -z "$ac_cv_prog_CC"; then
16247 ac_ct_CC=$CC
16248 # Extract the first word of "gcc", so it can be a program name with args.
16249 set dummy gcc; ac_word=$2
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16251 $as_echo_n "checking for $ac_word... " >&6; }
16252 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16253 $as_echo_n "(cached) " >&6
16254 else
16255 if test -n "$ac_ct_CC"; then
16256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16257 else
16258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16259 for as_dir in $PATH
16260 do
16261 IFS=$as_save_IFS
16262 test -z "$as_dir" && as_dir=.
16263 for ac_exec_ext in '' $ac_executable_extensions; do
16264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16265 ac_cv_prog_ac_ct_CC="gcc"
16266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16267 break 2
16268 fi
16269 done
16270 done
16271 IFS=$as_save_IFS
16272
16273 fi
16274 fi
16275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16276 if test -n "$ac_ct_CC"; then
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16278 $as_echo "$ac_ct_CC" >&6; }
16279 else
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16281 $as_echo "no" >&6; }
16282 fi
16283
16284 if test "x$ac_ct_CC" = x; then
16285 CC=""
16286 else
16287 case $cross_compiling:$ac_tool_warned in
16288 yes:)
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16291 ac_tool_warned=yes ;;
16292 esac
16293 CC=$ac_ct_CC
16294 fi
16295 else
16296 CC="$ac_cv_prog_CC"
16297 fi
16298
16299 if test -z "$CC"; then
16300 if test -n "$ac_tool_prefix"; then
16301 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16302 set dummy ${ac_tool_prefix}cc; ac_word=$2
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16304 $as_echo_n "checking for $ac_word... " >&6; }
16305 if ${ac_cv_prog_CC+:} false; then :
16306 $as_echo_n "(cached) " >&6
16307 else
16308 if test -n "$CC"; then
16309 ac_cv_prog_CC="$CC" # Let the user override the test.
16310 else
16311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16312 for as_dir in $PATH
16313 do
16314 IFS=$as_save_IFS
16315 test -z "$as_dir" && as_dir=.
16316 for ac_exec_ext in '' $ac_executable_extensions; do
16317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16318 ac_cv_prog_CC="${ac_tool_prefix}cc"
16319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16320 break 2
16321 fi
16322 done
16323 done
16324 IFS=$as_save_IFS
16325
16326 fi
16327 fi
16328 CC=$ac_cv_prog_CC
16329 if test -n "$CC"; then
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16331 $as_echo "$CC" >&6; }
16332 else
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16334 $as_echo "no" >&6; }
16335 fi
16336
16337
16338 fi
16339 fi
16340 if test -z "$CC"; then
16341 # Extract the first word of "cc", so it can be a program name with args.
16342 set dummy cc; ac_word=$2
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16344 $as_echo_n "checking for $ac_word... " >&6; }
16345 if ${ac_cv_prog_CC+:} false; then :
16346 $as_echo_n "(cached) " >&6
16347 else
16348 if test -n "$CC"; then
16349 ac_cv_prog_CC="$CC" # Let the user override the test.
16350 else
16351 ac_prog_rejected=no
16352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16353 for as_dir in $PATH
16354 do
16355 IFS=$as_save_IFS
16356 test -z "$as_dir" && as_dir=.
16357 for ac_exec_ext in '' $ac_executable_extensions; do
16358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16359 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16360 ac_prog_rejected=yes
16361 continue
16362 fi
16363 ac_cv_prog_CC="cc"
16364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16365 break 2
16366 fi
16367 done
16368 done
16369 IFS=$as_save_IFS
16370
16371 if test $ac_prog_rejected = yes; then
16372 # We found a bogon in the path, so make sure we never use it.
16373 set dummy $ac_cv_prog_CC
16374 shift
16375 if test $# != 0; then
16376 # We chose a different compiler from the bogus one.
16377 # However, it has the same basename, so the bogon will be chosen
16378 # first if we set CC to just the basename; use the full file name.
16379 shift
16380 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16381 fi
16382 fi
16383 fi
16384 fi
16385 CC=$ac_cv_prog_CC
16386 if test -n "$CC"; then
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16388 $as_echo "$CC" >&6; }
16389 else
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16391 $as_echo "no" >&6; }
16392 fi
16393
16394
16395 fi
16396 if test -z "$CC"; then
16397 if test -n "$ac_tool_prefix"; then
16398 for ac_prog in cl.exe
16399 do
16400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16403 $as_echo_n "checking for $ac_word... " >&6; }
16404 if ${ac_cv_prog_CC+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 if test -n "$CC"; then
16408 ac_cv_prog_CC="$CC" # Let the user override the test.
16409 else
16410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16411 for as_dir in $PATH
16412 do
16413 IFS=$as_save_IFS
16414 test -z "$as_dir" && as_dir=.
16415 for ac_exec_ext in '' $ac_executable_extensions; do
16416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16419 break 2
16420 fi
16421 done
16422 done
16423 IFS=$as_save_IFS
16424
16425 fi
16426 fi
16427 CC=$ac_cv_prog_CC
16428 if test -n "$CC"; then
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16430 $as_echo "$CC" >&6; }
16431 else
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16433 $as_echo "no" >&6; }
16434 fi
16435
16436
16437 test -n "$CC" && break
16438 done
16439 fi
16440 if test -z "$CC"; then
16441 ac_ct_CC=$CC
16442 for ac_prog in cl.exe
16443 do
16444 # Extract the first word of "$ac_prog", so it can be a program name with args.
16445 set dummy $ac_prog; ac_word=$2
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16447 $as_echo_n "checking for $ac_word... " >&6; }
16448 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 if test -n "$ac_ct_CC"; then
16452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16453 else
16454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16455 for as_dir in $PATH
16456 do
16457 IFS=$as_save_IFS
16458 test -z "$as_dir" && as_dir=.
16459 for ac_exec_ext in '' $ac_executable_extensions; do
16460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16461 ac_cv_prog_ac_ct_CC="$ac_prog"
16462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 break 2
16464 fi
16465 done
16466 done
16467 IFS=$as_save_IFS
16468
16469 fi
16470 fi
16471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16472 if test -n "$ac_ct_CC"; then
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16474 $as_echo "$ac_ct_CC" >&6; }
16475 else
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16477 $as_echo "no" >&6; }
16478 fi
16479
16480
16481 test -n "$ac_ct_CC" && break
16482 done
16483
16484 if test "x$ac_ct_CC" = x; then
16485 CC=""
16486 else
16487 case $cross_compiling:$ac_tool_warned in
16488 yes:)
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16491 ac_tool_warned=yes ;;
16492 esac
16493 CC=$ac_ct_CC
16494 fi
16495 fi
16496
16497 fi
16498
16499
16500 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16502 as_fn_error $? "no acceptable C compiler found in \$PATH
16503 See \`config.log' for more details" "$LINENO" 5; }
16504
16505 # Provide some information about the compiler.
16506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16507 set X $ac_compile
16508 ac_compiler=$2
16509 for ac_option in --version -v -V -qversion; do
16510 { { ac_try="$ac_compiler $ac_option >&5"
16511 case "(($ac_try" in
16512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16513 *) ac_try_echo=$ac_try;;
16514 esac
16515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16516 $as_echo "$ac_try_echo"; } >&5
16517 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16518 ac_status=$?
16519 if test -s conftest.err; then
16520 sed '10a\
16521 ... rest of stderr output deleted ...
16522 10q' conftest.err >conftest.er1
16523 cat conftest.er1 >&5
16524 fi
16525 rm -f conftest.er1 conftest.err
16526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16527 test $ac_status = 0; }
16528 done
16529
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532
16533 int
16534 main ()
16535 {
16536
16537 ;
16538 return 0;
16539 }
16540 _ACEOF
16541 ac_clean_files_save=$ac_clean_files
16542 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16543 # Try to create an executable without -o first, disregard a.out.
16544 # It will help us diagnose broken compilers, and finding out an intuition
16545 # of exeext.
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16547 $as_echo_n "checking whether the C compiler works... " >&6; }
16548 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16549
16550 # The possible output files:
16551 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16552
16553 ac_rmfiles=
16554 for ac_file in $ac_files
16555 do
16556 case $ac_file in
16557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16558 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16559 esac
16560 done
16561 rm -f $ac_rmfiles
16562
16563 if { { ac_try="$ac_link_default"
16564 case "(($ac_try" in
16565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16566 *) ac_try_echo=$ac_try;;
16567 esac
16568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16569 $as_echo "$ac_try_echo"; } >&5
16570 (eval "$ac_link_default") 2>&5
16571 ac_status=$?
16572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16573 test $ac_status = 0; }; then :
16574 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16575 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16576 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16577 # so that the user can short-circuit this test for compilers unknown to
16578 # Autoconf.
16579 for ac_file in $ac_files ''
16580 do
16581 test -f "$ac_file" || continue
16582 case $ac_file in
16583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16584 ;;
16585 [ab].out )
16586 # We found the default executable, but exeext='' is most
16587 # certainly right.
16588 break;;
16589 *.* )
16590 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16591 then :; else
16592 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16593 fi
16594 # We set ac_cv_exeext here because the later test for it is not
16595 # safe: cross compilers may not add the suffix if given an `-o'
16596 # argument, so we may need to know it at that point already.
16597 # Even if this section looks crufty: it has the advantage of
16598 # actually working.
16599 break;;
16600 * )
16601 break;;
16602 esac
16603 done
16604 test "$ac_cv_exeext" = no && ac_cv_exeext=
16605
16606 else
16607 ac_file=''
16608 fi
16609 if test -z "$ac_file"; then :
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16611 $as_echo "no" >&6; }
16612 $as_echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.$ac_ext >&5
16614
16615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16617 as_fn_error 77 "C compiler cannot create executables
16618 See \`config.log' for more details" "$LINENO" 5; }
16619 else
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16621 $as_echo "yes" >&6; }
16622 fi
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16624 $as_echo_n "checking for C compiler default output file name... " >&6; }
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16626 $as_echo "$ac_file" >&6; }
16627 ac_exeext=$ac_cv_exeext
16628
16629 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16630 ac_clean_files=$ac_clean_files_save
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16632 $as_echo_n "checking for suffix of executables... " >&6; }
16633 if { { ac_try="$ac_link"
16634 case "(($ac_try" in
16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16636 *) ac_try_echo=$ac_try;;
16637 esac
16638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16639 $as_echo "$ac_try_echo"; } >&5
16640 (eval "$ac_link") 2>&5
16641 ac_status=$?
16642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16643 test $ac_status = 0; }; then :
16644 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16645 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16646 # work properly (i.e., refer to `conftest.exe'), while it won't with
16647 # `rm'.
16648 for ac_file in conftest.exe conftest conftest.*; do
16649 test -f "$ac_file" || continue
16650 case $ac_file in
16651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16652 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16653 break;;
16654 * ) break;;
16655 esac
16656 done
16657 else
16658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16660 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16661 See \`config.log' for more details" "$LINENO" 5; }
16662 fi
16663 rm -f conftest conftest$ac_cv_exeext
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16665 $as_echo "$ac_cv_exeext" >&6; }
16666
16667 rm -f conftest.$ac_ext
16668 EXEEXT=$ac_cv_exeext
16669 ac_exeext=$EXEEXT
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16672 #include <stdio.h>
16673 int
16674 main ()
16675 {
16676 FILE *f = fopen ("conftest.out", "w");
16677 return ferror (f) || fclose (f) != 0;
16678
16679 ;
16680 return 0;
16681 }
16682 _ACEOF
16683 ac_clean_files="$ac_clean_files conftest.out"
16684 # Check that the compiler produces executables we can run. If not, either
16685 # the compiler is broken, or we cross compile.
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16687 $as_echo_n "checking whether we are cross compiling... " >&6; }
16688 if test "$cross_compiling" != yes; then
16689 { { ac_try="$ac_link"
16690 case "(($ac_try" in
16691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16692 *) ac_try_echo=$ac_try;;
16693 esac
16694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16695 $as_echo "$ac_try_echo"; } >&5
16696 (eval "$ac_link") 2>&5
16697 ac_status=$?
16698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16699 test $ac_status = 0; }
16700 if { ac_try='./conftest$ac_cv_exeext'
16701 { { case "(($ac_try" in
16702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703 *) ac_try_echo=$ac_try;;
16704 esac
16705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16706 $as_echo "$ac_try_echo"; } >&5
16707 (eval "$ac_try") 2>&5
16708 ac_status=$?
16709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16710 test $ac_status = 0; }; }; then
16711 cross_compiling=no
16712 else
16713 if test "$cross_compiling" = maybe; then
16714 cross_compiling=yes
16715 else
16716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16718 as_fn_error $? "cannot run C compiled programs.
16719 If you meant to cross compile, use \`--host'.
16720 See \`config.log' for more details" "$LINENO" 5; }
16721 fi
16722 fi
16723 fi
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16725 $as_echo "$cross_compiling" >&6; }
16726
16727 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16728 ac_clean_files=$ac_clean_files_save
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16730 $as_echo_n "checking for suffix of object files... " >&6; }
16731 if ${ac_cv_objext+:} false; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736
16737 int
16738 main ()
16739 {
16740
16741 ;
16742 return 0;
16743 }
16744 _ACEOF
16745 rm -f conftest.o conftest.obj
16746 if { { ac_try="$ac_compile"
16747 case "(($ac_try" in
16748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16749 *) ac_try_echo=$ac_try;;
16750 esac
16751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16752 $as_echo "$ac_try_echo"; } >&5
16753 (eval "$ac_compile") 2>&5
16754 ac_status=$?
16755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16756 test $ac_status = 0; }; then :
16757 for ac_file in conftest.o conftest.obj conftest.*; do
16758 test -f "$ac_file" || continue;
16759 case $ac_file in
16760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16761 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16762 break;;
16763 esac
16764 done
16765 else
16766 $as_echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16768
16769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16771 as_fn_error $? "cannot compute suffix of object files: cannot compile
16772 See \`config.log' for more details" "$LINENO" 5; }
16773 fi
16774 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16775 fi
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16777 $as_echo "$ac_cv_objext" >&6; }
16778 OBJEXT=$ac_cv_objext
16779 ac_objext=$OBJEXT
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16781 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16782 if ${ac_cv_c_compiler_gnu+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16787
16788 int
16789 main ()
16790 {
16791 #ifndef __GNUC__
16792 choke me
16793 #endif
16794
16795 ;
16796 return 0;
16797 }
16798 _ACEOF
16799 if ac_fn_c_try_compile "$LINENO"; then :
16800 ac_compiler_gnu=yes
16801 else
16802 ac_compiler_gnu=no
16803 fi
16804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16806
16807 fi
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16809 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16810 if test $ac_compiler_gnu = yes; then
16811 GCC=yes
16812 else
16813 GCC=
16814 fi
16815 ac_test_CFLAGS=${CFLAGS+set}
16816 ac_save_CFLAGS=$CFLAGS
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16818 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16819 if ${ac_cv_prog_cc_g+:} false; then :
16820 $as_echo_n "(cached) " >&6
16821 else
16822 ac_save_c_werror_flag=$ac_c_werror_flag
16823 ac_c_werror_flag=yes
16824 ac_cv_prog_cc_g=no
16825 CFLAGS="-g"
16826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16828
16829 int
16830 main ()
16831 {
16832
16833 ;
16834 return 0;
16835 }
16836 _ACEOF
16837 if ac_fn_c_try_compile "$LINENO"; then :
16838 ac_cv_prog_cc_g=yes
16839 else
16840 CFLAGS=""
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16843
16844 int
16845 main ()
16846 {
16847
16848 ;
16849 return 0;
16850 }
16851 _ACEOF
16852 if ac_fn_c_try_compile "$LINENO"; then :
16853
16854 else
16855 ac_c_werror_flag=$ac_save_c_werror_flag
16856 CFLAGS="-g"
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16859
16860 int
16861 main ()
16862 {
16863
16864 ;
16865 return 0;
16866 }
16867 _ACEOF
16868 if ac_fn_c_try_compile "$LINENO"; then :
16869 ac_cv_prog_cc_g=yes
16870 fi
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 fi
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 fi
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 ac_c_werror_flag=$ac_save_c_werror_flag
16877 fi
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16879 $as_echo "$ac_cv_prog_cc_g" >&6; }
16880 if test "$ac_test_CFLAGS" = set; then
16881 CFLAGS=$ac_save_CFLAGS
16882 elif test $ac_cv_prog_cc_g = yes; then
16883 if test "$GCC" = yes; then
16884 CFLAGS="-g -O2"
16885 else
16886 CFLAGS="-g"
16887 fi
16888 else
16889 if test "$GCC" = yes; then
16890 CFLAGS="-O2"
16891 else
16892 CFLAGS=
16893 fi
16894 fi
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16896 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16897 if ${ac_cv_prog_cc_c89+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 ac_cv_prog_cc_c89=no
16901 ac_save_CC=$CC
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <stdarg.h>
16905 #include <stdio.h>
16906 #include <sys/types.h>
16907 #include <sys/stat.h>
16908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16909 struct buf { int x; };
16910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16911 static char *e (p, i)
16912 char **p;
16913 int i;
16914 {
16915 return p[i];
16916 }
16917 static char *f (char * (*g) (char **, int), char **p, ...)
16918 {
16919 char *s;
16920 va_list v;
16921 va_start (v,p);
16922 s = g (p, va_arg (v,int));
16923 va_end (v);
16924 return s;
16925 }
16926
16927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16928 function prototypes and stuff, but not '\xHH' hex character constants.
16929 These don't provoke an error unfortunately, instead are silently treated
16930 as 'x'. The following induces an error, until -std is added to get
16931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16932 array size at least. It's necessary to write '\x00'==0 to get something
16933 that's true only with -std. */
16934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16935
16936 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16937 inside strings and character constants. */
16938 #define FOO(x) 'x'
16939 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16940
16941 int test (int i, double x);
16942 struct s1 {int (*f) (int a);};
16943 struct s2 {int (*f) (double a);};
16944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16945 int argc;
16946 char **argv;
16947 int
16948 main ()
16949 {
16950 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16951 ;
16952 return 0;
16953 }
16954 _ACEOF
16955 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16956 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16957 do
16958 CC="$ac_save_CC $ac_arg"
16959 if ac_fn_c_try_compile "$LINENO"; then :
16960 ac_cv_prog_cc_c89=$ac_arg
16961 fi
16962 rm -f core conftest.err conftest.$ac_objext
16963 test "x$ac_cv_prog_cc_c89" != "xno" && break
16964 done
16965 rm -f conftest.$ac_ext
16966 CC=$ac_save_CC
16967
16968 fi
16969 # AC_CACHE_VAL
16970 case "x$ac_cv_prog_cc_c89" in
16971 x)
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16973 $as_echo "none needed" >&6; } ;;
16974 xno)
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16976 $as_echo "unsupported" >&6; } ;;
16977 *)
16978 CC="$CC $ac_cv_prog_cc_c89"
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16980 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16981 esac
16982 if test "x$ac_cv_prog_cc_c89" != xno; then :
16983
16984 fi
16985
16986 ac_ext=c
16987 ac_cpp='$CPP $CPPFLAGS'
16988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16991
16992
16993
16994
16995
16996
16997
16998
16999 ac_ext=c
17000 ac_cpp='$CPP $CPPFLAGS'
17001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17004
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17006 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17007 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012
17013 int
17014 main ()
17015 {
17016
17017 #ifndef __INTEL_COMPILER
17018 choke me
17019 #endif
17020
17021 ;
17022 return 0;
17023 }
17024 _ACEOF
17025 if ac_fn_c_try_compile "$LINENO"; then :
17026 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17027 else
17028 bakefile_cv_c_compiler___INTEL_COMPILER=no
17029
17030 fi
17031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032
17033
17034 fi
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17036 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17037 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17038 :; INTELCC=yes
17039 else
17040 :;
17041 fi
17042 ac_ext=c
17043 ac_cpp='$CPP $CPPFLAGS'
17044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17047
17048
17049
17050
17051 if test "$INTELCC" = "yes"; then
17052
17053
17054 ac_ext=c
17055 ac_cpp='$CPP $CPPFLAGS'
17056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17061 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17062 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17063 $as_echo_n "(cached) " >&6
17064 else
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067
17068 int
17069 main ()
17070 {
17071
17072 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17073 choke me
17074 #endif
17075
17076 ;
17077 return 0;
17078 }
17079 _ACEOF
17080 if ac_fn_c_try_compile "$LINENO"; then :
17081 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17082 else
17083 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17084
17085 fi
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087
17088
17089 fi
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17091 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17092 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17093 :; INTELCC8=yes
17094 else
17095 :;
17096 fi
17097 ac_ext=c
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17102
17103
17104
17105
17106
17107 ac_ext=c
17108 ac_cpp='$CPP $CPPFLAGS'
17109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17112
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17114 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17115 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120
17121 int
17122 main ()
17123 {
17124
17125 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17126 choke me
17127 #endif
17128
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 if ac_fn_c_try_compile "$LINENO"; then :
17134 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17135 else
17136 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17137
17138 fi
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140
17141
17142 fi
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17144 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17145 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17146 :; INTELCC10=yes
17147 else
17148 :;
17149 fi
17150 ac_ext=c
17151 ac_cpp='$CPP $CPPFLAGS'
17152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17155
17156
17157
17158 fi
17159
17160 if test "x$GCC" != "xyes"; then
17161 if test "xCC" = "xC"; then
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17163 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17164 if ${bakefile_cv_c_exto+:} false; then :
17165 $as_echo_n "(cached) " >&6
17166 else
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17169
17170 int
17171 main ()
17172 {
17173
17174 ;
17175 return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.$ac_objext conftest.$ac_ext.o
17179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17180 (eval $ac_compile) 2>&5
17181 ac_status=$?
17182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17183 test $ac_status = 0; }; then :
17184 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17185 case $ac_file in
17186 conftest.$ac_ext.o)
17187 bakefile_cv_c_exto="-ext o"
17188 ;;
17189 *)
17190 ;;
17191 esac
17192 done
17193 else
17194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17196 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17197 See \`config.log' for more details" "$LINENO" 5; }
17198
17199 fi
17200 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17201
17202 fi
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17204 $as_echo "$bakefile_cv_c_exto" >&6; }
17205 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17206 if test "c" = "c"; then
17207 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17208 fi
17209 if test "c" = "cxx"; then
17210 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17211 fi
17212 fi
17213
17214 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17215 unset ac_cv_prog_cc_g
17216 ac_test_CFLAGS=${CFLAGS+set}
17217 ac_save_CFLAGS=$CFLAGS
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17219 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17220 if ${ac_cv_prog_cc_g+:} false; then :
17221 $as_echo_n "(cached) " >&6
17222 else
17223 ac_save_c_werror_flag=$ac_c_werror_flag
17224 ac_c_werror_flag=yes
17225 ac_cv_prog_cc_g=no
17226 CFLAGS="-g"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229
17230 int
17231 main ()
17232 {
17233
17234 ;
17235 return 0;
17236 }
17237 _ACEOF
17238 if ac_fn_c_try_compile "$LINENO"; then :
17239 ac_cv_prog_cc_g=yes
17240 else
17241 CFLAGS=""
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 if ac_fn_c_try_compile "$LINENO"; then :
17254
17255 else
17256 ac_c_werror_flag=$ac_save_c_werror_flag
17257 CFLAGS="-g"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260
17261 int
17262 main ()
17263 {
17264
17265 ;
17266 return 0;
17267 }
17268 _ACEOF
17269 if ac_fn_c_try_compile "$LINENO"; then :
17270 ac_cv_prog_cc_g=yes
17271 fi
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273 fi
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 fi
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277 ac_c_werror_flag=$ac_save_c_werror_flag
17278 fi
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17280 $as_echo "$ac_cv_prog_cc_g" >&6; }
17281 if test "$ac_test_CFLAGS" = set; then
17282 CFLAGS=$ac_save_CFLAGS
17283 elif test $ac_cv_prog_cc_g = yes; then
17284 if test "$GCC" = yes; then
17285 CFLAGS="-g -O2"
17286 else
17287 CFLAGS="-g"
17288 fi
17289 else
17290 if test "$GCC" = yes; then
17291 CFLAGS="-O2"
17292 else
17293 CFLAGS=
17294 fi
17295 fi
17296 fi
17297 fi
17298
17299 case `uname -s` in
17300 AIX*)
17301
17302
17303 ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17310 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17311 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316
17317 int
17318 main ()
17319 {
17320
17321 #ifndef __xlC__
17322 choke me
17323 #endif
17324
17325 ;
17326 return 0;
17327 }
17328 _ACEOF
17329 if ac_fn_c_try_compile "$LINENO"; then :
17330 bakefile_cv_c_compiler___xlC__=yes
17331 else
17332 bakefile_cv_c_compiler___xlC__=no
17333
17334 fi
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336
17337
17338 fi
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17340 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17341 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17342 :; XLCC=yes
17343 else
17344 :;
17345 fi
17346 ac_ext=c
17347 ac_cpp='$CPP $CPPFLAGS'
17348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17351
17352
17353
17354 ;;
17355
17356 Darwin)
17357
17358
17359 ac_ext=c
17360 ac_cpp='$CPP $CPPFLAGS'
17361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17364
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17366 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17367 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17368 $as_echo_n "(cached) " >&6
17369 else
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17372
17373 int
17374 main ()
17375 {
17376
17377 #ifndef __MWERKS__
17378 choke me
17379 #endif
17380
17381 ;
17382 return 0;
17383 }
17384 _ACEOF
17385 if ac_fn_c_try_compile "$LINENO"; then :
17386 bakefile_cv_c_compiler___MWERKS__=yes
17387 else
17388 bakefile_cv_c_compiler___MWERKS__=no
17389
17390 fi
17391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17392
17393
17394 fi
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17396 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17397 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17398 :; MWCC=yes
17399 else
17400 :;
17401 fi
17402 ac_ext=c
17403 ac_cpp='$CPP $CPPFLAGS'
17404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17407
17408
17409
17410 if test "$MWCC" != "yes"; then
17411
17412
17413 ac_ext=c
17414 ac_cpp='$CPP $CPPFLAGS'
17415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17418
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17420 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17421 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426
17427 int
17428 main ()
17429 {
17430
17431 #ifndef __xlC__
17432 choke me
17433 #endif
17434
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 if ac_fn_c_try_compile "$LINENO"; then :
17440 bakefile_cv_c_compiler___xlC__=yes
17441 else
17442 bakefile_cv_c_compiler___xlC__=no
17443
17444 fi
17445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17446
17447
17448 fi
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17450 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17451 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17452 :; XLCC=yes
17453 else
17454 :;
17455 fi
17456 ac_ext=c
17457 ac_cpp='$CPP $CPPFLAGS'
17458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17461
17462
17463
17464 fi
17465 ;;
17466
17467 IRIX*)
17468
17469
17470 ac_ext=c
17471 ac_cpp='$CPP $CPPFLAGS'
17472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17475
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17477 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17478 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483
17484 int
17485 main ()
17486 {
17487
17488 #ifndef _SGI_COMPILER_VERSION
17489 choke me
17490 #endif
17491
17492 ;
17493 return 0;
17494 }
17495 _ACEOF
17496 if ac_fn_c_try_compile "$LINENO"; then :
17497 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17498 else
17499 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17500
17501 fi
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503
17504
17505 fi
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17507 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17508 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17509 :; SGICC=yes
17510 else
17511 :;
17512 fi
17513 ac_ext=c
17514 ac_cpp='$CPP $CPPFLAGS'
17515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518
17519
17520
17521 ;;
17522
17523 Linux*)
17524 if test "$INTELCC" != "yes"; then
17525
17526
17527 ac_ext=c
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17532
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17534 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17535 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17540
17541 int
17542 main ()
17543 {
17544
17545 #ifndef __SUNPRO_C
17546 choke me
17547 #endif
17548
17549 ;
17550 return 0;
17551 }
17552 _ACEOF
17553 if ac_fn_c_try_compile "$LINENO"; then :
17554 bakefile_cv_c_compiler___SUNPRO_C=yes
17555 else
17556 bakefile_cv_c_compiler___SUNPRO_C=no
17557
17558 fi
17559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560
17561
17562 fi
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17564 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17565 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17566 :; SUNCC=yes
17567 else
17568 :;
17569 fi
17570 ac_ext=c
17571 ac_cpp='$CPP $CPPFLAGS'
17572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17575
17576
17577
17578 fi
17579 ;;
17580
17581 HP-UX*)
17582
17583
17584 ac_ext=c
17585 ac_cpp='$CPP $CPPFLAGS'
17586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17589
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17591 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17592 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17593 $as_echo_n "(cached) " >&6
17594 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597
17598 int
17599 main ()
17600 {
17601
17602 #ifndef __HP_cc
17603 choke me
17604 #endif
17605
17606 ;
17607 return 0;
17608 }
17609 _ACEOF
17610 if ac_fn_c_try_compile "$LINENO"; then :
17611 bakefile_cv_c_compiler___HP_cc=yes
17612 else
17613 bakefile_cv_c_compiler___HP_cc=no
17614
17615 fi
17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617
17618
17619 fi
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17621 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17622 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17623 :; HPCC=yes
17624 else
17625 :;
17626 fi
17627 ac_ext=c
17628 ac_cpp='$CPP $CPPFLAGS'
17629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17632
17633
17634
17635 ;;
17636
17637 OSF1)
17638
17639
17640 ac_ext=c
17641 ac_cpp='$CPP $CPPFLAGS'
17642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17645
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17647 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17648 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17649 $as_echo_n "(cached) " >&6
17650 else
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17653
17654 int
17655 main ()
17656 {
17657
17658 #ifndef __DECC
17659 choke me
17660 #endif
17661
17662 ;
17663 return 0;
17664 }
17665 _ACEOF
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 bakefile_cv_c_compiler___DECC=yes
17668 else
17669 bakefile_cv_c_compiler___DECC=no
17670
17671 fi
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673
17674
17675 fi
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17677 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17678 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17679 :; COMPAQCC=yes
17680 else
17681 :;
17682 fi
17683 ac_ext=c
17684 ac_cpp='$CPP $CPPFLAGS'
17685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17688
17689
17690
17691 ;;
17692
17693 SunOS)
17694
17695
17696 ac_ext=c
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17703 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17704 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17705 $as_echo_n "(cached) " >&6
17706 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709
17710 int
17711 main ()
17712 {
17713
17714 #ifndef __SUNPRO_C
17715 choke me
17716 #endif
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 if ac_fn_c_try_compile "$LINENO"; then :
17723 bakefile_cv_c_compiler___SUNPRO_C=yes
17724 else
17725 bakefile_cv_c_compiler___SUNPRO_C=no
17726
17727 fi
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17733 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17734 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17735 :; SUNCC=yes
17736 else
17737 :;
17738 fi
17739 ac_ext=c
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17744
17745
17746
17747 ;;
17748 esac
17749 fi
17750
17751
17752
17753 ac_ext=c
17754 ac_cpp='$CPP $CPPFLAGS'
17755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17759 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17760 # On Suns, sometimes $CPP names a directory.
17761 if test -n "$CPP" && test -d "$CPP"; then
17762 CPP=
17763 fi
17764 if test -z "$CPP"; then
17765 if ${ac_cv_prog_CPP+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 # Double quotes because CPP needs to be expanded
17769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17770 do
17771 ac_preproc_ok=false
17772 for ac_c_preproc_warn_flag in '' yes
17773 do
17774 # Use a header file that comes with gcc, so configuring glibc
17775 # with a fresh cross-compiler works.
17776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17777 # <limits.h> exists even on freestanding compilers.
17778 # On the NeXT, cc -E runs the code through the compiler's parser,
17779 # not just through cpp. "Syntax error" is here to catch this case.
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17782 #ifdef __STDC__
17783 # include <limits.h>
17784 #else
17785 # include <assert.h>
17786 #endif
17787 Syntax error
17788 _ACEOF
17789 if ac_fn_c_try_cpp "$LINENO"; then :
17790
17791 else
17792 # Broken: fails on valid input.
17793 continue
17794 fi
17795 rm -f conftest.err conftest.i conftest.$ac_ext
17796
17797 # OK, works on sane cases. Now check whether nonexistent headers
17798 # can be detected and how.
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 #include <ac_nonexistent.h>
17802 _ACEOF
17803 if ac_fn_c_try_cpp "$LINENO"; then :
17804 # Broken: success on invalid input.
17805 continue
17806 else
17807 # Passes both tests.
17808 ac_preproc_ok=:
17809 break
17810 fi
17811 rm -f conftest.err conftest.i conftest.$ac_ext
17812
17813 done
17814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17815 rm -f conftest.i conftest.err conftest.$ac_ext
17816 if $ac_preproc_ok; then :
17817 break
17818 fi
17819
17820 done
17821 ac_cv_prog_CPP=$CPP
17822
17823 fi
17824 CPP=$ac_cv_prog_CPP
17825 else
17826 ac_cv_prog_CPP=$CPP
17827 fi
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17829 $as_echo "$CPP" >&6; }
17830 ac_preproc_ok=false
17831 for ac_c_preproc_warn_flag in '' yes
17832 do
17833 # Use a header file that comes with gcc, so configuring glibc
17834 # with a fresh cross-compiler works.
17835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17836 # <limits.h> exists even on freestanding compilers.
17837 # On the NeXT, cc -E runs the code through the compiler's parser,
17838 # not just through cpp. "Syntax error" is here to catch this case.
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #ifdef __STDC__
17842 # include <limits.h>
17843 #else
17844 # include <assert.h>
17845 #endif
17846 Syntax error
17847 _ACEOF
17848 if ac_fn_c_try_cpp "$LINENO"; then :
17849
17850 else
17851 # Broken: fails on valid input.
17852 continue
17853 fi
17854 rm -f conftest.err conftest.i conftest.$ac_ext
17855
17856 # OK, works on sane cases. Now check whether nonexistent headers
17857 # can be detected and how.
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <ac_nonexistent.h>
17861 _ACEOF
17862 if ac_fn_c_try_cpp "$LINENO"; then :
17863 # Broken: success on invalid input.
17864 continue
17865 else
17866 # Passes both tests.
17867 ac_preproc_ok=:
17868 break
17869 fi
17870 rm -f conftest.err conftest.i conftest.$ac_ext
17871
17872 done
17873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17874 rm -f conftest.i conftest.err conftest.$ac_ext
17875 if $ac_preproc_ok; then :
17876
17877 else
17878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17880 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17881 See \`config.log' for more details" "$LINENO" 5; }
17882 fi
17883
17884 ac_ext=c
17885 ac_cpp='$CPP $CPPFLAGS'
17886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17889
17890
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17892 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17893 if ${ac_cv_path_GREP+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896 if test -z "$GREP"; then
17897 ac_path_GREP_found=false
17898 # Loop through the user's path and test for each of PROGNAME-LIST
17899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17900 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17901 do
17902 IFS=$as_save_IFS
17903 test -z "$as_dir" && as_dir=.
17904 for ac_prog in grep ggrep; do
17905 for ac_exec_ext in '' $ac_executable_extensions; do
17906 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17907 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17908 # Check for GNU ac_path_GREP and select it if it is found.
17909 # Check for GNU $ac_path_GREP
17910 case `"$ac_path_GREP" --version 2>&1` in
17911 *GNU*)
17912 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17913 *)
17914 ac_count=0
17915 $as_echo_n 0123456789 >"conftest.in"
17916 while :
17917 do
17918 cat "conftest.in" "conftest.in" >"conftest.tmp"
17919 mv "conftest.tmp" "conftest.in"
17920 cp "conftest.in" "conftest.nl"
17921 $as_echo 'GREP' >> "conftest.nl"
17922 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17923 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17924 as_fn_arith $ac_count + 1 && ac_count=$as_val
17925 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17926 # Best one so far, save it but keep looking for a better one
17927 ac_cv_path_GREP="$ac_path_GREP"
17928 ac_path_GREP_max=$ac_count
17929 fi
17930 # 10*(2^10) chars as input seems more than enough
17931 test $ac_count -gt 10 && break
17932 done
17933 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17934 esac
17935
17936 $ac_path_GREP_found && break 3
17937 done
17938 done
17939 done
17940 IFS=$as_save_IFS
17941 if test -z "$ac_cv_path_GREP"; then
17942 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17943 fi
17944 else
17945 ac_cv_path_GREP=$GREP
17946 fi
17947
17948 fi
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17950 $as_echo "$ac_cv_path_GREP" >&6; }
17951 GREP="$ac_cv_path_GREP"
17952
17953
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17955 $as_echo_n "checking for egrep... " >&6; }
17956 if ${ac_cv_path_EGREP+:} false; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17959 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17960 then ac_cv_path_EGREP="$GREP -E"
17961 else
17962 if test -z "$EGREP"; then
17963 ac_path_EGREP_found=false
17964 # Loop through the user's path and test for each of PROGNAME-LIST
17965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17967 do
17968 IFS=$as_save_IFS
17969 test -z "$as_dir" && as_dir=.
17970 for ac_prog in egrep; do
17971 for ac_exec_ext in '' $ac_executable_extensions; do
17972 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17973 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17974 # Check for GNU ac_path_EGREP and select it if it is found.
17975 # Check for GNU $ac_path_EGREP
17976 case `"$ac_path_EGREP" --version 2>&1` in
17977 *GNU*)
17978 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17979 *)
17980 ac_count=0
17981 $as_echo_n 0123456789 >"conftest.in"
17982 while :
17983 do
17984 cat "conftest.in" "conftest.in" >"conftest.tmp"
17985 mv "conftest.tmp" "conftest.in"
17986 cp "conftest.in" "conftest.nl"
17987 $as_echo 'EGREP' >> "conftest.nl"
17988 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17990 as_fn_arith $ac_count + 1 && ac_count=$as_val
17991 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17992 # Best one so far, save it but keep looking for a better one
17993 ac_cv_path_EGREP="$ac_path_EGREP"
17994 ac_path_EGREP_max=$ac_count
17995 fi
17996 # 10*(2^10) chars as input seems more than enough
17997 test $ac_count -gt 10 && break
17998 done
17999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18000 esac
18001
18002 $ac_path_EGREP_found && break 3
18003 done
18004 done
18005 done
18006 IFS=$as_save_IFS
18007 if test -z "$ac_cv_path_EGREP"; then
18008 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18009 fi
18010 else
18011 ac_cv_path_EGREP=$EGREP
18012 fi
18013
18014 fi
18015 fi
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18017 $as_echo "$ac_cv_path_EGREP" >&6; }
18018 EGREP="$ac_cv_path_EGREP"
18019
18020
18021 if test $ac_cv_c_compiler_gnu = yes; then
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18023 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18024 if ${ac_cv_prog_gcc_traditional+:} false; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18027 ac_pattern="Autoconf.*'x'"
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18030 #include <sgtty.h>
18031 Autoconf TIOCGETP
18032 _ACEOF
18033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18034 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18035 ac_cv_prog_gcc_traditional=yes
18036 else
18037 ac_cv_prog_gcc_traditional=no
18038 fi
18039 rm -f conftest*
18040
18041
18042 if test $ac_cv_prog_gcc_traditional = no; then
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18045 #include <termio.h>
18046 Autoconf TCGETA
18047 _ACEOF
18048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18049 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18050 ac_cv_prog_gcc_traditional=yes
18051 fi
18052 rm -f conftest*
18053
18054 fi
18055 fi
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18057 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18058 if test $ac_cv_prog_gcc_traditional = yes; then
18059 CC="$CC -traditional"
18060 fi
18061 fi
18062
18063
18064 CXXFLAGS=${CXXFLAGS:=}
18065 ac_ext=cpp
18066 ac_cpp='$CXXCPP $CPPFLAGS'
18067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18070 if test -z "$CXX"; then
18071 if test -n "$CCC"; then
18072 CXX=$CCC
18073 else
18074 if test -n "$ac_tool_prefix"; then
18075 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18076 do
18077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18080 $as_echo_n "checking for $ac_word... " >&6; }
18081 if ${ac_cv_prog_CXX+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18084 if test -n "$CXX"; then
18085 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18086 else
18087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18088 for as_dir in $PATH
18089 do
18090 IFS=$as_save_IFS
18091 test -z "$as_dir" && as_dir=.
18092 for ac_exec_ext in '' $ac_executable_extensions; do
18093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18094 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18096 break 2
18097 fi
18098 done
18099 done
18100 IFS=$as_save_IFS
18101
18102 fi
18103 fi
18104 CXX=$ac_cv_prog_CXX
18105 if test -n "$CXX"; then
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18107 $as_echo "$CXX" >&6; }
18108 else
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18110 $as_echo "no" >&6; }
18111 fi
18112
18113
18114 test -n "$CXX" && break
18115 done
18116 fi
18117 if test -z "$CXX"; then
18118 ac_ct_CXX=$CXX
18119 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18120 do
18121 # Extract the first word of "$ac_prog", so it can be a program name with args.
18122 set dummy $ac_prog; ac_word=$2
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18124 $as_echo_n "checking for $ac_word... " >&6; }
18125 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18128 if test -n "$ac_ct_CXX"; then
18129 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18130 else
18131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18132 for as_dir in $PATH
18133 do
18134 IFS=$as_save_IFS
18135 test -z "$as_dir" && as_dir=.
18136 for ac_exec_ext in '' $ac_executable_extensions; do
18137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18138 ac_cv_prog_ac_ct_CXX="$ac_prog"
18139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18140 break 2
18141 fi
18142 done
18143 done
18144 IFS=$as_save_IFS
18145
18146 fi
18147 fi
18148 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18149 if test -n "$ac_ct_CXX"; then
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18151 $as_echo "$ac_ct_CXX" >&6; }
18152 else
18153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18154 $as_echo "no" >&6; }
18155 fi
18156
18157
18158 test -n "$ac_ct_CXX" && break
18159 done
18160
18161 if test "x$ac_ct_CXX" = x; then
18162 CXX="g++"
18163 else
18164 case $cross_compiling:$ac_tool_warned in
18165 yes:)
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18168 ac_tool_warned=yes ;;
18169 esac
18170 CXX=$ac_ct_CXX
18171 fi
18172 fi
18173
18174 fi
18175 fi
18176 # Provide some information about the compiler.
18177 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18178 set X $ac_compile
18179 ac_compiler=$2
18180 for ac_option in --version -v -V -qversion; do
18181 { { ac_try="$ac_compiler $ac_option >&5"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18185 esac
18186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18187 $as_echo "$ac_try_echo"; } >&5
18188 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18189 ac_status=$?
18190 if test -s conftest.err; then
18191 sed '10a\
18192 ... rest of stderr output deleted ...
18193 10q' conftest.err >conftest.er1
18194 cat conftest.er1 >&5
18195 fi
18196 rm -f conftest.er1 conftest.err
18197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18198 test $ac_status = 0; }
18199 done
18200
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18202 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18203 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18204 $as_echo_n "(cached) " >&6
18205 else
18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18208
18209 int
18210 main ()
18211 {
18212 #ifndef __GNUC__
18213 choke me
18214 #endif
18215
18216 ;
18217 return 0;
18218 }
18219 _ACEOF
18220 if ac_fn_cxx_try_compile "$LINENO"; then :
18221 ac_compiler_gnu=yes
18222 else
18223 ac_compiler_gnu=no
18224 fi
18225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18226 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18227
18228 fi
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18230 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18231 if test $ac_compiler_gnu = yes; then
18232 GXX=yes
18233 else
18234 GXX=
18235 fi
18236 ac_test_CXXFLAGS=${CXXFLAGS+set}
18237 ac_save_CXXFLAGS=$CXXFLAGS
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18239 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18240 if ${ac_cv_prog_cxx_g+:} false; then :
18241 $as_echo_n "(cached) " >&6
18242 else
18243 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18244 ac_cxx_werror_flag=yes
18245 ac_cv_prog_cxx_g=no
18246 CXXFLAGS="-g"
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249
18250 int
18251 main ()
18252 {
18253
18254 ;
18255 return 0;
18256 }
18257 _ACEOF
18258 if ac_fn_cxx_try_compile "$LINENO"; then :
18259 ac_cv_prog_cxx_g=yes
18260 else
18261 CXXFLAGS=""
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18264
18265 int
18266 main ()
18267 {
18268
18269 ;
18270 return 0;
18271 }
18272 _ACEOF
18273 if ac_fn_cxx_try_compile "$LINENO"; then :
18274
18275 else
18276 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18277 CXXFLAGS="-g"
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18280
18281 int
18282 main ()
18283 {
18284
18285 ;
18286 return 0;
18287 }
18288 _ACEOF
18289 if ac_fn_cxx_try_compile "$LINENO"; then :
18290 ac_cv_prog_cxx_g=yes
18291 fi
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18293 fi
18294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 fi
18296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18298 fi
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18300 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18301 if test "$ac_test_CXXFLAGS" = set; then
18302 CXXFLAGS=$ac_save_CXXFLAGS
18303 elif test $ac_cv_prog_cxx_g = yes; then
18304 if test "$GXX" = yes; then
18305 CXXFLAGS="-g -O2"
18306 else
18307 CXXFLAGS="-g"
18308 fi
18309 else
18310 if test "$GXX" = yes; then
18311 CXXFLAGS="-O2"
18312 else
18313 CXXFLAGS=
18314 fi
18315 fi
18316 ac_ext=c
18317 ac_cpp='$CPP $CPPFLAGS'
18318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18321
18322
18323
18324
18325
18326
18327
18328
18329 ac_ext=cpp
18330 ac_cpp='$CXXCPP $CPPFLAGS'
18331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18334
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18336 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18337 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18338 $as_echo_n "(cached) " >&6
18339 else
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18342
18343 int
18344 main ()
18345 {
18346
18347 #ifndef __INTEL_COMPILER
18348 choke me
18349 #endif
18350
18351 ;
18352 return 0;
18353 }
18354 _ACEOF
18355 if ac_fn_cxx_try_compile "$LINENO"; then :
18356 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18357 else
18358 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18359
18360 fi
18361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18362
18363
18364 fi
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18366 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18367 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18368 :; INTELCXX=yes
18369 else
18370 :;
18371 fi
18372 ac_ext=c
18373 ac_cpp='$CPP $CPPFLAGS'
18374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18377
18378
18379
18380
18381 if test "$INTELCXX" = "yes"; then
18382
18383
18384 ac_ext=cpp
18385 ac_cpp='$CXXCPP $CPPFLAGS'
18386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18389
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18391 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18392 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397
18398 int
18399 main ()
18400 {
18401
18402 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18403 choke me
18404 #endif
18405
18406 ;
18407 return 0;
18408 }
18409 _ACEOF
18410 if ac_fn_cxx_try_compile "$LINENO"; then :
18411 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18412 else
18413 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18414
18415 fi
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417
18418
18419 fi
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18421 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18422 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18423 :; INTELCXX8=yes
18424 else
18425 :;
18426 fi
18427 ac_ext=c
18428 ac_cpp='$CPP $CPPFLAGS'
18429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18432
18433
18434
18435
18436
18437 ac_ext=cpp
18438 ac_cpp='$CXXCPP $CPPFLAGS'
18439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18442
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18444 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18445 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18446 $as_echo_n "(cached) " >&6
18447 else
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450
18451 int
18452 main ()
18453 {
18454
18455 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18456 choke me
18457 #endif
18458
18459 ;
18460 return 0;
18461 }
18462 _ACEOF
18463 if ac_fn_cxx_try_compile "$LINENO"; then :
18464 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18465 else
18466 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18467
18468 fi
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470
18471
18472 fi
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18474 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18475 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18476 :; INTELCXX10=yes
18477 else
18478 :;
18479 fi
18480 ac_ext=c
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485
18486
18487
18488 fi
18489
18490 if test "x$GCXX" != "xyes"; then
18491 if test "xCXX" = "xC"; then
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18493 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18494 if ${bakefile_cv_c_exto+:} false; then :
18495 $as_echo_n "(cached) " >&6
18496 else
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18499
18500 int
18501 main ()
18502 {
18503
18504 ;
18505 return 0;
18506 }
18507 _ACEOF
18508 rm -f conftest.$ac_objext conftest.$ac_ext.o
18509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18510 (eval $ac_compile) 2>&5
18511 ac_status=$?
18512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18513 test $ac_status = 0; }; then :
18514 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18515 case $ac_file in
18516 conftest.$ac_ext.o)
18517 bakefile_cv_c_exto="-ext o"
18518 ;;
18519 *)
18520 ;;
18521 esac
18522 done
18523 else
18524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18526 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18527 See \`config.log' for more details" "$LINENO" 5; }
18528
18529 fi
18530 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18531
18532 fi
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18534 $as_echo "$bakefile_cv_c_exto" >&6; }
18535 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18536 if test "c" = "c"; then
18537 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18538 fi
18539 if test "c" = "cxx"; then
18540 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18541 fi
18542 fi
18543
18544 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18545 unset ac_cv_prog_cc_g
18546 ac_test_CFLAGS=${CFLAGS+set}
18547 ac_save_CFLAGS=$CFLAGS
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18550 if ${ac_cv_prog_cc_g+:} false; then :
18551 $as_echo_n "(cached) " >&6
18552 else
18553 ac_save_c_werror_flag=$ac_c_werror_flag
18554 ac_c_werror_flag=yes
18555 ac_cv_prog_cc_g=no
18556 CFLAGS="-g"
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559
18560 int
18561 main ()
18562 {
18563
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 if ac_fn_c_try_compile "$LINENO"; then :
18569 ac_cv_prog_cc_g=yes
18570 else
18571 CFLAGS=""
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 if ac_fn_c_try_compile "$LINENO"; then :
18584
18585 else
18586 ac_c_werror_flag=$ac_save_c_werror_flag
18587 CFLAGS="-g"
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590
18591 int
18592 main ()
18593 {
18594
18595 ;
18596 return 0;
18597 }
18598 _ACEOF
18599 if ac_fn_c_try_compile "$LINENO"; then :
18600 ac_cv_prog_cc_g=yes
18601 fi
18602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 fi
18604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 fi
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 ac_c_werror_flag=$ac_save_c_werror_flag
18608 fi
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18610 $as_echo "$ac_cv_prog_cc_g" >&6; }
18611 if test "$ac_test_CFLAGS" = set; then
18612 CFLAGS=$ac_save_CFLAGS
18613 elif test $ac_cv_prog_cc_g = yes; then
18614 if test "$GCC" = yes; then
18615 CFLAGS="-g -O2"
18616 else
18617 CFLAGS="-g"
18618 fi
18619 else
18620 if test "$GCC" = yes; then
18621 CFLAGS="-O2"
18622 else
18623 CFLAGS=
18624 fi
18625 fi
18626 fi
18627 fi
18628
18629 case `uname -s` in
18630 AIX*)
18631
18632
18633 ac_ext=cpp
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18638
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18640 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18641 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646
18647 int
18648 main ()
18649 {
18650
18651 #ifndef __xlC__
18652 choke me
18653 #endif
18654
18655 ;
18656 return 0;
18657 }
18658 _ACEOF
18659 if ac_fn_cxx_try_compile "$LINENO"; then :
18660 bakefile_cv_cxx_compiler___xlC__=yes
18661 else
18662 bakefile_cv_cxx_compiler___xlC__=no
18663
18664 fi
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666
18667
18668 fi
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18670 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18672 :; XLCXX=yes
18673 else
18674 :;
18675 fi
18676 ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683
18684 ;;
18685
18686 Darwin)
18687
18688
18689 ac_ext=cpp
18690 ac_cpp='$CXXCPP $CPPFLAGS'
18691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18694
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18696 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18697 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18698 $as_echo_n "(cached) " >&6
18699 else
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702
18703 int
18704 main ()
18705 {
18706
18707 #ifndef __MWERKS__
18708 choke me
18709 #endif
18710
18711 ;
18712 return 0;
18713 }
18714 _ACEOF
18715 if ac_fn_cxx_try_compile "$LINENO"; then :
18716 bakefile_cv_cxx_compiler___MWERKS__=yes
18717 else
18718 bakefile_cv_cxx_compiler___MWERKS__=no
18719
18720 fi
18721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18722
18723
18724 fi
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18726 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18727 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18728 :; MWCXX=yes
18729 else
18730 :;
18731 fi
18732 ac_ext=c
18733 ac_cpp='$CPP $CPPFLAGS'
18734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18737
18738
18739
18740 if test "$MWCXX" != "yes"; then
18741
18742
18743 ac_ext=cpp
18744 ac_cpp='$CXXCPP $CPPFLAGS'
18745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18748
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18750 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18751 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18752 $as_echo_n "(cached) " >&6
18753 else
18754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18755 /* end confdefs.h. */
18756
18757 int
18758 main ()
18759 {
18760
18761 #ifndef __xlC__
18762 choke me
18763 #endif
18764
18765 ;
18766 return 0;
18767 }
18768 _ACEOF
18769 if ac_fn_cxx_try_compile "$LINENO"; then :
18770 bakefile_cv_cxx_compiler___xlC__=yes
18771 else
18772 bakefile_cv_cxx_compiler___xlC__=no
18773
18774 fi
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776
18777
18778 fi
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18780 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18781 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18782 :; XLCXX=yes
18783 else
18784 :;
18785 fi
18786 ac_ext=c
18787 ac_cpp='$CPP $CPPFLAGS'
18788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18791
18792
18793
18794 fi
18795 ;;
18796
18797 IRIX*)
18798
18799
18800 ac_ext=cpp
18801 ac_cpp='$CXXCPP $CPPFLAGS'
18802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18805
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18807 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18808 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813
18814 int
18815 main ()
18816 {
18817
18818 #ifndef _SGI_COMPILER_VERSION
18819 choke me
18820 #endif
18821
18822 ;
18823 return 0;
18824 }
18825 _ACEOF
18826 if ac_fn_cxx_try_compile "$LINENO"; then :
18827 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18828 else
18829 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18830
18831 fi
18832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18833
18834
18835 fi
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18837 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18838 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18839 :; SGICXX=yes
18840 else
18841 :;
18842 fi
18843 ac_ext=c
18844 ac_cpp='$CPP $CPPFLAGS'
18845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18848
18849
18850
18851 ;;
18852
18853 Linux*)
18854 if test "$INTELCXX" != "yes"; then
18855
18856
18857 ac_ext=cpp
18858 ac_cpp='$CXXCPP $CPPFLAGS'
18859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18862
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18864 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18865 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18866 $as_echo_n "(cached) " >&6
18867 else
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870
18871 int
18872 main ()
18873 {
18874
18875 #ifndef __SUNPRO_CC
18876 choke me
18877 #endif
18878
18879 ;
18880 return 0;
18881 }
18882 _ACEOF
18883 if ac_fn_cxx_try_compile "$LINENO"; then :
18884 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18885 else
18886 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18887
18888 fi
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18890
18891
18892 fi
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18894 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18895 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18896 :; SUNCXX=yes
18897 else
18898 :;
18899 fi
18900 ac_ext=c
18901 ac_cpp='$CPP $CPPFLAGS'
18902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18905
18906
18907
18908 fi
18909 ;;
18910
18911 HP-UX*)
18912
18913
18914 ac_ext=cpp
18915 ac_cpp='$CXXCPP $CPPFLAGS'
18916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18919
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18921 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18922 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18923 $as_echo_n "(cached) " >&6
18924 else
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927
18928 int
18929 main ()
18930 {
18931
18932 #ifndef __HP_aCC
18933 choke me
18934 #endif
18935
18936 ;
18937 return 0;
18938 }
18939 _ACEOF
18940 if ac_fn_cxx_try_compile "$LINENO"; then :
18941 bakefile_cv_cxx_compiler___HP_aCC=yes
18942 else
18943 bakefile_cv_cxx_compiler___HP_aCC=no
18944
18945 fi
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18947
18948
18949 fi
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18951 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18952 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18953 :; HPCXX=yes
18954 else
18955 :;
18956 fi
18957 ac_ext=c
18958 ac_cpp='$CPP $CPPFLAGS'
18959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18962
18963
18964
18965 ;;
18966
18967 OSF1)
18968
18969
18970 ac_ext=cpp
18971 ac_cpp='$CXXCPP $CPPFLAGS'
18972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18975
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18977 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18978 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
18979 $as_echo_n "(cached) " >&6
18980 else
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983
18984 int
18985 main ()
18986 {
18987
18988 #ifndef __DECCXX
18989 choke me
18990 #endif
18991
18992 ;
18993 return 0;
18994 }
18995 _ACEOF
18996 if ac_fn_cxx_try_compile "$LINENO"; then :
18997 bakefile_cv_cxx_compiler___DECCXX=yes
18998 else
18999 bakefile_cv_cxx_compiler___DECCXX=no
19000
19001 fi
19002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003
19004
19005 fi
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19007 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19008 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19009 :; COMPAQCXX=yes
19010 else
19011 :;
19012 fi
19013 ac_ext=c
19014 ac_cpp='$CPP $CPPFLAGS'
19015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19018
19019
19020
19021 ;;
19022
19023 SunOS)
19024
19025
19026 ac_ext=cpp
19027 ac_cpp='$CXXCPP $CPPFLAGS'
19028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19031
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19033 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19034 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19039
19040 int
19041 main ()
19042 {
19043
19044 #ifndef __SUNPRO_CC
19045 choke me
19046 #endif
19047
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 if ac_fn_cxx_try_compile "$LINENO"; then :
19053 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19054 else
19055 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19056
19057 fi
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059
19060
19061 fi
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19063 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19064 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19065 :; SUNCXX=yes
19066 else
19067 :;
19068 fi
19069 ac_ext=c
19070 ac_cpp='$CPP $CPPFLAGS'
19071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19074
19075
19076
19077 ;;
19078 esac
19079 fi
19080
19081
19082
19083 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19084 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19085 fi
19086
19087 if test "x$SUNCXX" != xyes; then
19088 if test -n "$ac_tool_prefix"; then
19089 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19090 set dummy ${ac_tool_prefix}ar; ac_word=$2
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19092 $as_echo_n "checking for $ac_word... " >&6; }
19093 if ${ac_cv_prog_AR+:} false; then :
19094 $as_echo_n "(cached) " >&6
19095 else
19096 if test -n "$AR"; then
19097 ac_cv_prog_AR="$AR" # Let the user override the test.
19098 else
19099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19100 for as_dir in $PATH
19101 do
19102 IFS=$as_save_IFS
19103 test -z "$as_dir" && as_dir=.
19104 for ac_exec_ext in '' $ac_executable_extensions; do
19105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19106 ac_cv_prog_AR="${ac_tool_prefix}ar"
19107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19108 break 2
19109 fi
19110 done
19111 done
19112 IFS=$as_save_IFS
19113
19114 fi
19115 fi
19116 AR=$ac_cv_prog_AR
19117 if test -n "$AR"; then
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19119 $as_echo "$AR" >&6; }
19120 else
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19122 $as_echo "no" >&6; }
19123 fi
19124
19125
19126 fi
19127 if test -z "$ac_cv_prog_AR"; then
19128 ac_ct_AR=$AR
19129 # Extract the first word of "ar", so it can be a program name with args.
19130 set dummy ar; ac_word=$2
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19132 $as_echo_n "checking for $ac_word... " >&6; }
19133 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19134 $as_echo_n "(cached) " >&6
19135 else
19136 if test -n "$ac_ct_AR"; then
19137 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19138 else
19139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19140 for as_dir in $PATH
19141 do
19142 IFS=$as_save_IFS
19143 test -z "$as_dir" && as_dir=.
19144 for ac_exec_ext in '' $ac_executable_extensions; do
19145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19146 ac_cv_prog_ac_ct_AR="ar"
19147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19148 break 2
19149 fi
19150 done
19151 done
19152 IFS=$as_save_IFS
19153
19154 fi
19155 fi
19156 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19157 if test -n "$ac_ct_AR"; then
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19159 $as_echo "$ac_ct_AR" >&6; }
19160 else
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19162 $as_echo "no" >&6; }
19163 fi
19164
19165 if test "x$ac_ct_AR" = x; then
19166 AR=""
19167 else
19168 case $cross_compiling:$ac_tool_warned in
19169 yes:)
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19172 ac_tool_warned=yes ;;
19173 esac
19174 AR=$ac_ct_AR
19175 fi
19176 else
19177 AR="$ac_cv_prog_AR"
19178 fi
19179
19180 if test "x$AR" = "x" ; then
19181 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19182 fi
19183 fi
19184
19185
19186 if test "$wxUSE_MAC" = 1; then
19187
19188 retest_macosx_linking=no
19189
19190 OSX_ARCH_OPTS=""
19191
19192 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19193 if test "x$wxUSE_MAC_ARCH" != xno; then
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19195 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19196 fi
19197
19198 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19199 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19200 else OSX_ARCH_OPTS="ppc,i386"
19201 if test "$wxUSE_OSX_COCOA" = 1; then
19202 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19203 fi
19204 fi
19205
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19207 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19209 $as_echo "$OSX_ARCH_OPTS" >&6; }
19210
19211 retest_macosx_linking=yes
19212
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19214 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19215 bk_use_pch=no
19216 else
19217 if test "x$wxUSE_MAC_ARCH" != xno; then
19218 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19219 fi
19220 fi
19221
19222 if test "x$OSX_ARCH_OPTS" != "x"; then
19223 if echo $OSX_ARCH_OPTS | grep -q ","; then
19224 disable_macosx_deps=yes
19225 fi
19226
19227 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19228
19229 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19230 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19231 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19232 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19233 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19234 fi
19235
19236 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19237 wxUSE_MACOSX_SDK=
19238 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19239 # TODO: Search for most recent SDK and use it.
19240 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19241 fi
19242
19243
19244 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19246 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19247 if ! test -d "$wxUSE_MACOSX_SDK"; then
19248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19250 as_fn_error $? "not found
19251 See \`config.log' for more details" "$LINENO" 5; }
19252 else
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19254 $as_echo "exists" >&6; }
19255 fi
19256 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19257 retest_macosx_linking=yes
19258 fi
19259
19260 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19261 wxUSE_MACOSX_VERSION_MIN=
19262 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19263 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19265 $as_echo_n "checking SDK deployment version... " >&6; }
19266
19267 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/'`
19268
19269 # If that failed, try again with the new key
19270 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19271
19272 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/'`
19273
19274 fi
19275
19276 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19277 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19279 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19280 else
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19282 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19283 wxUSE_MACOSX_VERSION_MIN=
19284 fi
19285 else
19286 wxUSE_MACOSX_VERSION_MIN=
19287 fi
19288 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19289 for ac_prog in sw_vers
19290 do
19291 # Extract the first word of "$ac_prog", so it can be a program name with args.
19292 set dummy $ac_prog; ac_word=$2
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19294 $as_echo_n "checking for $ac_word... " >&6; }
19295 if ${ac_cv_prog_OSX_SW_VERS+:} false; then :
19296 $as_echo_n "(cached) " >&6
19297 else
19298 if test -n "$OSX_SW_VERS"; then
19299 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19300 else
19301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19302 for as_dir in $PATH
19303 do
19304 IFS=$as_save_IFS
19305 test -z "$as_dir" && as_dir=.
19306 for ac_exec_ext in '' $ac_executable_extensions; do
19307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19308 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19310 break 2
19311 fi
19312 done
19313 done
19314 IFS=$as_save_IFS
19315
19316 fi
19317 fi
19318 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19319 if test -n "$OSX_SW_VERS"; then
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_SW_VERS" >&5
19321 $as_echo "$OSX_SW_VERS" >&6; }
19322 else
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19324 $as_echo "no" >&6; }
19325 fi
19326
19327
19328 test -n "$OSX_SW_VERS" && break
19329 done
19330
19331 if test "$OSX_SW_VERS" != ""; then
19332 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19333 else
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19335 $as_echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19336 OSX_VERSION="10.4"
19337 fi
19338
19339 case "$OSX_VERSION" in
19340 10.4* )
19341 wxUSE_MACOSX_VERSION_MIN=10.4
19342 ;;
19343
19344 * )
19345 if test "$wxUSE_OSX_CARBON" = 1; then
19346 # otherwise configure stops on leopard for universal_binary
19347 wxUSE_MACOSX_VERSION_MIN=10.4
19348 else
19349 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19350 wxUSE_MACOSX_VERSION_MIN=10.5
19351 fi
19352 ;;
19353 esac
19354 fi
19355
19356 NEEDS_GCC40="no"
19357 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19358 NEEDS_GCC40="yes"
19359 fi
19360
19361 if test "$wxUSE_OSX_CARBON" = 1; then
19362 NEEDS_GCC40="yes"
19363 fi
19364
19365 if test "x$NEEDS_GCC40" == "xyes"; then
19366 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19367 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19368 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19369 if test "x$CC" = "xgcc"; then
19370 CCVERSION=`$CC --version | grep 4.[2-9].`
19371 if test "x$CCVERSION" != "x"; then
19372 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19373 CC="gcc-4.0"
19374 fi
19375 fi
19376
19377 if test "x$CXX" = "xg++"; then
19378 CCVERSION=`$CXX --version | grep 4.[2-9].`
19379 if test "x$CCVERSION" != "x"; then
19380 CXX="g++-4.0"
19381 fi
19382 fi
19383 fi
19384
19385 if test "x$MACOSX_SDK_OPTS" != "x"; then
19386 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19387 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19388 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19389 fi
19390
19391 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19392 if test "$wxUSE_OSX_IPHONE" = 1; then
19393 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19394 else
19395 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19396 fi
19397 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19398 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19399 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19400 retest_macosx_linking=yes
19401 fi
19402
19403 if test "x$retest_macosx_linking" = "xyes"; then
19404 ac_ext=c
19405 ac_cpp='$CPP $CPPFLAGS'
19406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19409
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler works with SDK/version options" >&5
19411 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19414
19415 int
19416 main ()
19417 {
19418
19419 ;
19420 return 0;
19421 }
19422 _ACEOF
19423 if ac_fn_c_try_link "$LINENO"; then :
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19425 $as_echo "yes" >&6; }
19426 else
19427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19429 as_fn_error $? "no. Try a different SDK
19430 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19431 fi
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext conftest.$ac_ext
19434 ac_ext=c
19435 ac_cpp='$CPP $CPPFLAGS'
19436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19439
19440
19441 ac_ext=cpp
19442 ac_cpp='$CXXCPP $CPPFLAGS'
19443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19446
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler works with SDK/version options" >&5
19448 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451
19452 int
19453 main ()
19454 {
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 if ac_fn_cxx_try_link "$LINENO"; then :
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19462 $as_echo "yes" >&6; }
19463 else
19464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19466 as_fn_error $? "no. Try a different SDK
19467 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19468 fi
19469 rm -f core conftest.err conftest.$ac_objext \
19470 conftest$ac_exeext conftest.$ac_ext
19471 ac_ext=c
19472 ac_cpp='$CPP $CPPFLAGS'
19473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19476
19477 fi
19478
19479 fi
19480 case "${host}" in
19481
19482 *-*-darwin* )
19483 INSTALL_PROGRAM="cp -fp"
19484 INSTALL_DATA="cp -fp"
19485 ;;
19486 *)
19487 ;;
19488 esac
19489
19490
19491 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19492 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19493
19494
19495 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19496 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19497 fi
19498
19499 if test "x$USE_AIX" = "x1"; then
19500 if test "x$XLCXX" = "xyes"; then
19501 CXXFLAGS="-qunique $CXXFLAGS"
19502 fi
19503
19504 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19505 fi
19506
19507 case "${host}" in
19508 powerpc-*-darwin* )
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19510 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513
19514 int
19515 main ()
19516 {
19517 #ifndef __POWERPC__
19518 choke me for lack of PowerPC
19519 #endif
19520
19521 ;
19522 return 0;
19523 }
19524 _ACEOF
19525 if ac_fn_c_try_compile "$LINENO"; then :
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19527 $as_echo "yes" >&6; }
19528 else
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19530 $as_echo "no" >&6; }
19531 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19532
19533
19534 fi
19535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19536 ;;
19537 esac
19538
19539 case "${host}" in
19540 *-*-darwin* )
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19542 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #include <CoreFoundation/CFBase.h>
19546
19547 int
19548 main ()
19549 {
19550
19551 ;
19552 return 0;
19553 }
19554 _ACEOF
19555 if ac_fn_c_try_compile "$LINENO"; then :
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19557 $as_echo "yes" >&6; }
19558 else
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19560 $as_echo "no" >&6; }
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19562 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19565 #define __CF_USE_FRAMEWORK_INCLUDES__
19566 #include <CoreFoundation/CFBase.h>
19567
19568 int
19569 main ()
19570 {
19571
19572 ;
19573 return 0;
19574 }
19575 _ACEOF
19576 if ac_fn_c_try_compile "$LINENO"; then :
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19578 $as_echo "yes" >&6; }
19579 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19580 else
19581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19583 as_fn_error $? "no. CoreFoundation not available.
19584 See \`config.log' for more details" "$LINENO" 5; }
19585
19586 fi
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588
19589
19590 fi
19591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19592 ;;
19593 esac
19594
19595 wants_win32=0
19596 doesnt_want_win32=0
19597 case "${host}" in
19598 *-*-cygwin*)
19599 if test "$wxUSE_MSW" = 1 ; then
19600 wants_win32=1
19601 else
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19603 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19604 if ${wx_cv_nocygwin+:} false; then :
19605 $as_echo_n "(cached) " >&6
19606 else
19607
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610
19611 int
19612 main ()
19613 {
19614
19615 #ifdef __MINGW32__
19616 choke me
19617 #endif
19618
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 if ac_fn_c_try_compile "$LINENO"; then :
19624 wx_cv_nocygwin=no
19625 else
19626 wx_cv_nocygwin=yes
19627
19628 fi
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19630
19631
19632 fi
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19634 $as_echo "$wx_cv_nocygwin" >&6; }
19635
19636 if test "$wx_cv_nocygwin" = "yes"; then
19637 wants_win32=1
19638 else
19639 doesnt_want_win32=1
19640 fi
19641 fi
19642 if test "$wants_win32" = 1 ; then
19643 BAKEFILE_FORCE_PLATFORM=win32
19644 fi
19645 ;;
19646 *-*-mingw*)
19647 wants_win32=1
19648 ;;
19649 esac
19650
19651 if test "$wxUSE_WINE" = "yes"; then
19652 wants_win32=1
19653 LDFLAGS_GUI="-mwindows"
19654 fi
19655
19656 if test "$wants_win32" = 1 ; then
19657 USE_UNIX=0
19658 USE_WIN32=1
19659 $as_echo "#define __WIN32__ 1" >>confdefs.h
19660
19661 $as_echo "#define __WIN95__ 1" >>confdefs.h
19662
19663 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19664
19665 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19666
19667 $as_echo "#define STRICT 1" >>confdefs.h
19668
19669 fi
19670 if test "$doesnt_want_win32" = 1 ; then
19671 USE_UNIX=1
19672 USE_WIN32=0
19673 fi
19674
19675 if test "$USE_UNIX" = 1 ; then
19676 wxUSE_UNIX=yes
19677 $as_echo "#define __UNIX__ 1" >>confdefs.h
19678
19679 fi
19680
19681 case "${host}" in
19682 *-pc-os2_emx | *-pc-os2-emx )
19683 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19685 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19686 if ${ac_cv_lib_cExt_drand48+:} false; then :
19687 $as_echo_n "(cached) " >&6
19688 else
19689 ac_check_lib_save_LIBS=$LIBS
19690 LIBS="-lcExt $LIBS"
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19693
19694 /* Override any GCC internal prototype to avoid an error.
19695 Use char because int might match the return type of a GCC
19696 builtin and then its argument prototype would still apply. */
19697 #ifdef __cplusplus
19698 extern "C"
19699 #endif
19700 char drand48 ();
19701 int
19702 main ()
19703 {
19704 return drand48 ();
19705 ;
19706 return 0;
19707 }
19708 _ACEOF
19709 if ac_fn_c_try_link "$LINENO"; then :
19710 ac_cv_lib_cExt_drand48=yes
19711 else
19712 ac_cv_lib_cExt_drand48=no
19713 fi
19714 rm -f core conftest.err conftest.$ac_objext \
19715 conftest$ac_exeext conftest.$ac_ext
19716 LIBS=$ac_check_lib_save_LIBS
19717 fi
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19719 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19720 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19721 LIBS="$LIBS -lcExt"
19722 fi
19723
19724 else
19725 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19726 fi
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19728 $as_echo_n "checking for gcc/libc version... " >&6; }
19729 if ${wx_cv_gccversion+:} false; then :
19730 $as_echo_n "(cached) " >&6
19731 else
19732
19733 if test "$cross_compiling" = yes; then :
19734 wx_cv_gccversion="EMX2"
19735
19736 else
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739
19740 #include <stdio.h>
19741
19742 int main()
19743 {
19744 FILE *f=fopen("conftestval", "w");
19745 if (!f) exit(1);
19746 fprintf(f,
19747 #if (__GNUC__ < 3)
19748 "EMX2"
19749 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19750 "EMX3"
19751 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19752 "Innotek5"
19753 #else
19754 "Innotek6"
19755 #endif
19756 );
19757 exit(0);
19758 }
19759
19760 _ACEOF
19761 if ac_fn_c_try_run "$LINENO"; then :
19762 wx_cv_gccversion=`cat conftestval`
19763 else
19764 wx_cv_gccversion="EMX2"
19765 fi
19766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19767 conftest.$ac_objext conftest.beam conftest.$ac_ext
19768 fi
19769
19770
19771 fi
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19773 $as_echo "$wx_cv_gccversion" >&6; }
19774 if test "$wx_cv_gccversion" = "EMX2"; then
19775 LIBS="$LIBS -lstdcpp"
19776 LDFLAGS="$LDFLAGS -Zsysv-signals"
19777 else
19778 if test "$wx_cv_gccversion" = "EMX3"; then
19779 LIBS="$LIBS -lstdcxx -lgcc"
19780 LDFLAGS="$LDFLAGS -Zsysv-signals"
19781 else
19782 LIBS="$LIBS -lstdc++"
19783 fi
19784 fi
19785 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19787 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19788 wxUSE_OMF=yes
19789 enable_omf=yes
19790 fi
19791 ;;
19792 *)
19793
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19795 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19796 if ${ac_cv_string_strcasecmp+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799
19800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19802
19803 #include <string.h>
19804
19805 int
19806 main ()
19807 {
19808
19809 strcasecmp("foo", "bar");
19810
19811 ;
19812 return 0;
19813 }
19814 _ACEOF
19815 if ac_fn_c_try_link "$LINENO"; then :
19816 ac_cv_string_strcasecmp=yes
19817 else
19818 ac_cv_string_strcasecmp=no
19819
19820 fi
19821 rm -f core conftest.err conftest.$ac_objext \
19822 conftest$ac_exeext conftest.$ac_ext
19823
19824 fi
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19826 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19827
19828 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19829 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19830
19831 else
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19833 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19834 if ${ac_cv_strings_strcasecmp+:} false; then :
19835 $as_echo_n "(cached) " >&6
19836 else
19837
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19840
19841 #include <strings.h>
19842
19843 int
19844 main ()
19845 {
19846
19847 strcasecmp("foo", "bar");
19848
19849 ;
19850 return 0;
19851 }
19852 _ACEOF
19853 if ac_fn_c_try_link "$LINENO"; then :
19854 ac_cv_strings_strcasecmp=yes
19855 else
19856 ac_cv_strings_strcasecmp=no
19857
19858 fi
19859 rm -f core conftest.err conftest.$ac_objext \
19860 conftest$ac_exeext conftest.$ac_ext
19861
19862 fi
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19864 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19865
19866 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19867 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19868
19869 else
19870 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19871 fi
19872 fi
19873
19874 ;;
19875 esac
19876
19877
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19879 $as_echo_n "checking for ANSI C header files... " >&6; }
19880 if ${ac_cv_header_stdc+:} false; then :
19881 $as_echo_n "(cached) " >&6
19882 else
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19885 #include <stdlib.h>
19886 #include <stdarg.h>
19887 #include <string.h>
19888 #include <float.h>
19889
19890 int
19891 main ()
19892 {
19893
19894 ;
19895 return 0;
19896 }
19897 _ACEOF
19898 if ac_fn_c_try_compile "$LINENO"; then :
19899 ac_cv_header_stdc=yes
19900 else
19901 ac_cv_header_stdc=no
19902 fi
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19904
19905 if test $ac_cv_header_stdc = yes; then
19906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19909 #include <string.h>
19910
19911 _ACEOF
19912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19913 $EGREP "memchr" >/dev/null 2>&1; then :
19914
19915 else
19916 ac_cv_header_stdc=no
19917 fi
19918 rm -f conftest*
19919
19920 fi
19921
19922 if test $ac_cv_header_stdc = yes; then
19923 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <stdlib.h>
19927
19928 _ACEOF
19929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19930 $EGREP "free" >/dev/null 2>&1; then :
19931
19932 else
19933 ac_cv_header_stdc=no
19934 fi
19935 rm -f conftest*
19936
19937 fi
19938
19939 if test $ac_cv_header_stdc = yes; then
19940 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19941 if test "$cross_compiling" = yes; then :
19942 :
19943 else
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19946 #include <ctype.h>
19947 #include <stdlib.h>
19948 #if ((' ' & 0x0FF) == 0x020)
19949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19951 #else
19952 # define ISLOWER(c) \
19953 (('a' <= (c) && (c) <= 'i') \
19954 || ('j' <= (c) && (c) <= 'r') \
19955 || ('s' <= (c) && (c) <= 'z'))
19956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19957 #endif
19958
19959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19960 int
19961 main ()
19962 {
19963 int i;
19964 for (i = 0; i < 256; i++)
19965 if (XOR (islower (i), ISLOWER (i))
19966 || toupper (i) != TOUPPER (i))
19967 return 2;
19968 return 0;
19969 }
19970 _ACEOF
19971 if ac_fn_c_try_run "$LINENO"; then :
19972
19973 else
19974 ac_cv_header_stdc=no
19975 fi
19976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19977 conftest.$ac_objext conftest.beam conftest.$ac_ext
19978 fi
19979
19980 fi
19981 fi
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19983 $as_echo "$ac_cv_header_stdc" >&6; }
19984 if test $ac_cv_header_stdc = yes; then
19985
19986 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19987
19988 fi
19989
19990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19991 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19992 inttypes.h stdint.h unistd.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 for ac_header in langinfo.h wchar.h
20008 do :
20009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20011 "
20012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20013 cat >>confdefs.h <<_ACEOF
20014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20015 _ACEOF
20016
20017 fi
20018
20019 done
20020
20021
20022 if test "$ac_cv_header_wchar_h" != "yes"; then
20023 for ac_header in wcstr.h
20024 do :
20025 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20026 "
20027 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20028 cat >>confdefs.h <<_ACEOF
20029 #define HAVE_WCSTR_H 1
20030 _ACEOF
20031
20032 fi
20033
20034 done
20035
20036 fi
20037
20038 case "${host}" in
20039 *-pc-os2_emx | *-pc-os2-emx )
20040 if test $ac_cv_header_langinfo_h = "yes" \
20041 -a \( "$wx_cv_gccversion" = "EMX2" \
20042 -o "$wx_cv_gccversion" = "EMX3" \
20043 -o "$wx_cv_gccversion" = "Innotek5" \); then
20044 LIBS="$LIBS -lintl"
20045 fi
20046 ;;
20047 esac
20048
20049 if test "$USE_UNIX" = 1 ; then
20050 for ac_header in sys/select.h
20051 do :
20052 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20053 "
20054 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20055 cat >>confdefs.h <<_ACEOF
20056 #define HAVE_SYS_SELECT_H 1
20057 _ACEOF
20058
20059 fi
20060
20061 done
20062
20063 fi
20064
20065
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20067 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20068 if ${ac_cv_c_const+:} false; then :
20069 $as_echo_n "(cached) " >&6
20070 else
20071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20072 /* end confdefs.h. */
20073
20074 int
20075 main ()
20076 {
20077 /* FIXME: Include the comments suggested by Paul. */
20078 #ifndef __cplusplus
20079 /* Ultrix mips cc rejects this. */
20080 typedef int charset[2];
20081 const charset cs;
20082 /* SunOS 4.1.1 cc rejects this. */
20083 char const *const *pcpcc;
20084 char **ppc;
20085 /* NEC SVR4.0.2 mips cc rejects this. */
20086 struct point {int x, y;};
20087 static struct point const zero = {0,0};
20088 /* AIX XL C 1.02.0.0 rejects this.
20089 It does not let you subtract one const X* pointer from another in
20090 an arm of an if-expression whose if-part is not a constant
20091 expression */
20092 const char *g = "string";
20093 pcpcc = &g + (g ? g-g : 0);
20094 /* HPUX 7.0 cc rejects these. */
20095 ++pcpcc;
20096 ppc = (char**) pcpcc;
20097 pcpcc = (char const *const *) ppc;
20098 { /* SCO 3.2v4 cc rejects this. */
20099 char *t;
20100 char const *s = 0 ? (char *) 0 : (char const *) 0;
20101
20102 *t++ = 0;
20103 if (s) return 0;
20104 }
20105 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20106 int x[] = {25, 17};
20107 const int *foo = &x[0];
20108 ++foo;
20109 }
20110 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20111 typedef const int *iptr;
20112 iptr p = 0;
20113 ++p;
20114 }
20115 { /* AIX XL C 1.02.0.0 rejects this saying
20116 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20117 struct s { int j; const int *ap[3]; };
20118 struct s *b; b->j = 5;
20119 }
20120 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20121 const int foo = 10;
20122 if (!foo) return 0;
20123 }
20124 return !cs[0] && !zero.x;
20125 #endif
20126
20127 ;
20128 return 0;
20129 }
20130 _ACEOF
20131 if ac_fn_c_try_compile "$LINENO"; then :
20132 ac_cv_c_const=yes
20133 else
20134 ac_cv_c_const=no
20135 fi
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 fi
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20139 $as_echo "$ac_cv_c_const" >&6; }
20140 if test $ac_cv_c_const = no; then
20141
20142 $as_echo "#define const /**/" >>confdefs.h
20143
20144 fi
20145
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20147 $as_echo_n "checking for inline... " >&6; }
20148 if ${ac_cv_c_inline+:} false; then :
20149 $as_echo_n "(cached) " >&6
20150 else
20151 ac_cv_c_inline=no
20152 for ac_kw in inline __inline__ __inline; do
20153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 /* end confdefs.h. */
20155 #ifndef __cplusplus
20156 typedef int foo_t;
20157 static $ac_kw foo_t static_foo () {return 0; }
20158 $ac_kw foo_t foo () {return 0; }
20159 #endif
20160
20161 _ACEOF
20162 if ac_fn_c_try_compile "$LINENO"; then :
20163 ac_cv_c_inline=$ac_kw
20164 fi
20165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 test "$ac_cv_c_inline" != no && break
20167 done
20168
20169 fi
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20171 $as_echo "$ac_cv_c_inline" >&6; }
20172
20173 case $ac_cv_c_inline in
20174 inline | yes) ;;
20175 *)
20176 case $ac_cv_c_inline in
20177 no) ac_val=;;
20178 *) ac_val=$ac_cv_c_inline;;
20179 esac
20180 cat >>confdefs.h <<_ACEOF
20181 #ifndef __cplusplus
20182 #define inline $ac_val
20183 #endif
20184 _ACEOF
20185 ;;
20186 esac
20187
20188
20189 # The cast to long int works around a bug in the HP C Compiler
20190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20192 # This bug is HP SR number 8606223364.
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20194 $as_echo_n "checking size of short... " >&6; }
20195 if ${ac_cv_sizeof_short+:} false; then :
20196 $as_echo_n "(cached) " >&6
20197 else
20198 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20199
20200 else
20201 if test "$ac_cv_type_short" = yes; then
20202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20204 as_fn_error 77 "cannot compute sizeof (short)
20205 See \`config.log' for more details" "$LINENO" 5; }
20206 else
20207 ac_cv_sizeof_short=0
20208 fi
20209 fi
20210
20211 fi
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20213 $as_echo "$ac_cv_sizeof_short" >&6; }
20214
20215
20216
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_SHORT $ac_cv_sizeof_short
20219 _ACEOF
20220
20221
20222 # The cast to long int works around a bug in the HP C Compiler
20223 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20224 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20225 # This bug is HP SR number 8606223364.
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20227 $as_echo_n "checking size of void *... " >&6; }
20228 if ${ac_cv_sizeof_void_p+:} false; then :
20229 $as_echo_n "(cached) " >&6
20230 else
20231 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20232
20233 else
20234 if test "$ac_cv_type_void_p" = yes; then
20235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20237 as_fn_error 77 "cannot compute sizeof (void *)
20238 See \`config.log' for more details" "$LINENO" 5; }
20239 else
20240 ac_cv_sizeof_void_p=0
20241 fi
20242 fi
20243
20244 fi
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20246 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20247
20248
20249
20250 cat >>confdefs.h <<_ACEOF
20251 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20252 _ACEOF
20253
20254
20255 # The cast to long int works around a bug in the HP C Compiler
20256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20258 # This bug is HP SR number 8606223364.
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20260 $as_echo_n "checking size of int... " >&6; }
20261 if ${ac_cv_sizeof_int+:} false; then :
20262 $as_echo_n "(cached) " >&6
20263 else
20264 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20265
20266 else
20267 if test "$ac_cv_type_int" = yes; then
20268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20270 as_fn_error 77 "cannot compute sizeof (int)
20271 See \`config.log' for more details" "$LINENO" 5; }
20272 else
20273 ac_cv_sizeof_int=0
20274 fi
20275 fi
20276
20277 fi
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20279 $as_echo "$ac_cv_sizeof_int" >&6; }
20280
20281
20282
20283 cat >>confdefs.h <<_ACEOF
20284 #define SIZEOF_INT $ac_cv_sizeof_int
20285 _ACEOF
20286
20287
20288 # The cast to long int works around a bug in the HP C Compiler
20289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20291 # This bug is HP SR number 8606223364.
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20293 $as_echo_n "checking size of long... " >&6; }
20294 if ${ac_cv_sizeof_long+:} false; then :
20295 $as_echo_n "(cached) " >&6
20296 else
20297 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20298
20299 else
20300 if test "$ac_cv_type_long" = yes; then
20301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20303 as_fn_error 77 "cannot compute sizeof (long)
20304 See \`config.log' for more details" "$LINENO" 5; }
20305 else
20306 ac_cv_sizeof_long=0
20307 fi
20308 fi
20309
20310 fi
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20312 $as_echo "$ac_cv_sizeof_long" >&6; }
20313
20314
20315
20316 cat >>confdefs.h <<_ACEOF
20317 #define SIZEOF_LONG $ac_cv_sizeof_long
20318 _ACEOF
20319
20320
20321 # The cast to long int works around a bug in the HP C Compiler
20322 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20323 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20324 # This bug is HP SR number 8606223364.
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20326 $as_echo_n "checking size of size_t... " >&6; }
20327 if ${ac_cv_sizeof_size_t+:} false; then :
20328 $as_echo_n "(cached) " >&6
20329 else
20330 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20331
20332 else
20333 if test "$ac_cv_type_size_t" = yes; then
20334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20336 as_fn_error 77 "cannot compute sizeof (size_t)
20337 See \`config.log' for more details" "$LINENO" 5; }
20338 else
20339 ac_cv_sizeof_size_t=0
20340 fi
20341 fi
20342
20343 fi
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20345 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20346
20347
20348
20349 cat >>confdefs.h <<_ACEOF
20350 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20351 _ACEOF
20352
20353
20354
20355 case "${host}" in
20356 arm-*-linux* )
20357 # The cast to long int works around a bug in the HP C Compiler
20358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20360 # This bug is HP SR number 8606223364.
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20362 $as_echo_n "checking size of long long... " >&6; }
20363 if ${ac_cv_sizeof_long_long+:} false; then :
20364 $as_echo_n "(cached) " >&6
20365 else
20366 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20367
20368 else
20369 if test "$ac_cv_type_long_long" = yes; then
20370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20372 as_fn_error 77 "cannot compute sizeof (long long)
20373 See \`config.log' for more details" "$LINENO" 5; }
20374 else
20375 ac_cv_sizeof_long_long=0
20376 fi
20377 fi
20378
20379 fi
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20381 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20382
20383
20384
20385 cat >>confdefs.h <<_ACEOF
20386 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20387 _ACEOF
20388
20389
20390 ;;
20391 *-hp-hpux* )
20392 # The cast to long int works around a bug in the HP C Compiler
20393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20395 # This bug is HP SR number 8606223364.
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20397 $as_echo_n "checking size of long long... " >&6; }
20398 if ${ac_cv_sizeof_long_long+:} false; then :
20399 $as_echo_n "(cached) " >&6
20400 else
20401 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20402
20403 else
20404 if test "$ac_cv_type_long_long" = yes; then
20405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20407 as_fn_error 77 "cannot compute sizeof (long long)
20408 See \`config.log' for more details" "$LINENO" 5; }
20409 else
20410 ac_cv_sizeof_long_long=0
20411 fi
20412 fi
20413
20414 fi
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20416 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20417
20418
20419
20420 cat >>confdefs.h <<_ACEOF
20421 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20422 _ACEOF
20423
20424
20425 if test "$ac_cv_sizeof_long_long" != 0; then
20426 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20427 fi
20428 ;;
20429 * )
20430 # The cast to long int works around a bug in the HP C Compiler
20431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20433 # This bug is HP SR number 8606223364.
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20435 $as_echo_n "checking size of long long... " >&6; }
20436 if ${ac_cv_sizeof_long_long+:} false; then :
20437 $as_echo_n "(cached) " >&6
20438 else
20439 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20440
20441 else
20442 if test "$ac_cv_type_long_long" = yes; then
20443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20445 as_fn_error 77 "cannot compute sizeof (long long)
20446 See \`config.log' for more details" "$LINENO" 5; }
20447 else
20448 ac_cv_sizeof_long_long=0
20449 fi
20450 fi
20451
20452 fi
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20454 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20455
20456
20457
20458 cat >>confdefs.h <<_ACEOF
20459 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20460 _ACEOF
20461
20462
20463 esac
20464
20465 # The cast to long int works around a bug in the HP C Compiler
20466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20468 # This bug is HP SR number 8606223364.
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20470 $as_echo_n "checking size of wchar_t... " >&6; }
20471 if ${ac_cv_sizeof_wchar_t+:} false; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20475 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20476 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20477 # error \"fake wchar_t\"
20478 #endif
20479 #ifdef HAVE_WCHAR_H
20480 # ifdef __CYGWIN__
20481 # include <stddef.h>
20482 # endif
20483 # include <wchar.h>
20484 #endif
20485 #ifdef HAVE_STDLIB_H
20486 # include <stdlib.h>
20487 #endif
20488 #include <stdio.h>
20489
20490
20491 "; then :
20492
20493 else
20494 if test "$ac_cv_type_wchar_t" = yes; then
20495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20497 as_fn_error 77 "cannot compute sizeof (wchar_t)
20498 See \`config.log' for more details" "$LINENO" 5; }
20499 else
20500 ac_cv_sizeof_wchar_t=0
20501 fi
20502 fi
20503
20504 fi
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20506 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20507
20508
20509
20510 cat >>confdefs.h <<_ACEOF
20511 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20512 _ACEOF
20513
20514
20515 if test "$ac_cv_sizeof_wchar_t" = 0; then
20516 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20517 fi
20518 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20519
20520
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20522 $as_echo_n "checking for va_copy... " >&6; }
20523 if ${wx_cv_func_va_copy+:} false; then :
20524 $as_echo_n "(cached) " >&6
20525 else
20526
20527 ac_ext=cpp
20528 ac_cpp='$CXXCPP $CPPFLAGS'
20529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20532
20533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20535
20536
20537 #include <stdarg.h>
20538 void foo(char *f, ...)
20539 {
20540 va_list ap1, ap2;
20541 va_start(ap1, f);
20542 va_copy(ap2, ap1);
20543 va_end(ap2);
20544 va_end(ap1);
20545 }
20546 int main()
20547 {
20548 foo("hi", 17);
20549 return 0;
20550 }
20551
20552 _ACEOF
20553 if ac_fn_cxx_try_link "$LINENO"; then :
20554 wx_cv_func_va_copy=yes
20555 else
20556 wx_cv_func_va_copy=no
20557
20558 fi
20559 rm -f core conftest.err conftest.$ac_objext \
20560 conftest$ac_exeext conftest.$ac_ext
20561 ac_ext=c
20562 ac_cpp='$CPP $CPPFLAGS'
20563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20566
20567
20568
20569 fi
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20571 $as_echo "$wx_cv_func_va_copy" >&6; }
20572
20573 if test $wx_cv_func_va_copy = "yes"; then
20574 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20575
20576 else
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20578 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20579 if ${wx_cv_type_va_list_lvalue+:} false; then :
20580 $as_echo_n "(cached) " >&6
20581 else
20582
20583 if test "$cross_compiling" = yes; then :
20584 wx_cv_type_va_list_lvalue=yes
20585
20586 else
20587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20588 /* end confdefs.h. */
20589
20590
20591 #include <stdarg.h>
20592 int foo(char *f, ...)
20593 {
20594 va_list ap1, ap2;
20595 va_start(ap1, f);
20596 ap2 = ap1;
20597 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20598 return 1;
20599 va_end(ap2);
20600 va_end(ap1);
20601 return 0;
20602 }
20603 int main()
20604 {
20605 return foo("hi", 17);
20606 }
20607
20608 _ACEOF
20609 if ac_fn_c_try_run "$LINENO"; then :
20610 wx_cv_type_va_list_lvalue=yes
20611 else
20612 wx_cv_type_va_list_lvalue=no
20613 fi
20614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20615 conftest.$ac_objext conftest.beam conftest.$ac_ext
20616 fi
20617
20618
20619
20620 fi
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20622 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20623
20624 if test $wx_cv_type_va_list_lvalue != "yes"; then
20625 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20626
20627 fi
20628 fi
20629
20630 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20631
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20633 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20634 if ${wx_cv_have_variadic_macros+:} false; then :
20635 $as_echo_n "(cached) " >&6
20636 else
20637
20638 ac_ext=cpp
20639 ac_cpp='$CXXCPP $CPPFLAGS'
20640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20643
20644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20645 /* end confdefs.h. */
20646
20647
20648 #include <stdio.h>
20649 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20650
20651 int
20652 main ()
20653 {
20654
20655 test("%s %d %p", "test", 1, 0);
20656
20657
20658 ;
20659 return 0;
20660 }
20661 _ACEOF
20662 if ac_fn_cxx_try_compile "$LINENO"; then :
20663 wx_cv_have_variadic_macros=yes
20664 else
20665 wx_cv_have_variadic_macros=no
20666
20667 fi
20668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20669 ac_ext=c
20670 ac_cpp='$CPP $CPPFLAGS'
20671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20674
20675
20676
20677 fi
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20679 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20680
20681 if test $wx_cv_have_variadic_macros = "yes"; then
20682 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20683
20684 fi
20685
20686 fi
20687
20688 LARGEFILE_CPPFLAGS=
20689 # Check whether --enable-largefile was given.
20690 if test "${enable_largefile+set}" = set; then :
20691 enableval=$enable_largefile;
20692 fi
20693
20694 if test "$enable_largefile" != no; then
20695 wx_largefile=no
20696
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20698 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20699 if ${ac_cv_sys_file_offset_bits+:} false; then :
20700 $as_echo_n "(cached) " >&6
20701 else
20702
20703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20705 #define _FILE_OFFSET_BITS 64
20706 #include <sys/types.h>
20707 int
20708 main ()
20709 {
20710 typedef struct {
20711 unsigned int field: sizeof(off_t) == 8;
20712 } wxlf;
20713
20714 ;
20715 return 0;
20716 }
20717 _ACEOF
20718 if ac_fn_c_try_compile "$LINENO"; then :
20719 ac_cv_sys_file_offset_bits=64
20720 else
20721 ac_cv_sys_file_offset_bits=no
20722 fi
20723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20724
20725
20726 fi
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20728 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20729
20730 if test "$ac_cv_sys_file_offset_bits" != no; then
20731 wx_largefile=yes
20732 cat >>confdefs.h <<_ACEOF
20733 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20734 _ACEOF
20735
20736 fi
20737
20738 if test "x$wx_largefile" != "xyes"; then
20739
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20741 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20742 if ${ac_cv_sys_large_files+:} false; then :
20743 $as_echo_n "(cached) " >&6
20744 else
20745
20746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20747 /* end confdefs.h. */
20748 #define _LARGE_FILES 1
20749 #include <sys/types.h>
20750 int
20751 main ()
20752 {
20753 typedef struct {
20754 unsigned int field: sizeof(off_t) == 8;
20755 } wxlf;
20756
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 if ac_fn_c_try_compile "$LINENO"; then :
20762 ac_cv_sys_large_files=1
20763 else
20764 ac_cv_sys_large_files=no
20765 fi
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767
20768
20769 fi
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20771 $as_echo "$ac_cv_sys_large_files" >&6; }
20772
20773 if test "$ac_cv_sys_large_files" != no; then
20774 wx_largefile=yes
20775 cat >>confdefs.h <<_ACEOF
20776 #define _LARGE_FILES $ac_cv_sys_large_files
20777 _ACEOF
20778
20779 fi
20780
20781 fi
20782
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20784 $as_echo_n "checking if large file support is available... " >&6; }
20785 if test "x$wx_largefile" = "xyes"; then
20786 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20787
20788 fi
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20790 $as_echo "$wx_largefile" >&6; }
20791 fi
20792
20793 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20794 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20795 elif test "$ac_cv_sys_large_files" = 1; then
20796 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20797 fi
20798
20799 if test -n "$LARGEFILE_CPPFLAGS"; then
20800 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20801
20802 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20804 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20805 if ${wx_cv_STDC_EXT_required+:} false; then :
20806 $as_echo_n "(cached) " >&6
20807 else
20808
20809 ac_ext=cpp
20810 ac_cpp='$CXXCPP $CPPFLAGS'
20811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20814
20815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20817
20818 int
20819 main ()
20820 {
20821
20822 #ifndef __STDC_EXT__
20823 choke me
20824 #endif
20825
20826 ;
20827 return 0;
20828 }
20829 _ACEOF
20830 if ac_fn_cxx_try_compile "$LINENO"; then :
20831 wx_cv_STDC_EXT_required=no
20832 else
20833 wx_cv_STDC_EXT_required=yes
20834
20835 fi
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837 ac_ext=c
20838 ac_cpp='$CPP $CPPFLAGS'
20839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20842
20843
20844
20845 fi
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20847 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20848 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20849 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20850 fi
20851 fi
20852 fi
20853
20854 ac_ext=cpp
20855 ac_cpp='$CXXCPP $CPPFLAGS'
20856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20859
20860 old_CPPFLAGS="$CPPFLAGS"
20861 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20863 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20864 if ${ac_cv_sys_largefile_source+:} false; then :
20865 $as_echo_n "(cached) " >&6
20866 else
20867 while :; do
20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h. */
20870 #include <sys/types.h> /* for off_t */
20871 #include <stdio.h>
20872 int
20873 main ()
20874 {
20875 int (*fp) (FILE *, off_t, int) = fseeko;
20876 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 if ac_fn_cxx_try_link "$LINENO"; then :
20882 ac_cv_sys_largefile_source=no; break
20883 fi
20884 rm -f core conftest.err conftest.$ac_objext \
20885 conftest$ac_exeext conftest.$ac_ext
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20888 #define _LARGEFILE_SOURCE 1
20889 #include <sys/types.h> /* for off_t */
20890 #include <stdio.h>
20891 int
20892 main ()
20893 {
20894 int (*fp) (FILE *, off_t, int) = fseeko;
20895 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20896 ;
20897 return 0;
20898 }
20899 _ACEOF
20900 if ac_fn_cxx_try_link "$LINENO"; then :
20901 ac_cv_sys_largefile_source=1; break
20902 fi
20903 rm -f core conftest.err conftest.$ac_objext \
20904 conftest$ac_exeext conftest.$ac_ext
20905 ac_cv_sys_largefile_source=unknown
20906 break
20907 done
20908 fi
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20910 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20911 case $ac_cv_sys_largefile_source in #(
20912 no | unknown) ;;
20913 *)
20914 cat >>confdefs.h <<_ACEOF
20915 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20916 _ACEOF
20917 ;;
20918 esac
20919 rm -rf conftest*
20920
20921 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20922 # in glibc 2.1.3, but that breaks too many other things.
20923 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20924 if test $ac_cv_sys_largefile_source != unknown; then
20925
20926 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20927
20928 fi
20929
20930 CPPFLAGS="$old_CPPFLAGS"
20931 ac_ext=c
20932 ac_cpp='$CPP $CPPFLAGS'
20933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20936
20937 if test "$ac_cv_sys_largefile_source" != no; then
20938 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20939 fi
20940
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20942 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20943 if ${ac_cv_c_bigendian+:} false; then :
20944 $as_echo_n "(cached) " >&6
20945 else
20946 ac_cv_c_bigendian=unknown
20947 # See if sys/param.h defines the BYTE_ORDER macro.
20948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20950 #include <sys/types.h>
20951 #include <sys/param.h>
20952 int
20953 main ()
20954 {
20955
20956 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20957 bogus endian macros
20958 #endif
20959 ;
20960 return 0;
20961 }
20962 _ACEOF
20963 if ac_fn_c_try_compile "$LINENO"; then :
20964 # It does; now see whether it defined to BIG_ENDIAN or not.
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <sys/types.h>
20968 #include <sys/param.h>
20969 int
20970 main ()
20971 {
20972
20973 #if BYTE_ORDER != BIG_ENDIAN
20974 not big endian
20975 #endif
20976 ;
20977 return 0;
20978 }
20979 _ACEOF
20980 if ac_fn_c_try_compile "$LINENO"; then :
20981 ac_cv_c_bigendian=yes
20982 else
20983 ac_cv_c_bigendian=no
20984 fi
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 fi
20987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20988 if test $ac_cv_c_bigendian = unknown; then
20989 if test "$cross_compiling" = yes; then :
20990 ac_cv_c_bigendian=unknown
20991 else
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20994 main () {
20995 /* Are we little or big endian? From Harbison&Steele. */
20996 union
20997 {
20998 long l;
20999 char c[sizeof (long)];
21000 } u;
21001 u.l = 1;
21002 exit (u.c[sizeof (long) - 1] == 1);
21003 }
21004 _ACEOF
21005 if ac_fn_c_try_run "$LINENO"; then :
21006 ac_cv_c_bigendian=no
21007 else
21008 ac_cv_c_bigendian=yes
21009 fi
21010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21011 conftest.$ac_objext conftest.beam conftest.$ac_ext
21012 fi
21013
21014 fi
21015 fi
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21017 $as_echo "$ac_cv_c_bigendian" >&6; }
21018 if test $ac_cv_c_bigendian = unknown; then
21019 { $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
21020 $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;}
21021 fi
21022 if test $ac_cv_c_bigendian = yes; then
21023 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21024
21025 fi
21026
21027
21028
21029
21030 ac_ext=cpp
21031 ac_cpp='$CXXCPP $CPPFLAGS'
21032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21035
21036
21037 for ac_header in iostream
21038 do :
21039 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21040 "
21041 if test "x$ac_cv_header_iostream" = xyes; then :
21042 cat >>confdefs.h <<_ACEOF
21043 #define HAVE_IOSTREAM 1
21044 _ACEOF
21045
21046 fi
21047
21048 done
21049
21050
21051 if test "$ac_cv_header_iostream" = "yes" ; then
21052 :
21053 else
21054 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21055
21056 fi
21057
21058 ac_ext=c
21059 ac_cpp='$CPP $CPPFLAGS'
21060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21063
21064
21065
21066
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21068 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21069 if ${wx_cv_explicit+:} false; then :
21070 $as_echo_n "(cached) " >&6
21071 else
21072
21073
21074 ac_ext=cpp
21075 ac_cpp='$CXXCPP $CPPFLAGS'
21076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21079
21080
21081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21082 /* end confdefs.h. */
21083
21084 class Foo { public: explicit Foo(int) {} };
21085
21086 int
21087 main ()
21088 {
21089
21090 return 0;
21091
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 if ac_fn_cxx_try_compile "$LINENO"; then :
21097
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100
21101 class Foo { public: explicit Foo(int) {} };
21102 static void TakeFoo(const Foo& foo) { }
21103
21104 int
21105 main ()
21106 {
21107
21108 TakeFoo(17);
21109 return 0;
21110
21111 ;
21112 return 0;
21113 }
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116 wx_cv_explicit=no
21117 else
21118 wx_cv_explicit=yes
21119
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122
21123 else
21124 wx_cv_explicit=no
21125
21126 fi
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128
21129 ac_ext=c
21130 ac_cpp='$CPP $CPPFLAGS'
21131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21134
21135
21136 fi
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21138 $as_echo "$wx_cv_explicit" >&6; }
21139
21140 if test "$wx_cv_explicit" = "yes"; then
21141 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21142
21143 fi
21144
21145
21146 if test "x$SUNCXX" = xyes; then
21147 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21148 fi
21149
21150 if test "x$SUNCC" = xyes; then
21151 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21152 fi
21153
21154 if test "x$SGICC" = "xyes"; then
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21156 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21157 if ${wx_cv_prog_sgicc744+:} false; then :
21158 $as_echo_n "(cached) " >&6
21159 else
21160
21161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21162 /* end confdefs.h. */
21163
21164 int
21165 main ()
21166 {
21167
21168 #if _SGI_COMPILER_VERSION >= 744
21169 chock me: mipsPro is 7.4.4 or later
21170 #endif
21171
21172 ;
21173 return 0;
21174 }
21175 _ACEOF
21176 if ac_fn_c_try_compile "$LINENO"; then :
21177 wx_cv_prog_sgicc744=no
21178 else
21179 wx_cv_prog_sgicc744=yes
21180
21181 fi
21182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183
21184
21185 fi
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21187 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21188
21189 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21190 CFLAGS="-woff 3970 $CFLAGS"
21191 fi
21192 fi
21193 if test "x$SGICXX" = "xyes"; then
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21195 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21196 if ${wx_cv_prog_sgicxx744+:} false; then :
21197 $as_echo_n "(cached) " >&6
21198 else
21199
21200 ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205
21206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21207 /* end confdefs.h. */
21208
21209 int
21210 main ()
21211 {
21212
21213 #if _SGI_COMPILER_VERSION >= 744
21214 chock me: mipsPro is 7.4.4 or later
21215 #endif
21216
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 if ac_fn_cxx_try_compile "$LINENO"; then :
21222 wx_cv_prog_sgicxx744=no
21223 else
21224 wx_cv_prog_sgicxx744=yes
21225
21226 fi
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228 ac_ext=c
21229 ac_cpp='$CPP $CPPFLAGS'
21230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21233
21234
21235
21236 fi
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21238 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21239
21240 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21241 CXXFLAGS="-woff 3970 $CXXFLAGS"
21242 fi
21243 fi
21244
21245 if test "x$HPCC" = "xyes"; then
21246 CFLAGS="+W 2011,2450 $CFLAGS"
21247 fi
21248 if test "x$HPCXX" = "xyes"; then
21249 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21250 fi
21251
21252 if test "x$COMPAQCXX" = "xyes"; then
21253 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21254 fi
21255
21256 ac_ext=cpp
21257 ac_cpp='$CXXCPP $CPPFLAGS'
21258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21261
21262
21263 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21264 if test "$wxUSE_UNICODE" = "yes"; then
21265 std_string="std::wstring"
21266 char_type="wchar_t"
21267 else
21268 std_string="std::string"
21269 char_type="char"
21270 fi
21271
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21273 $as_echo_n "checking for $std_string in <string>... " >&6; }
21274 if ${wx_cv_class_stdstring+:} false; then :
21275 $as_echo_n "(cached) " >&6
21276 else
21277
21278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21280 #include <string>
21281 int
21282 main ()
21283 {
21284 $std_string foo;
21285 ;
21286 return 0;
21287 }
21288 _ACEOF
21289 if ac_fn_cxx_try_compile "$LINENO"; then :
21290 wx_cv_class_stdstring=yes
21291 else
21292 wx_cv_class_stdstring=no
21293
21294 fi
21295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21296
21297
21298 fi
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21300 $as_echo "$wx_cv_class_stdstring" >&6; }
21301
21302 if test "$wx_cv_class_stdstring" = yes; then
21303 if test "$wxUSE_UNICODE" = "yes"; then
21304 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21305
21306 fi
21307 else
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21309 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21310 if ${wx_cv_class_stdbasicstring+:} false; then :
21311 $as_echo_n "(cached) " >&6
21312 else
21313
21314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21316
21317 #ifdef HAVE_WCHAR_H
21318 # ifdef __CYGWIN__
21319 # include <stddef.h>
21320 # endif
21321 # include <wchar.h>
21322 #endif
21323 #ifdef HAVE_STDLIB_H
21324 # include <stdlib.h>
21325 #endif
21326 #include <stdio.h>
21327 #include <string>
21328
21329 int
21330 main ()
21331 {
21332 std::basic_string<$char_type> foo;
21333 const $char_type* dummy = foo.c_str();
21334 ;
21335 return 0;
21336 }
21337 _ACEOF
21338 if ac_fn_cxx_try_compile "$LINENO"; then :
21339 wx_cv_class_stdbasicstring=yes
21340 else
21341 wx_cv_class_stdbasicstring=no
21342
21343 fi
21344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21345
21346
21347 fi
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21349 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21350
21351 if test "$wx_cv_class_stdbasicstring" != yes; then
21352 if test "$wxUSE_STL" = "yes"; then
21353 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21354 elif test "$wxUSE_STD_STRING" = "yes"; then
21355 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21356 else
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21358 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21359 wxUSE_STD_STRING=no
21360 fi
21361 fi
21362 fi
21363 fi
21364
21365 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21366 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21367 "
21368 if test "x$ac_cv_type_std__istream" = xyes; then :
21369
21370 cat >>confdefs.h <<_ACEOF
21371 #define HAVE_STD__ISTREAM 1
21372 _ACEOF
21373
21374
21375 else
21376 wxUSE_STD_IOSTREAM=no
21377 fi
21378 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21379 "
21380 if test "x$ac_cv_type_std__ostream" = xyes; then :
21381
21382 cat >>confdefs.h <<_ACEOF
21383 #define HAVE_STD__OSTREAM 1
21384 _ACEOF
21385
21386
21387 else
21388 wxUSE_STD_IOSTREAM=no
21389 fi
21390
21391
21392 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21393 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21394 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21395 else
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21397 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21398 fi
21399 fi
21400 fi
21401
21402 if test "$wxUSE_STL" = "yes"; then
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21404 $as_echo_n "checking for basic STL functionality... " >&6; }
21405 if ${wx_cv_lib_stl+:} false; then :
21406 $as_echo_n "(cached) " >&6
21407 else
21408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21409 /* end confdefs.h. */
21410 #include <string>
21411 #include <functional>
21412 #include <algorithm>
21413 #include <vector>
21414 #include <list>
21415 int
21416 main ()
21417 {
21418 std::vector<int> moo;
21419 std::list<int> foo;
21420 std::vector<int>::iterator it =
21421 std::find_if(moo.begin(), moo.end(),
21422 std::bind2nd(std::less<int>(), 3));
21423 ;
21424 return 0;
21425 }
21426 _ACEOF
21427 if ac_fn_cxx_try_compile "$LINENO"; then :
21428 wx_cv_lib_stl=yes
21429 else
21430 wx_cv_lib_stl=no
21431
21432 fi
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434
21435 fi
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21437 $as_echo "$wx_cv_lib_stl" >&6; }
21438
21439 if test "$wx_cv_lib_stl" != yes; then
21440 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21441 fi
21442
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21444 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21445 if ${wx_cv_func_stdstring_compare+:} false; then :
21446 $as_echo_n "(cached) " >&6
21447 else
21448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21450 #include <string>
21451 int
21452 main ()
21453 {
21454 std::string foo, bar;
21455 foo.compare(bar);
21456 foo.compare(1, 1, bar);
21457 foo.compare(1, 1, bar, 1, 1);
21458 foo.compare("");
21459 foo.compare(1, 1, "");
21460 foo.compare(1, 1, "", 2);
21461 ;
21462 return 0;
21463 }
21464 _ACEOF
21465 if ac_fn_cxx_try_compile "$LINENO"; then :
21466 wx_cv_func_stdstring_compare=yes
21467 else
21468 wx_cv_func_stdstring_compare=no
21469
21470 fi
21471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21472
21473 fi
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21475 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21476
21477 if test "$wx_cv_func_stdstring_compare" = yes; then
21478 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21479
21480 fi
21481
21482 if test "$wx_cv_class_gnuhashmapset" = yes; then
21483 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21484
21485 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21486
21487 fi
21488
21489 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21490
21491 "
21492 if test "x$ac_cv_header_unordered_map" = xyes; then :
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21494 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21495 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21496 $as_echo_n "(cached) " >&6
21497 else
21498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21499 /* end confdefs.h. */
21500 #include <unordered_map>
21501 #include <unordered_set>
21502 int
21503 main ()
21504 {
21505 std::unordered_map<double*, char*> test1;
21506 std::unordered_set<char*> test2;
21507 ;
21508 return 0;
21509 }
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 wx_cv_class_stdunorderedmapset=yes
21513 else
21514 wx_cv_class_stdunorderedmapset=no
21515 fi
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517
21518
21519 fi
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21521 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21522 fi
21523
21524
21525
21526 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21527 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21528
21529 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21530
21531 else
21532 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21533
21534 "
21535 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21537 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21538 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21539 $as_echo_n "(cached) " >&6
21540 else
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <tr1/unordered_map>
21544 #include <tr1/unordered_set>
21545 int
21546 main ()
21547 {
21548 std::tr1::unordered_map<double*, char*> test1;
21549 std::tr1::unordered_set<char*> test2;
21550 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21551 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21552 #endif
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 if ac_fn_cxx_try_compile "$LINENO"; then :
21558 wx_cv_class_tr1unorderedmapset=yes
21559 else
21560 wx_cv_class_tr1unorderedmapset=no
21561 fi
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563
21564
21565 fi
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21567 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21568 fi
21569
21570
21571
21572 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21573 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21574
21575 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21576
21577 else
21578 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21579
21580 "
21581 if test "x$ac_cv_header_hash_map" = xyes; then :
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21583 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21584 if ${wx_cv_class_stdhashmapset+:} false; then :
21585 $as_echo_n "(cached) " >&6
21586 else
21587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588 /* end confdefs.h. */
21589 #include <hash_map>
21590 #include <hash_set>
21591 int
21592 main ()
21593 {
21594 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21595 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21596 ;
21597 return 0;
21598 }
21599 _ACEOF
21600 if ac_fn_cxx_try_compile "$LINENO"; then :
21601 wx_cv_class_stdhashmapset=yes
21602 else
21603 wx_cv_class_stdhashmapset=no
21604 fi
21605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21606
21607
21608 fi
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21610 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21611 fi
21612
21613
21614
21615 if test "$wx_cv_class_stdhashmapset" = yes; then
21616 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21617
21618 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21619
21620 fi
21621
21622 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21623
21624 "
21625 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21627 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21628 if ${wx_cv_class_gnuhashmapset+:} false; then :
21629 $as_echo_n "(cached) " >&6
21630 else
21631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21633 #include <ext/hash_map>
21634 #include <ext/hash_set>
21635 int
21636 main ()
21637 {
21638 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21639 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 if ac_fn_cxx_try_compile "$LINENO"; then :
21645 wx_cv_class_gnuhashmapset=yes
21646 else
21647 wx_cv_class_gnuhashmapset=no
21648 fi
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650
21651
21652 fi
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21654 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21655 fi
21656
21657
21658
21659 fi
21660 fi
21661 fi
21662
21663 ac_ext=cpp
21664 ac_cpp='$CXXCPP $CPPFLAGS'
21665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21669 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21670 if test -z "$CXXCPP"; then
21671 if ${ac_cv_prog_CXXCPP+:} false; then :
21672 $as_echo_n "(cached) " >&6
21673 else
21674 # Double quotes because CXXCPP needs to be expanded
21675 for CXXCPP in "$CXX -E" "/lib/cpp"
21676 do
21677 ac_preproc_ok=false
21678 for ac_cxx_preproc_warn_flag in '' yes
21679 do
21680 # Use a header file that comes with gcc, so configuring glibc
21681 # with a fresh cross-compiler works.
21682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21683 # <limits.h> exists even on freestanding compilers.
21684 # On the NeXT, cc -E runs the code through the compiler's parser,
21685 # not just through cpp. "Syntax error" is here to catch this case.
21686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21687 /* end confdefs.h. */
21688 #ifdef __STDC__
21689 # include <limits.h>
21690 #else
21691 # include <assert.h>
21692 #endif
21693 Syntax error
21694 _ACEOF
21695 if ac_fn_cxx_try_cpp "$LINENO"; then :
21696
21697 else
21698 # Broken: fails on valid input.
21699 continue
21700 fi
21701 rm -f conftest.err conftest.i conftest.$ac_ext
21702
21703 # OK, works on sane cases. Now check whether nonexistent headers
21704 # can be detected and how.
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21707 #include <ac_nonexistent.h>
21708 _ACEOF
21709 if ac_fn_cxx_try_cpp "$LINENO"; then :
21710 # Broken: success on invalid input.
21711 continue
21712 else
21713 # Passes both tests.
21714 ac_preproc_ok=:
21715 break
21716 fi
21717 rm -f conftest.err conftest.i conftest.$ac_ext
21718
21719 done
21720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21721 rm -f conftest.i conftest.err conftest.$ac_ext
21722 if $ac_preproc_ok; then :
21723 break
21724 fi
21725
21726 done
21727 ac_cv_prog_CXXCPP=$CXXCPP
21728
21729 fi
21730 CXXCPP=$ac_cv_prog_CXXCPP
21731 else
21732 ac_cv_prog_CXXCPP=$CXXCPP
21733 fi
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21735 $as_echo "$CXXCPP" >&6; }
21736 ac_preproc_ok=false
21737 for ac_cxx_preproc_warn_flag in '' yes
21738 do
21739 # Use a header file that comes with gcc, so configuring glibc
21740 # with a fresh cross-compiler works.
21741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21742 # <limits.h> exists even on freestanding compilers.
21743 # On the NeXT, cc -E runs the code through the compiler's parser,
21744 # not just through cpp. "Syntax error" is here to catch this case.
21745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21746 /* end confdefs.h. */
21747 #ifdef __STDC__
21748 # include <limits.h>
21749 #else
21750 # include <assert.h>
21751 #endif
21752 Syntax error
21753 _ACEOF
21754 if ac_fn_cxx_try_cpp "$LINENO"; then :
21755
21756 else
21757 # Broken: fails on valid input.
21758 continue
21759 fi
21760 rm -f conftest.err conftest.i conftest.$ac_ext
21761
21762 # OK, works on sane cases. Now check whether nonexistent headers
21763 # can be detected and how.
21764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21766 #include <ac_nonexistent.h>
21767 _ACEOF
21768 if ac_fn_cxx_try_cpp "$LINENO"; then :
21769 # Broken: success on invalid input.
21770 continue
21771 else
21772 # Passes both tests.
21773 ac_preproc_ok=:
21774 break
21775 fi
21776 rm -f conftest.err conftest.i conftest.$ac_ext
21777
21778 done
21779 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21780 rm -f conftest.i conftest.err conftest.$ac_ext
21781 if $ac_preproc_ok; then :
21782
21783 else
21784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21786 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21787 See \`config.log' for more details" "$LINENO" 5; }
21788 fi
21789
21790 ac_ext=cpp
21791 ac_cpp='$CXXCPP $CPPFLAGS'
21792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21795
21796
21797 for ac_header in type_traits tr1/type_traits
21798 do :
21799 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21800 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21801 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21802 cat >>confdefs.h <<_ACEOF
21803 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21804 _ACEOF
21805
21806 fi
21807
21808 done
21809
21810
21811
21812
21813 if test -n "$GCC"; then
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21815 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21816 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21817 $as_echo_n "(cached) " >&6
21818 else
21819
21820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21821 /* end confdefs.h. */
21822
21823 int
21824 main ()
21825 {
21826
21827 unsigned int value=0;
21828 /* wxAtomicInc doesn't use return value here */
21829 __sync_fetch_and_add(&value, 2);
21830 __sync_sub_and_fetch(&value, 1);
21831 /* but wxAtomicDec does, so mimic that: */
21832 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21833
21834 ;
21835 return 0;
21836 }
21837 _ACEOF
21838 if ac_fn_cxx_try_link "$LINENO"; then :
21839 wx_cv_cc_gcc_atomic_builtins=yes
21840 else
21841 wx_cv_cc_gcc_atomic_builtins=no
21842 fi
21843 rm -f core conftest.err conftest.$ac_objext \
21844 conftest$ac_exeext conftest.$ac_ext
21845
21846 fi
21847
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21849 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21850 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21851 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21852
21853 fi
21854 fi
21855
21856
21857 ac_ext=c
21858 ac_cpp='$CPP $CPPFLAGS'
21859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21862
21863
21864
21865 SEARCH_INCLUDE="\
21866 /usr/local/include \
21867 /usr/local/X11/include \
21868 /usr/local/include/X11 \
21869 /usr/local/X11R7/include \
21870 /usr/local/X11R6/include \
21871 /usr/local/include/X11R7 \
21872 /usr/local/include/X11R6 \
21873 \
21874 /usr/Motif-2.1/include \
21875 /usr/Motif-1.2/include \
21876 /usr/include/Motif1.2 \
21877 \
21878 /usr/dt/include \
21879 /usr/openwin/include \
21880 \
21881 /usr/include/Xm \
21882 \
21883 /usr/X11R7/include \
21884 /usr/X11R6/include \
21885 /usr/X11R6.4/include \
21886 \
21887 /usr/include/X11R7 \
21888 /usr/include/X11R6 \
21889 \
21890 /usr/X11/include \
21891 /usr/include/X11 \
21892 \
21893 /usr/XFree86/include/X11 \
21894 /usr/pkg/include \
21895 \
21896 /usr/local/X1R5/include \
21897 /usr/local/include/X11R5 \
21898 /usr/X11R5/include \
21899 /usr/include/X11R5 \
21900 \
21901 /usr/local/X11R4/include \
21902 /usr/local/include/X11R4 \
21903 /usr/X11R4/include \
21904 /usr/include/X11R4 \
21905 \
21906 /usr/openwin/share/include"
21907
21908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21909 $as_echo_n "checking for libraries directories... " >&6; }
21910
21911 case "${host}" in
21912 *-*-irix6* )
21913 if ${wx_cv_std_libpath+:} false; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21916
21917 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21918 for e in a so sl dylib dll.a; do
21919 libc="$d/libc.$e"
21920 if test -f $libc; then
21921 save_LIBS="$LIBS"
21922 LIBS="$libc"
21923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h. */
21925
21926 int main() { return 0; }
21927
21928 _ACEOF
21929 if ac_fn_c_try_link "$LINENO"; then :
21930 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21931 fi
21932 rm -f core conftest.err conftest.$ac_objext \
21933 conftest$ac_exeext conftest.$ac_ext
21934 LIBS="$save_LIBS"
21935 if test "x$wx_cv_std_libpath" != "x"; then
21936 break 2
21937 fi
21938 fi
21939 done
21940 done
21941
21942
21943 fi
21944
21945 ;;
21946
21947 *-*-solaris2* )
21948 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21949 wx_cv_std_libpath="lib/64"
21950 fi
21951 ;;
21952
21953 *-*-linux* )
21954 if test "$ac_cv_sizeof_void_p" = 8; then
21955 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21956 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21957 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21958 wx_cv_std_libpath="lib64"
21959 fi
21960 else
21961 case "${host}" in
21962 i*86-*-linux* )
21963 if test -d '/usr/lib/i386-linux-gnu'; then
21964 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21965 fi
21966 esac
21967 fi
21968
21969 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21970 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21971 fi
21972 ;;
21973 esac
21974
21975 if test -z "$wx_cv_std_libpath"; then
21976 wx_cv_std_libpath="lib"
21977 fi
21978
21979 if test -z "$wx_cv_std_libfullpath"; then
21980 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21981 fi
21982
21983
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21985 $as_echo "$wx_cv_std_libfullpath" >&6; }
21986
21987 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21988
21989 if test "$build" != "$host" -a "$GCC" = yes; then
21990 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21991 cross_root=`dirname $cross_root`
21992 cross_root=`dirname $cross_root`
21993
21994 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21995 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21996 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21997
21998 if test -z "$PKG_CONFIG_PATH"; then
21999 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22000 export PKG_CONFIG_PATH
22001 fi
22002
22003 if test -z "$x_includes" -o "$x_includes" = NONE; then
22004
22005 ac_find_includes=
22006 for ac_dir in $SEARCH_INCLUDE /usr/include
22007 do
22008 if test -f "$ac_dir/X11/Intrinsic.h"; then
22009 ac_find_includes=$ac_dir
22010 break
22011 fi
22012 done
22013
22014 x_includes=$ac_find_includes
22015 fi
22016 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22017
22018 ac_find_libraries=
22019 for ac_dir in $SEARCH_LIB
22020 do
22021 for ac_extension in a so sl dylib dll.a; do
22022 if test -f "$ac_dir/libXt.$ac_extension"; then
22023 ac_find_libraries=$ac_dir
22024 break 2
22025 fi
22026 done
22027 done
22028
22029 x_libraries=$ac_find_libraries
22030 fi
22031 fi
22032 fi
22033
22034
22035 cat >confcache <<\_ACEOF
22036 # This file is a shell script that caches the results of configure
22037 # tests run on this system so they can be shared between configure
22038 # scripts and configure runs, see configure's option --config-cache.
22039 # It is not useful on other systems. If it contains results you don't
22040 # want to keep, you may remove or edit it.
22041 #
22042 # config.status only pays attention to the cache file if you give it
22043 # the --recheck option to rerun configure.
22044 #
22045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22047 # following values.
22048
22049 _ACEOF
22050
22051 # The following way of writing the cache mishandles newlines in values,
22052 # but we know of no workaround that is simple, portable, and efficient.
22053 # So, we kill variables containing newlines.
22054 # Ultrix sh set writes to stderr and can't be redirected directly,
22055 # and sets the high bit in the cache file unless we assign to the vars.
22056 (
22057 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22058 eval ac_val=\$$ac_var
22059 case $ac_val in #(
22060 *${as_nl}*)
22061 case $ac_var in #(
22062 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22064 esac
22065 case $ac_var in #(
22066 _ | IFS | as_nl) ;; #(
22067 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22068 *) { eval $ac_var=; unset $ac_var;} ;;
22069 esac ;;
22070 esac
22071 done
22072
22073 (set) 2>&1 |
22074 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22075 *${as_nl}ac_space=\ *)
22076 # `set' does not quote correctly, so add quotes: double-quote
22077 # substitution turns \\\\ into \\, and sed turns \\ into \.
22078 sed -n \
22079 "s/'/'\\\\''/g;
22080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22081 ;; #(
22082 *)
22083 # `set' quotes correctly as required by POSIX, so do not add quotes.
22084 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22085 ;;
22086 esac |
22087 sort
22088 ) |
22089 sed '
22090 /^ac_cv_env_/b end
22091 t clear
22092 :clear
22093 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22094 t end
22095 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22096 :end' >>confcache
22097 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22098 if test -w "$cache_file"; then
22099 if test "x$cache_file" != "x/dev/null"; then
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22101 $as_echo "$as_me: updating cache $cache_file" >&6;}
22102 if test ! -f "$cache_file" || test -h "$cache_file"; then
22103 cat confcache >"$cache_file"
22104 else
22105 case $cache_file in #(
22106 */* | ?:*)
22107 mv -f confcache "$cache_file"$$ &&
22108 mv -f "$cache_file"$$ "$cache_file" ;; #(
22109 *)
22110 mv -f confcache "$cache_file" ;;
22111 esac
22112 fi
22113 fi
22114 else
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22116 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22117 fi
22118 fi
22119 rm -f confcache
22120
22121 have_cos=0
22122 have_floor=0
22123 for ac_func in cos
22124 do :
22125 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22126 if test "x$ac_cv_func_cos" = xyes; then :
22127 cat >>confdefs.h <<_ACEOF
22128 #define HAVE_COS 1
22129 _ACEOF
22130 have_cos=1
22131 fi
22132 done
22133
22134 for ac_func in floor
22135 do :
22136 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22137 if test "x$ac_cv_func_floor" = xyes; then :
22138 cat >>confdefs.h <<_ACEOF
22139 #define HAVE_FLOOR 1
22140 _ACEOF
22141 have_floor=1
22142 fi
22143 done
22144
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22146 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22147 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22149 $as_echo "yes" >&6; }
22150 else
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22152 $as_echo "no" >&6; }
22153 LIBS="$LIBS -lm"
22154 # use different functions to avoid configure caching
22155 have_sin=0
22156 have_ceil=0
22157 for ac_func in sin
22158 do :
22159 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22160 if test "x$ac_cv_func_sin" = xyes; then :
22161 cat >>confdefs.h <<_ACEOF
22162 #define HAVE_SIN 1
22163 _ACEOF
22164 have_sin=1
22165 fi
22166 done
22167
22168 for ac_func in ceil
22169 do :
22170 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22171 if test "x$ac_cv_func_ceil" = xyes; then :
22172 cat >>confdefs.h <<_ACEOF
22173 #define HAVE_CEIL 1
22174 _ACEOF
22175 have_ceil=1
22176 fi
22177 done
22178
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22180 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22181 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22183 $as_echo "yes" >&6; }
22184 else
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22186 $as_echo "no" >&6; }
22187 # not sure we should warn the user, crash, etc.
22188 fi
22189 fi
22190
22191 ac_ext=cpp
22192 ac_cpp='$CXXCPP $CPPFLAGS'
22193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22196
22197 if test "wxUSE_UNICODE" = "yes"; then
22198
22199 for wx_func in wcstoull
22200 do
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22202 $as_echo_n "checking for $wx_func... " >&6; }
22203 if eval \${wx_cv_func_$wx_func+:} false; then :
22204 $as_echo_n "(cached) " >&6
22205 else
22206
22207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22209
22210
22211
22212 $ac_includes_default
22213
22214 int
22215 main ()
22216 {
22217
22218 #ifndef $wx_func
22219 &$wx_func;
22220 #endif
22221
22222
22223 ;
22224 return 0;
22225 }
22226
22227 _ACEOF
22228 if ac_fn_cxx_try_link "$LINENO"; then :
22229 eval wx_cv_func_$wx_func=yes
22230 else
22231 eval wx_cv_func_$wx_func=no
22232 fi
22233 rm -f core conftest.err conftest.$ac_objext \
22234 conftest$ac_exeext conftest.$ac_ext
22235
22236 fi
22237 eval ac_res=\$wx_cv_func_$wx_func
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22239 $as_echo "$ac_res" >&6; }
22240
22241 if eval test \$wx_cv_func_$wx_func = yes
22242 then
22243 cat >>confdefs.h <<_ACEOF
22244 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22245 _ACEOF
22246
22247
22248 else
22249 :
22250
22251 fi
22252 done
22253
22254 else
22255
22256 for wx_func in strtoull
22257 do
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22259 $as_echo_n "checking for $wx_func... " >&6; }
22260 if eval \${wx_cv_func_$wx_func+:} false; then :
22261 $as_echo_n "(cached) " >&6
22262 else
22263
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266
22267
22268
22269 $ac_includes_default
22270
22271 int
22272 main ()
22273 {
22274
22275 #ifndef $wx_func
22276 &$wx_func;
22277 #endif
22278
22279
22280 ;
22281 return 0;
22282 }
22283
22284 _ACEOF
22285 if ac_fn_cxx_try_link "$LINENO"; then :
22286 eval wx_cv_func_$wx_func=yes
22287 else
22288 eval wx_cv_func_$wx_func=no
22289 fi
22290 rm -f core conftest.err conftest.$ac_objext \
22291 conftest$ac_exeext conftest.$ac_ext
22292
22293 fi
22294 eval ac_res=\$wx_cv_func_$wx_func
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22296 $as_echo "$ac_res" >&6; }
22297
22298 if eval test \$wx_cv_func_$wx_func = yes
22299 then
22300 cat >>confdefs.h <<_ACEOF
22301 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22302 _ACEOF
22303
22304
22305 else
22306 :
22307
22308 fi
22309 done
22310
22311 fi
22312 ac_ext=c
22313 ac_cpp='$CPP $CPPFLAGS'
22314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317
22318
22319
22320
22321 if test "$wxUSE_REGEX" != "no"; then
22322 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22323
22324
22325 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22327 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22328 wxUSE_REGEX=builtin
22329 fi
22330
22331 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22332 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22333 "
22334 if test "x$ac_cv_header_regex_h" = xyes; then :
22335 for ac_func in regcomp re_search
22336 do :
22337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22340 cat >>confdefs.h <<_ACEOF
22341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22342 _ACEOF
22343
22344 fi
22345 done
22346
22347 fi
22348
22349
22350
22351 if test "x$ac_cv_func_regcomp" != "xyes"; then
22352 if test "$wxUSE_REGEX" = "sys" ; then
22353 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22354 else
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22356 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22357 wxUSE_REGEX=builtin
22358 fi
22359 else
22360 wxUSE_REGEX=sys
22361 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22362
22363 fi
22364 fi
22365 fi
22366
22367
22368 ZLIB_LINK=
22369 if test "$wxUSE_ZLIB" != "no" ; then
22370 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22371
22372
22373 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22374 if test "$USE_DARWIN" = 1; then
22375 system_zlib_h_ok="yes"
22376 else
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22378 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22379 if ${ac_cv_header_zlib_h+:} false; then :
22380 $as_echo_n "(cached) " >&6
22381 else
22382 if test "$cross_compiling" = yes; then :
22383 unset ac_cv_header_zlib_h
22384
22385 else
22386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h. */
22388
22389 #include <zlib.h>
22390 #include <stdio.h>
22391
22392 int main()
22393 {
22394 FILE *f=fopen("conftestval", "w");
22395 if (!f) exit(1);
22396 fprintf(f, "%s",
22397 ZLIB_VERSION[0] == '1' &&
22398 (ZLIB_VERSION[2] > '1' ||
22399 (ZLIB_VERSION[2] == '1' &&
22400 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22401 exit(0);
22402 }
22403
22404 _ACEOF
22405 if ac_fn_c_try_run "$LINENO"; then :
22406 ac_cv_header_zlib_h=`cat conftestval`
22407 else
22408 ac_cv_header_zlib_h=no
22409 fi
22410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22411 conftest.$ac_objext conftest.beam conftest.$ac_ext
22412 fi
22413
22414
22415 fi
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22417 $as_echo "$ac_cv_header_zlib_h" >&6; }
22418 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22419 "
22420 if test "x$ac_cv_header_zlib_h" = xyes; then :
22421
22422 fi
22423
22424
22425
22426 system_zlib_h_ok=$ac_cv_header_zlib_h
22427 fi
22428
22429 if test "$system_zlib_h_ok" = "yes"; then
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22431 $as_echo_n "checking for deflate in -lz... " >&6; }
22432 if ${ac_cv_lib_z_deflate+:} false; then :
22433 $as_echo_n "(cached) " >&6
22434 else
22435 ac_check_lib_save_LIBS=$LIBS
22436 LIBS="-lz $LIBS"
22437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h. */
22439
22440 /* Override any GCC internal prototype to avoid an error.
22441 Use char because int might match the return type of a GCC
22442 builtin and then its argument prototype would still apply. */
22443 #ifdef __cplusplus
22444 extern "C"
22445 #endif
22446 char deflate ();
22447 int
22448 main ()
22449 {
22450 return deflate ();
22451 ;
22452 return 0;
22453 }
22454 _ACEOF
22455 if ac_fn_c_try_link "$LINENO"; then :
22456 ac_cv_lib_z_deflate=yes
22457 else
22458 ac_cv_lib_z_deflate=no
22459 fi
22460 rm -f core conftest.err conftest.$ac_objext \
22461 conftest$ac_exeext conftest.$ac_ext
22462 LIBS=$ac_check_lib_save_LIBS
22463 fi
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22465 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22466 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22467 ZLIB_LINK=" -lz"
22468 fi
22469
22470 fi
22471
22472 if test "x$ZLIB_LINK" = "x" ; then
22473 if test "$wxUSE_ZLIB" = "sys" ; then
22474 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22475 else
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22477 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22478 wxUSE_ZLIB=builtin
22479 fi
22480 else
22481 wxUSE_ZLIB=sys
22482 fi
22483 fi
22484 fi
22485
22486
22487 PNG_LINK=
22488 if test "$wxUSE_LIBPNG" != "no" ; then
22489 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22490
22491
22492 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22494 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22495 wxUSE_LIBPNG=builtin
22496 fi
22497
22498 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22500 $as_echo_n "checking for png.h > 0.90... " >&6; }
22501 if ${ac_cv_header_png_h+:} false; then :
22502 $as_echo_n "(cached) " >&6
22503 else
22504 if test "$cross_compiling" = yes; then :
22505 unset ac_cv_header_png_h
22506
22507 else
22508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22509 /* end confdefs.h. */
22510
22511 #include <png.h>
22512 #include <stdio.h>
22513
22514 int main()
22515 {
22516 FILE *f=fopen("conftestval", "w");
22517 if (!f) exit(1);
22518 fprintf(f, "%s",
22519 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22520 exit(0);
22521 }
22522
22523 _ACEOF
22524 if ac_fn_c_try_run "$LINENO"; then :
22525 ac_cv_header_png_h=`cat conftestval`
22526 else
22527 ac_cv_header_png_h=no
22528 fi
22529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22530 conftest.$ac_objext conftest.beam conftest.$ac_ext
22531 fi
22532
22533
22534 fi
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22536 $as_echo "$ac_cv_header_png_h" >&6; }
22537 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22538 "
22539 if test "x$ac_cv_header_png_h" = xyes; then :
22540
22541 fi
22542
22543
22544
22545 if test "$ac_cv_header_png_h" = "yes"; then
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22547 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22548 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22549 $as_echo_n "(cached) " >&6
22550 else
22551 ac_check_lib_save_LIBS=$LIBS
22552 LIBS="-lpng -lz -lm $LIBS"
22553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22554 /* end confdefs.h. */
22555
22556 /* Override any GCC internal prototype to avoid an error.
22557 Use char because int might match the return type of a GCC
22558 builtin and then its argument prototype would still apply. */
22559 #ifdef __cplusplus
22560 extern "C"
22561 #endif
22562 char png_sig_cmp ();
22563 int
22564 main ()
22565 {
22566 return png_sig_cmp ();
22567 ;
22568 return 0;
22569 }
22570 _ACEOF
22571 if ac_fn_c_try_link "$LINENO"; then :
22572 ac_cv_lib_png_png_sig_cmp=yes
22573 else
22574 ac_cv_lib_png_png_sig_cmp=no
22575 fi
22576 rm -f core conftest.err conftest.$ac_objext \
22577 conftest$ac_exeext conftest.$ac_ext
22578 LIBS=$ac_check_lib_save_LIBS
22579 fi
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22581 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22582 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22583 PNG_LINK=" -lpng -lz"
22584 fi
22585
22586 fi
22587
22588 if test "x$PNG_LINK" = "x" ; then
22589 if test "$wxUSE_LIBPNG" = "sys" ; then
22590 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22591 else
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22593 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22594 wxUSE_LIBPNG=builtin
22595 fi
22596 else
22597 wxUSE_LIBPNG=sys
22598 fi
22599 fi
22600 fi
22601
22602
22603 JPEG_LINK=
22604 if test "$wxUSE_LIBJPEG" != "no" ; then
22605 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22606
22607
22608 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22610 $as_echo_n "checking for jpeglib.h... " >&6; }
22611 if ${ac_cv_header_jpeglib_h+:} false; then :
22612 $as_echo_n "(cached) " >&6
22613 else
22614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22615 /* end confdefs.h. */
22616
22617 #undef HAVE_STDLIB_H
22618 #include <stdio.h>
22619 #include <jpeglib.h>
22620
22621 int
22622 main ()
22623 {
22624
22625
22626 ;
22627 return 0;
22628 }
22629 _ACEOF
22630 if ac_fn_c_try_compile "$LINENO"; then :
22631 ac_cv_header_jpeglib_h=yes
22632 else
22633 ac_cv_header_jpeglib_h=no
22634
22635 fi
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637
22638 fi
22639
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22641 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22642
22643 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22645 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22646 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22647 $as_echo_n "(cached) " >&6
22648 else
22649 ac_check_lib_save_LIBS=$LIBS
22650 LIBS="-ljpeg $LIBS"
22651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22652 /* end confdefs.h. */
22653
22654 /* Override any GCC internal prototype to avoid an error.
22655 Use char because int might match the return type of a GCC
22656 builtin and then its argument prototype would still apply. */
22657 #ifdef __cplusplus
22658 extern "C"
22659 #endif
22660 char jpeg_read_header ();
22661 int
22662 main ()
22663 {
22664 return jpeg_read_header ();
22665 ;
22666 return 0;
22667 }
22668 _ACEOF
22669 if ac_fn_c_try_link "$LINENO"; then :
22670 ac_cv_lib_jpeg_jpeg_read_header=yes
22671 else
22672 ac_cv_lib_jpeg_jpeg_read_header=no
22673 fi
22674 rm -f core conftest.err conftest.$ac_objext \
22675 conftest$ac_exeext conftest.$ac_ext
22676 LIBS=$ac_check_lib_save_LIBS
22677 fi
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22679 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22680 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22681 JPEG_LINK=" -ljpeg"
22682 fi
22683
22684 fi
22685
22686 if test "x$JPEG_LINK" = "x" ; then
22687 if test "$wxUSE_LIBJPEG" = "sys" ; then
22688 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22689 else
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22691 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22692 wxUSE_LIBJPEG=builtin
22693 fi
22694 else
22695 wxUSE_LIBJPEG=sys
22696
22697 if test "$wxUSE_MSW" = 1; then
22698 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22699 "
22700 if test "x$ac_cv_type_boolean" = xyes; then :
22701
22702 cat >>confdefs.h <<_ACEOF
22703 #define HAVE_BOOLEAN 1
22704 _ACEOF
22705
22706
22707 # The cast to long int works around a bug in the HP C Compiler
22708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22710 # This bug is HP SR number 8606223364.
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22712 $as_echo_n "checking size of boolean... " >&6; }
22713 if ${ac_cv_sizeof_boolean+:} false; then :
22714 $as_echo_n "(cached) " >&6
22715 else
22716 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22717 #undef HAVE_BOOLEAN
22718 #include <stdio.h>
22719 #include <jpeglib.h>
22720
22721 "; then :
22722
22723 else
22724 if test "$ac_cv_type_boolean" = yes; then
22725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22727 as_fn_error 77 "cannot compute sizeof (boolean)
22728 See \`config.log' for more details" "$LINENO" 5; }
22729 else
22730 ac_cv_sizeof_boolean=0
22731 fi
22732 fi
22733
22734 fi
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22736 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22737
22738
22739
22740 cat >>confdefs.h <<_ACEOF
22741 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22742 _ACEOF
22743
22744
22745 cat >>confdefs.h <<_ACEOF
22746 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22747 _ACEOF
22748
22749
22750 fi
22751
22752 fi
22753 fi
22754 fi
22755 fi
22756
22757
22758 TIFF_LINK=
22759 TIFF_PREREQ_LINKS=-lm
22760 if test "$wxUSE_LIBTIFF" != "no" ; then
22761 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22762
22763
22764 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22765 if test "$wxUSE_LIBJPEG" = "sys"; then
22766 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22767 fi
22768 if test "$wxUSE_ZLIB" = "sys"; then
22769 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22770 fi
22771 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22772
22773 "
22774 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22775
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22777 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22778 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22779 $as_echo_n "(cached) " >&6
22780 else
22781 ac_check_lib_save_LIBS=$LIBS
22782 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22785
22786 /* Override any GCC internal prototype to avoid an error.
22787 Use char because int might match the return type of a GCC
22788 builtin and then its argument prototype would still apply. */
22789 #ifdef __cplusplus
22790 extern "C"
22791 #endif
22792 char TIFFError ();
22793 int
22794 main ()
22795 {
22796 return TIFFError ();
22797 ;
22798 return 0;
22799 }
22800 _ACEOF
22801 if ac_fn_c_try_link "$LINENO"; then :
22802 ac_cv_lib_tiff_TIFFError=yes
22803 else
22804 ac_cv_lib_tiff_TIFFError=no
22805 fi
22806 rm -f core conftest.err conftest.$ac_objext \
22807 conftest$ac_exeext conftest.$ac_ext
22808 LIBS=$ac_check_lib_save_LIBS
22809 fi
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22811 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22812 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22813 TIFF_LINK=" -ltiff"
22814 fi
22815
22816
22817 fi
22818
22819
22820
22821 if test "x$TIFF_LINK" = "x" ; then
22822 if test "$wxUSE_LIBTIFF" = "sys" ; then
22823 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22824 else
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22826 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22827 wxUSE_LIBTIFF=builtin
22828 fi
22829 else
22830 wxUSE_LIBTIFF=sys
22831 fi
22832 fi
22833 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22834 if test "$wxUSE_LIBJPEG" = "no"; then
22835 ac_configure_args="$ac_configure_args --disable-jpeg"
22836 fi
22837
22838
22839 subdirs="$subdirs src/tiff"
22840
22841 fi
22842 fi
22843
22844
22845 if test "$wxUSE_EXPAT" != "no"; then
22846 wxUSE_XML=yes
22847 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22848
22849 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22850
22851
22852 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22853 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22854 "
22855 if test "x$ac_cv_header_expat_h" = xyes; then :
22856 found_expat_h=1
22857 fi
22858
22859
22860 if test "x$found_expat_h" = "x1"; then
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22862 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22863 if ${wx_cv_expat_is_not_broken+:} false; then :
22864 $as_echo_n "(cached) " >&6
22865 else
22866
22867 ac_ext=cpp
22868 ac_cpp='$CXXCPP $CPPFLAGS'
22869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22872
22873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22874 /* end confdefs.h. */
22875 #include <expat.h>
22876 int
22877 main ()
22878 {
22879
22880 ;
22881 return 0;
22882 }
22883 _ACEOF
22884 if ac_fn_cxx_try_compile "$LINENO"; then :
22885 wx_cv_expat_is_not_broken=yes
22886 else
22887 wx_cv_expat_is_not_broken=no
22888
22889 fi
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891 ac_ext=c
22892 ac_cpp='$CPP $CPPFLAGS'
22893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22896
22897
22898
22899 fi
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22901 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22902 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22904 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22905 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22906 $as_echo_n "(cached) " >&6
22907 else
22908 ac_check_lib_save_LIBS=$LIBS
22909 LIBS="-lexpat $LIBS"
22910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h. */
22912
22913 /* Override any GCC internal prototype to avoid an error.
22914 Use char because int might match the return type of a GCC
22915 builtin and then its argument prototype would still apply. */
22916 #ifdef __cplusplus
22917 extern "C"
22918 #endif
22919 char XML_ParserCreate ();
22920 int
22921 main ()
22922 {
22923 return XML_ParserCreate ();
22924 ;
22925 return 0;
22926 }
22927 _ACEOF
22928 if ac_fn_c_try_link "$LINENO"; then :
22929 ac_cv_lib_expat_XML_ParserCreate=yes
22930 else
22931 ac_cv_lib_expat_XML_ParserCreate=no
22932 fi
22933 rm -f core conftest.err conftest.$ac_objext \
22934 conftest$ac_exeext conftest.$ac_ext
22935 LIBS=$ac_check_lib_save_LIBS
22936 fi
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22938 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22939 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22940 EXPAT_LINK=" -lexpat"
22941 fi
22942
22943 fi
22944 fi
22945 if test "x$EXPAT_LINK" = "x" ; then
22946 if test "$wxUSE_EXPAT" = "sys" ; then
22947 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22948 else
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22950 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22951 wxUSE_EXPAT=builtin
22952 fi
22953 else
22954 wxUSE_EXPAT=sys
22955 fi
22956 fi
22957 if test "$wxUSE_EXPAT" = "builtin" ; then
22958 subdirs="$subdirs src/expat"
22959
22960 fi
22961 fi
22962
22963
22964
22965 if test "$wxUSE_LIBMSPACK" != "no"; then
22966 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22967 "
22968 if test "x$ac_cv_header_mspack_h" = xyes; then :
22969 found_mspack_h=1
22970 fi
22971
22972
22973 if test "x$found_mspack_h" = "x1"; then
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22975 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22976 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22977 $as_echo_n "(cached) " >&6
22978 else
22979 ac_check_lib_save_LIBS=$LIBS
22980 LIBS="-lmspack $LIBS"
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983
22984 /* Override any GCC internal prototype to avoid an error.
22985 Use char because int might match the return type of a GCC
22986 builtin and then its argument prototype would still apply. */
22987 #ifdef __cplusplus
22988 extern "C"
22989 #endif
22990 char mspack_create_chm_decompressor ();
22991 int
22992 main ()
22993 {
22994 return mspack_create_chm_decompressor ();
22995 ;
22996 return 0;
22997 }
22998 _ACEOF
22999 if ac_fn_c_try_link "$LINENO"; then :
23000 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23001 else
23002 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23003 fi
23004 rm -f core conftest.err conftest.$ac_objext \
23005 conftest$ac_exeext conftest.$ac_ext
23006 LIBS=$ac_check_lib_save_LIBS
23007 fi
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23009 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23010 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
23011 MSPACK_LINK=" -lmspack"
23012 fi
23013
23014 fi
23015 if test "x$MSPACK_LINK" = "x" ; then
23016 wxUSE_LIBMSPACK=no
23017 fi
23018 fi
23019
23020 if test "$wxUSE_LIBMSPACK" != "no"; then
23021 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23022
23023 fi
23024
23025
23026
23027 AFMINSTALL=
23028 WIN32INSTALL=
23029
23030 TOOLKIT=
23031 TOOLKIT_INCLUDE=
23032 WIDGET_SET=
23033
23034 if test "$USE_WIN32" = 1 ; then
23035 for ac_header in w32api.h
23036 do :
23037 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23038 "
23039 if test "x$ac_cv_header_w32api_h" = xyes; then :
23040 cat >>confdefs.h <<_ACEOF
23041 #define HAVE_W32API_H 1
23042 _ACEOF
23043
23044 fi
23045
23046 done
23047
23048 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23049 "
23050 if test "x$ac_cv_header_windows_h" = xyes; then :
23051
23052 else
23053
23054 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23055
23056 fi
23057
23058
23059
23060 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23061 case "${host}" in
23062 x86_64-*-mingw32* )
23063 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23064 ;;
23065 esac
23066 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23067 LIBS="$LIBS -loleacc"
23068 fi
23069
23070 case "${host}" in
23071 *-*-cygwin* )
23072 LIBS="$LIBS -lkernel32 -luser32"
23073 esac
23074
23075 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23076 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23077
23078 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23079
23080 WIN32INSTALL=win32install
23081 fi
23082
23083 if test "$wxUSE_GUI" = "yes"; then
23084 USE_GUI=1
23085
23086 GUI_TK_LIBRARY=
23087
23088 WXGTK1=
23089 WXGTK127=
23090 WXGTK2=
23091 WXGTK3=
23092 WXGPE=
23093
23094 if test "$wxUSE_OLD_COCOA" = 1 ; then
23095 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23097 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23098 wxUSE_PRINTING_ARCHITECTURE=no
23099 fi
23100 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23102 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23103 wxUSE_DRAG_AND_DROP=no
23104 fi
23105 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23107 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23108 wxUSE_DRAGIMAGE=no
23109 fi
23110 fi
23111
23112 if test "$wxUSE_MSW" = 1 ; then
23113 TOOLKIT=MSW
23114 GUIDIST=MSW_DIST
23115
23116 case "${host}" in
23117 *-*-mingw32* )
23118 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23119 esac
23120 fi
23121
23122 if test "$wxUSE_GTK" = 1; then
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23124 $as_echo_n "checking for GTK+ version... " >&6; }
23125
23126 gtk_version_cached=1
23127 if ${wx_cv_lib_gtk+:} false; then :
23128 $as_echo_n "(cached) " >&6
23129 else
23130
23131 gtk_version_cached=0
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23133 $as_echo "" >&6; }
23134
23135 GTK_MODULES=
23136 if test "$wxUSE_THREADS" = "yes"; then
23137 GTK_MODULES=gthread
23138 fi
23139
23140 if test -z "$wxGTK_VERSION"; then
23141 wxGTK_VERSION=any
23142 fi
23143
23144 wx_cv_lib_gtk=
23145 if test "x$wxGTK_VERSION" != "x1"
23146 then
23147 case "${host}" in
23148 *-*-solaris2* )
23149 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23150 enable_gtktest=no
23151 fi
23152 esac
23153
23154 if test "$wxGTK_VERSION" != 3; then
23155 # Check whether --enable-gtktest was given.
23156 if test "${enable_gtktest+set}" = set; then :
23157 enableval=$enable_gtktest;
23158 else
23159 enable_gtktest=yes
23160 fi
23161
23162
23163 pkg_config_args=gtk+-2.0
23164 for module in . $GTK_MODULES
23165 do
23166 case "$module" in
23167 gthread)
23168 pkg_config_args="$pkg_config_args gthread-2.0"
23169 ;;
23170 esac
23171 done
23172
23173 no_gtk=""
23174
23175 # Extract the first word of "pkg-config", so it can be a program name with args.
23176 set dummy pkg-config; ac_word=$2
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23178 $as_echo_n "checking for $ac_word... " >&6; }
23179 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23180 $as_echo_n "(cached) " >&6
23181 else
23182 case $PKG_CONFIG in
23183 [\\/]* | ?:[\\/]*)
23184 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23185 ;;
23186 *)
23187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23188 for as_dir in $PATH
23189 do
23190 IFS=$as_save_IFS
23191 test -z "$as_dir" && as_dir=.
23192 for ac_exec_ext in '' $ac_executable_extensions; do
23193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23194 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23196 break 2
23197 fi
23198 done
23199 done
23200 IFS=$as_save_IFS
23201
23202 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23203 ;;
23204 esac
23205 fi
23206 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23207 if test -n "$PKG_CONFIG"; then
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23209 $as_echo "$PKG_CONFIG" >&6; }
23210 else
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23212 $as_echo "no" >&6; }
23213 fi
23214
23215
23216
23217 if test x$PKG_CONFIG != xno ; then
23218 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23219 :
23220 else
23221 echo "*** pkg-config too old; version 0.7 or better required."
23222 no_gtk=yes
23223 PKG_CONFIG=no
23224 fi
23225 else
23226 no_gtk=yes
23227 fi
23228
23229 min_gtk_version=2.4.0
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23231 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23232
23233 if test x$PKG_CONFIG != xno ; then
23234 ## don't try to run the test against uninstalled libtool libs
23235 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23236 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23237 enable_gtktest=no
23238 fi
23239
23240 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23241 :
23242 else
23243 no_gtk=yes
23244 fi
23245 fi
23246
23247 if test x"$no_gtk" = x ; then
23248 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23249 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23250 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23252 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23254 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23255 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23256 if test "x$enable_gtktest" = "xyes" ; then
23257 ac_save_CFLAGS="$CFLAGS"
23258 ac_save_LIBS="$LIBS"
23259 CFLAGS="$CFLAGS $GTK_CFLAGS"
23260 LIBS="$GTK_LIBS $LIBS"
23261 rm -f conf.gtktest
23262 if test "$cross_compiling" = yes; then :
23263 echo $ac_n "cross compiling; assumed OK... $ac_c"
23264 else
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23267
23268 #include <gtk/gtk.h>
23269 #include <stdio.h>
23270 #include <stdlib.h>
23271
23272 int
23273 main ()
23274 {
23275 int major, minor, micro;
23276 char *tmp_version;
23277
23278 system ("touch conf.gtktest");
23279
23280 /* HP/UX 9 (%@#!) writes to sscanf strings */
23281 tmp_version = g_strdup("$min_gtk_version");
23282 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23283 printf("%s, bad version string\n", "$min_gtk_version");
23284 exit(1);
23285 }
23286
23287 if ((gtk_major_version != $gtk_config_major_version) ||
23288 (gtk_minor_version != $gtk_config_minor_version) ||
23289 (gtk_micro_version != $gtk_config_micro_version))
23290 {
23291 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23293 gtk_major_version, gtk_minor_version, gtk_micro_version);
23294 printf ("*** was found! If pkg-config was correct, then it is best\n");
23295 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23296 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23297 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23298 printf("*** required on your system.\n");
23299 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23300 printf("*** to point to the correct configuration files\n");
23301 }
23302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23303 (gtk_minor_version != GTK_MINOR_VERSION) ||
23304 (gtk_micro_version != GTK_MICRO_VERSION))
23305 {
23306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23308 printf("*** library (version %d.%d.%d)\n",
23309 gtk_major_version, gtk_minor_version, gtk_micro_version);
23310 }
23311 else
23312 {
23313 if ((gtk_major_version > major) ||
23314 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23315 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23316 {
23317 return 0;
23318 }
23319 else
23320 {
23321 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23322 gtk_major_version, gtk_minor_version, gtk_micro_version);
23323 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23324 major, minor, micro);
23325 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23326 printf("***\n");
23327 printf("*** If you have already installed a sufficiently new version, this error\n");
23328 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23329 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23330 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23331 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23332 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23333 printf("*** so that the correct libraries are found at run-time))\n");
23334 }
23335 }
23336 return 1;
23337 }
23338
23339 _ACEOF
23340 if ac_fn_c_try_run "$LINENO"; then :
23341
23342 else
23343 no_gtk=yes
23344 fi
23345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23346 conftest.$ac_objext conftest.beam conftest.$ac_ext
23347 fi
23348
23349 CFLAGS="$ac_save_CFLAGS"
23350 LIBS="$ac_save_LIBS"
23351 fi
23352 fi
23353 if test "x$no_gtk" = x ; then
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23355 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23356 wx_cv_lib_gtk=2.0
23357 else
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23359 $as_echo "no" >&6; }
23360 if test "$PKG_CONFIG" = "no" ; then
23361 echo "*** A new enough version of pkg-config was not found."
23362 echo "*** See http://pkgconfig.sourceforge.net"
23363 else
23364 if test -f conf.gtktest ; then
23365 :
23366 else
23367 echo "*** Could not run GTK+ test program, checking why..."
23368 ac_save_CFLAGS="$CFLAGS"
23369 ac_save_LIBS="$LIBS"
23370 CFLAGS="$CFLAGS $GTK_CFLAGS"
23371 LIBS="$LIBS $GTK_LIBS"
23372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h. */
23374
23375 #include <gtk/gtk.h>
23376 #include <stdio.h>
23377
23378 int
23379 main ()
23380 {
23381 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23382 ;
23383 return 0;
23384 }
23385 _ACEOF
23386 if ac_fn_c_try_link "$LINENO"; then :
23387 echo "*** The test program compiled, but did not run. This usually means"
23388 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23389 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23392 echo "*** is required on your system"
23393 echo "***"
23394 echo "*** If you have an old version installed, it is best to remove it, although"
23395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23396 else
23397 echo "*** The test program failed to compile or link. See the file config.log for the"
23398 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23399 fi
23400 rm -f core conftest.err conftest.$ac_objext \
23401 conftest$ac_exeext conftest.$ac_ext
23402 CFLAGS="$ac_save_CFLAGS"
23403 LIBS="$ac_save_LIBS"
23404 fi
23405 fi
23406 GTK_CFLAGS=""
23407 GTK_LIBS=""
23408 :
23409 fi
23410
23411
23412 rm -f conf.gtktest
23413
23414 fi
23415 if test -z "$wx_cv_lib_gtk"; then
23416 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23417 # Check whether --enable-gtktest was given.
23418 if test "${enable_gtktest+set}" = set; then :
23419 enableval=$enable_gtktest;
23420 else
23421 enable_gtktest=yes
23422 fi
23423
23424
23425 pkg_config_args=gtk+-3.0
23426 for module in . $GTK_MODULES
23427 do
23428 case "$module" in
23429 gthread)
23430 pkg_config_args="$pkg_config_args gthread-2.0"
23431 ;;
23432 esac
23433 done
23434
23435 no_gtk=""
23436
23437 # Extract the first word of "pkg-config", so it can be a program name with args.
23438 set dummy pkg-config; ac_word=$2
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23440 $as_echo_n "checking for $ac_word... " >&6; }
23441 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23442 $as_echo_n "(cached) " >&6
23443 else
23444 case $PKG_CONFIG in
23445 [\\/]* | ?:[\\/]*)
23446 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23447 ;;
23448 *)
23449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23450 for as_dir in $PATH
23451 do
23452 IFS=$as_save_IFS
23453 test -z "$as_dir" && as_dir=.
23454 for ac_exec_ext in '' $ac_executable_extensions; do
23455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23456 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23458 break 2
23459 fi
23460 done
23461 done
23462 IFS=$as_save_IFS
23463
23464 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23465 ;;
23466 esac
23467 fi
23468 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23469 if test -n "$PKG_CONFIG"; then
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23471 $as_echo "$PKG_CONFIG" >&6; }
23472 else
23473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23474 $as_echo "no" >&6; }
23475 fi
23476
23477
23478
23479 if test x$PKG_CONFIG != xno ; then
23480 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23481 :
23482 else
23483 echo "*** pkg-config too old; version 0.7 or better required."
23484 no_gtk=yes
23485 PKG_CONFIG=no
23486 fi
23487 else
23488 no_gtk=yes
23489 fi
23490
23491 min_gtk_version=3.0.0
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23493 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23494
23495 if test x$PKG_CONFIG != xno ; then
23496 ## don't try to run the test against uninstalled libtool libs
23497 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23498 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23499 enable_gtktest=no
23500 fi
23501
23502 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23503 :
23504 else
23505 no_gtk=yes
23506 fi
23507 fi
23508
23509 if test x"$no_gtk" = x ; then
23510 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23511 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23512 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23514 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23516 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23518 if test "x$enable_gtktest" = "xyes" ; then
23519 ac_save_CFLAGS="$CFLAGS"
23520 ac_save_LIBS="$LIBS"
23521 CFLAGS="$CFLAGS $GTK_CFLAGS"
23522 LIBS="$GTK_LIBS $LIBS"
23523 rm -f conf.gtktest
23524 if test "$cross_compiling" = yes; then :
23525 echo $ac_n "cross compiling; assumed OK... $ac_c"
23526 else
23527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23528 /* end confdefs.h. */
23529
23530 #include <gtk/gtk.h>
23531 #include <stdio.h>
23532 #include <stdlib.h>
23533
23534 int
23535 main ()
23536 {
23537 int major, minor, micro;
23538 char *tmp_version;
23539
23540 fclose (fopen ("conf.gtktest", "w"));
23541
23542 /* HP/UX 9 (%@#!) writes to sscanf strings */
23543 tmp_version = g_strdup("$min_gtk_version");
23544 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23545 printf("%s, bad version string\n", "$min_gtk_version");
23546 exit(1);
23547 }
23548
23549 if ((gtk_major_version != $gtk_config_major_version) ||
23550 (gtk_minor_version != $gtk_config_minor_version) ||
23551 (gtk_micro_version != $gtk_config_micro_version))
23552 {
23553 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23554 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23555 gtk_major_version, gtk_minor_version, gtk_micro_version);
23556 printf ("*** was found! If pkg-config was correct, then it is best\n");
23557 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23558 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23559 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23560 printf("*** required on your system.\n");
23561 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23562 printf("*** to point to the correct configuration files\n");
23563 }
23564 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23565 (gtk_minor_version != GTK_MINOR_VERSION) ||
23566 (gtk_micro_version != GTK_MICRO_VERSION))
23567 {
23568 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23569 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23570 printf("*** library (version %d.%d.%d)\n",
23571 gtk_major_version, gtk_minor_version, gtk_micro_version);
23572 }
23573 else
23574 {
23575 if ((gtk_major_version > major) ||
23576 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23577 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23578 {
23579 return 0;
23580 }
23581 else
23582 {
23583 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23584 gtk_major_version, gtk_minor_version, gtk_micro_version);
23585 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23586 major, minor, micro);
23587 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23588 printf("***\n");
23589 printf("*** If you have already installed a sufficiently new version, this error\n");
23590 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23591 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23592 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23593 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23594 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23595 printf("*** so that the correct libraries are found at run-time))\n");
23596 }
23597 }
23598 return 1;
23599 }
23600
23601 _ACEOF
23602 if ac_fn_c_try_run "$LINENO"; then :
23603
23604 else
23605 no_gtk=yes
23606 fi
23607 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23608 conftest.$ac_objext conftest.beam conftest.$ac_ext
23609 fi
23610
23611 CFLAGS="$ac_save_CFLAGS"
23612 LIBS="$ac_save_LIBS"
23613 fi
23614 fi
23615 if test "x$no_gtk" = x ; then
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23617 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23618 wx_cv_lib_gtk=3
23619 else
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23621 $as_echo "no" >&6; }
23622 if test "$PKG_CONFIG" = "no" ; then
23623 echo "*** A new enough version of pkg-config was not found."
23624 echo "*** See http://pkgconfig.sourceforge.net"
23625 else
23626 if test -f conf.gtktest ; then
23627 :
23628 else
23629 echo "*** Could not run GTK+ test program, checking why..."
23630 ac_save_CFLAGS="$CFLAGS"
23631 ac_save_LIBS="$LIBS"
23632 CFLAGS="$CFLAGS $GTK_CFLAGS"
23633 LIBS="$LIBS $GTK_LIBS"
23634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23635 /* end confdefs.h. */
23636
23637 #include <gtk/gtk.h>
23638 #include <stdio.h>
23639
23640 int
23641 main ()
23642 {
23643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23644 ;
23645 return 0;
23646 }
23647 _ACEOF
23648 if ac_fn_c_try_link "$LINENO"; then :
23649 echo "*** The test program compiled, but did not run. This usually means"
23650 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23651 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23652 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23653 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23654 echo "*** is required on your system"
23655 echo "***"
23656 echo "*** If you have an old version installed, it is best to remove it, although"
23657 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23658 else
23659 echo "*** The test program failed to compile or link. See the file config.log for the"
23660 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23661 fi
23662 rm -f core conftest.err conftest.$ac_objext \
23663 conftest$ac_exeext conftest.$ac_ext
23664 CFLAGS="$ac_save_CFLAGS"
23665 LIBS="$ac_save_LIBS"
23666 fi
23667 fi
23668 GTK_CFLAGS=""
23669 GTK_LIBS=""
23670 :
23671 fi
23672
23673
23674 rm -f conf.gtktest
23675
23676 fi
23677 fi
23678 fi
23679
23680 if test -z "$wx_cv_lib_gtk"; then
23681 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23682
23683 # Check whether --with-gtk-prefix was given.
23684 if test "${with_gtk_prefix+set}" = set; then :
23685 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23686 else
23687 gtk_config_prefix=""
23688 fi
23689
23690
23691 # Check whether --with-gtk-exec-prefix was given.
23692 if test "${with_gtk_exec_prefix+set}" = set; then :
23693 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23694 else
23695 gtk_config_exec_prefix=""
23696 fi
23697
23698 # Check whether --enable-gtktest was given.
23699 if test "${enable_gtktest+set}" = set; then :
23700 enableval=$enable_gtktest;
23701 else
23702 enable_gtktest=yes
23703 fi
23704
23705
23706 for module in . $GTK_MODULES
23707 do
23708 case "$module" in
23709 gthread)
23710 gtk_config_args="$gtk_config_args gthread"
23711 ;;
23712 esac
23713 done
23714
23715 if test x$gtk_config_exec_prefix != x ; then
23716 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23717 if test x${GTK_CONFIG+set} != xset ; then
23718 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23719 fi
23720 fi
23721 if test x$gtk_config_prefix != x ; then
23722 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23723 if test x${GTK_CONFIG+set} != xset ; then
23724 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23725 fi
23726 fi
23727
23728 # Extract the first word of "gtk-config", so it can be a program name with args.
23729 set dummy gtk-config; ac_word=$2
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23731 $as_echo_n "checking for $ac_word... " >&6; }
23732 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23733 $as_echo_n "(cached) " >&6
23734 else
23735 case $GTK_CONFIG in
23736 [\\/]* | ?:[\\/]*)
23737 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23738 ;;
23739 *)
23740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23741 for as_dir in $PATH
23742 do
23743 IFS=$as_save_IFS
23744 test -z "$as_dir" && as_dir=.
23745 for ac_exec_ext in '' $ac_executable_extensions; do
23746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23747 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23749 break 2
23750 fi
23751 done
23752 done
23753 IFS=$as_save_IFS
23754
23755 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23756 ;;
23757 esac
23758 fi
23759 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23760 if test -n "$GTK_CONFIG"; then
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23762 $as_echo "$GTK_CONFIG" >&6; }
23763 else
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23765 $as_echo "no" >&6; }
23766 fi
23767
23768
23769 min_gtk_version=1.2.7
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23771 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23772 no_gtk=""
23773 if test "$GTK_CONFIG" = "no" ; then
23774 no_gtk=yes
23775 else
23776 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23777 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23778 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23780 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23782 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23784 if test "x$enable_gtktest" = "xyes" ; then
23785 ac_save_CFLAGS="$CFLAGS"
23786 ac_save_LIBS="$LIBS"
23787 CFLAGS="$CFLAGS $GTK_CFLAGS"
23788 LIBS="$GTK_LIBS $LIBS"
23789 rm -f conf.gtktest
23790 if test "$cross_compiling" = yes; then :
23791 echo $ac_n "cross compiling; assumed OK... $ac_c"
23792 else
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23795
23796 #include <gtk/gtk.h>
23797 #include <stdio.h>
23798 #include <stdlib.h>
23799
23800 int
23801 main ()
23802 {
23803 int major, minor, micro;
23804 char *tmp_version;
23805
23806 system ("touch conf.gtktest");
23807
23808 /* HP/UX 9 (%@#!) writes to sscanf strings */
23809 tmp_version = g_strdup("$min_gtk_version");
23810 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23811 printf("%s, bad version string\n", "$min_gtk_version");
23812 exit(1);
23813 }
23814
23815 if ((gtk_major_version != $gtk_config_major_version) ||
23816 (gtk_minor_version != $gtk_config_minor_version) ||
23817 (gtk_micro_version != $gtk_config_micro_version))
23818 {
23819 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23820 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23821 gtk_major_version, gtk_minor_version, gtk_micro_version);
23822 printf ("*** was found! If gtk-config was correct, then it is best\n");
23823 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23824 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23825 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23826 printf("*** required on your system.\n");
23827 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23828 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23829 printf("*** before re-running configure\n");
23830 }
23831 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23832 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23833 (gtk_minor_version != GTK_MINOR_VERSION) ||
23834 (gtk_micro_version != GTK_MICRO_VERSION))
23835 {
23836 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23837 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23838 printf("*** library (version %d.%d.%d)\n",
23839 gtk_major_version, gtk_minor_version, gtk_micro_version);
23840 }
23841 #endif /* defined (GTK_MAJOR_VERSION) ... */
23842 else
23843 {
23844 if ((gtk_major_version > major) ||
23845 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23846 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23847 {
23848 return 0;
23849 }
23850 else
23851 {
23852 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23853 gtk_major_version, gtk_minor_version, gtk_micro_version);
23854 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23855 major, minor, micro);
23856 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23857 printf("***\n");
23858 printf("*** If you have already installed a sufficiently new version, this error\n");
23859 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23860 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23861 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23862 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23863 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23864 printf("*** so that the correct libraries are found at run-time))\n");
23865 }
23866 }
23867 return 1;
23868 }
23869
23870 _ACEOF
23871 if ac_fn_c_try_run "$LINENO"; then :
23872
23873 else
23874 no_gtk=yes
23875 fi
23876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23877 conftest.$ac_objext conftest.beam conftest.$ac_ext
23878 fi
23879
23880 CFLAGS="$ac_save_CFLAGS"
23881 LIBS="$ac_save_LIBS"
23882 fi
23883 fi
23884 if test "x$no_gtk" = x ; then
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23886 $as_echo "yes" >&6; }
23887 wx_cv_lib_gtk=1.2.7
23888 else
23889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23890 $as_echo "no" >&6; }
23891 if test "$GTK_CONFIG" = "no" ; then
23892 echo "*** The gtk-config script installed by GTK could not be found"
23893 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23894 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23895 echo "*** full path to gtk-config."
23896 else
23897 if test -f conf.gtktest ; then
23898 :
23899 else
23900 echo "*** Could not run GTK test program, checking why..."
23901 CFLAGS="$CFLAGS $GTK_CFLAGS"
23902 LIBS="$LIBS $GTK_LIBS"
23903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23904 /* end confdefs.h. */
23905
23906 #include <gtk/gtk.h>
23907 #include <stdio.h>
23908
23909 int
23910 main ()
23911 {
23912 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23913 ;
23914 return 0;
23915 }
23916 _ACEOF
23917 if ac_fn_c_try_link "$LINENO"; then :
23918 echo "*** The test program compiled, but did not run. This usually means"
23919 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23920 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23921 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23922 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23923 echo "*** is required on your system"
23924 echo "***"
23925 echo "*** If you have an old version installed, it is best to remove it, although"
23926 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23927 echo "***"
23928 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23929 echo "*** came with the system with the command"
23930 echo "***"
23931 echo "*** rpm --erase --nodeps gtk gtk-devel"
23932 else
23933 echo "*** The test program failed to compile or link. See the file config.log for the"
23934 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23935 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23936 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23937 fi
23938 rm -f core conftest.err conftest.$ac_objext \
23939 conftest$ac_exeext conftest.$ac_ext
23940 CFLAGS="$ac_save_CFLAGS"
23941 LIBS="$ac_save_LIBS"
23942 fi
23943 fi
23944 GTK_CFLAGS=""
23945 GTK_LIBS=""
23946 :
23947 fi
23948
23949
23950 rm -f conf.gtktest
23951
23952
23953 if test -z "$wx_cv_lib_gtk"; then
23954
23955 # Check whether --with-gtk-prefix was given.
23956 if test "${with_gtk_prefix+set}" = set; then :
23957 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23958 else
23959 gtk_config_prefix=""
23960 fi
23961
23962
23963 # Check whether --with-gtk-exec-prefix was given.
23964 if test "${with_gtk_exec_prefix+set}" = set; then :
23965 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23966 else
23967 gtk_config_exec_prefix=""
23968 fi
23969
23970 # Check whether --enable-gtktest was given.
23971 if test "${enable_gtktest+set}" = set; then :
23972 enableval=$enable_gtktest;
23973 else
23974 enable_gtktest=yes
23975 fi
23976
23977
23978 for module in . $GTK_MODULES
23979 do
23980 case "$module" in
23981 gthread)
23982 gtk_config_args="$gtk_config_args gthread"
23983 ;;
23984 esac
23985 done
23986
23987 if test x$gtk_config_exec_prefix != x ; then
23988 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23989 if test x${GTK_CONFIG+set} != xset ; then
23990 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23991 fi
23992 fi
23993 if test x$gtk_config_prefix != x ; then
23994 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23995 if test x${GTK_CONFIG+set} != xset ; then
23996 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23997 fi
23998 fi
23999
24000 # Extract the first word of "gtk-config", so it can be a program name with args.
24001 set dummy gtk-config; ac_word=$2
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24003 $as_echo_n "checking for $ac_word... " >&6; }
24004 if ${ac_cv_path_GTK_CONFIG+:} false; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24007 case $GTK_CONFIG in
24008 [\\/]* | ?:[\\/]*)
24009 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24010 ;;
24011 *)
24012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24013 for as_dir in $PATH
24014 do
24015 IFS=$as_save_IFS
24016 test -z "$as_dir" && as_dir=.
24017 for ac_exec_ext in '' $ac_executable_extensions; do
24018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24019 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24021 break 2
24022 fi
24023 done
24024 done
24025 IFS=$as_save_IFS
24026
24027 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24028 ;;
24029 esac
24030 fi
24031 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24032 if test -n "$GTK_CONFIG"; then
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24034 $as_echo "$GTK_CONFIG" >&6; }
24035 else
24036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24037 $as_echo "no" >&6; }
24038 fi
24039
24040
24041 min_gtk_version=1.2.3
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24043 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24044 no_gtk=""
24045 if test "$GTK_CONFIG" = "no" ; then
24046 no_gtk=yes
24047 else
24048 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24049 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24050 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24052 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24054 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24056 if test "x$enable_gtktest" = "xyes" ; then
24057 ac_save_CFLAGS="$CFLAGS"
24058 ac_save_LIBS="$LIBS"
24059 CFLAGS="$CFLAGS $GTK_CFLAGS"
24060 LIBS="$GTK_LIBS $LIBS"
24061 rm -f conf.gtktest
24062 if test "$cross_compiling" = yes; then :
24063 echo $ac_n "cross compiling; assumed OK... $ac_c"
24064 else
24065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24066 /* end confdefs.h. */
24067
24068 #include <gtk/gtk.h>
24069 #include <stdio.h>
24070 #include <stdlib.h>
24071
24072 int
24073 main ()
24074 {
24075 int major, minor, micro;
24076 char *tmp_version;
24077
24078 system ("touch conf.gtktest");
24079
24080 /* HP/UX 9 (%@#!) writes to sscanf strings */
24081 tmp_version = g_strdup("$min_gtk_version");
24082 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24083 printf("%s, bad version string\n", "$min_gtk_version");
24084 exit(1);
24085 }
24086
24087 if ((gtk_major_version != $gtk_config_major_version) ||
24088 (gtk_minor_version != $gtk_config_minor_version) ||
24089 (gtk_micro_version != $gtk_config_micro_version))
24090 {
24091 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24092 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24093 gtk_major_version, gtk_minor_version, gtk_micro_version);
24094 printf ("*** was found! If gtk-config was correct, then it is best\n");
24095 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24096 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24097 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24098 printf("*** required on your system.\n");
24099 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24100 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24101 printf("*** before re-running configure\n");
24102 }
24103 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24104 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24105 (gtk_minor_version != GTK_MINOR_VERSION) ||
24106 (gtk_micro_version != GTK_MICRO_VERSION))
24107 {
24108 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24109 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24110 printf("*** library (version %d.%d.%d)\n",
24111 gtk_major_version, gtk_minor_version, gtk_micro_version);
24112 }
24113 #endif /* defined (GTK_MAJOR_VERSION) ... */
24114 else
24115 {
24116 if ((gtk_major_version > major) ||
24117 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24118 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24119 {
24120 return 0;
24121 }
24122 else
24123 {
24124 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24125 gtk_major_version, gtk_minor_version, gtk_micro_version);
24126 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24127 major, minor, micro);
24128 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24129 printf("***\n");
24130 printf("*** If you have already installed a sufficiently new version, this error\n");
24131 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24132 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24133 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24134 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24135 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24136 printf("*** so that the correct libraries are found at run-time))\n");
24137 }
24138 }
24139 return 1;
24140 }
24141
24142 _ACEOF
24143 if ac_fn_c_try_run "$LINENO"; then :
24144
24145 else
24146 no_gtk=yes
24147 fi
24148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24149 conftest.$ac_objext conftest.beam conftest.$ac_ext
24150 fi
24151
24152 CFLAGS="$ac_save_CFLAGS"
24153 LIBS="$ac_save_LIBS"
24154 fi
24155 fi
24156 if test "x$no_gtk" = x ; then
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24158 $as_echo "yes" >&6; }
24159 wx_cv_lib_gtk=1.2.3
24160 else
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24162 $as_echo "no" >&6; }
24163 if test "$GTK_CONFIG" = "no" ; then
24164 echo "*** The gtk-config script installed by GTK could not be found"
24165 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24166 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24167 echo "*** full path to gtk-config."
24168 else
24169 if test -f conf.gtktest ; then
24170 :
24171 else
24172 echo "*** Could not run GTK test program, checking why..."
24173 CFLAGS="$CFLAGS $GTK_CFLAGS"
24174 LIBS="$LIBS $GTK_LIBS"
24175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24176 /* end confdefs.h. */
24177
24178 #include <gtk/gtk.h>
24179 #include <stdio.h>
24180
24181 int
24182 main ()
24183 {
24184 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24185 ;
24186 return 0;
24187 }
24188 _ACEOF
24189 if ac_fn_c_try_link "$LINENO"; then :
24190 echo "*** The test program compiled, but did not run. This usually means"
24191 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24192 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24193 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24194 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24195 echo "*** is required on your system"
24196 echo "***"
24197 echo "*** If you have an old version installed, it is best to remove it, although"
24198 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24199 echo "***"
24200 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24201 echo "*** came with the system with the command"
24202 echo "***"
24203 echo "*** rpm --erase --nodeps gtk gtk-devel"
24204 else
24205 echo "*** The test program failed to compile or link. See the file config.log for the"
24206 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24207 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24208 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24209 fi
24210 rm -f core conftest.err conftest.$ac_objext \
24211 conftest$ac_exeext conftest.$ac_ext
24212 CFLAGS="$ac_save_CFLAGS"
24213 LIBS="$ac_save_LIBS"
24214 fi
24215 fi
24216 GTK_CFLAGS=""
24217 GTK_LIBS=""
24218 :
24219 fi
24220
24221
24222 rm -f conf.gtktest
24223
24224 fi
24225 fi
24226 fi
24227
24228 if test -z "$wx_cv_lib_gtk"; then
24229 wx_cv_lib_gtk=none
24230 else
24231 GTK_LIBS="$GTK_LIBS -lX11"
24232
24233 wx_cv_cflags_gtk=$GTK_CFLAGS
24234 wx_cv_libs_gtk=$GTK_LIBS
24235 fi
24236
24237
24238 fi
24239
24240
24241 if test "$gtk_version_cached" = 1; then
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24243 $as_echo "$wx_cv_lib_gtk" >&6; }
24244 fi
24245
24246 case "$wx_cv_lib_gtk" in
24247 3) WXGTK3=1
24248 TOOLKIT_VERSION=3
24249 ;;
24250 2.0) WXGTK2=1
24251 TOOLKIT_VERSION=2
24252 ;;
24253 1.2.7) WXGTK127=1
24254 WXGTK1=1
24255 ;;
24256 1.2*) WXGTK1=1 ;;
24257 *) as_fn_error $? "
24258 The development files for GTK+ were not found. For GTK+ 2, please
24259 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24260 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24261 and that the version is 1.2.3 or above. Also check that the
24262 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24263 --libs' are in the LD_LIBRARY_PATH or equivalent.
24264 " "$LINENO" 5
24265 ;;
24266 esac
24267
24268 if test "$WXGTK3" = 1; then
24269 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24270
24271 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24272
24273 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24274
24275 elif test "$WXGTK2" = 1; then
24276 save_CFLAGS="$CFLAGS"
24277 save_LIBS="$LIBS"
24278 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24279 LIBS="$LIBS $wx_cv_libs_gtk"
24280
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24282 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24284 /* end confdefs.h. */
24285
24286 #include <gtk/gtk.h>
24287
24288 int
24289 main ()
24290 {
24291
24292 #if !GTK_CHECK_VERSION(2,18,0)
24293 Not GTK+ 2.18
24294 #endif
24295
24296 ;
24297 return 0;
24298 }
24299 _ACEOF
24300 if ac_fn_c_try_compile "$LINENO"; then :
24301
24302 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24303
24304 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24305
24306 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24307
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24309 $as_echo "yes" >&6; }
24310 ac_wxgtk218=1
24311
24312 else
24313
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24315 $as_echo "no" >&6; }
24316 ac_wxgtk218=0
24317
24318 fi
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320
24321 if test "$ac_wxgtk218" = 0; then
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24323 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24325 /* end confdefs.h. */
24326
24327 #include <gtk/gtk.h>
24328
24329 int
24330 main ()
24331 {
24332
24333 #if !GTK_CHECK_VERSION(2,10,0)
24334 Not GTK+ 2.10
24335 #endif
24336
24337 ;
24338 return 0;
24339 }
24340 _ACEOF
24341 if ac_fn_c_try_compile "$LINENO"; then :
24342
24343 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24344
24345 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24346
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24348 $as_echo "yes" >&6; }
24349 ac_wxgtk210=1
24350
24351 else
24352
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24354 $as_echo "no" >&6; }
24355 ac_wxgtk210=0
24356
24357 fi
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24359
24360 if test "$ac_wxgtk210" = 0; then
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24362 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24365
24366 #include <gtk/gtk.h>
24367
24368 int
24369 main ()
24370 {
24371
24372 #if !GTK_CHECK_VERSION(2,6,0)
24373 Not GTK+ 2.6
24374 #endif
24375
24376 ;
24377 return 0;
24378 }
24379 _ACEOF
24380 if ac_fn_c_try_compile "$LINENO"; then :
24381
24382 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24383
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24385 $as_echo "yes" >&6; }
24386 ac_wxgtk26=1
24387
24388 else
24389
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24391 $as_echo "no" >&6; }
24392 ac_wxgtk26=0
24393
24394 fi
24395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24396 fi
24397 fi
24398
24399 CFLAGS="$save_CFLAGS"
24400 LIBS="$save_LIBS"
24401 else
24402 if test "$wxUSE_UNICODE" = "yes"; then
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24404 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24405 wxUSE_UNICODE=no
24406 fi
24407
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24409 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24410 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24411 $as_echo_n "(cached) " >&6
24412 else
24413 ac_check_lib_save_LIBS=$LIBS
24414 LIBS="-lgdk $LIBS"
24415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h. */
24417
24418 /* Override any GCC internal prototype to avoid an error.
24419 Use char because int might match the return type of a GCC
24420 builtin and then its argument prototype would still apply. */
24421 #ifdef __cplusplus
24422 extern "C"
24423 #endif
24424 char gdk_im_open ();
24425 int
24426 main ()
24427 {
24428 return gdk_im_open ();
24429 ;
24430 return 0;
24431 }
24432 _ACEOF
24433 if ac_fn_c_try_link "$LINENO"; then :
24434 ac_cv_lib_gdk_gdk_im_open=yes
24435 else
24436 ac_cv_lib_gdk_gdk_im_open=no
24437 fi
24438 rm -f core conftest.err conftest.$ac_objext \
24439 conftest$ac_exeext conftest.$ac_ext
24440 LIBS=$ac_check_lib_save_LIBS
24441 fi
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24443 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24444 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24445 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24446
24447 fi
24448
24449
24450 if test "$USE_DARWIN" != 1; then
24451 for ac_func in poll
24452 do :
24453 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24454 if test "x$ac_cv_func_poll" = xyes; then :
24455 cat >>confdefs.h <<_ACEOF
24456 #define HAVE_POLL 1
24457 _ACEOF
24458
24459 fi
24460 done
24461
24462 fi
24463 fi
24464
24465 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24466 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24467 AFMINSTALL=afminstall
24468 TOOLKIT=GTK
24469 GUIDIST=GTK_DIST
24470
24471 if test "$wxUSE_GPE" = "yes"; then
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24473 $as_echo_n "checking for gpewidget library... " >&6; }
24474
24475 ac_find_libraries=
24476 for ac_dir in $SEARCH_LIB
24477 do
24478 for ac_extension in a so sl dylib dll.a; do
24479 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24480 ac_find_libraries=$ac_dir
24481 break 2
24482 fi
24483 done
24484 done
24485
24486 if test "$ac_find_libraries" != "" ; then
24487
24488 if test "$ac_find_libraries" = "default location"; then
24489 ac_path_to_link=""
24490 else
24491 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24492 result=$?
24493 if test $result = 0; then
24494 ac_path_to_link=""
24495 else
24496 ac_path_to_link=" -L$ac_find_libraries"
24497 fi
24498 fi
24499
24500 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24501 WXGPE=1
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24503 $as_echo "found in $ac_find_libraries" >&6; }
24504 else
24505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24506 $as_echo "not found" >&6; }
24507 fi
24508
24509 fi
24510 fi
24511
24512 if test "$wxUSE_DFB" = 1; then
24513
24514
24515 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24516 if test -n "$ac_tool_prefix"; then
24517 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24518 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24520 $as_echo_n "checking for $ac_word... " >&6; }
24521 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24522 $as_echo_n "(cached) " >&6
24523 else
24524 case $PKG_CONFIG in
24525 [\\/]* | ?:[\\/]*)
24526 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24527 ;;
24528 *)
24529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24530 for as_dir in $PATH
24531 do
24532 IFS=$as_save_IFS
24533 test -z "$as_dir" && as_dir=.
24534 for ac_exec_ext in '' $ac_executable_extensions; do
24535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24536 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24538 break 2
24539 fi
24540 done
24541 done
24542 IFS=$as_save_IFS
24543
24544 ;;
24545 esac
24546 fi
24547 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24548 if test -n "$PKG_CONFIG"; then
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24550 $as_echo "$PKG_CONFIG" >&6; }
24551 else
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24553 $as_echo "no" >&6; }
24554 fi
24555
24556
24557 fi
24558 if test -z "$ac_cv_path_PKG_CONFIG"; then
24559 ac_pt_PKG_CONFIG=$PKG_CONFIG
24560 # Extract the first word of "pkg-config", so it can be a program name with args.
24561 set dummy pkg-config; ac_word=$2
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24563 $as_echo_n "checking for $ac_word... " >&6; }
24564 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24567 case $ac_pt_PKG_CONFIG in
24568 [\\/]* | ?:[\\/]*)
24569 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24570 ;;
24571 *)
24572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24573 for as_dir in $PATH
24574 do
24575 IFS=$as_save_IFS
24576 test -z "$as_dir" && as_dir=.
24577 for ac_exec_ext in '' $ac_executable_extensions; do
24578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24579 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24581 break 2
24582 fi
24583 done
24584 done
24585 IFS=$as_save_IFS
24586
24587 ;;
24588 esac
24589 fi
24590 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24591 if test -n "$ac_pt_PKG_CONFIG"; then
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24593 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24594 else
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24596 $as_echo "no" >&6; }
24597 fi
24598
24599 if test "x$ac_pt_PKG_CONFIG" = x; then
24600 PKG_CONFIG=""
24601 else
24602 case $cross_compiling:$ac_tool_warned in
24603 yes:)
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24606 ac_tool_warned=yes ;;
24607 esac
24608 PKG_CONFIG=$ac_pt_PKG_CONFIG
24609 fi
24610 else
24611 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24612 fi
24613
24614 fi
24615 if test -n "$PKG_CONFIG"; then
24616 _pkg_min_version=0.9.0
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24618 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24619 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24621 $as_echo "yes" >&6; }
24622 else
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24624 $as_echo "no" >&6; }
24625 PKG_CONFIG=""
24626 fi
24627
24628 fi
24629
24630
24631 pkg_failed=no
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24633 $as_echo_n "checking for DIRECTFB... " >&6; }
24634
24635 if test -n "$PKG_CONFIG"; then
24636 if test -n "$DIRECTFB_CFLAGS"; then
24637 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24638 else
24639 if test -n "$PKG_CONFIG" && \
24640 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24641 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24642 ac_status=$?
24643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24644 test $ac_status = 0; }; then
24645 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24646 else
24647 pkg_failed=yes
24648 fi
24649 fi
24650 else
24651 pkg_failed=untried
24652 fi
24653 if test -n "$PKG_CONFIG"; then
24654 if test -n "$DIRECTFB_LIBS"; then
24655 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24656 else
24657 if test -n "$PKG_CONFIG" && \
24658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24659 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24660 ac_status=$?
24661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24662 test $ac_status = 0; }; then
24663 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24664 else
24665 pkg_failed=yes
24666 fi
24667 fi
24668 else
24669 pkg_failed=untried
24670 fi
24671
24672
24673
24674 if test $pkg_failed = yes; then
24675
24676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24677 _pkg_short_errors_supported=yes
24678 else
24679 _pkg_short_errors_supported=no
24680 fi
24681 if test $_pkg_short_errors_supported = yes; then
24682 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24683 else
24684 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24685 fi
24686 # Put the nasty error message in config.log where it belongs
24687 echo "$DIRECTFB_PKG_ERRORS" >&5
24688
24689
24690 as_fn_error $? "DirectFB not found." "$LINENO" 5
24691
24692
24693 elif test $pkg_failed = untried; then
24694
24695 as_fn_error $? "DirectFB not found." "$LINENO" 5
24696
24697
24698 else
24699 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24700 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24702 $as_echo "yes" >&6; }
24703
24704 wxUSE_UNIVERSAL="yes"
24705 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24706 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24707 TOOLKIT=DFB
24708 GUIDIST=DFB_DIST
24709
24710 fi
24711 fi
24712
24713 if test "$wxUSE_MICROWIN" = 1; then
24714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24715 $as_echo_n "checking for MicroWindows... " >&6; }
24716 if test "x$MICROWINDOWS" = x ; then
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24718 $as_echo "not found" >&6; }
24719 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24720 else
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24722 $as_echo "$MICROWINDOWS" >&6; }
24723 fi
24724
24725 if test -f $MICROWINDOWS/lib/libmwin.a; then
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24727 $as_echo "MicroWindows' libraries found." >&6; }
24728 else
24729 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24730 fi
24731
24732 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24733 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24734
24735 wxUSE_UNIVERSAL="yes"
24736
24737 AFMINSTALL=afminstall
24738 TOOLKIT=MICROWIN
24739 GUIDIST=MICROWIN_DIST
24740
24741 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24742 fi
24743
24744 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24746 $as_echo_n "checking for X... " >&6; }
24747
24748
24749 # Check whether --with-x was given.
24750 if test "${with_x+set}" = set; then :
24751 withval=$with_x;
24752 fi
24753
24754 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24755 if test "x$with_x" = xno; then
24756 # The user explicitly disabled X.
24757 have_x=disabled
24758 else
24759 case $x_includes,$x_libraries in #(
24760 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24761 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24762 $as_echo_n "(cached) " >&6
24763 else
24764 # One or both of the vars are not set, and there is no cached value.
24765 ac_x_includes=no ac_x_libraries=no
24766 rm -f -r conftest.dir
24767 if mkdir conftest.dir; then
24768 cd conftest.dir
24769 cat >Imakefile <<'_ACEOF'
24770 incroot:
24771 @echo incroot='${INCROOT}'
24772 usrlibdir:
24773 @echo usrlibdir='${USRLIBDIR}'
24774 libdir:
24775 @echo libdir='${LIBDIR}'
24776 _ACEOF
24777 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24778 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24779 for ac_var in incroot usrlibdir libdir; do
24780 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24781 done
24782 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24783 for ac_extension in a so sl dylib la dll; do
24784 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24785 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24786 ac_im_usrlibdir=$ac_im_libdir; break
24787 fi
24788 done
24789 # Screen out bogus values from the imake configuration. They are
24790 # bogus both because they are the default anyway, and because
24791 # using them would break gcc on systems where it needs fixed includes.
24792 case $ac_im_incroot in
24793 /usr/include) ac_x_includes= ;;
24794 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24795 esac
24796 case $ac_im_usrlibdir in
24797 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24798 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24799 esac
24800 fi
24801 cd ..
24802 rm -f -r conftest.dir
24803 fi
24804
24805 # Standard set of common directories for X headers.
24806 # Check X11 before X11Rn because it is often a symlink to the current release.
24807 ac_x_header_dirs='
24808 /usr/X11/include
24809 /usr/X11R7/include
24810 /usr/X11R6/include
24811 /usr/X11R5/include
24812 /usr/X11R4/include
24813
24814 /usr/include/X11
24815 /usr/include/X11R7
24816 /usr/include/X11R6
24817 /usr/include/X11R5
24818 /usr/include/X11R4
24819
24820 /usr/local/X11/include
24821 /usr/local/X11R7/include
24822 /usr/local/X11R6/include
24823 /usr/local/X11R5/include
24824 /usr/local/X11R4/include
24825
24826 /usr/local/include/X11
24827 /usr/local/include/X11R7
24828 /usr/local/include/X11R6
24829 /usr/local/include/X11R5
24830 /usr/local/include/X11R4
24831
24832 /usr/X386/include
24833 /usr/x386/include
24834 /usr/XFree86/include/X11
24835
24836 /usr/include
24837 /usr/local/include
24838 /usr/unsupported/include
24839 /usr/athena/include
24840 /usr/local/x11r5/include
24841 /usr/lpp/Xamples/include
24842
24843 /usr/openwin/include
24844 /usr/openwin/share/include'
24845
24846 if test "$ac_x_includes" = no; then
24847 # Guess where to find include files, by looking for Xlib.h.
24848 # First, try using that file with no special directory specified.
24849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24850 /* end confdefs.h. */
24851 #include <X11/Xlib.h>
24852 _ACEOF
24853 if ac_fn_c_try_cpp "$LINENO"; then :
24854 # We can compile using X headers with no special include directory.
24855 ac_x_includes=
24856 else
24857 for ac_dir in $ac_x_header_dirs; do
24858 if test -r "$ac_dir/X11/Xlib.h"; then
24859 ac_x_includes=$ac_dir
24860 break
24861 fi
24862 done
24863 fi
24864 rm -f conftest.err conftest.i conftest.$ac_ext
24865 fi # $ac_x_includes = no
24866
24867 if test "$ac_x_libraries" = no; then
24868 # Check for the libraries.
24869 # See if we find them without any special options.
24870 # Don't add to $LIBS permanently.
24871 ac_save_LIBS=$LIBS
24872 LIBS="-lX11 $LIBS"
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24875 #include <X11/Xlib.h>
24876 int
24877 main ()
24878 {
24879 XrmInitialize ()
24880 ;
24881 return 0;
24882 }
24883 _ACEOF
24884 if ac_fn_c_try_link "$LINENO"; then :
24885 LIBS=$ac_save_LIBS
24886 # We can link X programs with no special library path.
24887 ac_x_libraries=
24888 else
24889 LIBS=$ac_save_LIBS
24890 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24891 do
24892 # Don't even attempt the hair of trying to link an X program!
24893 for ac_extension in a so sl dylib la dll; do
24894 if test -r "$ac_dir/libX11.$ac_extension"; then
24895 ac_x_libraries=$ac_dir
24896 break 2
24897 fi
24898 done
24899 done
24900 fi
24901 rm -f core conftest.err conftest.$ac_objext \
24902 conftest$ac_exeext conftest.$ac_ext
24903 fi # $ac_x_libraries = no
24904
24905 case $ac_x_includes,$ac_x_libraries in #(
24906 no,* | *,no | *\'*)
24907 # Didn't find X, or a directory has "'" in its name.
24908 ac_cv_have_x="have_x=no";; #(
24909 *)
24910 # Record where we found X for the cache.
24911 ac_cv_have_x="have_x=yes\
24912 ac_x_includes='$ac_x_includes'\
24913 ac_x_libraries='$ac_x_libraries'"
24914 esac
24915 fi
24916 ;; #(
24917 *) have_x=yes;;
24918 esac
24919 eval "$ac_cv_have_x"
24920 fi # $with_x != no
24921
24922 if test "$have_x" != yes; then
24923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24924 $as_echo "$have_x" >&6; }
24925 no_x=yes
24926 else
24927 # If each of the values was on the command line, it overrides each guess.
24928 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24929 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24930 # Update the cache value to reflect the command line values.
24931 ac_cv_have_x="have_x=yes\
24932 ac_x_includes='$x_includes'\
24933 ac_x_libraries='$x_libraries'"
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24935 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24936 fi
24937
24938 if test "$no_x" = yes; then
24939 # Not all programs may use this symbol, but it does not hurt to define it.
24940
24941 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24942
24943 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24944 else
24945 if test -n "$x_includes"; then
24946 X_CFLAGS="$X_CFLAGS -I$x_includes"
24947 fi
24948
24949 # It would also be nice to do this for all -L options, not just this one.
24950 if test -n "$x_libraries"; then
24951 X_LIBS="$X_LIBS -L$x_libraries"
24952 # For Solaris; some versions of Sun CC require a space after -R and
24953 # others require no space. Words are not sufficient . . . .
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24955 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24956 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24957 ac_xsave_c_werror_flag=$ac_c_werror_flag
24958 ac_c_werror_flag=yes
24959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h. */
24961
24962 int
24963 main ()
24964 {
24965
24966 ;
24967 return 0;
24968 }
24969 _ACEOF
24970 if ac_fn_c_try_link "$LINENO"; then :
24971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24972 $as_echo "no" >&6; }
24973 X_LIBS="$X_LIBS -R$x_libraries"
24974 else
24975 LIBS="$ac_xsave_LIBS -R $x_libraries"
24976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24977 /* end confdefs.h. */
24978
24979 int
24980 main ()
24981 {
24982
24983 ;
24984 return 0;
24985 }
24986 _ACEOF
24987 if ac_fn_c_try_link "$LINENO"; then :
24988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24989 $as_echo "yes" >&6; }
24990 X_LIBS="$X_LIBS -R $x_libraries"
24991 else
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24993 $as_echo "neither works" >&6; }
24994 fi
24995 rm -f core conftest.err conftest.$ac_objext \
24996 conftest$ac_exeext conftest.$ac_ext
24997 fi
24998 rm -f core conftest.err conftest.$ac_objext \
24999 conftest$ac_exeext conftest.$ac_ext
25000 ac_c_werror_flag=$ac_xsave_c_werror_flag
25001 LIBS=$ac_xsave_LIBS
25002 fi
25003
25004 # Check for system-dependent libraries X programs must link with.
25005 # Do this before checking for the system-independent R6 libraries
25006 # (-lICE), since we may need -lsocket or whatever for X linking.
25007
25008 if test "$ISC" = yes; then
25009 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25010 else
25011 # Martyn Johnson says this is needed for Ultrix, if the X
25012 # libraries were built with DECnet support. And Karl Berry says
25013 # the Alpha needs dnet_stub (dnet does not exist).
25014 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25016 /* end confdefs.h. */
25017
25018 /* Override any GCC internal prototype to avoid an error.
25019 Use char because int might match the return type of a GCC
25020 builtin and then its argument prototype would still apply. */
25021 #ifdef __cplusplus
25022 extern "C"
25023 #endif
25024 char XOpenDisplay ();
25025 int
25026 main ()
25027 {
25028 return XOpenDisplay ();
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 if ac_fn_c_try_link "$LINENO"; then :
25034
25035 else
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25037 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25038 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25039 $as_echo_n "(cached) " >&6
25040 else
25041 ac_check_lib_save_LIBS=$LIBS
25042 LIBS="-ldnet $LIBS"
25043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25044 /* end confdefs.h. */
25045
25046 /* Override any GCC internal prototype to avoid an error.
25047 Use char because int might match the return type of a GCC
25048 builtin and then its argument prototype would still apply. */
25049 #ifdef __cplusplus
25050 extern "C"
25051 #endif
25052 char dnet_ntoa ();
25053 int
25054 main ()
25055 {
25056 return dnet_ntoa ();
25057 ;
25058 return 0;
25059 }
25060 _ACEOF
25061 if ac_fn_c_try_link "$LINENO"; then :
25062 ac_cv_lib_dnet_dnet_ntoa=yes
25063 else
25064 ac_cv_lib_dnet_dnet_ntoa=no
25065 fi
25066 rm -f core conftest.err conftest.$ac_objext \
25067 conftest$ac_exeext conftest.$ac_ext
25068 LIBS=$ac_check_lib_save_LIBS
25069 fi
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25071 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25072 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25073 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25074 fi
25075
25076 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25078 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25079 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25080 $as_echo_n "(cached) " >&6
25081 else
25082 ac_check_lib_save_LIBS=$LIBS
25083 LIBS="-ldnet_stub $LIBS"
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25086
25087 /* Override any GCC internal prototype to avoid an error.
25088 Use char because int might match the return type of a GCC
25089 builtin and then its argument prototype would still apply. */
25090 #ifdef __cplusplus
25091 extern "C"
25092 #endif
25093 char dnet_ntoa ();
25094 int
25095 main ()
25096 {
25097 return dnet_ntoa ();
25098 ;
25099 return 0;
25100 }
25101 _ACEOF
25102 if ac_fn_c_try_link "$LINENO"; then :
25103 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25104 else
25105 ac_cv_lib_dnet_stub_dnet_ntoa=no
25106 fi
25107 rm -f core conftest.err conftest.$ac_objext \
25108 conftest$ac_exeext conftest.$ac_ext
25109 LIBS=$ac_check_lib_save_LIBS
25110 fi
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25112 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25113 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25114 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25115 fi
25116
25117 fi
25118 fi
25119 rm -f core conftest.err conftest.$ac_objext \
25120 conftest$ac_exeext conftest.$ac_ext
25121 LIBS="$ac_xsave_LIBS"
25122
25123 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25124 # to get the SysV transport functions.
25125 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25126 # needs -lnsl.
25127 # The nsl library prevents programs from opening the X display
25128 # on Irix 5.2, according to T.E. Dickey.
25129 # The functions gethostbyname, getservbyname, and inet_addr are
25130 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25131 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25132 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25133
25134 fi
25135
25136 if test $ac_cv_func_gethostbyname = no; then
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25138 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25139 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25140 $as_echo_n "(cached) " >&6
25141 else
25142 ac_check_lib_save_LIBS=$LIBS
25143 LIBS="-lnsl $LIBS"
25144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 /* end confdefs.h. */
25146
25147 /* Override any GCC internal prototype to avoid an error.
25148 Use char because int might match the return type of a GCC
25149 builtin and then its argument prototype would still apply. */
25150 #ifdef __cplusplus
25151 extern "C"
25152 #endif
25153 char gethostbyname ();
25154 int
25155 main ()
25156 {
25157 return gethostbyname ();
25158 ;
25159 return 0;
25160 }
25161 _ACEOF
25162 if ac_fn_c_try_link "$LINENO"; then :
25163 ac_cv_lib_nsl_gethostbyname=yes
25164 else
25165 ac_cv_lib_nsl_gethostbyname=no
25166 fi
25167 rm -f core conftest.err conftest.$ac_objext \
25168 conftest$ac_exeext conftest.$ac_ext
25169 LIBS=$ac_check_lib_save_LIBS
25170 fi
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25172 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25173 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25175 fi
25176
25177 if test $ac_cv_lib_nsl_gethostbyname = no; then
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25179 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25180 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25181 $as_echo_n "(cached) " >&6
25182 else
25183 ac_check_lib_save_LIBS=$LIBS
25184 LIBS="-lbsd $LIBS"
25185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25186 /* end confdefs.h. */
25187
25188 /* Override any GCC internal prototype to avoid an error.
25189 Use char because int might match the return type of a GCC
25190 builtin and then its argument prototype would still apply. */
25191 #ifdef __cplusplus
25192 extern "C"
25193 #endif
25194 char gethostbyname ();
25195 int
25196 main ()
25197 {
25198 return gethostbyname ();
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_c_try_link "$LINENO"; then :
25204 ac_cv_lib_bsd_gethostbyname=yes
25205 else
25206 ac_cv_lib_bsd_gethostbyname=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext \
25209 conftest$ac_exeext conftest.$ac_ext
25210 LIBS=$ac_check_lib_save_LIBS
25211 fi
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25213 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25214 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25216 fi
25217
25218 fi
25219 fi
25220
25221 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25222 # socket/setsockopt and other routines are undefined under SCO ODT
25223 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25224 # on later versions), says Simon Leinen: it contains gethostby*
25225 # variants that don't use the name server (or something). -lsocket
25226 # must be given before -lnsl if both are needed. We assume that
25227 # if connect needs -lnsl, so does gethostbyname.
25228 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25229 if test "x$ac_cv_func_connect" = xyes; then :
25230
25231 fi
25232
25233 if test $ac_cv_func_connect = no; then
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25235 $as_echo_n "checking for connect in -lsocket... " >&6; }
25236 if ${ac_cv_lib_socket_connect+:} false; then :
25237 $as_echo_n "(cached) " >&6
25238 else
25239 ac_check_lib_save_LIBS=$LIBS
25240 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25242 /* end confdefs.h. */
25243
25244 /* Override any GCC internal prototype to avoid an error.
25245 Use char because int might match the return type of a GCC
25246 builtin and then its argument prototype would still apply. */
25247 #ifdef __cplusplus
25248 extern "C"
25249 #endif
25250 char connect ();
25251 int
25252 main ()
25253 {
25254 return connect ();
25255 ;
25256 return 0;
25257 }
25258 _ACEOF
25259 if ac_fn_c_try_link "$LINENO"; then :
25260 ac_cv_lib_socket_connect=yes
25261 else
25262 ac_cv_lib_socket_connect=no
25263 fi
25264 rm -f core conftest.err conftest.$ac_objext \
25265 conftest$ac_exeext conftest.$ac_ext
25266 LIBS=$ac_check_lib_save_LIBS
25267 fi
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25269 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25270 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25271 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25272 fi
25273
25274 fi
25275
25276 # Guillermo Gomez says -lposix is necessary on A/UX.
25277 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25278 if test "x$ac_cv_func_remove" = xyes; then :
25279
25280 fi
25281
25282 if test $ac_cv_func_remove = no; then
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25284 $as_echo_n "checking for remove in -lposix... " >&6; }
25285 if ${ac_cv_lib_posix_remove+:} false; then :
25286 $as_echo_n "(cached) " >&6
25287 else
25288 ac_check_lib_save_LIBS=$LIBS
25289 LIBS="-lposix $LIBS"
25290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h. */
25292
25293 /* Override any GCC internal prototype to avoid an error.
25294 Use char because int might match the return type of a GCC
25295 builtin and then its argument prototype would still apply. */
25296 #ifdef __cplusplus
25297 extern "C"
25298 #endif
25299 char remove ();
25300 int
25301 main ()
25302 {
25303 return remove ();
25304 ;
25305 return 0;
25306 }
25307 _ACEOF
25308 if ac_fn_c_try_link "$LINENO"; then :
25309 ac_cv_lib_posix_remove=yes
25310 else
25311 ac_cv_lib_posix_remove=no
25312 fi
25313 rm -f core conftest.err conftest.$ac_objext \
25314 conftest$ac_exeext conftest.$ac_ext
25315 LIBS=$ac_check_lib_save_LIBS
25316 fi
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25318 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25319 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25320 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25321 fi
25322
25323 fi
25324
25325 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25326 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25327 if test "x$ac_cv_func_shmat" = xyes; then :
25328
25329 fi
25330
25331 if test $ac_cv_func_shmat = no; then
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25333 $as_echo_n "checking for shmat in -lipc... " >&6; }
25334 if ${ac_cv_lib_ipc_shmat+:} false; then :
25335 $as_echo_n "(cached) " >&6
25336 else
25337 ac_check_lib_save_LIBS=$LIBS
25338 LIBS="-lipc $LIBS"
25339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25340 /* end confdefs.h. */
25341
25342 /* Override any GCC internal prototype to avoid an error.
25343 Use char because int might match the return type of a GCC
25344 builtin and then its argument prototype would still apply. */
25345 #ifdef __cplusplus
25346 extern "C"
25347 #endif
25348 char shmat ();
25349 int
25350 main ()
25351 {
25352 return shmat ();
25353 ;
25354 return 0;
25355 }
25356 _ACEOF
25357 if ac_fn_c_try_link "$LINENO"; then :
25358 ac_cv_lib_ipc_shmat=yes
25359 else
25360 ac_cv_lib_ipc_shmat=no
25361 fi
25362 rm -f core conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25364 LIBS=$ac_check_lib_save_LIBS
25365 fi
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25367 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25368 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25370 fi
25371
25372 fi
25373 fi
25374
25375 # Check for libraries that X11R6 Xt/Xaw programs need.
25376 ac_save_LDFLAGS=$LDFLAGS
25377 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25379 # check for ICE first), but we must link in the order -lSM -lICE or
25380 # we get undefined symbols. So assume we have SM if we have ICE.
25381 # These have to be linked with before -lX11, unlike the other
25382 # libraries we check for below, so use a different variable.
25383 # John Interrante, Karl Berry
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25385 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25386 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25387 $as_echo_n "(cached) " >&6
25388 else
25389 ac_check_lib_save_LIBS=$LIBS
25390 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25393
25394 /* Override any GCC internal prototype to avoid an error.
25395 Use char because int might match the return type of a GCC
25396 builtin and then its argument prototype would still apply. */
25397 #ifdef __cplusplus
25398 extern "C"
25399 #endif
25400 char IceConnectionNumber ();
25401 int
25402 main ()
25403 {
25404 return IceConnectionNumber ();
25405 ;
25406 return 0;
25407 }
25408 _ACEOF
25409 if ac_fn_c_try_link "$LINENO"; then :
25410 ac_cv_lib_ICE_IceConnectionNumber=yes
25411 else
25412 ac_cv_lib_ICE_IceConnectionNumber=no
25413 fi
25414 rm -f core conftest.err conftest.$ac_objext \
25415 conftest$ac_exeext conftest.$ac_ext
25416 LIBS=$ac_check_lib_save_LIBS
25417 fi
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25419 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25420 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25421 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25422 fi
25423
25424 LDFLAGS=$ac_save_LDFLAGS
25425
25426 fi
25427
25428
25429 if test "$no_x" = "yes"; then
25430 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25431 fi
25432
25433 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25434 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25435 AFMINSTALL=afminstall
25436 COMPILED_X_PROGRAM=0
25437
25438 fi
25439
25440 if test "$wxUSE_X11" = 1; then
25441 if test "$wxUSE_NANOX" = "yes"; then
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25443 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25444 if test "x$MICROWIN" = x ; then
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25446 $as_echo "not found" >&6; }
25447 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25448 else
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25450 $as_echo "$MICROWIN" >&6; }
25451 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25452
25453 fi
25454 fi
25455
25456 if test "$wxUSE_UNICODE" = "yes"; then
25457
25458
25459 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25460 if test -n "$ac_tool_prefix"; then
25461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25464 $as_echo_n "checking for $ac_word... " >&6; }
25465 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25466 $as_echo_n "(cached) " >&6
25467 else
25468 case $PKG_CONFIG in
25469 [\\/]* | ?:[\\/]*)
25470 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25471 ;;
25472 *)
25473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25474 for as_dir in $PATH
25475 do
25476 IFS=$as_save_IFS
25477 test -z "$as_dir" && as_dir=.
25478 for ac_exec_ext in '' $ac_executable_extensions; do
25479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25480 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25482 break 2
25483 fi
25484 done
25485 done
25486 IFS=$as_save_IFS
25487
25488 ;;
25489 esac
25490 fi
25491 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25492 if test -n "$PKG_CONFIG"; then
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25494 $as_echo "$PKG_CONFIG" >&6; }
25495 else
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25497 $as_echo "no" >&6; }
25498 fi
25499
25500
25501 fi
25502 if test -z "$ac_cv_path_PKG_CONFIG"; then
25503 ac_pt_PKG_CONFIG=$PKG_CONFIG
25504 # Extract the first word of "pkg-config", so it can be a program name with args.
25505 set dummy pkg-config; ac_word=$2
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25507 $as_echo_n "checking for $ac_word... " >&6; }
25508 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25509 $as_echo_n "(cached) " >&6
25510 else
25511 case $ac_pt_PKG_CONFIG in
25512 [\\/]* | ?:[\\/]*)
25513 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25514 ;;
25515 *)
25516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25517 for as_dir in $PATH
25518 do
25519 IFS=$as_save_IFS
25520 test -z "$as_dir" && as_dir=.
25521 for ac_exec_ext in '' $ac_executable_extensions; do
25522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25523 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25525 break 2
25526 fi
25527 done
25528 done
25529 IFS=$as_save_IFS
25530
25531 ;;
25532 esac
25533 fi
25534 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25535 if test -n "$ac_pt_PKG_CONFIG"; then
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25537 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25538 else
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25540 $as_echo "no" >&6; }
25541 fi
25542
25543 if test "x$ac_pt_PKG_CONFIG" = x; then
25544 PKG_CONFIG=""
25545 else
25546 case $cross_compiling:$ac_tool_warned in
25547 yes:)
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25550 ac_tool_warned=yes ;;
25551 esac
25552 PKG_CONFIG=$ac_pt_PKG_CONFIG
25553 fi
25554 else
25555 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25556 fi
25557
25558 fi
25559 if test -n "$PKG_CONFIG"; then
25560 _pkg_min_version=0.9.0
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25562 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25563 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25565 $as_echo "yes" >&6; }
25566 else
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25568 $as_echo "no" >&6; }
25569 PKG_CONFIG=""
25570 fi
25571
25572 fi
25573
25574
25575 pkg_failed=no
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25577 $as_echo_n "checking for PANGOX... " >&6; }
25578
25579 if test -n "$PKG_CONFIG"; then
25580 if test -n "$PANGOX_CFLAGS"; then
25581 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25582 else
25583 if test -n "$PKG_CONFIG" && \
25584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25585 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25586 ac_status=$?
25587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25588 test $ac_status = 0; }; then
25589 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25590 else
25591 pkg_failed=yes
25592 fi
25593 fi
25594 else
25595 pkg_failed=untried
25596 fi
25597 if test -n "$PKG_CONFIG"; then
25598 if test -n "$PANGOX_LIBS"; then
25599 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25600 else
25601 if test -n "$PKG_CONFIG" && \
25602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25603 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25604 ac_status=$?
25605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25606 test $ac_status = 0; }; then
25607 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25608 else
25609 pkg_failed=yes
25610 fi
25611 fi
25612 else
25613 pkg_failed=untried
25614 fi
25615
25616
25617
25618 if test $pkg_failed = yes; then
25619
25620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25621 _pkg_short_errors_supported=yes
25622 else
25623 _pkg_short_errors_supported=no
25624 fi
25625 if test $_pkg_short_errors_supported = yes; then
25626 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25627 else
25628 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25629 fi
25630 # Put the nasty error message in config.log where it belongs
25631 echo "$PANGOX_PKG_ERRORS" >&5
25632
25633
25634 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25635
25636
25637 elif test $pkg_failed = untried; then
25638
25639 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25640
25641
25642 else
25643 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25644 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25646 $as_echo "yes" >&6; }
25647
25648 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25649 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25650 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25651
25652 fi
25653
25654 pkg_failed=no
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25656 $as_echo_n "checking for PANGOFT2... " >&6; }
25657
25658 if test -n "$PKG_CONFIG"; then
25659 if test -n "$PANGOFT2_CFLAGS"; then
25660 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25661 else
25662 if test -n "$PKG_CONFIG" && \
25663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25664 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25665 ac_status=$?
25666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25667 test $ac_status = 0; }; then
25668 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25669 else
25670 pkg_failed=yes
25671 fi
25672 fi
25673 else
25674 pkg_failed=untried
25675 fi
25676 if test -n "$PKG_CONFIG"; then
25677 if test -n "$PANGOFT2_LIBS"; then
25678 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25679 else
25680 if test -n "$PKG_CONFIG" && \
25681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25682 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25683 ac_status=$?
25684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25685 test $ac_status = 0; }; then
25686 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25687 else
25688 pkg_failed=yes
25689 fi
25690 fi
25691 else
25692 pkg_failed=untried
25693 fi
25694
25695
25696
25697 if test $pkg_failed = yes; then
25698
25699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25700 _pkg_short_errors_supported=yes
25701 else
25702 _pkg_short_errors_supported=no
25703 fi
25704 if test $_pkg_short_errors_supported = yes; then
25705 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25706 else
25707 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25708 fi
25709 # Put the nasty error message in config.log where it belongs
25710 echo "$PANGOFT2_PKG_ERRORS" >&5
25711
25712
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25714 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25715 wxUSE_PRINTING_ARCHITECTURE="no"
25716
25717
25718 elif test $pkg_failed = untried; then
25719
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25721 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25722 wxUSE_PRINTING_ARCHITECTURE="no"
25723
25724
25725 else
25726 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25727 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25729 $as_echo "yes" >&6; }
25730
25731 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25732 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25733 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25734
25735 fi
25736
25737 pkg_failed=no
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25739 $as_echo_n "checking for PANGOXFT... " >&6; }
25740
25741 if test -n "$PKG_CONFIG"; then
25742 if test -n "$PANGOXFT_CFLAGS"; then
25743 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25744 else
25745 if test -n "$PKG_CONFIG" && \
25746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25747 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25748 ac_status=$?
25749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25750 test $ac_status = 0; }; then
25751 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25752 else
25753 pkg_failed=yes
25754 fi
25755 fi
25756 else
25757 pkg_failed=untried
25758 fi
25759 if test -n "$PKG_CONFIG"; then
25760 if test -n "$PANGOXFT_LIBS"; then
25761 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25762 else
25763 if test -n "$PKG_CONFIG" && \
25764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25765 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25766 ac_status=$?
25767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25768 test $ac_status = 0; }; then
25769 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25770 else
25771 pkg_failed=yes
25772 fi
25773 fi
25774 else
25775 pkg_failed=untried
25776 fi
25777
25778
25779
25780 if test $pkg_failed = yes; then
25781
25782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25783 _pkg_short_errors_supported=yes
25784 else
25785 _pkg_short_errors_supported=no
25786 fi
25787 if test $_pkg_short_errors_supported = yes; then
25788 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25789 else
25790 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25791 fi
25792 # Put the nasty error message in config.log where it belongs
25793 echo "$PANGOXFT_PKG_ERRORS" >&5
25794
25795
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25797 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25798
25799
25800 elif test $pkg_failed = untried; then
25801
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25803 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25804
25805
25806 else
25807 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25808 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25810 $as_echo "yes" >&6; }
25811
25812 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25813
25814 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25815 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25817
25818 fi
25819 save_LIBS="$LIBS"
25820 LIBS="$LIBS $PANGOX_LIBS"
25821 for ac_func in pango_font_family_is_monospace
25822 do :
25823 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25824 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25825 cat >>confdefs.h <<_ACEOF
25826 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25827 _ACEOF
25828
25829 fi
25830 done
25831
25832 LIBS="$save_LIBS"
25833 fi
25834
25835 wxUSE_UNIVERSAL="yes"
25836
25837 if test "$wxUSE_NANOX" = "yes"; then
25838 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25839 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"
25840 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25841 else
25842 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25843 fi
25844
25845 TOOLKIT=X11
25846 GUIDIST=X11_DIST
25847 fi
25848
25849 if test "$wxUSE_MOTIF" = 1; then
25850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25851 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25852
25853 ac_find_includes=
25854 for ac_dir in $SEARCH_INCLUDE /usr/include
25855 do
25856 if test -f "$ac_dir/Xm/Xm.h"; then
25857 ac_find_includes=$ac_dir
25858 break
25859 fi
25860 done
25861
25862 if test "$ac_find_includes" != "" ; then
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25864 $as_echo "found in $ac_find_includes" >&6; }
25865
25866 if test "x$ac_find_includes" = "x/usr/include"; then
25867 ac_path_to_include=""
25868 else
25869 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25870 result=$?
25871 if test $result = 0; then
25872 ac_path_to_include=""
25873 else
25874 ac_path_to_include=" -I$ac_find_includes"
25875 fi
25876 fi
25877
25878 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25879 else
25880 save_CFLAGS=$CFLAGS
25881 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25882
25883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25884 /* end confdefs.h. */
25885
25886 #include <Xm/Xm.h>
25887
25888 int
25889 main ()
25890 {
25891
25892 int version;
25893 version = xmUseVersion;
25894
25895 ;
25896 return 0;
25897 }
25898 _ACEOF
25899 if ac_fn_c_try_compile "$LINENO"; then :
25900
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25902 $as_echo "found in default search path" >&6; }
25903 COMPILED_X_PROGRAM=1
25904
25905 else
25906
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25908 $as_echo "no" >&6; }
25909 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25910
25911
25912 fi
25913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25914
25915 CFLAGS=$save_CFLAGS
25916 fi
25917
25918
25919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25920 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25921
25922 ac_find_libraries=
25923 for ac_dir in $SEARCH_LIB
25924 do
25925 for ac_extension in a so sl dylib dll.a; do
25926 if test -f "$ac_dir/libXm.$ac_extension"; then
25927 ac_find_libraries=$ac_dir
25928 break 2
25929 fi
25930 done
25931 done
25932
25933
25934 if test "x$ac_find_libraries" != "x" ; then
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25936 $as_echo "found in $ac_find_libraries" >&6; }
25937
25938
25939 if test "$ac_find_libraries" = "default location"; then
25940 ac_path_to_link=""
25941 else
25942 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25943 result=$?
25944 if test $result = 0; then
25945 ac_path_to_link=""
25946 else
25947 ac_path_to_link=" -L$ac_find_libraries"
25948 fi
25949 fi
25950
25951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25952 else
25953 save_CFLAGS=$CFLAGS
25954 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25955 save_LIBS="$LIBS"
25956 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25957
25958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25959 /* end confdefs.h. */
25960
25961 #include <Xm/Xm.h>
25962
25963 int
25964 main ()
25965 {
25966
25967 int version;
25968 version = xmUseVersion;
25969
25970 ;
25971 return 0;
25972 }
25973 _ACEOF
25974 if ac_fn_c_try_link "$LINENO"; then :
25975
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25977 $as_echo "found in default search path" >&6; }
25978 COMPILED_X_PROGRAM=1
25979
25980 else
25981
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25983 $as_echo "no" >&6; }
25984 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25985
25986
25987 fi
25988 rm -f core conftest.err conftest.$ac_objext \
25989 conftest$ac_exeext conftest.$ac_ext
25990
25991 CFLAGS=$save_CFLAGS
25992 LIBS="$save_LIBS"
25993 fi
25994
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25996 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25997 libp_link=""
25998 libsm_ice_link=""
25999 libs_found=0
26000 for libp in "" " -lXp"; do
26001 if test "$libs_found" = 0; then
26002 for libsm_ice in "" " -lSM -lICE"; do
26003 if test "$libs_found" = 0; then
26004 save_LIBS="$LIBS"
26005 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26006 save_CFLAGS=$CFLAGS
26007 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26008
26009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26010 /* end confdefs.h. */
26011
26012 #include <Xm/Xm.h>
26013 #include <Xm/List.h>
26014
26015 int
26016 main ()
26017 {
26018
26019 XmString string = NULL;
26020 Widget w = NULL;
26021 int position = 0;
26022 XmListAddItem(w, string, position);
26023
26024 ;
26025 return 0;
26026 }
26027 _ACEOF
26028 if ac_fn_c_try_link "$LINENO"; then :
26029
26030 libp_link="$libp"
26031 libsm_ice_link="$libsm_ice"
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26033 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26034 libs_found=1
26035
26036 fi
26037 rm -f core conftest.err conftest.$ac_objext \
26038 conftest$ac_exeext conftest.$ac_ext
26039
26040 LIBS="$save_LIBS"
26041 CFLAGS=$save_CFLAGS
26042 fi
26043 done
26044 fi
26045 done
26046
26047 if test "$libs_found" = 0; then
26048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26049 $as_echo "can't find the right libraries" >&6; }
26050 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26051 fi
26052
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26054 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26055 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
26056 $as_echo_n "(cached) " >&6
26057 else
26058 ac_check_lib_save_LIBS=$LIBS
26059 LIBS="-lSgm $LIBS"
26060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26061 /* end confdefs.h. */
26062
26063 /* Override any GCC internal prototype to avoid an error.
26064 Use char because int might match the return type of a GCC
26065 builtin and then its argument prototype would still apply. */
26066 #ifdef __cplusplus
26067 extern "C"
26068 #endif
26069 char SgCreateList ();
26070 int
26071 main ()
26072 {
26073 return SgCreateList ();
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_c_try_link "$LINENO"; then :
26079 ac_cv_lib_Sgm_SgCreateList=yes
26080 else
26081 ac_cv_lib_Sgm_SgCreateList=no
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext \
26084 conftest$ac_exeext conftest.$ac_ext
26085 LIBS=$ac_check_lib_save_LIBS
26086 fi
26087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26088 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26089 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
26090 libsgm_link=" -lSgm"
26091 fi
26092
26093
26094 save_CFLAGS=$CFLAGS
26095 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26096
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26098 $as_echo_n "checking for Motif 2... " >&6; }
26099 if ${wx_cv_lib_motif2+:} false; then :
26100 $as_echo_n "(cached) " >&6
26101 else
26102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26103 /* end confdefs.h. */
26104
26105 #include <Xm/Xm.h>
26106
26107 int
26108 main ()
26109 {
26110
26111 #if XmVersion < 2000
26112 Not Motif 2
26113 #endif
26114
26115 ;
26116 return 0;
26117 }
26118 _ACEOF
26119 if ac_fn_c_try_compile "$LINENO"; then :
26120 wx_cv_lib_motif2="yes"
26121 else
26122 wx_cv_lib_motif2="no"
26123 fi
26124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26125 fi
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26127 $as_echo "$wx_cv_lib_motif2" >&6; }
26128 if test "$wx_cv_lib_motif2" = "yes"; then
26129 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26130
26131 else
26132 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26133
26134 fi
26135
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26137 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26138 if ${wx_cv_lib_lesstif+:} false; then :
26139 $as_echo_n "(cached) " >&6
26140 else
26141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h. */
26143
26144 #include <Xm/Xm.h>
26145
26146 int
26147 main ()
26148 {
26149
26150 #if !defined(LesstifVersion) || LesstifVersion <= 0
26151 Not Lesstif
26152 #endif
26153
26154 ;
26155 return 0;
26156 }
26157 _ACEOF
26158 if ac_fn_c_try_compile "$LINENO"; then :
26159 wx_cv_lib_lesstif="yes"
26160 else
26161 wx_cv_lib_lesstif="no"
26162 fi
26163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26164
26165 fi
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26167 $as_echo "$wx_cv_lib_lesstif" >&6; }
26168 if test "$wx_cv_lib_lesstif" = "yes"; then
26169 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26170
26171 else
26172 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26173
26174 fi
26175
26176 CFLAGS=$save_CFLAGS
26177
26178 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26179 TOOLKIT=MOTIF
26180 GUIDIST=MOTIF_DIST
26181 fi
26182
26183 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26184 if test "$wxUSE_LIBXPM" = "sys"; then
26185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26186 $as_echo_n "checking for Xpm library... " >&6; }
26187
26188 ac_find_libraries=
26189 for ac_dir in $SEARCH_LIB
26190 do
26191 for ac_extension in a so sl dylib dll.a; do
26192 if test -f "$ac_dir/libXpm.$ac_extension"; then
26193 ac_find_libraries=$ac_dir
26194 break 2
26195 fi
26196 done
26197 done
26198
26199 if test "$ac_find_libraries" != "" ; then
26200
26201 if test "$ac_find_libraries" = "default location"; then
26202 ac_path_to_link=""
26203 else
26204 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26205 result=$?
26206 if test $result = 0; then
26207 ac_path_to_link=""
26208 else
26209 ac_path_to_link=" -L$ac_find_libraries"
26210 fi
26211 fi
26212
26213 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26215 $as_echo "found in $ac_find_libraries" >&6; }
26216
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26218 $as_echo_n "checking for X11/xpm.h... " >&6; }
26219 if ${wx_cv_x11_xpm_h+:} false; then :
26220 $as_echo_n "(cached) " >&6
26221 else
26222
26223 save_CFLAGS=$CFLAGS
26224 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26225
26226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26227 /* end confdefs.h. */
26228
26229 #include <X11/xpm.h>
26230
26231 int
26232 main ()
26233 {
26234
26235 int version;
26236 version = XpmLibraryVersion();
26237
26238 ;
26239 return 0;
26240 }
26241 _ACEOF
26242 if ac_fn_c_try_compile "$LINENO"; then :
26243 wx_cv_x11_xpm_h=yes
26244 else
26245 wx_cv_x11_xpm_h=no
26246
26247 fi
26248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26249
26250 CFLAGS=$save_CFLAGS
26251
26252
26253 fi
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26255 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26256
26257 if test $wx_cv_x11_xpm_h = "yes"; then
26258 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26259 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26260
26261 else
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26263 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26264 fi
26265 fi
26266
26267 fi
26268
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26270 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26271 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26272 $as_echo_n "(cached) " >&6
26273 else
26274 ac_check_lib_save_LIBS=$LIBS
26275 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26278
26279 /* Override any GCC internal prototype to avoid an error.
26280 Use char because int might match the return type of a GCC
26281 builtin and then its argument prototype would still apply. */
26282 #ifdef __cplusplus
26283 extern "C"
26284 #endif
26285 char XShapeQueryExtension ();
26286 int
26287 main ()
26288 {
26289 return XShapeQueryExtension ();
26290 ;
26291 return 0;
26292 }
26293 _ACEOF
26294 if ac_fn_c_try_link "$LINENO"; then :
26295 ac_cv_lib_Xext_XShapeQueryExtension=yes
26296 else
26297 ac_cv_lib_Xext_XShapeQueryExtension=no
26298 fi
26299 rm -f core conftest.err conftest.$ac_objext \
26300 conftest$ac_exeext conftest.$ac_ext
26301 LIBS=$ac_check_lib_save_LIBS
26302 fi
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26304 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26305 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26306
26307 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26308 wxHAVE_XEXT_LIB=1
26309
26310 fi
26311
26312
26313 if test "$wxHAVE_XEXT_LIB" = 1; then
26314 save_CFLAGS="$CFLAGS"
26315 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26316
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26318 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26320 /* end confdefs.h. */
26321
26322 #include <X11/Xlib.h>
26323 #include <X11/extensions/shape.h>
26324
26325 int
26326 main ()
26327 {
26328
26329 int dummy1, dummy2;
26330 XShapeQueryExtension((Display*)NULL,
26331 (int*)NULL, (int*)NULL);
26332
26333 ;
26334 return 0;
26335 }
26336 _ACEOF
26337 if ac_fn_c_try_compile "$LINENO"; then :
26338
26339 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26340
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26342 $as_echo "found" >&6; }
26343
26344 else
26345
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26347 $as_echo "not found" >&6; }
26348
26349 fi
26350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26351 CFLAGS="$save_CFLAGS"
26352
26353 fi
26354 fi
26355
26356 if test "$wxUSE_OSX_CARBON" = 1; then
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26358 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26359 if test "$GCC" = yes; then
26360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26361 $as_echo "gcc" >&6; }
26362 CPPFLAGS_PASCAL="-fpascal-strings"
26363 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26365 $as_echo "xlc" >&6; }
26366 CPPFLAGS_PASCAL="-qmacpstr"
26367 else
26368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26369 $as_echo "none" >&6; }
26370 fi
26371
26372 if test "x$wxUSE_UNIX" = "xyes"; then
26373 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26374 else
26375 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26376 fi
26377
26378 TOOLKIT=OSX_CARBON
26379 GUIDIST=OSX_CARBON_DIST
26380 WXBASEPORT="_carbon"
26381
26382 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26383 fi
26384
26385 if test "$wxUSE_OSX_COCOA" = 1; then
26386 TOOLKIT=OSX_COCOA
26387 GUIDIST=OSX_COCOA_DIST
26388
26389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26390 fi
26391
26392 if test "$wxUSE_OSX_IPHONE" = 1; then
26393 TOOLKIT=OSX_IPHONE
26394 fi
26395
26396 if test "$wxUSE_OLD_COCOA" = 1; then
26397 TOOLKIT=COCOA
26398 GUIDIST=COCOA_DIST
26399 fi
26400
26401 if test "$wxUSE_PM" = 1; then
26402 TOOLKIT=PM
26403 GUIDIST=PM_DIST
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26405 $as_echo_n "checking for type SPBCDATA... " >&6; }
26406 if ${wx_cv_spbcdata+:} false; then :
26407 $as_echo_n "(cached) " >&6
26408 else
26409
26410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411 /* end confdefs.h. */
26412
26413 #define INCL_PM
26414 #include <os2.h>
26415
26416 int
26417 main ()
26418 {
26419
26420 SPBCDATA test;
26421
26422 ;
26423 return 0;
26424 }
26425 _ACEOF
26426 if ac_fn_c_try_compile "$LINENO"; then :
26427 wx_cv_spbcdata=yes
26428 else
26429 wx_cv_spbcdata=no
26430
26431 fi
26432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26433
26434
26435 fi
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26437 $as_echo "$wx_cv_spbcdata" >&6; }
26438
26439 if test $wx_cv_spbcdata = "yes"; then
26440 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26441
26442 fi
26443 fi
26444
26445 if test "$TOOLKIT" = "PM" ; then
26446 TOOLKIT_DIR="os2"
26447 else
26448 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26449 fi
26450
26451 if test "$wxUSE_UNIVERSAL" = "yes"; then
26452 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26453 WIDGET_SET=univ
26454 fi
26455
26456 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26457 DISTDIR="wx\$(TOOLKIT)"
26458 else
26459 USE_GUI=0
26460
26461 TOOLKIT_DIR="base"
26462
26463 if test "$USE_WIN32" = 1 ; then
26464 TOOLKIT="MSW"
26465 fi
26466
26467 GUIDIST="BASE_DIST"
26468 DISTDIR="wxBase"
26469 fi
26470
26471
26472
26473 if test "$wxUSE_GUI" = "yes"; then
26474 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26475 for ac_header in X11/Xlib.h
26476 do :
26477 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26478 "
26479 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26480 cat >>confdefs.h <<_ACEOF
26481 #define HAVE_X11_XLIB_H 1
26482 _ACEOF
26483
26484 fi
26485
26486 done
26487
26488 for ac_header in X11/XKBlib.h
26489 do :
26490 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26491 #if HAVE_X11_XLIB_H
26492 #include <X11/Xlib.h>
26493 #endif
26494
26495 "
26496 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26497 cat >>confdefs.h <<_ACEOF
26498 #define HAVE_X11_XKBLIB_H 1
26499 _ACEOF
26500
26501 fi
26502
26503 done
26504
26505 fi
26506 fi
26507
26508
26509
26510 USE_XINERAMA=0
26511 if test "$wxUSE_DISPLAY" = "yes"; then
26512 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26513
26514 ac_find_libraries=
26515
26516 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26517
26518
26519 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26520 if test -n "$ac_tool_prefix"; then
26521 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26522 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26524 $as_echo_n "checking for $ac_word... " >&6; }
26525 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26526 $as_echo_n "(cached) " >&6
26527 else
26528 case $PKG_CONFIG in
26529 [\\/]* | ?:[\\/]*)
26530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26531 ;;
26532 *)
26533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26534 for as_dir in $PATH
26535 do
26536 IFS=$as_save_IFS
26537 test -z "$as_dir" && as_dir=.
26538 for ac_exec_ext in '' $ac_executable_extensions; do
26539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26542 break 2
26543 fi
26544 done
26545 done
26546 IFS=$as_save_IFS
26547
26548 ;;
26549 esac
26550 fi
26551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26552 if test -n "$PKG_CONFIG"; then
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26554 $as_echo "$PKG_CONFIG" >&6; }
26555 else
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26557 $as_echo "no" >&6; }
26558 fi
26559
26560
26561 fi
26562 if test -z "$ac_cv_path_PKG_CONFIG"; then
26563 ac_pt_PKG_CONFIG=$PKG_CONFIG
26564 # Extract the first word of "pkg-config", so it can be a program name with args.
26565 set dummy pkg-config; ac_word=$2
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26567 $as_echo_n "checking for $ac_word... " >&6; }
26568 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26569 $as_echo_n "(cached) " >&6
26570 else
26571 case $ac_pt_PKG_CONFIG in
26572 [\\/]* | ?:[\\/]*)
26573 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26574 ;;
26575 *)
26576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26577 for as_dir in $PATH
26578 do
26579 IFS=$as_save_IFS
26580 test -z "$as_dir" && as_dir=.
26581 for ac_exec_ext in '' $ac_executable_extensions; do
26582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26583 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26585 break 2
26586 fi
26587 done
26588 done
26589 IFS=$as_save_IFS
26590
26591 ;;
26592 esac
26593 fi
26594 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26595 if test -n "$ac_pt_PKG_CONFIG"; then
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26597 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26598 else
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26600 $as_echo "no" >&6; }
26601 fi
26602
26603 if test "x$ac_pt_PKG_CONFIG" = x; then
26604 PKG_CONFIG=""
26605 else
26606 case $cross_compiling:$ac_tool_warned in
26607 yes:)
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26610 ac_tool_warned=yes ;;
26611 esac
26612 PKG_CONFIG=$ac_pt_PKG_CONFIG
26613 fi
26614 else
26615 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26616 fi
26617
26618 fi
26619 if test -n "$PKG_CONFIG"; then
26620 _pkg_min_version=0.9.0
26621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26622 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26623 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26625 $as_echo "yes" >&6; }
26626 else
26627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26628 $as_echo "no" >&6; }
26629 PKG_CONFIG=""
26630 fi
26631
26632 fi 6> /dev/null
26633
26634 pkg_failed=no
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26636 $as_echo_n "checking for Xinerama... " >&6; }
26637
26638 if test -n "$PKG_CONFIG"; then
26639 if test -n "$Xinerama_CFLAGS"; then
26640 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26641 else
26642 if test -n "$PKG_CONFIG" && \
26643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26644 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26645 ac_status=$?
26646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26647 test $ac_status = 0; }; then
26648 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26649 else
26650 pkg_failed=yes
26651 fi
26652 fi
26653 else
26654 pkg_failed=untried
26655 fi
26656 if test -n "$PKG_CONFIG"; then
26657 if test -n "$Xinerama_LIBS"; then
26658 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26659 else
26660 if test -n "$PKG_CONFIG" && \
26661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26662 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26663 ac_status=$?
26664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26665 test $ac_status = 0; }; then
26666 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26667 else
26668 pkg_failed=yes
26669 fi
26670 fi
26671 else
26672 pkg_failed=untried
26673 fi
26674
26675
26676
26677 if test $pkg_failed = yes; then
26678
26679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26680 _pkg_short_errors_supported=yes
26681 else
26682 _pkg_short_errors_supported=no
26683 fi
26684 if test $_pkg_short_errors_supported = yes; then
26685 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26686 else
26687 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26688 fi
26689 # Put the nasty error message in config.log where it belongs
26690 echo "$Xinerama_PKG_ERRORS" >&5
26691
26692
26693 if test "x$ac_find_libraries" = "x"; then
26694 if test "xXineramaQueryScreens" != "x"; then
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26696 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26697 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26698 $as_echo_n "(cached) " >&6
26699 else
26700 ac_check_lib_save_LIBS=$LIBS
26701 LIBS="-lXinerama $LIBS"
26702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26704
26705 /* Override any GCC internal prototype to avoid an error.
26706 Use char because int might match the return type of a GCC
26707 builtin and then its argument prototype would still apply. */
26708 #ifdef __cplusplus
26709 extern "C"
26710 #endif
26711 char XineramaQueryScreens ();
26712 int
26713 main ()
26714 {
26715 return XineramaQueryScreens ();
26716 ;
26717 return 0;
26718 }
26719 _ACEOF
26720 if ac_fn_c_try_link "$LINENO"; then :
26721 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26722 else
26723 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26724 fi
26725 rm -f core conftest.err conftest.$ac_objext \
26726 conftest$ac_exeext conftest.$ac_ext
26727 LIBS=$ac_check_lib_save_LIBS
26728 fi
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26730 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26731 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26732 ac_find_libraries="std"
26733 fi
26734
26735 fi
26736 fi
26737
26738 if test "x$ac_find_libraries" = "x"; then
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26740 $as_echo_n "checking elsewhere... " >&6; }
26741
26742 ac_find_libraries=
26743 for ac_dir in $SEARCH_LIB
26744 do
26745 for ac_extension in a so sl dylib dll.a; do
26746 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26747 ac_find_libraries=$ac_dir
26748 break 2
26749 fi
26750 done
26751 done
26752
26753 if test "x$ac_find_libraries" != "x"; then
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26755 $as_echo "yes" >&6; }
26756 else
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26758 $as_echo "no" >&6; }
26759 fi
26760 fi
26761
26762 elif test $pkg_failed = untried; then
26763
26764 if test "x$ac_find_libraries" = "x"; then
26765 if test "xXineramaQueryScreens" != "x"; then
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26767 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26768 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26769 $as_echo_n "(cached) " >&6
26770 else
26771 ac_check_lib_save_LIBS=$LIBS
26772 LIBS="-lXinerama $LIBS"
26773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774 /* end confdefs.h. */
26775
26776 /* Override any GCC internal prototype to avoid an error.
26777 Use char because int might match the return type of a GCC
26778 builtin and then its argument prototype would still apply. */
26779 #ifdef __cplusplus
26780 extern "C"
26781 #endif
26782 char XineramaQueryScreens ();
26783 int
26784 main ()
26785 {
26786 return XineramaQueryScreens ();
26787 ;
26788 return 0;
26789 }
26790 _ACEOF
26791 if ac_fn_c_try_link "$LINENO"; then :
26792 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26793 else
26794 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26795 fi
26796 rm -f core conftest.err conftest.$ac_objext \
26797 conftest$ac_exeext conftest.$ac_ext
26798 LIBS=$ac_check_lib_save_LIBS
26799 fi
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26801 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26802 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26803 ac_find_libraries="std"
26804 fi
26805
26806 fi
26807 fi
26808
26809 if test "x$ac_find_libraries" = "x"; then
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26811 $as_echo_n "checking elsewhere... " >&6; }
26812
26813 ac_find_libraries=
26814 for ac_dir in $SEARCH_LIB
26815 do
26816 for ac_extension in a so sl dylib dll.a; do
26817 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26818 ac_find_libraries=$ac_dir
26819 break 2
26820 fi
26821 done
26822 done
26823
26824 if test "x$ac_find_libraries" != "x"; then
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26826 $as_echo "yes" >&6; }
26827 else
26828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26829 $as_echo "no" >&6; }
26830 fi
26831 fi
26832
26833 else
26834 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26835 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26837 $as_echo "yes" >&6; }
26838
26839 ac_find_libraries="std"
26840
26841 eval ac_find_cflags=\$Xinerama_CFLAGS
26842 eval fl_libs=\$Xinerama_LIBS
26843
26844 for fl_path in $fl_libs
26845 do
26846 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26847 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26848 fi
26849 done
26850
26851 fi
26852
26853 if test "$ac_find_libraries" != "" ; then
26854 if test "$ac_find_libraries" != "std" ; then
26855
26856 if test "$ac_find_libraries" = "default location"; then
26857 ac_path_to_link=""
26858 else
26859 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26860 result=$?
26861 if test $result = 0; then
26862 ac_path_to_link=""
26863 else
26864 ac_path_to_link=" -L$ac_find_libraries"
26865 fi
26866 fi
26867
26868 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26869 LDFLAGS="$LDFLAGS $ac_path_to_link"
26870 fi
26871 fi
26872 USE_XINERAMA=1
26873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26874 else
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26876 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26877 wxUSE_DISPLAY="no"
26878 fi
26879 elif test "$wxUSE_MSW" = 1; then
26880 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26881 "
26882 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26883
26884 fi
26885
26886
26887 fi
26888 fi
26889
26890 if test "$wxUSE_DISPLAY" = "yes"; then
26891 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26892
26893 ac_find_libraries=
26894
26895 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26896
26897
26898 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26899 if test -n "$ac_tool_prefix"; then
26900 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26901 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26903 $as_echo_n "checking for $ac_word... " >&6; }
26904 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26905 $as_echo_n "(cached) " >&6
26906 else
26907 case $PKG_CONFIG in
26908 [\\/]* | ?:[\\/]*)
26909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26910 ;;
26911 *)
26912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26913 for as_dir in $PATH
26914 do
26915 IFS=$as_save_IFS
26916 test -z "$as_dir" && as_dir=.
26917 for ac_exec_ext in '' $ac_executable_extensions; do
26918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26921 break 2
26922 fi
26923 done
26924 done
26925 IFS=$as_save_IFS
26926
26927 ;;
26928 esac
26929 fi
26930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26931 if test -n "$PKG_CONFIG"; then
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26933 $as_echo "$PKG_CONFIG" >&6; }
26934 else
26935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26936 $as_echo "no" >&6; }
26937 fi
26938
26939
26940 fi
26941 if test -z "$ac_cv_path_PKG_CONFIG"; then
26942 ac_pt_PKG_CONFIG=$PKG_CONFIG
26943 # Extract the first word of "pkg-config", so it can be a program name with args.
26944 set dummy pkg-config; ac_word=$2
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26946 $as_echo_n "checking for $ac_word... " >&6; }
26947 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26948 $as_echo_n "(cached) " >&6
26949 else
26950 case $ac_pt_PKG_CONFIG in
26951 [\\/]* | ?:[\\/]*)
26952 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26953 ;;
26954 *)
26955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26956 for as_dir in $PATH
26957 do
26958 IFS=$as_save_IFS
26959 test -z "$as_dir" && as_dir=.
26960 for ac_exec_ext in '' $ac_executable_extensions; do
26961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26962 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26964 break 2
26965 fi
26966 done
26967 done
26968 IFS=$as_save_IFS
26969
26970 ;;
26971 esac
26972 fi
26973 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26974 if test -n "$ac_pt_PKG_CONFIG"; then
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26976 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26977 else
26978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26979 $as_echo "no" >&6; }
26980 fi
26981
26982 if test "x$ac_pt_PKG_CONFIG" = x; then
26983 PKG_CONFIG=""
26984 else
26985 case $cross_compiling:$ac_tool_warned in
26986 yes:)
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26989 ac_tool_warned=yes ;;
26990 esac
26991 PKG_CONFIG=$ac_pt_PKG_CONFIG
26992 fi
26993 else
26994 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26995 fi
26996
26997 fi
26998 if test -n "$PKG_CONFIG"; then
26999 _pkg_min_version=0.9.0
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27001 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27002 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27004 $as_echo "yes" >&6; }
27005 else
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27007 $as_echo "no" >&6; }
27008 PKG_CONFIG=""
27009 fi
27010
27011 fi 6> /dev/null
27012
27013 pkg_failed=no
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27015 $as_echo_n "checking for Xxf86vm... " >&6; }
27016
27017 if test -n "$PKG_CONFIG"; then
27018 if test -n "$Xxf86vm_CFLAGS"; then
27019 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
27020 else
27021 if test -n "$PKG_CONFIG" && \
27022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27023 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27024 ac_status=$?
27025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27026 test $ac_status = 0; }; then
27027 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27028 else
27029 pkg_failed=yes
27030 fi
27031 fi
27032 else
27033 pkg_failed=untried
27034 fi
27035 if test -n "$PKG_CONFIG"; then
27036 if test -n "$Xxf86vm_LIBS"; then
27037 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27038 else
27039 if test -n "$PKG_CONFIG" && \
27040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27041 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27042 ac_status=$?
27043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27044 test $ac_status = 0; }; then
27045 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27046 else
27047 pkg_failed=yes
27048 fi
27049 fi
27050 else
27051 pkg_failed=untried
27052 fi
27053
27054
27055
27056 if test $pkg_failed = yes; then
27057
27058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27059 _pkg_short_errors_supported=yes
27060 else
27061 _pkg_short_errors_supported=no
27062 fi
27063 if test $_pkg_short_errors_supported = yes; then
27064 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27065 else
27066 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27067 fi
27068 # Put the nasty error message in config.log where it belongs
27069 echo "$Xxf86vm_PKG_ERRORS" >&5
27070
27071
27072 if test "x$ac_find_libraries" = "x"; then
27073 if test "xXF86VidModeQueryExtension" != "x"; then
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27075 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27076 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27077 $as_echo_n "(cached) " >&6
27078 else
27079 ac_check_lib_save_LIBS=$LIBS
27080 LIBS="-lXxf86vm $LIBS"
27081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27082 /* end confdefs.h. */
27083
27084 /* Override any GCC internal prototype to avoid an error.
27085 Use char because int might match the return type of a GCC
27086 builtin and then its argument prototype would still apply. */
27087 #ifdef __cplusplus
27088 extern "C"
27089 #endif
27090 char XF86VidModeQueryExtension ();
27091 int
27092 main ()
27093 {
27094 return XF86VidModeQueryExtension ();
27095 ;
27096 return 0;
27097 }
27098 _ACEOF
27099 if ac_fn_c_try_link "$LINENO"; then :
27100 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27101 else
27102 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27103 fi
27104 rm -f core conftest.err conftest.$ac_objext \
27105 conftest$ac_exeext conftest.$ac_ext
27106 LIBS=$ac_check_lib_save_LIBS
27107 fi
27108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27109 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27110 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27111 ac_find_libraries="std"
27112 fi
27113
27114 fi
27115 fi
27116
27117 if test "x$ac_find_libraries" = "x"; then
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27119 $as_echo_n "checking elsewhere... " >&6; }
27120
27121 ac_find_libraries=
27122 for ac_dir in $SEARCH_LIB
27123 do
27124 for ac_extension in a so sl dylib dll.a; do
27125 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27126 ac_find_libraries=$ac_dir
27127 break 2
27128 fi
27129 done
27130 done
27131
27132 if test "x$ac_find_libraries" != "x"; then
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27134 $as_echo "yes" >&6; }
27135 else
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27137 $as_echo "no" >&6; }
27138 fi
27139 fi
27140
27141 elif test $pkg_failed = untried; then
27142
27143 if test "x$ac_find_libraries" = "x"; then
27144 if test "xXF86VidModeQueryExtension" != "x"; then
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27146 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27147 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27148 $as_echo_n "(cached) " >&6
27149 else
27150 ac_check_lib_save_LIBS=$LIBS
27151 LIBS="-lXxf86vm $LIBS"
27152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27153 /* end confdefs.h. */
27154
27155 /* Override any GCC internal prototype to avoid an error.
27156 Use char because int might match the return type of a GCC
27157 builtin and then its argument prototype would still apply. */
27158 #ifdef __cplusplus
27159 extern "C"
27160 #endif
27161 char XF86VidModeQueryExtension ();
27162 int
27163 main ()
27164 {
27165 return XF86VidModeQueryExtension ();
27166 ;
27167 return 0;
27168 }
27169 _ACEOF
27170 if ac_fn_c_try_link "$LINENO"; then :
27171 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27172 else
27173 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27174 fi
27175 rm -f core conftest.err conftest.$ac_objext \
27176 conftest$ac_exeext conftest.$ac_ext
27177 LIBS=$ac_check_lib_save_LIBS
27178 fi
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27180 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27181 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27182 ac_find_libraries="std"
27183 fi
27184
27185 fi
27186 fi
27187
27188 if test "x$ac_find_libraries" = "x"; then
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27190 $as_echo_n "checking elsewhere... " >&6; }
27191
27192 ac_find_libraries=
27193 for ac_dir in $SEARCH_LIB
27194 do
27195 for ac_extension in a so sl dylib dll.a; do
27196 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27197 ac_find_libraries=$ac_dir
27198 break 2
27199 fi
27200 done
27201 done
27202
27203 if test "x$ac_find_libraries" != "x"; then
27204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27205 $as_echo "yes" >&6; }
27206 else
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27208 $as_echo "no" >&6; }
27209 fi
27210 fi
27211
27212 else
27213 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27214 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27216 $as_echo "yes" >&6; }
27217
27218 ac_find_libraries="std"
27219
27220 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27221 eval fl_libs=\$Xxf86vm_LIBS
27222
27223 for fl_path in $fl_libs
27224 do
27225 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27226 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27227 fi
27228 done
27229
27230 fi
27231
27232 if test "$ac_find_libraries" != "" ; then
27233 for ac_header in X11/extensions/xf86vmode.h
27234 do :
27235 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27236 #if HAVE_X11_XLIB_H
27237 #include <X11/Xlib.h>
27238 #endif
27239
27240 "
27241 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27242 cat >>confdefs.h <<_ACEOF
27243 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27244 _ACEOF
27245
27246 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27247
27248 fi
27249
27250 done
27251
27252 fi
27253 fi
27254 fi
27255
27256 if test "$wxUSE_DETECT_SM" = "yes"; then
27257 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27258
27259 ac_find_libraries=
27260
27261 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27262
27263
27264 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27265 if test -n "$ac_tool_prefix"; then
27266 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27267 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27269 $as_echo_n "checking for $ac_word... " >&6; }
27270 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27271 $as_echo_n "(cached) " >&6
27272 else
27273 case $PKG_CONFIG in
27274 [\\/]* | ?:[\\/]*)
27275 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27276 ;;
27277 *)
27278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27279 for as_dir in $PATH
27280 do
27281 IFS=$as_save_IFS
27282 test -z "$as_dir" && as_dir=.
27283 for ac_exec_ext in '' $ac_executable_extensions; do
27284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27285 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27287 break 2
27288 fi
27289 done
27290 done
27291 IFS=$as_save_IFS
27292
27293 ;;
27294 esac
27295 fi
27296 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27297 if test -n "$PKG_CONFIG"; then
27298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27299 $as_echo "$PKG_CONFIG" >&6; }
27300 else
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27302 $as_echo "no" >&6; }
27303 fi
27304
27305
27306 fi
27307 if test -z "$ac_cv_path_PKG_CONFIG"; then
27308 ac_pt_PKG_CONFIG=$PKG_CONFIG
27309 # Extract the first word of "pkg-config", so it can be a program name with args.
27310 set dummy pkg-config; ac_word=$2
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27312 $as_echo_n "checking for $ac_word... " >&6; }
27313 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27314 $as_echo_n "(cached) " >&6
27315 else
27316 case $ac_pt_PKG_CONFIG in
27317 [\\/]* | ?:[\\/]*)
27318 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27319 ;;
27320 *)
27321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27322 for as_dir in $PATH
27323 do
27324 IFS=$as_save_IFS
27325 test -z "$as_dir" && as_dir=.
27326 for ac_exec_ext in '' $ac_executable_extensions; do
27327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27328 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27330 break 2
27331 fi
27332 done
27333 done
27334 IFS=$as_save_IFS
27335
27336 ;;
27337 esac
27338 fi
27339 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27340 if test -n "$ac_pt_PKG_CONFIG"; then
27341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27342 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27343 else
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27345 $as_echo "no" >&6; }
27346 fi
27347
27348 if test "x$ac_pt_PKG_CONFIG" = x; then
27349 PKG_CONFIG=""
27350 else
27351 case $cross_compiling:$ac_tool_warned in
27352 yes:)
27353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27355 ac_tool_warned=yes ;;
27356 esac
27357 PKG_CONFIG=$ac_pt_PKG_CONFIG
27358 fi
27359 else
27360 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27361 fi
27362
27363 fi
27364 if test -n "$PKG_CONFIG"; then
27365 _pkg_min_version=0.9.0
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27367 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27368 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27370 $as_echo "yes" >&6; }
27371 else
27372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27373 $as_echo "no" >&6; }
27374 PKG_CONFIG=""
27375 fi
27376
27377 fi 6> /dev/null
27378
27379 pkg_failed=no
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27381 $as_echo_n "checking for SM... " >&6; }
27382
27383 if test -n "$PKG_CONFIG"; then
27384 if test -n "$SM_CFLAGS"; then
27385 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27386 else
27387 if test -n "$PKG_CONFIG" && \
27388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27389 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27390 ac_status=$?
27391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27392 test $ac_status = 0; }; then
27393 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27394 else
27395 pkg_failed=yes
27396 fi
27397 fi
27398 else
27399 pkg_failed=untried
27400 fi
27401 if test -n "$PKG_CONFIG"; then
27402 if test -n "$SM_LIBS"; then
27403 pkg_cv_SM_LIBS="$SM_LIBS"
27404 else
27405 if test -n "$PKG_CONFIG" && \
27406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27407 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27408 ac_status=$?
27409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27410 test $ac_status = 0; }; then
27411 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27412 else
27413 pkg_failed=yes
27414 fi
27415 fi
27416 else
27417 pkg_failed=untried
27418 fi
27419
27420
27421
27422 if test $pkg_failed = yes; then
27423
27424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27425 _pkg_short_errors_supported=yes
27426 else
27427 _pkg_short_errors_supported=no
27428 fi
27429 if test $_pkg_short_errors_supported = yes; then
27430 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27431 else
27432 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27433 fi
27434 # Put the nasty error message in config.log where it belongs
27435 echo "$SM_PKG_ERRORS" >&5
27436
27437
27438 if test "x$ac_find_libraries" = "x"; then
27439 if test "xSmcOpenConnection" != "x"; then
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27441 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27442 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27443 $as_echo_n "(cached) " >&6
27444 else
27445 ac_check_lib_save_LIBS=$LIBS
27446 LIBS="-lSM $LIBS"
27447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27448 /* end confdefs.h. */
27449
27450 /* Override any GCC internal prototype to avoid an error.
27451 Use char because int might match the return type of a GCC
27452 builtin and then its argument prototype would still apply. */
27453 #ifdef __cplusplus
27454 extern "C"
27455 #endif
27456 char SmcOpenConnection ();
27457 int
27458 main ()
27459 {
27460 return SmcOpenConnection ();
27461 ;
27462 return 0;
27463 }
27464 _ACEOF
27465 if ac_fn_c_try_link "$LINENO"; then :
27466 ac_cv_lib_SM_SmcOpenConnection=yes
27467 else
27468 ac_cv_lib_SM_SmcOpenConnection=no
27469 fi
27470 rm -f core conftest.err conftest.$ac_objext \
27471 conftest$ac_exeext conftest.$ac_ext
27472 LIBS=$ac_check_lib_save_LIBS
27473 fi
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27475 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27476 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27477 ac_find_libraries="std"
27478 fi
27479
27480 fi
27481 fi
27482
27483 if test "x$ac_find_libraries" = "x"; then
27484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27485 $as_echo_n "checking elsewhere... " >&6; }
27486
27487 ac_find_libraries=
27488 for ac_dir in $SEARCH_LIB
27489 do
27490 for ac_extension in a so sl dylib dll.a; do
27491 if test -f "$ac_dir/libSM.$ac_extension"; then
27492 ac_find_libraries=$ac_dir
27493 break 2
27494 fi
27495 done
27496 done
27497
27498 if test "x$ac_find_libraries" != "x"; then
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27500 $as_echo "yes" >&6; }
27501 else
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27503 $as_echo "no" >&6; }
27504 fi
27505 fi
27506
27507 elif test $pkg_failed = untried; then
27508
27509 if test "x$ac_find_libraries" = "x"; then
27510 if test "xSmcOpenConnection" != "x"; then
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27512 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27513 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27514 $as_echo_n "(cached) " >&6
27515 else
27516 ac_check_lib_save_LIBS=$LIBS
27517 LIBS="-lSM $LIBS"
27518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27519 /* end confdefs.h. */
27520
27521 /* Override any GCC internal prototype to avoid an error.
27522 Use char because int might match the return type of a GCC
27523 builtin and then its argument prototype would still apply. */
27524 #ifdef __cplusplus
27525 extern "C"
27526 #endif
27527 char SmcOpenConnection ();
27528 int
27529 main ()
27530 {
27531 return SmcOpenConnection ();
27532 ;
27533 return 0;
27534 }
27535 _ACEOF
27536 if ac_fn_c_try_link "$LINENO"; then :
27537 ac_cv_lib_SM_SmcOpenConnection=yes
27538 else
27539 ac_cv_lib_SM_SmcOpenConnection=no
27540 fi
27541 rm -f core conftest.err conftest.$ac_objext \
27542 conftest$ac_exeext conftest.$ac_ext
27543 LIBS=$ac_check_lib_save_LIBS
27544 fi
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27546 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27547 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27548 ac_find_libraries="std"
27549 fi
27550
27551 fi
27552 fi
27553
27554 if test "x$ac_find_libraries" = "x"; then
27555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27556 $as_echo_n "checking elsewhere... " >&6; }
27557
27558 ac_find_libraries=
27559 for ac_dir in $SEARCH_LIB
27560 do
27561 for ac_extension in a so sl dylib dll.a; do
27562 if test -f "$ac_dir/libSM.$ac_extension"; then
27563 ac_find_libraries=$ac_dir
27564 break 2
27565 fi
27566 done
27567 done
27568
27569 if test "x$ac_find_libraries" != "x"; then
27570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27571 $as_echo "yes" >&6; }
27572 else
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27574 $as_echo "no" >&6; }
27575 fi
27576 fi
27577
27578 else
27579 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27580 SM_LIBS=$pkg_cv_SM_LIBS
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27582 $as_echo "yes" >&6; }
27583
27584 ac_find_libraries="std"
27585
27586 eval ac_find_cflags=\$SM_CFLAGS
27587 eval fl_libs=\$SM_LIBS
27588
27589 for fl_path in $fl_libs
27590 do
27591 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27592 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27593 fi
27594 done
27595
27596 fi
27597
27598 if test "$ac_find_libraries" != "" ; then
27599 if test "$ac_find_libraries" != "std" ; then
27600
27601 if test "$ac_find_libraries" = "default location"; then
27602 ac_path_to_link=""
27603 else
27604 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27605 result=$?
27606 if test $result = 0; then
27607 ac_path_to_link=""
27608 else
27609 ac_path_to_link=" -L$ac_find_libraries"
27610 fi
27611 fi
27612
27613 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27614 LDFLAGS="$LDFLAGS $ac_path_to_link"
27615 fi
27616 fi
27617 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27618 else
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27620 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27621 wxUSE_DETECT_SM="no"
27622 fi
27623 else
27624 wxUSE_DETECT_SM="no"
27625 fi
27626 fi
27627
27628
27629
27630 USE_OPENGL=0
27631 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27632
27633
27634 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27635 OPENGL_LIBS="-framework OpenGL -framework AGL"
27636 elif test "$wxUSE_MSW" = 1; then
27637 OPENGL_LIBS="-lopengl32 -lglu32"
27638 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27639
27640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27641 $as_echo_n "checking for OpenGL headers... " >&6; }
27642
27643 ac_find_includes=
27644 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27645 do
27646 if test -f "$ac_dir/GL/gl.h"; then
27647 ac_find_includes=$ac_dir
27648 break
27649 fi
27650 done
27651
27652 if test "$ac_find_includes" != "" ; then
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27654 $as_echo "found in $ac_find_includes" >&6; }
27655
27656 if test "x$ac_find_includes" = "x/usr/include"; then
27657 ac_path_to_include=""
27658 else
27659 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27660 result=$?
27661 if test $result = 0; then
27662 ac_path_to_include=""
27663 else
27664 ac_path_to_include=" -I$ac_find_includes"
27665 fi
27666 fi
27667
27668 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27669 else
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27671 $as_echo "not found" >&6; }
27672 fi
27673
27674 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27675 "
27676 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27677
27678 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27679 "
27680 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27681
27682 found_gl=0
27683
27684
27685 ac_find_libraries=
27686
27687 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27688
27689
27690 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27691 if test -n "$ac_tool_prefix"; then
27692 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27693 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27695 $as_echo_n "checking for $ac_word... " >&6; }
27696 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27697 $as_echo_n "(cached) " >&6
27698 else
27699 case $PKG_CONFIG in
27700 [\\/]* | ?:[\\/]*)
27701 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27702 ;;
27703 *)
27704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27705 for as_dir in $PATH
27706 do
27707 IFS=$as_save_IFS
27708 test -z "$as_dir" && as_dir=.
27709 for ac_exec_ext in '' $ac_executable_extensions; do
27710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27711 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27713 break 2
27714 fi
27715 done
27716 done
27717 IFS=$as_save_IFS
27718
27719 ;;
27720 esac
27721 fi
27722 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27723 if test -n "$PKG_CONFIG"; then
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27725 $as_echo "$PKG_CONFIG" >&6; }
27726 else
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27728 $as_echo "no" >&6; }
27729 fi
27730
27731
27732 fi
27733 if test -z "$ac_cv_path_PKG_CONFIG"; then
27734 ac_pt_PKG_CONFIG=$PKG_CONFIG
27735 # Extract the first word of "pkg-config", so it can be a program name with args.
27736 set dummy pkg-config; ac_word=$2
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27738 $as_echo_n "checking for $ac_word... " >&6; }
27739 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27740 $as_echo_n "(cached) " >&6
27741 else
27742 case $ac_pt_PKG_CONFIG in
27743 [\\/]* | ?:[\\/]*)
27744 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27745 ;;
27746 *)
27747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27748 for as_dir in $PATH
27749 do
27750 IFS=$as_save_IFS
27751 test -z "$as_dir" && as_dir=.
27752 for ac_exec_ext in '' $ac_executable_extensions; do
27753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27754 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27756 break 2
27757 fi
27758 done
27759 done
27760 IFS=$as_save_IFS
27761
27762 ;;
27763 esac
27764 fi
27765 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27766 if test -n "$ac_pt_PKG_CONFIG"; then
27767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27768 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27769 else
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27771 $as_echo "no" >&6; }
27772 fi
27773
27774 if test "x$ac_pt_PKG_CONFIG" = x; then
27775 PKG_CONFIG=""
27776 else
27777 case $cross_compiling:$ac_tool_warned in
27778 yes:)
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27781 ac_tool_warned=yes ;;
27782 esac
27783 PKG_CONFIG=$ac_pt_PKG_CONFIG
27784 fi
27785 else
27786 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27787 fi
27788
27789 fi
27790 if test -n "$PKG_CONFIG"; then
27791 _pkg_min_version=0.9.0
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27793 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27794 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27796 $as_echo "yes" >&6; }
27797 else
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27799 $as_echo "no" >&6; }
27800 PKG_CONFIG=""
27801 fi
27802
27803 fi 6> /dev/null
27804
27805 pkg_failed=no
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27807 $as_echo_n "checking for GL... " >&6; }
27808
27809 if test -n "$PKG_CONFIG"; then
27810 if test -n "$GL_CFLAGS"; then
27811 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27812 else
27813 if test -n "$PKG_CONFIG" && \
27814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27815 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27816 ac_status=$?
27817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27818 test $ac_status = 0; }; then
27819 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27820 else
27821 pkg_failed=yes
27822 fi
27823 fi
27824 else
27825 pkg_failed=untried
27826 fi
27827 if test -n "$PKG_CONFIG"; then
27828 if test -n "$GL_LIBS"; then
27829 pkg_cv_GL_LIBS="$GL_LIBS"
27830 else
27831 if test -n "$PKG_CONFIG" && \
27832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27833 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27834 ac_status=$?
27835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27836 test $ac_status = 0; }; then
27837 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27838 else
27839 pkg_failed=yes
27840 fi
27841 fi
27842 else
27843 pkg_failed=untried
27844 fi
27845
27846
27847
27848 if test $pkg_failed = yes; then
27849
27850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27851 _pkg_short_errors_supported=yes
27852 else
27853 _pkg_short_errors_supported=no
27854 fi
27855 if test $_pkg_short_errors_supported = yes; then
27856 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27857 else
27858 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27859 fi
27860 # Put the nasty error message in config.log where it belongs
27861 echo "$GL_PKG_ERRORS" >&5
27862
27863
27864 if test "x$ac_find_libraries" = "x"; then
27865 if test "xglBegin" != "x"; then
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27867 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27868 if ${ac_cv_lib_GL_glBegin+:} false; then :
27869 $as_echo_n "(cached) " >&6
27870 else
27871 ac_check_lib_save_LIBS=$LIBS
27872 LIBS="-lGL $LIBS"
27873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27874 /* end confdefs.h. */
27875
27876 /* Override any GCC internal prototype to avoid an error.
27877 Use char because int might match the return type of a GCC
27878 builtin and then its argument prototype would still apply. */
27879 #ifdef __cplusplus
27880 extern "C"
27881 #endif
27882 char glBegin ();
27883 int
27884 main ()
27885 {
27886 return glBegin ();
27887 ;
27888 return 0;
27889 }
27890 _ACEOF
27891 if ac_fn_c_try_link "$LINENO"; then :
27892 ac_cv_lib_GL_glBegin=yes
27893 else
27894 ac_cv_lib_GL_glBegin=no
27895 fi
27896 rm -f core conftest.err conftest.$ac_objext \
27897 conftest$ac_exeext conftest.$ac_ext
27898 LIBS=$ac_check_lib_save_LIBS
27899 fi
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27901 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27902 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27903 ac_find_libraries="std"
27904 fi
27905
27906 fi
27907 fi
27908
27909 if test "x$ac_find_libraries" = "x"; then
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27911 $as_echo_n "checking elsewhere... " >&6; }
27912
27913 ac_find_libraries=
27914 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27915 do
27916 for ac_extension in a so sl dylib dll.a; do
27917 if test -f "$ac_dir/libGL.$ac_extension"; then
27918 ac_find_libraries=$ac_dir
27919 break 2
27920 fi
27921 done
27922 done
27923
27924 if test "x$ac_find_libraries" != "x"; then
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27926 $as_echo "yes" >&6; }
27927 else
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27929 $as_echo "no" >&6; }
27930 fi
27931 fi
27932
27933 elif test $pkg_failed = untried; then
27934
27935 if test "x$ac_find_libraries" = "x"; then
27936 if test "xglBegin" != "x"; then
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27938 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27939 if ${ac_cv_lib_GL_glBegin+:} false; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27942 ac_check_lib_save_LIBS=$LIBS
27943 LIBS="-lGL $LIBS"
27944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27945 /* end confdefs.h. */
27946
27947 /* Override any GCC internal prototype to avoid an error.
27948 Use char because int might match the return type of a GCC
27949 builtin and then its argument prototype would still apply. */
27950 #ifdef __cplusplus
27951 extern "C"
27952 #endif
27953 char glBegin ();
27954 int
27955 main ()
27956 {
27957 return glBegin ();
27958 ;
27959 return 0;
27960 }
27961 _ACEOF
27962 if ac_fn_c_try_link "$LINENO"; then :
27963 ac_cv_lib_GL_glBegin=yes
27964 else
27965 ac_cv_lib_GL_glBegin=no
27966 fi
27967 rm -f core conftest.err conftest.$ac_objext \
27968 conftest$ac_exeext conftest.$ac_ext
27969 LIBS=$ac_check_lib_save_LIBS
27970 fi
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27972 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27973 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27974 ac_find_libraries="std"
27975 fi
27976
27977 fi
27978 fi
27979
27980 if test "x$ac_find_libraries" = "x"; then
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27982 $as_echo_n "checking elsewhere... " >&6; }
27983
27984 ac_find_libraries=
27985 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27986 do
27987 for ac_extension in a so sl dylib dll.a; do
27988 if test -f "$ac_dir/libGL.$ac_extension"; then
27989 ac_find_libraries=$ac_dir
27990 break 2
27991 fi
27992 done
27993 done
27994
27995 if test "x$ac_find_libraries" != "x"; then
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27997 $as_echo "yes" >&6; }
27998 else
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28000 $as_echo "no" >&6; }
28001 fi
28002 fi
28003
28004 else
28005 GL_CFLAGS=$pkg_cv_GL_CFLAGS
28006 GL_LIBS=$pkg_cv_GL_LIBS
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28008 $as_echo "yes" >&6; }
28009
28010 ac_find_libraries="std"
28011
28012 eval ac_find_cflags=\$GL_CFLAGS
28013 eval fl_libs=\$GL_LIBS
28014
28015 for fl_path in $fl_libs
28016 do
28017 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28018 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28019 fi
28020 done
28021
28022 fi
28023
28024 if test "$ac_find_libraries" != "" ; then
28025 if test "$ac_find_libraries" != "std" ; then
28026
28027 if test "$ac_find_libraries" = "default location"; then
28028 ac_path_to_link=""
28029 else
28030 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28031 result=$?
28032 if test $result = 0; then
28033 ac_path_to_link=""
28034 else
28035 ac_path_to_link=" -L$ac_find_libraries"
28036 fi
28037 fi
28038
28039 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28040 LDFLAGS_GL="$ac_path_to_link"
28041 fi
28042 fi
28043
28044
28045 ac_find_libraries=
28046
28047 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28048
28049
28050 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28051 if test -n "$ac_tool_prefix"; then
28052 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28053 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28055 $as_echo_n "checking for $ac_word... " >&6; }
28056 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28057 $as_echo_n "(cached) " >&6
28058 else
28059 case $PKG_CONFIG in
28060 [\\/]* | ?:[\\/]*)
28061 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28062 ;;
28063 *)
28064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28065 for as_dir in $PATH
28066 do
28067 IFS=$as_save_IFS
28068 test -z "$as_dir" && as_dir=.
28069 for ac_exec_ext in '' $ac_executable_extensions; do
28070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28071 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28073 break 2
28074 fi
28075 done
28076 done
28077 IFS=$as_save_IFS
28078
28079 ;;
28080 esac
28081 fi
28082 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28083 if test -n "$PKG_CONFIG"; then
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28085 $as_echo "$PKG_CONFIG" >&6; }
28086 else
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28088 $as_echo "no" >&6; }
28089 fi
28090
28091
28092 fi
28093 if test -z "$ac_cv_path_PKG_CONFIG"; then
28094 ac_pt_PKG_CONFIG=$PKG_CONFIG
28095 # Extract the first word of "pkg-config", so it can be a program name with args.
28096 set dummy pkg-config; ac_word=$2
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28098 $as_echo_n "checking for $ac_word... " >&6; }
28099 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28100 $as_echo_n "(cached) " >&6
28101 else
28102 case $ac_pt_PKG_CONFIG in
28103 [\\/]* | ?:[\\/]*)
28104 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28105 ;;
28106 *)
28107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28108 for as_dir in $PATH
28109 do
28110 IFS=$as_save_IFS
28111 test -z "$as_dir" && as_dir=.
28112 for ac_exec_ext in '' $ac_executable_extensions; do
28113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28114 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28116 break 2
28117 fi
28118 done
28119 done
28120 IFS=$as_save_IFS
28121
28122 ;;
28123 esac
28124 fi
28125 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28126 if test -n "$ac_pt_PKG_CONFIG"; then
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28128 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28129 else
28130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28131 $as_echo "no" >&6; }
28132 fi
28133
28134 if test "x$ac_pt_PKG_CONFIG" = x; then
28135 PKG_CONFIG=""
28136 else
28137 case $cross_compiling:$ac_tool_warned in
28138 yes:)
28139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28141 ac_tool_warned=yes ;;
28142 esac
28143 PKG_CONFIG=$ac_pt_PKG_CONFIG
28144 fi
28145 else
28146 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28147 fi
28148
28149 fi
28150 if test -n "$PKG_CONFIG"; then
28151 _pkg_min_version=0.9.0
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28153 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28154 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28156 $as_echo "yes" >&6; }
28157 else
28158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28159 $as_echo "no" >&6; }
28160 PKG_CONFIG=""
28161 fi
28162
28163 fi 6> /dev/null
28164
28165 pkg_failed=no
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28167 $as_echo_n "checking for GLU... " >&6; }
28168
28169 if test -n "$PKG_CONFIG"; then
28170 if test -n "$GLU_CFLAGS"; then
28171 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28172 else
28173 if test -n "$PKG_CONFIG" && \
28174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28175 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28176 ac_status=$?
28177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28178 test $ac_status = 0; }; then
28179 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28180 else
28181 pkg_failed=yes
28182 fi
28183 fi
28184 else
28185 pkg_failed=untried
28186 fi
28187 if test -n "$PKG_CONFIG"; then
28188 if test -n "$GLU_LIBS"; then
28189 pkg_cv_GLU_LIBS="$GLU_LIBS"
28190 else
28191 if test -n "$PKG_CONFIG" && \
28192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28193 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28194 ac_status=$?
28195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28196 test $ac_status = 0; }; then
28197 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28198 else
28199 pkg_failed=yes
28200 fi
28201 fi
28202 else
28203 pkg_failed=untried
28204 fi
28205
28206
28207
28208 if test $pkg_failed = yes; then
28209
28210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28211 _pkg_short_errors_supported=yes
28212 else
28213 _pkg_short_errors_supported=no
28214 fi
28215 if test $_pkg_short_errors_supported = yes; then
28216 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28217 else
28218 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28219 fi
28220 # Put the nasty error message in config.log where it belongs
28221 echo "$GLU_PKG_ERRORS" >&5
28222
28223
28224 if test "x$ac_find_libraries" = "x"; then
28225 if test "xgluBeginCurve" != "x"; then
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28227 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28228 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28229 $as_echo_n "(cached) " >&6
28230 else
28231 ac_check_lib_save_LIBS=$LIBS
28232 LIBS="-lGLU $LIBS"
28233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28234 /* end confdefs.h. */
28235
28236 /* Override any GCC internal prototype to avoid an error.
28237 Use char because int might match the return type of a GCC
28238 builtin and then its argument prototype would still apply. */
28239 #ifdef __cplusplus
28240 extern "C"
28241 #endif
28242 char gluBeginCurve ();
28243 int
28244 main ()
28245 {
28246 return gluBeginCurve ();
28247 ;
28248 return 0;
28249 }
28250 _ACEOF
28251 if ac_fn_c_try_link "$LINENO"; then :
28252 ac_cv_lib_GLU_gluBeginCurve=yes
28253 else
28254 ac_cv_lib_GLU_gluBeginCurve=no
28255 fi
28256 rm -f core conftest.err conftest.$ac_objext \
28257 conftest$ac_exeext conftest.$ac_ext
28258 LIBS=$ac_check_lib_save_LIBS
28259 fi
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28261 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28262 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28263 ac_find_libraries="std"
28264 fi
28265
28266 fi
28267 fi
28268
28269 if test "x$ac_find_libraries" = "x"; then
28270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28271 $as_echo_n "checking elsewhere... " >&6; }
28272
28273 ac_find_libraries=
28274 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28275 do
28276 for ac_extension in a so sl dylib dll.a; do
28277 if test -f "$ac_dir/libGLU.$ac_extension"; then
28278 ac_find_libraries=$ac_dir
28279 break 2
28280 fi
28281 done
28282 done
28283
28284 if test "x$ac_find_libraries" != "x"; then
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28286 $as_echo "yes" >&6; }
28287 else
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28289 $as_echo "no" >&6; }
28290 fi
28291 fi
28292
28293 elif test $pkg_failed = untried; then
28294
28295 if test "x$ac_find_libraries" = "x"; then
28296 if test "xgluBeginCurve" != "x"; then
28297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28298 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28299 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28300 $as_echo_n "(cached) " >&6
28301 else
28302 ac_check_lib_save_LIBS=$LIBS
28303 LIBS="-lGLU $LIBS"
28304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 /* end confdefs.h. */
28306
28307 /* Override any GCC internal prototype to avoid an error.
28308 Use char because int might match the return type of a GCC
28309 builtin and then its argument prototype would still apply. */
28310 #ifdef __cplusplus
28311 extern "C"
28312 #endif
28313 char gluBeginCurve ();
28314 int
28315 main ()
28316 {
28317 return gluBeginCurve ();
28318 ;
28319 return 0;
28320 }
28321 _ACEOF
28322 if ac_fn_c_try_link "$LINENO"; then :
28323 ac_cv_lib_GLU_gluBeginCurve=yes
28324 else
28325 ac_cv_lib_GLU_gluBeginCurve=no
28326 fi
28327 rm -f core conftest.err conftest.$ac_objext \
28328 conftest$ac_exeext conftest.$ac_ext
28329 LIBS=$ac_check_lib_save_LIBS
28330 fi
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28332 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28333 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28334 ac_find_libraries="std"
28335 fi
28336
28337 fi
28338 fi
28339
28340 if test "x$ac_find_libraries" = "x"; then
28341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28342 $as_echo_n "checking elsewhere... " >&6; }
28343
28344 ac_find_libraries=
28345 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28346 do
28347 for ac_extension in a so sl dylib dll.a; do
28348 if test -f "$ac_dir/libGLU.$ac_extension"; then
28349 ac_find_libraries=$ac_dir
28350 break 2
28351 fi
28352 done
28353 done
28354
28355 if test "x$ac_find_libraries" != "x"; then
28356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28357 $as_echo "yes" >&6; }
28358 else
28359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28360 $as_echo "no" >&6; }
28361 fi
28362 fi
28363
28364 else
28365 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28366 GLU_LIBS=$pkg_cv_GLU_LIBS
28367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28368 $as_echo "yes" >&6; }
28369
28370 ac_find_libraries="std"
28371
28372 eval ac_find_cflags=\$GLU_CFLAGS
28373 eval fl_libs=\$GLU_LIBS
28374
28375 for fl_path in $fl_libs
28376 do
28377 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28378 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28379 fi
28380 done
28381
28382 fi
28383
28384 if test "$ac_find_libraries" != "" ; then
28385 if test "$ac_find_libraries" != "std" ; then
28386
28387 if test "$ac_find_libraries" = "default location"; then
28388 ac_path_to_link=""
28389 else
28390 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28391 result=$?
28392 if test $result = 0; then
28393 ac_path_to_link=""
28394 else
28395 ac_path_to_link=" -L$ac_find_libraries"
28396 fi
28397 fi
28398
28399 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28400 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28401 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28402 fi
28403 fi
28404
28405 found_gl=1
28406 OPENGL_LIBS="-lGL -lGLU"
28407 fi
28408 fi
28409
28410 if test "$found_gl" != 1; then
28411
28412 ac_find_libraries=
28413
28414 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28415
28416
28417 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28418 if test -n "$ac_tool_prefix"; then
28419 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28420 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28422 $as_echo_n "checking for $ac_word... " >&6; }
28423 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28424 $as_echo_n "(cached) " >&6
28425 else
28426 case $PKG_CONFIG in
28427 [\\/]* | ?:[\\/]*)
28428 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28429 ;;
28430 *)
28431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28432 for as_dir in $PATH
28433 do
28434 IFS=$as_save_IFS
28435 test -z "$as_dir" && as_dir=.
28436 for ac_exec_ext in '' $ac_executable_extensions; do
28437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28438 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28440 break 2
28441 fi
28442 done
28443 done
28444 IFS=$as_save_IFS
28445
28446 ;;
28447 esac
28448 fi
28449 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28450 if test -n "$PKG_CONFIG"; then
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28452 $as_echo "$PKG_CONFIG" >&6; }
28453 else
28454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28455 $as_echo "no" >&6; }
28456 fi
28457
28458
28459 fi
28460 if test -z "$ac_cv_path_PKG_CONFIG"; then
28461 ac_pt_PKG_CONFIG=$PKG_CONFIG
28462 # Extract the first word of "pkg-config", so it can be a program name with args.
28463 set dummy pkg-config; ac_word=$2
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28465 $as_echo_n "checking for $ac_word... " >&6; }
28466 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28467 $as_echo_n "(cached) " >&6
28468 else
28469 case $ac_pt_PKG_CONFIG in
28470 [\\/]* | ?:[\\/]*)
28471 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28472 ;;
28473 *)
28474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28475 for as_dir in $PATH
28476 do
28477 IFS=$as_save_IFS
28478 test -z "$as_dir" && as_dir=.
28479 for ac_exec_ext in '' $ac_executable_extensions; do
28480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28481 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28483 break 2
28484 fi
28485 done
28486 done
28487 IFS=$as_save_IFS
28488
28489 ;;
28490 esac
28491 fi
28492 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28493 if test -n "$ac_pt_PKG_CONFIG"; then
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28495 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28496 else
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28498 $as_echo "no" >&6; }
28499 fi
28500
28501 if test "x$ac_pt_PKG_CONFIG" = x; then
28502 PKG_CONFIG=""
28503 else
28504 case $cross_compiling:$ac_tool_warned in
28505 yes:)
28506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28508 ac_tool_warned=yes ;;
28509 esac
28510 PKG_CONFIG=$ac_pt_PKG_CONFIG
28511 fi
28512 else
28513 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28514 fi
28515
28516 fi
28517 if test -n "$PKG_CONFIG"; then
28518 _pkg_min_version=0.9.0
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28520 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28521 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28523 $as_echo "yes" >&6; }
28524 else
28525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28526 $as_echo "no" >&6; }
28527 PKG_CONFIG=""
28528 fi
28529
28530 fi 6> /dev/null
28531
28532 pkg_failed=no
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28534 $as_echo_n "checking for MesaGL... " >&6; }
28535
28536 if test -n "$PKG_CONFIG"; then
28537 if test -n "$MesaGL_CFLAGS"; then
28538 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28539 else
28540 if test -n "$PKG_CONFIG" && \
28541 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28542 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28543 ac_status=$?
28544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28545 test $ac_status = 0; }; then
28546 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28547 else
28548 pkg_failed=yes
28549 fi
28550 fi
28551 else
28552 pkg_failed=untried
28553 fi
28554 if test -n "$PKG_CONFIG"; then
28555 if test -n "$MesaGL_LIBS"; then
28556 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28557 else
28558 if test -n "$PKG_CONFIG" && \
28559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28560 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28561 ac_status=$?
28562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28563 test $ac_status = 0; }; then
28564 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28565 else
28566 pkg_failed=yes
28567 fi
28568 fi
28569 else
28570 pkg_failed=untried
28571 fi
28572
28573
28574
28575 if test $pkg_failed = yes; then
28576
28577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28578 _pkg_short_errors_supported=yes
28579 else
28580 _pkg_short_errors_supported=no
28581 fi
28582 if test $_pkg_short_errors_supported = yes; then
28583 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28584 else
28585 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28586 fi
28587 # Put the nasty error message in config.log where it belongs
28588 echo "$MesaGL_PKG_ERRORS" >&5
28589
28590
28591 if test "x$ac_find_libraries" = "x"; then
28592 if test "xglEnable" != "x"; then
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28594 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28595 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28596 $as_echo_n "(cached) " >&6
28597 else
28598 ac_check_lib_save_LIBS=$LIBS
28599 LIBS="-lMesaGL $LIBS"
28600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28601 /* end confdefs.h. */
28602
28603 /* Override any GCC internal prototype to avoid an error.
28604 Use char because int might match the return type of a GCC
28605 builtin and then its argument prototype would still apply. */
28606 #ifdef __cplusplus
28607 extern "C"
28608 #endif
28609 char glEnable ();
28610 int
28611 main ()
28612 {
28613 return glEnable ();
28614 ;
28615 return 0;
28616 }
28617 _ACEOF
28618 if ac_fn_c_try_link "$LINENO"; then :
28619 ac_cv_lib_MesaGL_glEnable=yes
28620 else
28621 ac_cv_lib_MesaGL_glEnable=no
28622 fi
28623 rm -f core conftest.err conftest.$ac_objext \
28624 conftest$ac_exeext conftest.$ac_ext
28625 LIBS=$ac_check_lib_save_LIBS
28626 fi
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28628 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28629 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28630 ac_find_libraries="std"
28631 fi
28632
28633 fi
28634 fi
28635
28636 if test "x$ac_find_libraries" = "x"; then
28637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28638 $as_echo_n "checking elsewhere... " >&6; }
28639
28640 ac_find_libraries=
28641 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28642 do
28643 for ac_extension in a so sl dylib dll.a; do
28644 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28645 ac_find_libraries=$ac_dir
28646 break 2
28647 fi
28648 done
28649 done
28650
28651 if test "x$ac_find_libraries" != "x"; then
28652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28653 $as_echo "yes" >&6; }
28654 else
28655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28656 $as_echo "no" >&6; }
28657 fi
28658 fi
28659
28660 elif test $pkg_failed = untried; then
28661
28662 if test "x$ac_find_libraries" = "x"; then
28663 if test "xglEnable" != "x"; then
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28665 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28666 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28667 $as_echo_n "(cached) " >&6
28668 else
28669 ac_check_lib_save_LIBS=$LIBS
28670 LIBS="-lMesaGL $LIBS"
28671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28672 /* end confdefs.h. */
28673
28674 /* Override any GCC internal prototype to avoid an error.
28675 Use char because int might match the return type of a GCC
28676 builtin and then its argument prototype would still apply. */
28677 #ifdef __cplusplus
28678 extern "C"
28679 #endif
28680 char glEnable ();
28681 int
28682 main ()
28683 {
28684 return glEnable ();
28685 ;
28686 return 0;
28687 }
28688 _ACEOF
28689 if ac_fn_c_try_link "$LINENO"; then :
28690 ac_cv_lib_MesaGL_glEnable=yes
28691 else
28692 ac_cv_lib_MesaGL_glEnable=no
28693 fi
28694 rm -f core conftest.err conftest.$ac_objext \
28695 conftest$ac_exeext conftest.$ac_ext
28696 LIBS=$ac_check_lib_save_LIBS
28697 fi
28698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28699 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28700 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28701 ac_find_libraries="std"
28702 fi
28703
28704 fi
28705 fi
28706
28707 if test "x$ac_find_libraries" = "x"; then
28708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28709 $as_echo_n "checking elsewhere... " >&6; }
28710
28711 ac_find_libraries=
28712 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28713 do
28714 for ac_extension in a so sl dylib dll.a; do
28715 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28716 ac_find_libraries=$ac_dir
28717 break 2
28718 fi
28719 done
28720 done
28721
28722 if test "x$ac_find_libraries" != "x"; then
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28724 $as_echo "yes" >&6; }
28725 else
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28727 $as_echo "no" >&6; }
28728 fi
28729 fi
28730
28731 else
28732 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28733 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28735 $as_echo "yes" >&6; }
28736
28737 ac_find_libraries="std"
28738
28739 eval ac_find_cflags=\$MesaGL_CFLAGS
28740 eval fl_libs=\$MesaGL_LIBS
28741
28742 for fl_path in $fl_libs
28743 do
28744 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28745 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28746 fi
28747 done
28748
28749 fi
28750
28751 if test "$ac_find_libraries" != "" ; then
28752 if test "$ac_find_libraries" != "std" ; then
28753
28754 if test "$ac_find_libraries" = "default location"; then
28755 ac_path_to_link=""
28756 else
28757 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28758 result=$?
28759 if test $result = 0; then
28760 ac_path_to_link=""
28761 else
28762 ac_path_to_link=" -L$ac_find_libraries"
28763 fi
28764 fi
28765
28766 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28767 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28768 fi
28769 fi
28770 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28771 fi
28772 fi
28773
28774 fi
28775
28776
28777
28778 fi
28779
28780
28781
28782 if test "x$OPENGL_LIBS" = "x"; then
28783 if test "$wxUSE_OPENGL" = "yes"; then
28784 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28785 else
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28787 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28788 wxUSE_OPENGL=no
28789 USE_OPENGL=0
28790 fi
28791 fi
28792 else
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28794 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28795 wxUSE_OPENGL="no"
28796 fi
28797
28798 if test "$wxUSE_OPENGL" = "auto"; then
28799 wxUSE_OPENGL=yes
28800 fi
28801
28802 if test "$wxUSE_OPENGL" = "yes"; then
28803 USE_OPENGL=1
28804 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28805
28806 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28807
28808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28809 fi
28810 fi
28811
28812
28813 if test -n "$TOOLKIT" ; then
28814 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28815 fi
28816
28817
28818
28819 if test "$wxUSE_SHARED" = "yes"; then
28820 case "${host}" in
28821 *-pc-msdosdjgpp )
28822 wxUSE_SHARED=no
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28824 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28825 ;;
28826 esac
28827 fi
28828
28829 if test "$wxUSE_SHARED" = "yes"; then
28830
28831
28832 case "${host}" in
28833 *-*-cygwin* | *-*-mingw* )
28834 wx_cv_version_script=no
28835 ;;
28836
28837 *)
28838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28839 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28840 if ${wx_cv_version_script+:} false; then :
28841 $as_echo_n "(cached) " >&6
28842 else
28843
28844 echo "VER_1 { *; };" >conftest.sym
28845 echo "int main() { return 0; }" >conftest.cpp
28846
28847 if { ac_try='
28848 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28849 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28850 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28851 (eval $ac_try) 2>&5
28852 ac_status=$?
28853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28854 test $ac_status = 0; }; } ; then
28855 if test -s conftest.stderr ; then
28856 wx_cv_version_script=no
28857 else
28858 wx_cv_version_script=yes
28859 fi
28860 else
28861 wx_cv_version_script=no
28862 fi
28863
28864 if test $wx_cv_version_script = yes
28865 then
28866 echo "struct B { virtual ~B() { } }; \
28867 struct D : public B { }; \
28868 void F() { D d; }" > conftest.cpp
28869
28870 if { ac_try='
28871 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28872 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28873 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28874 (eval $ac_try) 2>&5
28875 ac_status=$?
28876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28877 test $ac_status = 0; }; } &&
28878 { ac_try='
28879 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28880 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28881 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28882 (eval $ac_try) 2>&5
28883 ac_status=$?
28884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28885 test $ac_status = 0; }; }
28886 then
28887 if { ac_try='
28888 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28889 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28890 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28891 (eval $ac_try) 2>&5
28892 ac_status=$?
28893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28894 test $ac_status = 0; }; }
28895 then
28896 wx_cv_version_script=yes
28897 else
28898 wx_cv_version_script=no
28899 fi
28900 fi
28901 fi
28902
28903 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28904 rm -f conftest1.output conftest2.output conftest3.output
28905
28906 fi
28907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28908 $as_echo "$wx_cv_version_script" >&6; }
28909
28910 if test $wx_cv_version_script = yes ; then
28911 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28912 fi
28913 ;;
28914 esac
28915
28916
28917 if test "$wxUSE_VISIBILITY" != "no"; then
28918
28919
28920 if test -n "$GCC"; then
28921 CFLAGS_VISIBILITY="-fvisibility=hidden"
28922 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28924 $as_echo_n "checking for symbols visibility support... " >&6; }
28925 if ${wx_cv_cc_visibility+:} false; then :
28926 $as_echo_n "(cached) " >&6
28927 else
28928
28929 wx_save_CXXFLAGS="$CXXFLAGS"
28930 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28931 ac_ext=cpp
28932 ac_cpp='$CXXCPP $CPPFLAGS'
28933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28936
28937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28938 /* end confdefs.h. */
28939
28940 /* we need gcc >= 4.0, older versions with visibility support
28941 didn't have class visibility: */
28942 #if defined(__GNUC__) && __GNUC__ < 4
28943 error this gcc is too old;
28944 #endif
28945
28946 /* visibility only makes sense for ELF shared libs: */
28947 #if !defined(__ELF__) && !defined(__APPLE__)
28948 error this platform has no visibility;
28949 #endif
28950
28951 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28952 #if defined(__clang__)
28953 clang compiler is still broken w.r.t. visibility;
28954 #endif
28955
28956 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28957 extern __attribute__((__visibility__("default"))) int exportedvar;
28958 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28959 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28960 class __attribute__((__visibility__("default"))) Foo {
28961 Foo() {}
28962 };
28963
28964 int
28965 main ()
28966 {
28967
28968 ;
28969 return 0;
28970 }
28971 _ACEOF
28972 if ac_fn_cxx_try_compile "$LINENO"; then :
28973 wx_cv_cc_visibility=yes
28974 else
28975 wx_cv_cc_visibility=no
28976 fi
28977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28978 ac_ext=c
28979 ac_cpp='$CPP $CPPFLAGS'
28980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28983
28984 CXXFLAGS="$wx_save_CXXFLAGS"
28985 fi
28986
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28988 $as_echo "$wx_cv_cc_visibility" >&6; }
28989 if test $wx_cv_cc_visibility = yes; then
28990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28991 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28992 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28993 $as_echo_n "(cached) " >&6
28994 else
28995
28996 wx_save_CXXFLAGS="$CXXFLAGS"
28997 wx_save_LDFLAGS="$LDFLAGS"
28998 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28999 LDFLAGS="$LDFLAGS -shared -fPIC"
29000 ac_ext=cpp
29001 ac_cpp='$CXXCPP $CPPFLAGS'
29002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29005
29006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29007 /* end confdefs.h. */
29008
29009 #include <string>
29010
29011 int
29012 main ()
29013 {
29014
29015 std::string s("hello");
29016 return s.length();
29017
29018 ;
29019 return 0;
29020 }
29021 _ACEOF
29022 if ac_fn_cxx_try_link "$LINENO"; then :
29023 wx_cv_cc_broken_libstdcxx_visibility=no
29024 else
29025 wx_cv_cc_broken_libstdcxx_visibility=yes
29026 fi
29027 rm -f core conftest.err conftest.$ac_objext \
29028 conftest$ac_exeext conftest.$ac_ext
29029 ac_ext=c
29030 ac_cpp='$CPP $CPPFLAGS'
29031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034
29035 CXXFLAGS="$wx_save_CXXFLAGS"
29036 LDFLAGS="$wx_save_LDFLAGS"
29037 fi
29038
29039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29040 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29041
29042 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29044 $as_echo_n "checking whether we can work around it... " >&6; }
29045 if ${wx_cv_cc_visibility_workaround+:} false; then :
29046 $as_echo_n "(cached) " >&6
29047 else
29048
29049 ac_ext=cpp
29050 ac_cpp='$CXXCPP $CPPFLAGS'
29051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29054
29055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29056 /* end confdefs.h. */
29057
29058 #pragma GCC visibility push(default)
29059 #include <string>
29060 #pragma GCC visibility pop
29061
29062 int
29063 main ()
29064 {
29065
29066 std::string s("hello");
29067 return s.length();
29068
29069 ;
29070 return 0;
29071 }
29072 _ACEOF
29073 if ac_fn_cxx_try_link "$LINENO"; then :
29074 wx_cv_cc_visibility_workaround=no
29075 else
29076 wx_cv_cc_visibility_workaround=yes
29077 fi
29078 rm -f core conftest.err conftest.$ac_objext \
29079 conftest$ac_exeext conftest.$ac_ext
29080 ac_ext=c
29081 ac_cpp='$CPP $CPPFLAGS'
29082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29085
29086
29087 fi
29088
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29090 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29091
29092 if test $wx_cv_cc_visibility_workaround = no; then
29093 wx_cv_cc_visibility=no
29094 fi
29095 fi
29096 fi
29097
29098 if test $wx_cv_cc_visibility = yes; then
29099 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29100
29101 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29102 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29103
29104 fi
29105 else
29106 CFLAGS_VISIBILITY=""
29107 CXXFLAGS_VISIBILITY=""
29108 fi
29109
29110
29111 fi
29112
29113 fi
29114
29115 if test "x$SUNCXX" = xyes; then
29116 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29117 WXCONFIG_RPATH="-R\$libdir"
29118 else
29119 case "${host}" in
29120 *-*-linux* | *-*-gnu* )
29121 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29122 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29123 ;;
29124
29125 *-*-solaris2* )
29126
29127 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29128
29129 saveLdflags="$LDFLAGS"
29130 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29132 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29134 /* end confdefs.h. */
29135
29136 int
29137 main ()
29138 {
29139
29140 ;
29141 return 0;
29142 }
29143 _ACEOF
29144 if ac_fn_c_try_link "$LINENO"; then :
29145
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29147 $as_echo "yes" >&6; }
29148 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29149 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29150
29151 else
29152
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29154 $as_echo "no" >&6; }
29155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29156 $as_echo_n "checking if the linker accepts -R... " >&6; }
29157 LDFLAGS="$saveLdflags -Wl,-R,/"
29158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29159 /* end confdefs.h. */
29160
29161 int
29162 main ()
29163 {
29164
29165 ;
29166 return 0;
29167 }
29168 _ACEOF
29169 if ac_fn_c_try_link "$LINENO"; then :
29170
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29172 $as_echo "yes" >&6; }
29173 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29174 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29175
29176 else
29177
29178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29179 $as_echo "no" >&6; }
29180
29181 fi
29182 rm -f core conftest.err conftest.$ac_objext \
29183 conftest$ac_exeext conftest.$ac_ext
29184
29185 fi
29186 rm -f core conftest.err conftest.$ac_objext \
29187 conftest$ac_exeext conftest.$ac_ext
29188 LDFLAGS="$saveLdflags"
29189 ;;
29190
29191 *-*-darwin* )
29192 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29193 if test "$install_name_tool" -a -x "$install_name_tool"; then
29194 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29195 cat <<EOF >change-install-names
29196 #!/bin/sh
29197 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29198 for i in \${libnames} ; do
29199 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29200 for dep in \${libnames} ; do
29201 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29202 done
29203 done
29204 EOF
29205 chmod +x change-install-names
29206 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29207 fi
29208
29209 HEADER_PAD_OPTION="-headerpad_max_install_names"
29210 ;;
29211
29212 *-*-cygwin* | *-*-mingw32* )
29213 ;;
29214
29215 *-*-hpux* )
29216 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29217 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29218 ;;
29219
29220 esac
29221 fi
29222
29223 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29224
29225 if test $wxUSE_RPATH = "no"; then
29226 SAMPLES_RPATH_FLAG=''
29227 DYLIB_PATH_POSTLINK=''
29228 WXCONFIG_RPATH=''
29229 fi
29230
29231 SHARED=1
29232
29233 else
29234
29235 config_linkage_component="-static"
29236 SHARED=0
29237
29238 fi
29239
29240
29241 UNICODE=0
29242 lib_unicode_suffix=
29243 WX_CHARTYPE="ansi"
29244 if test "$wxUSE_UNICODE" = "yes"; then
29245 lib_unicode_suffix=u
29246 WX_CHARTYPE="unicode"
29247 UNICODE=1
29248 fi
29249
29250 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29251 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29252
29253 DEBUG_INFO=0
29254 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29255 DEBUG_INFO=1
29256 fi
29257
29258 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29259
29260 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29261
29262 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29263
29264
29265 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29266 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29267 else
29268 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29269 fi
29270 if test "${TOOLKIT_DIR}" = "os2"; then
29271 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29272 else
29273 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29274 fi
29275
29276
29277
29278 if test "$wxUSE_OLD_COCOA" = 1; then
29279
29280 ac_ext=c
29281 ac_cpp='$CPP $CPPFLAGS'
29282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29285
29286 ac_ext=m
29287
29288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29289 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29291 /* end confdefs.h. */
29292 #include <AppKit/NSEvent.h>
29293 #include <CoreFoundation/CoreFoundation.h>
29294
29295 int
29296 main ()
29297 {
29298
29299 ;
29300 return 0;
29301 }
29302 _ACEOF
29303 if ac_fn_c_try_compile "$LINENO"; then :
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29305 $as_echo "no" >&6; }
29306 else
29307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29308 $as_echo "yes" >&6; }
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29310 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29312 /* end confdefs.h. */
29313 #define __Point__ 1
29314 #include <AppKit/NSEvent.h>
29315 #include <CoreFoundation/CoreFoundation.h>
29316
29317 int
29318 main ()
29319 {
29320
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 if ac_fn_c_try_compile "$LINENO"; then :
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29327 $as_echo "yes" >&6; }
29328 $as_echo "#define __Point__ 1" >>confdefs.h
29329
29330
29331 else
29332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29334 as_fn_error $? "no
29335 See \`config.log' for more details" "$LINENO" 5; }
29336
29337 fi
29338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29339
29340 fi
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342 ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29347
29348 fi
29349
29350
29351 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29352 if test "x$ac_cv_type_mode_t" = xyes; then :
29353
29354 else
29355
29356 cat >>confdefs.h <<_ACEOF
29357 #define mode_t int
29358 _ACEOF
29359
29360 fi
29361
29362 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29363 if test "x$ac_cv_type_off_t" = xyes; then :
29364
29365 else
29366
29367 cat >>confdefs.h <<_ACEOF
29368 #define off_t long int
29369 _ACEOF
29370
29371 fi
29372
29373 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29374 if test "x$ac_cv_type_pid_t" = xyes; then :
29375
29376 else
29377
29378 cat >>confdefs.h <<_ACEOF
29379 #define pid_t int
29380 _ACEOF
29381
29382 fi
29383
29384 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29385 if test "x$ac_cv_type_size_t" = xyes; then :
29386
29387 else
29388
29389 cat >>confdefs.h <<_ACEOF
29390 #define size_t unsigned int
29391 _ACEOF
29392
29393 fi
29394
29395
29396 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29397 if test "x$ac_cv_type_ssize_t" = xyes; then :
29398
29399 cat >>confdefs.h <<_ACEOF
29400 #define HAVE_SSIZE_T 1
29401 _ACEOF
29402
29403
29404 fi
29405
29406
29407 ac_ext=cpp
29408 ac_cpp='$CXXCPP $CPPFLAGS'
29409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29413 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29414 if ${wx_cv_size_t_is_uint+:} false; then :
29415 $as_echo_n "(cached) " >&6
29416 else
29417
29418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29419 /* end confdefs.h. */
29420 #include <stddef.h>
29421 int
29422 main ()
29423 {
29424
29425 return 0; }
29426
29427 struct Foo { void foo(size_t); void foo(unsigned int); };
29428
29429 int bar() {
29430
29431 ;
29432 return 0;
29433 }
29434 _ACEOF
29435 if ac_fn_cxx_try_compile "$LINENO"; then :
29436 wx_cv_size_t_is_uint=no
29437 else
29438 wx_cv_size_t_is_uint=yes
29439
29440 fi
29441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29442
29443
29444 fi
29445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29446 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29447
29448 if test "$wx_cv_size_t_is_uint" = "yes"; then
29449 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29450
29451 else
29452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29453 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29454 if ${wx_cv_size_t_is_ulong+:} false; then :
29455 $as_echo_n "(cached) " >&6
29456 else
29457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29459 #include <stddef.h>
29460 int
29461 main ()
29462 {
29463
29464 return 0; }
29465
29466 struct Foo { void foo(size_t); void foo(unsigned long); };
29467
29468 int bar() {
29469
29470 ;
29471 return 0;
29472 }
29473 _ACEOF
29474 if ac_fn_cxx_try_compile "$LINENO"; then :
29475 wx_cv_size_t_is_ulong=no
29476 else
29477 wx_cv_size_t_is_ulong=yes
29478
29479 fi
29480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29481
29482 fi
29483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29484 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29485
29486 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29487 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29488
29489 fi
29490 fi
29491
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29493 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29494 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29495 $as_echo_n "(cached) " >&6
29496 else
29497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29498 /* end confdefs.h. */
29499 #include <wchar.h>
29500 int
29501 main ()
29502 {
29503
29504 return 0; }
29505
29506 struct Foo { void foo(wchar_t);
29507 void foo(unsigned short);
29508 void foo(unsigned int);
29509 void foo(unsigned long); };
29510
29511 int bar() {
29512
29513 ;
29514 return 0;
29515 }
29516 _ACEOF
29517 if ac_fn_cxx_try_compile "$LINENO"; then :
29518 wx_cv_wchar_t_is_separate_type=yes
29519 else
29520 wx_cv_wchar_t_is_separate_type=no
29521
29522 fi
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29524
29525 fi
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29527 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29528
29529 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29530 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29531
29532 else
29533 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29534
29535 fi
29536
29537 ac_ext=c
29538 ac_cpp='$CPP $CPPFLAGS'
29539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29542
29543
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29545 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29546 if ${wx_cv_struct_pw_gecos+:} false; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29549
29550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29552 #include <pwd.h>
29553 int
29554 main ()
29555 {
29556
29557 char *p;
29558 struct passwd *pw;
29559 p = pw->pw_gecos;
29560
29561 ;
29562 return 0;
29563 }
29564 _ACEOF
29565 if ac_fn_c_try_compile "$LINENO"; then :
29566
29567 wx_cv_struct_pw_gecos=yes
29568
29569 else
29570
29571 wx_cv_struct_pw_gecos=no
29572
29573
29574 fi
29575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29576
29577
29578 fi
29579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29580 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29581
29582 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29583 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29584
29585 fi
29586
29587
29588 WCSLEN_FOUND=0
29589 WCHAR_LINK=
29590 for ac_func in wcslen
29591 do :
29592 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29593 if test "x$ac_cv_func_wcslen" = xyes; then :
29594 cat >>confdefs.h <<_ACEOF
29595 #define HAVE_WCSLEN 1
29596 _ACEOF
29597 WCSLEN_FOUND=1
29598 fi
29599 done
29600
29601
29602 if test "$WCSLEN_FOUND" = 0; then
29603 if test "$TOOLKIT" = "MSW"; then
29604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29605 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29606 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29607 $as_echo_n "(cached) " >&6
29608 else
29609 ac_check_lib_save_LIBS=$LIBS
29610 LIBS="-lmsvcrt $LIBS"
29611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29612 /* end confdefs.h. */
29613
29614 /* Override any GCC internal prototype to avoid an error.
29615 Use char because int might match the return type of a GCC
29616 builtin and then its argument prototype would still apply. */
29617 #ifdef __cplusplus
29618 extern "C"
29619 #endif
29620 char wcslen ();
29621 int
29622 main ()
29623 {
29624 return wcslen ();
29625 ;
29626 return 0;
29627 }
29628 _ACEOF
29629 if ac_fn_c_try_link "$LINENO"; then :
29630 ac_cv_lib_msvcrt_wcslen=yes
29631 else
29632 ac_cv_lib_msvcrt_wcslen=no
29633 fi
29634 rm -f core conftest.err conftest.$ac_objext \
29635 conftest$ac_exeext conftest.$ac_ext
29636 LIBS=$ac_check_lib_save_LIBS
29637 fi
29638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29639 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29640 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29641 WCHAR_OK=1
29642 fi
29643
29644 else
29645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29646 $as_echo_n "checking for wcslen in -lw... " >&6; }
29647 if ${ac_cv_lib_w_wcslen+:} false; then :
29648 $as_echo_n "(cached) " >&6
29649 else
29650 ac_check_lib_save_LIBS=$LIBS
29651 LIBS="-lw $LIBS"
29652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29653 /* end confdefs.h. */
29654
29655 /* Override any GCC internal prototype to avoid an error.
29656 Use char because int might match the return type of a GCC
29657 builtin and then its argument prototype would still apply. */
29658 #ifdef __cplusplus
29659 extern "C"
29660 #endif
29661 char wcslen ();
29662 int
29663 main ()
29664 {
29665 return wcslen ();
29666 ;
29667 return 0;
29668 }
29669 _ACEOF
29670 if ac_fn_c_try_link "$LINENO"; then :
29671 ac_cv_lib_w_wcslen=yes
29672 else
29673 ac_cv_lib_w_wcslen=no
29674 fi
29675 rm -f core conftest.err conftest.$ac_objext \
29676 conftest$ac_exeext conftest.$ac_ext
29677 LIBS=$ac_check_lib_save_LIBS
29678 fi
29679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29680 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29681 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29682
29683 WCHAR_LINK=" -lw"
29684 WCSLEN_FOUND=1
29685
29686 fi
29687
29688 fi
29689 fi
29690
29691 if test "$WCSLEN_FOUND" = 1; then
29692 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29693
29694 fi
29695
29696 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29697 do :
29698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29703 _ACEOF
29704
29705 fi
29706 done
29707
29708
29709 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29710 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29711 fi
29712
29713 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29714 "
29715 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29716
29717 cat >>confdefs.h <<_ACEOF
29718 #define HAVE_MBSTATE_T 1
29719 _ACEOF
29720
29721 for ac_func in wcsrtombs
29722 do :
29723 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29724 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE_WCSRTOMBS 1
29727 _ACEOF
29728
29729 fi
29730 done
29731
29732 fi
29733
29734
29735 for ac_func in snprintf vsnprintf vsscanf
29736 do :
29737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29740 cat >>confdefs.h <<_ACEOF
29741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29742 _ACEOF
29743
29744 fi
29745 done
29746
29747
29748 ac_ext=cpp
29749 ac_cpp='$CXXCPP $CPPFLAGS'
29750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753
29754 if test "$ac_cv_func_vsnprintf" = "yes"; then
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29756 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29757 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29758 $as_echo_n "(cached) " >&6
29759 else
29760
29761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29762 /* end confdefs.h. */
29763
29764 #include <stdio.h>
29765 #include <stdarg.h>
29766
29767 int
29768 main ()
29769 {
29770
29771 char *buf;
29772 va_list ap;
29773 vsnprintf(buf, 10u, "%s", ap);
29774
29775 ;
29776 return 0;
29777 }
29778 _ACEOF
29779 if ac_fn_cxx_try_compile "$LINENO"; then :
29780 wx_cv_func_vsnprintf_decl=yes
29781 else
29782 wx_cv_func_vsnprintf_decl=no
29783
29784 fi
29785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29786
29787
29788 fi
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29790 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29791
29792 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29793 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29794
29795
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29797 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29798 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29799 $as_echo_n "(cached) " >&6
29800 else
29801
29802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29803 /* end confdefs.h. */
29804
29805 #include <stdio.h>
29806 #include <stdarg.h>
29807 #ifdef __MSL__
29808 #if __MSL__ >= 0x6000
29809 namespace std {}
29810 using namespace std;
29811 #endif
29812 #endif
29813
29814 int
29815 main ()
29816 {
29817
29818 char *buf;
29819 va_list ap;
29820 const char *fmt = "%s";
29821 vsnprintf(buf, 10u, fmt, ap);
29822
29823 ;
29824 return 0;
29825 }
29826 _ACEOF
29827 if ac_fn_cxx_try_compile "$LINENO"; then :
29828 wx_cv_func_broken_vsnprintf_decl=no
29829 else
29830 wx_cv_func_broken_vsnprintf_decl=yes
29831
29832 fi
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29834
29835
29836 fi
29837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29838 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29839
29840 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29841 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29842
29843 fi
29844 fi
29845 fi
29846
29847 if test "$ac_cv_func_snprintf" = "yes"; then
29848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29849 $as_echo_n "checking for snprintf declaration... " >&6; }
29850 if ${wx_cv_func_snprintf_decl+:} false; then :
29851 $as_echo_n "(cached) " >&6
29852 else
29853
29854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29855 /* end confdefs.h. */
29856
29857 #include <stdio.h>
29858 #include <stdarg.h>
29859 #ifdef __MSL__
29860 #if __MSL__ >= 0x6000
29861 namespace std {}
29862 using namespace std;
29863 #endif
29864 #endif
29865
29866 int
29867 main ()
29868 {
29869
29870 char *buf;
29871 snprintf(buf, 10u, "%s", "wx");
29872
29873 ;
29874 return 0;
29875 }
29876 _ACEOF
29877 if ac_fn_cxx_try_compile "$LINENO"; then :
29878 wx_cv_func_snprintf_decl=yes
29879 else
29880 wx_cv_func_snprintf_decl=no
29881
29882 fi
29883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29884
29885
29886 fi
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29888 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29889
29890 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29891 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29892
29893 fi
29894
29895 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29896
29897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29898 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29899 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29900 $as_echo_n "(cached) " >&6
29901 else
29902
29903 if test "$cross_compiling" = yes; then :
29904
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29906 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29907 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29908 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29909 wx_cv_func_snprintf_pos_params=no
29910
29911
29912 else
29913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29915
29916 #include <stdio.h>
29917
29918 int main (void)
29919 {
29920 char buffer[128];
29921 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29922 if (strcmp ("2 3 1", buffer) == 0)
29923 exit (0);
29924 exit (1);
29925 }
29926
29927 _ACEOF
29928 if ac_fn_cxx_try_run "$LINENO"; then :
29929 wx_cv_func_snprintf_pos_params=no
29930 else
29931 wx_cv_func_snprintf_pos_params=yes
29932 fi
29933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29934 conftest.$ac_objext conftest.beam conftest.$ac_ext
29935 fi
29936
29937
29938
29939 fi
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29941 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29942
29943 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29944 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29945
29946 fi
29947 fi
29948 fi
29949
29950 if test "$ac_cv_func_vsscanf" = "yes"; then
29951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29952 $as_echo_n "checking for vsscanf declaration... " >&6; }
29953 if ${wx_cv_func_vsscanf_decl+:} false; then :
29954 $as_echo_n "(cached) " >&6
29955 else
29956
29957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29958 /* end confdefs.h. */
29959
29960 #include <stdio.h>
29961 #include <stdarg.h>
29962 #ifdef __MSL__
29963 #if __MSL__ >= 0x6000
29964 namespace std {}
29965 using namespace std;
29966 #endif
29967 #endif
29968
29969 int
29970 main ()
29971 {
29972
29973 char *buf;
29974 va_list args;
29975 vsscanf(buf, "%s", args);
29976
29977 ;
29978 return 0;
29979 }
29980 _ACEOF
29981 if ac_fn_cxx_try_compile "$LINENO"; then :
29982 wx_cv_func_vsscanf_decl=yes
29983 else
29984 wx_cv_func_vsscanf_decl=no
29985
29986 fi
29987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29988
29989
29990 fi
29991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29992 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29993
29994 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29995 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29996
29997 fi
29998 fi
29999 ac_ext=c
30000 ac_cpp='$CPP $CPPFLAGS'
30001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30004
30005
30006 if test "$wxUSE_UNICODE" = yes; then
30007
30008 wchar_headers="#include <stdio.h>
30009 #include <wchar.h>"
30010 case "${host}" in
30011 *-*-solaris2* )
30012 for ac_header in widec.h
30013 do :
30014 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30015 "
30016 if test "x$ac_cv_header_widec_h" = xyes; then :
30017 cat >>confdefs.h <<_ACEOF
30018 #define HAVE_WIDEC_H 1
30019 _ACEOF
30020
30021 fi
30022
30023 done
30024
30025 if test "$ac_cv_header_widec_h" = "yes"; then
30026 wchar_headers="$wchar_headers
30027 #include <widec.h>"
30028 fi
30029 esac
30030
30031
30032 for wx_func in putws fputws wprintf vswprintf vswscanf
30033 do
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30035 $as_echo_n "checking for $wx_func... " >&6; }
30036 if eval \${wx_cv_func_$wx_func+:} false; then :
30037 $as_echo_n "(cached) " >&6
30038 else
30039
30040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30041 /* end confdefs.h. */
30042
30043
30044 $wchar_headers
30045 $ac_includes_default
30046
30047 int
30048 main ()
30049 {
30050
30051 #ifndef $wx_func
30052 &$wx_func;
30053 #endif
30054
30055
30056 ;
30057 return 0;
30058 }
30059
30060 _ACEOF
30061 if ac_fn_c_try_link "$LINENO"; then :
30062 eval wx_cv_func_$wx_func=yes
30063 else
30064 eval wx_cv_func_$wx_func=no
30065 fi
30066 rm -f core conftest.err conftest.$ac_objext \
30067 conftest$ac_exeext conftest.$ac_ext
30068
30069 fi
30070 eval ac_res=\$wx_cv_func_$wx_func
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30072 $as_echo "$ac_res" >&6; }
30073
30074 if eval test \$wx_cv_func_$wx_func = yes
30075 then
30076 cat >>confdefs.h <<_ACEOF
30077 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30078 _ACEOF
30079
30080
30081 else
30082 :
30083
30084 fi
30085 done
30086
30087
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30089 $as_echo_n "checking for _vsnwprintf... " >&6; }
30090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30091 /* end confdefs.h. */
30092 #include <wchar.h>
30093 int
30094 main ()
30095 {
30096 &_vsnwprintf;
30097 ;
30098 return 0;
30099 }
30100 _ACEOF
30101 if ac_fn_c_try_compile "$LINENO"; then :
30102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30103 $as_echo "yes" >&6; }
30104 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30105
30106 else
30107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30108 $as_echo "no" >&6; }
30109 fi
30110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30111 fi
30112
30113 if test "$wxUSE_FILE" = "yes"; then
30114
30115 for wx_func in fsync
30116 do
30117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30118 $as_echo_n "checking for $wx_func... " >&6; }
30119 if eval \${wx_cv_func_$wx_func+:} false; then :
30120 $as_echo_n "(cached) " >&6
30121 else
30122
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125
30126
30127
30128 $ac_includes_default
30129
30130 int
30131 main ()
30132 {
30133
30134 #ifndef $wx_func
30135 &$wx_func;
30136 #endif
30137
30138
30139 ;
30140 return 0;
30141 }
30142
30143 _ACEOF
30144 if ac_fn_c_try_link "$LINENO"; then :
30145 eval wx_cv_func_$wx_func=yes
30146 else
30147 eval wx_cv_func_$wx_func=no
30148 fi
30149 rm -f core conftest.err conftest.$ac_objext \
30150 conftest$ac_exeext conftest.$ac_ext
30151
30152 fi
30153 eval ac_res=\$wx_cv_func_$wx_func
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30155 $as_echo "$ac_res" >&6; }
30156
30157 if eval test \$wx_cv_func_$wx_func = yes
30158 then
30159 cat >>confdefs.h <<_ACEOF
30160 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30161 _ACEOF
30162
30163
30164 else
30165 :
30166
30167 fi
30168 done
30169
30170 fi
30171
30172 ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30177
30178
30179 for wx_func in round
30180 do
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30182 $as_echo_n "checking for $wx_func... " >&6; }
30183 if eval \${wx_cv_func_$wx_func+:} false; then :
30184 $as_echo_n "(cached) " >&6
30185 else
30186
30187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h. */
30189
30190
30191 #include <math.h>
30192 $ac_includes_default
30193
30194 int
30195 main ()
30196 {
30197
30198 #ifndef $wx_func
30199 &$wx_func;
30200 #endif
30201
30202
30203 ;
30204 return 0;
30205 }
30206
30207 _ACEOF
30208 if ac_fn_cxx_try_link "$LINENO"; then :
30209 eval wx_cv_func_$wx_func=yes
30210 else
30211 eval wx_cv_func_$wx_func=no
30212 fi
30213 rm -f core conftest.err conftest.$ac_objext \
30214 conftest$ac_exeext conftest.$ac_ext
30215
30216 fi
30217 eval ac_res=\$wx_cv_func_$wx_func
30218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30219 $as_echo "$ac_res" >&6; }
30220
30221 if eval test \$wx_cv_func_$wx_func = yes
30222 then
30223 cat >>confdefs.h <<_ACEOF
30224 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30225 _ACEOF
30226
30227
30228 else
30229 :
30230
30231 fi
30232 done
30233
30234 ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30239
30240
30241 if test "$TOOLKIT" != "MSW"; then
30242
30243 if test "$wxUSE_LIBICONV" != "no" ; then
30244
30245
30246
30247 # Check whether --with-libiconv-prefix was given.
30248 if test "${with_libiconv_prefix+set}" = set; then :
30249 withval=$with_libiconv_prefix;
30250 for dir in `echo "$withval" | tr : ' '`; do
30251 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30252 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30253 done
30254
30255 fi
30256
30257
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30259 $as_echo_n "checking for iconv... " >&6; }
30260 if ${am_cv_func_iconv+:} false; then :
30261 $as_echo_n "(cached) " >&6
30262 else
30263
30264 am_cv_func_iconv="no, consider installing GNU libiconv"
30265 am_cv_lib_iconv=no
30266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30267 /* end confdefs.h. */
30268 #include <stdlib.h>
30269 #include <iconv.h>
30270 int
30271 main ()
30272 {
30273 iconv_t cd = iconv_open("","");
30274 iconv(cd,NULL,NULL,NULL,NULL);
30275 iconv_close(cd);
30276 ;
30277 return 0;
30278 }
30279 _ACEOF
30280 if ac_fn_c_try_link "$LINENO"; then :
30281 am_cv_func_iconv=yes
30282 fi
30283 rm -f core conftest.err conftest.$ac_objext \
30284 conftest$ac_exeext conftest.$ac_ext
30285 if test "$am_cv_func_iconv" != yes; then
30286 am_save_LIBS="$LIBS"
30287 LIBS="$LIBS -liconv"
30288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h. */
30290 #include <stdlib.h>
30291 #include <iconv.h>
30292 int
30293 main ()
30294 {
30295 iconv_t cd = iconv_open("","");
30296 iconv(cd,NULL,NULL,NULL,NULL);
30297 iconv_close(cd);
30298 ;
30299 return 0;
30300 }
30301 _ACEOF
30302 if ac_fn_c_try_link "$LINENO"; then :
30303 am_cv_lib_iconv=yes
30304 am_cv_func_iconv=yes
30305 fi
30306 rm -f core conftest.err conftest.$ac_objext \
30307 conftest$ac_exeext conftest.$ac_ext
30308 LIBS="$am_save_LIBS"
30309 fi
30310
30311 fi
30312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30313 $as_echo "$am_cv_func_iconv" >&6; }
30314 if test "$am_cv_func_iconv" = yes; then
30315
30316 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30317
30318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30319 $as_echo_n "checking if iconv needs const... " >&6; }
30320 if ${wx_cv_func_iconv_const+:} false; then :
30321 $as_echo_n "(cached) " >&6
30322 else
30323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30324 /* end confdefs.h. */
30325
30326 #include <stdlib.h>
30327 #include <iconv.h>
30328 extern
30329 #ifdef __cplusplus
30330 "C"
30331 #endif
30332 #if defined(__STDC__) || defined(__cplusplus)
30333 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30334 #else
30335 size_t iconv();
30336 #endif
30337
30338 int
30339 main ()
30340 {
30341
30342 ;
30343 return 0;
30344 }
30345 _ACEOF
30346 if ac_fn_c_try_compile "$LINENO"; then :
30347 wx_cv_func_iconv_const="no"
30348 else
30349 wx_cv_func_iconv_const="yes"
30350
30351 fi
30352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30353
30354 fi
30355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30356 $as_echo "$wx_cv_func_iconv_const" >&6; }
30357
30358 iconv_const=
30359 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30360 iconv_const="const"
30361 fi
30362
30363
30364 cat >>confdefs.h <<_ACEOF
30365 #define ICONV_CONST $iconv_const
30366 _ACEOF
30367
30368 fi
30369 LIBICONV=
30370 if test "$am_cv_lib_iconv" = yes; then
30371 LIBICONV="-liconv"
30372 fi
30373
30374
30375 LIBS="$LIBICONV $LIBS"
30376 fi
30377
30378 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30379 for ac_func in sigaction
30380 do :
30381 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30382 if test "x$ac_cv_func_sigaction" = xyes; then :
30383 cat >>confdefs.h <<_ACEOF
30384 #define HAVE_SIGACTION 1
30385 _ACEOF
30386
30387 fi
30388 done
30389
30390
30391 if test "$ac_cv_func_sigaction" = "no"; then
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30393 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30394 wxUSE_ON_FATAL_EXCEPTION=no
30395 fi
30396
30397 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30399 $as_echo_n "checking for sa_handler type... " >&6; }
30400 if ${wx_cv_type_sa_handler+:} false; then :
30401 $as_echo_n "(cached) " >&6
30402 else
30403
30404 ac_ext=cpp
30405 ac_cpp='$CXXCPP $CPPFLAGS'
30406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30409
30410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30411 /* end confdefs.h. */
30412 #include <signal.h>
30413 int
30414 main ()
30415 {
30416
30417 extern void testSigHandler(int);
30418
30419 struct sigaction sa;
30420 sa.sa_handler = testSigHandler;
30421
30422 ;
30423 return 0;
30424 }
30425 _ACEOF
30426 if ac_fn_cxx_try_compile "$LINENO"; then :
30427
30428 wx_cv_type_sa_handler=int
30429
30430 else
30431
30432 wx_cv_type_sa_handler=void
30433
30434 fi
30435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30436 ac_ext=c
30437 ac_cpp='$CPP $CPPFLAGS'
30438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30441
30442
30443 fi
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30445 $as_echo "$wx_cv_type_sa_handler" >&6; }
30446
30447 cat >>confdefs.h <<_ACEOF
30448 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30449 _ACEOF
30450
30451 fi
30452 fi
30453
30454 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30456 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30457 if ${wx_cv_func_backtrace+:} false; then :
30458 $as_echo_n "(cached) " >&6
30459 else
30460
30461 ac_ext=cpp
30462 ac_cpp='$CXXCPP $CPPFLAGS'
30463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30466
30467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30468 /* end confdefs.h. */
30469 #include <execinfo.h>
30470 int
30471 main ()
30472 {
30473
30474 void *trace[1];
30475 char **messages;
30476
30477 backtrace(trace, 1);
30478 messages = backtrace_symbols(trace, 1);
30479
30480 ;
30481 return 0;
30482 }
30483 _ACEOF
30484 if ac_fn_cxx_try_compile "$LINENO"; then :
30485 wx_cv_func_backtrace=yes
30486 else
30487 wx_cv_func_backtrace=no
30488
30489 fi
30490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30491 ac_ext=c
30492 ac_cpp='$CPP $CPPFLAGS'
30493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30496
30497
30498
30499 fi
30500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30501 $as_echo "$wx_cv_func_backtrace" >&6; }
30502
30503
30504 if test "$wx_cv_func_backtrace" = "no"; then
30505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30506 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30507 wxUSE_STACKWALKER=no
30508 else
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30510 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30511 if ${wx_cv_func_cxa_demangle+:} false; then :
30512 $as_echo_n "(cached) " >&6
30513 else
30514
30515 ac_ext=cpp
30516 ac_cpp='$CXXCPP $CPPFLAGS'
30517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30520
30521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30522 /* end confdefs.h. */
30523 #include <cxxabi.h>
30524 int
30525 main ()
30526 {
30527
30528 int rc;
30529 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30530
30531 ;
30532 return 0;
30533 }
30534 _ACEOF
30535 if ac_fn_cxx_try_link "$LINENO"; then :
30536 wx_cv_func_cxa_demangle=yes
30537 else
30538 wx_cv_func_cxa_demangle=no
30539
30540 fi
30541 rm -f core conftest.err conftest.$ac_objext \
30542 conftest$ac_exeext conftest.$ac_ext
30543 ac_ext=c
30544 ac_cpp='$CPP $CPPFLAGS'
30545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30548
30549
30550
30551 fi
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30553 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30554
30555 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30556 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30557
30558 fi
30559 fi
30560 fi
30561
30562 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30564 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30565 wxUSE_STACKWALKER=no
30566 fi
30567
30568
30569 for ac_func in mkstemp mktemp
30570 do :
30571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30574 cat >>confdefs.h <<_ACEOF
30575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30576 _ACEOF
30577 break
30578 fi
30579 done
30580
30581
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30583 $as_echo_n "checking for statfs... " >&6; }
30584 if ${wx_cv_func_statfs+:} false; then :
30585 $as_echo_n "(cached) " >&6
30586 else
30587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30588 /* end confdefs.h. */
30589
30590 #if defined(__BSD__)
30591 #include <sys/param.h>
30592 #include <sys/mount.h>
30593 #else
30594 #include <sys/vfs.h>
30595 #endif
30596
30597 int
30598 main ()
30599 {
30600
30601 long l;
30602 struct statfs fs;
30603 statfs("/", &fs);
30604 l = fs.f_bsize;
30605 l += fs.f_blocks;
30606 l += fs.f_bavail;
30607
30608 ;
30609 return 0;
30610 }
30611 _ACEOF
30612 if ac_fn_c_try_compile "$LINENO"; then :
30613 wx_cv_func_statfs=yes
30614 else
30615 wx_cv_func_statfs=no
30616
30617 fi
30618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30619
30620 fi
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30622 $as_echo "$wx_cv_func_statfs" >&6; }
30623
30624 if test "$wx_cv_func_statfs" = "yes"; then
30625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30626 $as_echo_n "checking for statfs declaration... " >&6; }
30627 if ${wx_cv_func_statfs_decl+:} false; then :
30628 $as_echo_n "(cached) " >&6
30629 else
30630 ac_ext=cpp
30631 ac_cpp='$CXXCPP $CPPFLAGS'
30632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30635
30636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h. */
30638
30639 #if defined(__BSD__)
30640 #include <sys/param.h>
30641 #include <sys/mount.h>
30642 #else
30643 #include <sys/vfs.h>
30644 #endif
30645
30646 int
30647 main ()
30648 {
30649
30650 struct statfs fs;
30651 statfs("", &fs);
30652
30653 ;
30654 return 0;
30655 }
30656 _ACEOF
30657 if ac_fn_cxx_try_compile "$LINENO"; then :
30658 wx_cv_func_statfs_decl=yes
30659 else
30660 wx_cv_func_statfs_decl=no
30661
30662 fi
30663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30664 ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30669
30670
30671 fi
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30673 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30674
30675 if test "$wx_cv_func_statfs_decl" = "yes"; then
30676 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30677
30678 fi
30679
30680 wx_cv_type_statvfs_t="struct statfs"
30681 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30682
30683 else
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30685 $as_echo_n "checking for statvfs... " >&6; }
30686 if ${wx_cv_func_statvfs+:} false; then :
30687 $as_echo_n "(cached) " >&6
30688 else
30689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30690 /* end confdefs.h. */
30691
30692 #include <stddef.h>
30693 #include <sys/statvfs.h>
30694
30695 int
30696 main ()
30697 {
30698
30699 statvfs("/", NULL);
30700
30701 ;
30702 return 0;
30703 }
30704 _ACEOF
30705 if ac_fn_c_try_compile "$LINENO"; then :
30706 wx_cv_func_statvfs=yes
30707 else
30708 wx_cv_func_statvfs=no
30709
30710 fi
30711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712
30713 fi
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30715 $as_echo "$wx_cv_func_statvfs" >&6; }
30716
30717 if test "$wx_cv_func_statvfs" = "yes"; then
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30719 $as_echo_n "checking for statvfs argument type... " >&6; }
30720 if ${wx_cv_type_statvfs_t+:} false; then :
30721 $as_echo_n "(cached) " >&6
30722 else
30723 ac_ext=cpp
30724 ac_cpp='$CXXCPP $CPPFLAGS'
30725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728
30729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h. */
30731
30732 #include <sys/statvfs.h>
30733
30734 int
30735 main ()
30736 {
30737
30738 long l;
30739 statvfs_t fs;
30740 statvfs("/", &fs);
30741 l = fs.f_bsize;
30742 l += fs.f_blocks;
30743 l += fs.f_bavail;
30744
30745 ;
30746 return 0;
30747 }
30748 _ACEOF
30749 if ac_fn_cxx_try_compile "$LINENO"; then :
30750 wx_cv_type_statvfs_t=statvfs_t
30751 else
30752
30753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30754 /* end confdefs.h. */
30755
30756 #include <sys/statvfs.h>
30757
30758 int
30759 main ()
30760 {
30761
30762 long l;
30763 struct statvfs fs;
30764 statvfs("/", &fs);
30765 l = fs.f_bsize;
30766 l += fs.f_blocks;
30767 l += fs.f_bavail;
30768
30769 ;
30770 return 0;
30771 }
30772 _ACEOF
30773 if ac_fn_cxx_try_compile "$LINENO"; then :
30774 wx_cv_type_statvfs_t="struct statvfs"
30775 else
30776 wx_cv_type_statvfs_t="unknown"
30777
30778 fi
30779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30780
30781
30782 fi
30783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30784 ac_ext=c
30785 ac_cpp='$CPP $CPPFLAGS'
30786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30789
30790
30791 fi
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30793 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30794
30795 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30796 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30797
30798 fi
30799 else
30800 wx_cv_type_statvfs_t="unknown"
30801 fi
30802 fi
30803
30804 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30805 cat >>confdefs.h <<_ACEOF
30806 #define WX_STATFS_T $wx_cv_type_statvfs_t
30807 _ACEOF
30808
30809 else
30810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30811 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30812 fi
30813
30814 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30815 for ac_func in fcntl flock
30816 do :
30817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30819 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30820 cat >>confdefs.h <<_ACEOF
30821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30822 _ACEOF
30823 break
30824 fi
30825 done
30826
30827
30828 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30830 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30831 wxUSE_SNGLINST_CHECKER=no
30832 fi
30833 fi
30834
30835 for ac_func in setenv putenv
30836 do :
30837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30839 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30840 cat >>confdefs.h <<_ACEOF
30841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30842 _ACEOF
30843 break
30844 fi
30845 done
30846
30847 if test "$ac_cv_func_setenv" = "yes"; then
30848 for ac_func in unsetenv
30849 do :
30850 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30851 if test "x$ac_cv_func_unsetenv" = xyes; then :
30852 cat >>confdefs.h <<_ACEOF
30853 #define HAVE_UNSETENV 1
30854 _ACEOF
30855
30856 fi
30857 done
30858
30859 fi
30860
30861 HAVE_SOME_SLEEP_FUNC=0
30862 if test "$USE_BEOS" = 1; then
30863 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30864
30865 HAVE_SOME_SLEEP_FUNC=1
30866 fi
30867
30868 if test "$USE_DARWIN" = 1; then
30869 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30870
30871 HAVE_SOME_SLEEP_FUNC=1
30872 fi
30873
30874 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30875 POSIX4_LINK=
30876 for ac_func in nanosleep
30877 do :
30878 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30879 if test "x$ac_cv_func_nanosleep" = xyes; then :
30880 cat >>confdefs.h <<_ACEOF
30881 #define HAVE_NANOSLEEP 1
30882 _ACEOF
30883 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30884
30885 else
30886
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30888 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30889 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30892 ac_check_lib_save_LIBS=$LIBS
30893 LIBS="-lposix4 $LIBS"
30894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30895 /* end confdefs.h. */
30896
30897 /* Override any GCC internal prototype to avoid an error.
30898 Use char because int might match the return type of a GCC
30899 builtin and then its argument prototype would still apply. */
30900 #ifdef __cplusplus
30901 extern "C"
30902 #endif
30903 char nanosleep ();
30904 int
30905 main ()
30906 {
30907 return nanosleep ();
30908 ;
30909 return 0;
30910 }
30911 _ACEOF
30912 if ac_fn_c_try_link "$LINENO"; then :
30913 ac_cv_lib_posix4_nanosleep=yes
30914 else
30915 ac_cv_lib_posix4_nanosleep=no
30916 fi
30917 rm -f core conftest.err conftest.$ac_objext \
30918 conftest$ac_exeext conftest.$ac_ext
30919 LIBS=$ac_check_lib_save_LIBS
30920 fi
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30922 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30923 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30924
30925 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30926
30927 POSIX4_LINK=" -lposix4"
30928
30929 else
30930
30931
30932 for wx_func in usleep
30933 do
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30935 $as_echo_n "checking for $wx_func... " >&6; }
30936 if eval \${wx_cv_func_$wx_func+:} false; then :
30937 $as_echo_n "(cached) " >&6
30938 else
30939
30940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30941 /* end confdefs.h. */
30942
30943
30944
30945 $ac_includes_default
30946
30947 int
30948 main ()
30949 {
30950
30951 #ifndef $wx_func
30952 &$wx_func;
30953 #endif
30954
30955
30956 ;
30957 return 0;
30958 }
30959
30960 _ACEOF
30961 if ac_fn_c_try_link "$LINENO"; then :
30962 eval wx_cv_func_$wx_func=yes
30963 else
30964 eval wx_cv_func_$wx_func=no
30965 fi
30966 rm -f core conftest.err conftest.$ac_objext \
30967 conftest$ac_exeext conftest.$ac_ext
30968
30969 fi
30970 eval ac_res=\$wx_cv_func_$wx_func
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30972 $as_echo "$ac_res" >&6; }
30973
30974 if eval test \$wx_cv_func_$wx_func = yes
30975 then
30976 cat >>confdefs.h <<_ACEOF
30977 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30978 _ACEOF
30979
30980
30981 else
30982 :
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30984 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30985
30986 fi
30987 done
30988
30989
30990
30991 fi
30992
30993
30994
30995 fi
30996 done
30997
30998 fi
30999
31000
31001 for wx_func in uname
31002 do
31003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31004 $as_echo_n "checking for $wx_func... " >&6; }
31005 if eval \${wx_cv_func_$wx_func+:} false; then :
31006 $as_echo_n "(cached) " >&6
31007 else
31008
31009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31010 /* end confdefs.h. */
31011
31012
31013 #include <sys/utsname.h>
31014 $ac_includes_default
31015
31016 int
31017 main ()
31018 {
31019
31020 #ifndef $wx_func
31021 &$wx_func;
31022 #endif
31023
31024
31025 ;
31026 return 0;
31027 }
31028
31029 _ACEOF
31030 if ac_fn_c_try_link "$LINENO"; then :
31031 eval wx_cv_func_$wx_func=yes
31032 else
31033 eval wx_cv_func_$wx_func=no
31034 fi
31035 rm -f core conftest.err conftest.$ac_objext \
31036 conftest$ac_exeext conftest.$ac_ext
31037
31038 fi
31039 eval ac_res=\$wx_cv_func_$wx_func
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31041 $as_echo "$ac_res" >&6; }
31042
31043 if eval test \$wx_cv_func_$wx_func = yes
31044 then
31045 cat >>confdefs.h <<_ACEOF
31046 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31047 _ACEOF
31048
31049
31050 else
31051 :
31052
31053 fi
31054 done
31055
31056 if test "$wx_cv_func_uname" != yes; then
31057
31058 for wx_func in gethostname
31059 do
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31061 $as_echo_n "checking for $wx_func... " >&6; }
31062 if eval \${wx_cv_func_$wx_func+:} false; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31065
31066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31067 /* end confdefs.h. */
31068
31069
31070
31071 $ac_includes_default
31072
31073 int
31074 main ()
31075 {
31076
31077 #ifndef $wx_func
31078 &$wx_func;
31079 #endif
31080
31081
31082 ;
31083 return 0;
31084 }
31085
31086 _ACEOF
31087 if ac_fn_c_try_link "$LINENO"; then :
31088 eval wx_cv_func_$wx_func=yes
31089 else
31090 eval wx_cv_func_$wx_func=no
31091 fi
31092 rm -f core conftest.err conftest.$ac_objext \
31093 conftest$ac_exeext conftest.$ac_ext
31094
31095 fi
31096 eval ac_res=\$wx_cv_func_$wx_func
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31098 $as_echo "$ac_res" >&6; }
31099
31100 if eval test \$wx_cv_func_$wx_func = yes
31101 then
31102 cat >>confdefs.h <<_ACEOF
31103 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31104 _ACEOF
31105
31106
31107 else
31108 :
31109
31110 fi
31111 done
31112
31113 fi
31114
31115
31116 for wx_func in strtok_r
31117 do
31118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31119 $as_echo_n "checking for $wx_func... " >&6; }
31120 if eval \${wx_cv_func_$wx_func+:} false; then :
31121 $as_echo_n "(cached) " >&6
31122 else
31123
31124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31125 /* end confdefs.h. */
31126
31127
31128 #define _REENTRANT
31129 $ac_includes_default
31130
31131 int
31132 main ()
31133 {
31134
31135 #ifndef $wx_func
31136 &$wx_func;
31137 #endif
31138
31139
31140 ;
31141 return 0;
31142 }
31143
31144 _ACEOF
31145 if ac_fn_c_try_link "$LINENO"; then :
31146 eval wx_cv_func_$wx_func=yes
31147 else
31148 eval wx_cv_func_$wx_func=no
31149 fi
31150 rm -f core conftest.err conftest.$ac_objext \
31151 conftest$ac_exeext conftest.$ac_ext
31152
31153 fi
31154 eval ac_res=\$wx_cv_func_$wx_func
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31156 $as_echo "$ac_res" >&6; }
31157
31158 if eval test \$wx_cv_func_$wx_func = yes
31159 then
31160 cat >>confdefs.h <<_ACEOF
31161 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31162 _ACEOF
31163
31164
31165 else
31166 :
31167
31168 fi
31169 done
31170
31171
31172 INET_LINK=
31173 for ac_func in inet_addr
31174 do :
31175 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31176 if test "x$ac_cv_func_inet_addr" = xyes; then :
31177 cat >>confdefs.h <<_ACEOF
31178 #define HAVE_INET_ADDR 1
31179 _ACEOF
31180 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31181
31182 else
31183
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31185 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31186 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31187 $as_echo_n "(cached) " >&6
31188 else
31189 ac_check_lib_save_LIBS=$LIBS
31190 LIBS="-lnsl $LIBS"
31191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31192 /* end confdefs.h. */
31193
31194 /* Override any GCC internal prototype to avoid an error.
31195 Use char because int might match the return type of a GCC
31196 builtin and then its argument prototype would still apply. */
31197 #ifdef __cplusplus
31198 extern "C"
31199 #endif
31200 char inet_addr ();
31201 int
31202 main ()
31203 {
31204 return inet_addr ();
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 if ac_fn_c_try_link "$LINENO"; then :
31210 ac_cv_lib_nsl_inet_addr=yes
31211 else
31212 ac_cv_lib_nsl_inet_addr=no
31213 fi
31214 rm -f core conftest.err conftest.$ac_objext \
31215 conftest$ac_exeext conftest.$ac_ext
31216 LIBS=$ac_check_lib_save_LIBS
31217 fi
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31219 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31220 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31221 INET_LINK="nsl"
31222 else
31223
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31225 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31226 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31227 $as_echo_n "(cached) " >&6
31228 else
31229 ac_check_lib_save_LIBS=$LIBS
31230 LIBS="-lresolv $LIBS"
31231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31232 /* end confdefs.h. */
31233
31234 /* Override any GCC internal prototype to avoid an error.
31235 Use char because int might match the return type of a GCC
31236 builtin and then its argument prototype would still apply. */
31237 #ifdef __cplusplus
31238 extern "C"
31239 #endif
31240 char inet_addr ();
31241 int
31242 main ()
31243 {
31244 return inet_addr ();
31245 ;
31246 return 0;
31247 }
31248 _ACEOF
31249 if ac_fn_c_try_link "$LINENO"; then :
31250 ac_cv_lib_resolv_inet_addr=yes
31251 else
31252 ac_cv_lib_resolv_inet_addr=no
31253 fi
31254 rm -f core conftest.err conftest.$ac_objext \
31255 conftest$ac_exeext conftest.$ac_ext
31256 LIBS=$ac_check_lib_save_LIBS
31257 fi
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31259 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31260 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31261 INET_LINK="resolv"
31262 else
31263
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31265 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31266 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31267 $as_echo_n "(cached) " >&6
31268 else
31269 ac_check_lib_save_LIBS=$LIBS
31270 LIBS="-lsocket $LIBS"
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272 /* end confdefs.h. */
31273
31274 /* Override any GCC internal prototype to avoid an error.
31275 Use char because int might match the return type of a GCC
31276 builtin and then its argument prototype would still apply. */
31277 #ifdef __cplusplus
31278 extern "C"
31279 #endif
31280 char inet_addr ();
31281 int
31282 main ()
31283 {
31284 return inet_addr ();
31285 ;
31286 return 0;
31287 }
31288 _ACEOF
31289 if ac_fn_c_try_link "$LINENO"; then :
31290 ac_cv_lib_socket_inet_addr=yes
31291 else
31292 ac_cv_lib_socket_inet_addr=no
31293 fi
31294 rm -f core conftest.err conftest.$ac_objext \
31295 conftest$ac_exeext conftest.$ac_ext
31296 LIBS=$ac_check_lib_save_LIBS
31297 fi
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31299 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31300 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31301 INET_LINK="socket"
31302
31303 fi
31304
31305
31306
31307 fi
31308
31309
31310
31311 fi
31312
31313
31314
31315 fi
31316 done
31317
31318
31319 for ac_func in inet_aton
31320 do :
31321 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31322 if test "x$ac_cv_func_inet_aton" = xyes; then :
31323 cat >>confdefs.h <<_ACEOF
31324 #define HAVE_INET_ATON 1
31325 _ACEOF
31326 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31327
31328 else
31329
31330 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31332 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31333 if eval \${$as_ac_Lib+:} false; then :
31334 $as_echo_n "(cached) " >&6
31335 else
31336 ac_check_lib_save_LIBS=$LIBS
31337 LIBS="-l$INET_LINK $LIBS"
31338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31339 /* end confdefs.h. */
31340
31341 /* Override any GCC internal prototype to avoid an error.
31342 Use char because int might match the return type of a GCC
31343 builtin and then its argument prototype would still apply. */
31344 #ifdef __cplusplus
31345 extern "C"
31346 #endif
31347 char inet_aton ();
31348 int
31349 main ()
31350 {
31351 return inet_aton ();
31352 ;
31353 return 0;
31354 }
31355 _ACEOF
31356 if ac_fn_c_try_link "$LINENO"; then :
31357 eval "$as_ac_Lib=yes"
31358 else
31359 eval "$as_ac_Lib=no"
31360 fi
31361 rm -f core conftest.err conftest.$ac_objext \
31362 conftest$ac_exeext conftest.$ac_ext
31363 LIBS=$ac_check_lib_save_LIBS
31364 fi
31365 eval ac_res=\$$as_ac_Lib
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31367 $as_echo "$ac_res" >&6; }
31368 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31369 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31370
31371 fi
31372
31373
31374 fi
31375 done
31376
31377
31378 if test "x$INET_LINK" != "x"; then
31379 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31380
31381 INET_LINK=" -l$INET_LINK"
31382 fi
31383
31384
31385 for wx_func in fdopen
31386 do
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31388 $as_echo_n "checking for $wx_func... " >&6; }
31389 if eval \${wx_cv_func_$wx_func+:} false; then :
31390 $as_echo_n "(cached) " >&6
31391 else
31392
31393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31395
31396
31397
31398 $ac_includes_default
31399
31400 int
31401 main ()
31402 {
31403
31404 #ifndef $wx_func
31405 &$wx_func;
31406 #endif
31407
31408
31409 ;
31410 return 0;
31411 }
31412
31413 _ACEOF
31414 if ac_fn_c_try_link "$LINENO"; then :
31415 eval wx_cv_func_$wx_func=yes
31416 else
31417 eval wx_cv_func_$wx_func=no
31418 fi
31419 rm -f core conftest.err conftest.$ac_objext \
31420 conftest$ac_exeext conftest.$ac_ext
31421
31422 fi
31423 eval ac_res=\$wx_cv_func_$wx_func
31424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31425 $as_echo "$ac_res" >&6; }
31426
31427 if eval test \$wx_cv_func_$wx_func = yes
31428 then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31431 _ACEOF
31432
31433
31434 else
31435 :
31436
31437 fi
31438 done
31439
31440
31441 if test "$wxUSE_TARSTREAM" = "yes"; then
31442
31443 for wx_func in sysconf
31444 do
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31446 $as_echo_n "checking for $wx_func... " >&6; }
31447 if eval \${wx_cv_func_$wx_func+:} false; then :
31448 $as_echo_n "(cached) " >&6
31449 else
31450
31451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31452 /* end confdefs.h. */
31453
31454
31455
31456 $ac_includes_default
31457
31458 int
31459 main ()
31460 {
31461
31462 #ifndef $wx_func
31463 &$wx_func;
31464 #endif
31465
31466
31467 ;
31468 return 0;
31469 }
31470
31471 _ACEOF
31472 if ac_fn_c_try_link "$LINENO"; then :
31473 eval wx_cv_func_$wx_func=yes
31474 else
31475 eval wx_cv_func_$wx_func=no
31476 fi
31477 rm -f core conftest.err conftest.$ac_objext \
31478 conftest$ac_exeext conftest.$ac_ext
31479
31480 fi
31481 eval ac_res=\$wx_cv_func_$wx_func
31482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31483 $as_echo "$ac_res" >&6; }
31484
31485 if eval test \$wx_cv_func_$wx_func = yes
31486 then
31487 cat >>confdefs.h <<_ACEOF
31488 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31489 _ACEOF
31490
31491
31492 else
31493 :
31494
31495 fi
31496 done
31497
31498
31499
31500 for wx_func in getpwuid_r
31501 do
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31503 $as_echo_n "checking for $wx_func... " >&6; }
31504 if eval \${wx_cv_func_$wx_func+:} false; then :
31505 $as_echo_n "(cached) " >&6
31506 else
31507
31508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31509 /* end confdefs.h. */
31510
31511
31512
31513 #define _REENTRANT
31514 #include <pwd.h>
31515
31516 $ac_includes_default
31517
31518 int
31519 main ()
31520 {
31521
31522 #ifndef $wx_func
31523 &$wx_func;
31524 #endif
31525
31526 struct passwd pw, *ppw;
31527 char buf[1024];
31528 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31529
31530
31531 ;
31532 return 0;
31533 }
31534
31535 _ACEOF
31536 if ac_fn_c_try_link "$LINENO"; then :
31537 eval wx_cv_func_$wx_func=yes
31538 else
31539 eval wx_cv_func_$wx_func=no
31540 fi
31541 rm -f core conftest.err conftest.$ac_objext \
31542 conftest$ac_exeext conftest.$ac_ext
31543
31544 fi
31545 eval ac_res=\$wx_cv_func_$wx_func
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31547 $as_echo "$ac_res" >&6; }
31548
31549 if eval test \$wx_cv_func_$wx_func = yes
31550 then
31551 cat >>confdefs.h <<_ACEOF
31552 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31553 _ACEOF
31554
31555
31556 else
31557 :
31558
31559 fi
31560 done
31561
31562
31563
31564 for wx_func in getgrgid_r
31565 do
31566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31567 $as_echo_n "checking for $wx_func... " >&6; }
31568 if eval \${wx_cv_func_$wx_func+:} false; then :
31569 $as_echo_n "(cached) " >&6
31570 else
31571
31572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31573 /* end confdefs.h. */
31574
31575
31576
31577 #define _REENTRANT
31578 #include <grp.h>
31579
31580 $ac_includes_default
31581
31582 int
31583 main ()
31584 {
31585
31586 #ifndef $wx_func
31587 &$wx_func;
31588 #endif
31589
31590 struct group grp, *pgrp;
31591 char buf[1024];
31592 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31593
31594
31595 ;
31596 return 0;
31597 }
31598
31599 _ACEOF
31600 if ac_fn_c_try_link "$LINENO"; then :
31601 eval wx_cv_func_$wx_func=yes
31602 else
31603 eval wx_cv_func_$wx_func=no
31604 fi
31605 rm -f core conftest.err conftest.$ac_objext \
31606 conftest$ac_exeext conftest.$ac_ext
31607
31608 fi
31609 eval ac_res=\$wx_cv_func_$wx_func
31610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31611 $as_echo "$ac_res" >&6; }
31612
31613 if eval test \$wx_cv_func_$wx_func = yes
31614 then
31615 cat >>confdefs.h <<_ACEOF
31616 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31617 _ACEOF
31618
31619
31620 else
31621 :
31622
31623 fi
31624 done
31625
31626 fi
31627
31628 fi
31629
31630
31631
31632 cat >confcache <<\_ACEOF
31633 # This file is a shell script that caches the results of configure
31634 # tests run on this system so they can be shared between configure
31635 # scripts and configure runs, see configure's option --config-cache.
31636 # It is not useful on other systems. If it contains results you don't
31637 # want to keep, you may remove or edit it.
31638 #
31639 # config.status only pays attention to the cache file if you give it
31640 # the --recheck option to rerun configure.
31641 #
31642 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31643 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31644 # following values.
31645
31646 _ACEOF
31647
31648 # The following way of writing the cache mishandles newlines in values,
31649 # but we know of no workaround that is simple, portable, and efficient.
31650 # So, we kill variables containing newlines.
31651 # Ultrix sh set writes to stderr and can't be redirected directly,
31652 # and sets the high bit in the cache file unless we assign to the vars.
31653 (
31654 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31655 eval ac_val=\$$ac_var
31656 case $ac_val in #(
31657 *${as_nl}*)
31658 case $ac_var in #(
31659 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31660 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31661 esac
31662 case $ac_var in #(
31663 _ | IFS | as_nl) ;; #(
31664 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31665 *) { eval $ac_var=; unset $ac_var;} ;;
31666 esac ;;
31667 esac
31668 done
31669
31670 (set) 2>&1 |
31671 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31672 *${as_nl}ac_space=\ *)
31673 # `set' does not quote correctly, so add quotes: double-quote
31674 # substitution turns \\\\ into \\, and sed turns \\ into \.
31675 sed -n \
31676 "s/'/'\\\\''/g;
31677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31678 ;; #(
31679 *)
31680 # `set' quotes correctly as required by POSIX, so do not add quotes.
31681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31682 ;;
31683 esac |
31684 sort
31685 ) |
31686 sed '
31687 /^ac_cv_env_/b end
31688 t clear
31689 :clear
31690 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31691 t end
31692 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31693 :end' >>confcache
31694 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31695 if test -w "$cache_file"; then
31696 if test "x$cache_file" != "x/dev/null"; then
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31698 $as_echo "$as_me: updating cache $cache_file" >&6;}
31699 if test ! -f "$cache_file" || test -h "$cache_file"; then
31700 cat confcache >"$cache_file"
31701 else
31702 case $cache_file in #(
31703 */* | ?:*)
31704 mv -f confcache "$cache_file"$$ &&
31705 mv -f "$cache_file"$$ "$cache_file" ;; #(
31706 *)
31707 mv -f confcache "$cache_file" ;;
31708 esac
31709 fi
31710 fi
31711 else
31712 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31713 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31714 fi
31715 fi
31716 rm -f confcache
31717
31718
31719 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31720
31721
31722 THREADS_LINK=
31723 THREADS_CFLAGS=
31724
31725 if test "$wxUSE_THREADS" = "yes" ; then
31726 if test "$USE_BEOS" = 1; then
31727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31728 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31729 wxUSE_THREADS="no"
31730 fi
31731 fi
31732
31733 if test "$wxUSE_THREADS" = "yes" ; then
31734
31735
31736 THREAD_OPTS="-pthread"
31737 if test "x$SUNCXX" = xyes; then
31738 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31739 fi
31740
31741 case "${host}" in
31742 *-*-solaris2* | *-*-sunos4* )
31743 if test "x$GCC" = "xyes"; then
31744 THREAD_OPTS="-pthreads $THREAD_OPTS"
31745 fi
31746 ;;
31747 *-*-freebsd*)
31748 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31749 ;;
31750 *-*-darwin* | *-*-cygwin* )
31751 THREAD_OPTS=""
31752 ;;
31753 *-*-aix*)
31754 THREAD_OPTS="pthreads"
31755 ;;
31756 *-hp-hpux* )
31757 if test "x$GCC" = "xyes"; then
31758 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31759 THREAD_OPTS=""
31760 else
31761 THREAD_OPTS="-mt"
31762 fi
31763 ;;
31764
31765 *-*-irix* )
31766 if test "x$GCC" = "xyes"; then
31767 THREAD_OPTS=""
31768 fi
31769 ;;
31770
31771 *-*-qnx*)
31772 THREAD_OPTS=""
31773 ;;
31774
31775 *-*-*UnixWare*)
31776 if test "x$GCC" != "xyes"; then
31777 THREAD_OPTS="-Ethread"
31778 fi
31779 ;;
31780 esac
31781
31782 case "${host}" in
31783 *-*-qnx*)
31784 THREAD_OPTS="none pthread"
31785 ;;
31786
31787 *)
31788 THREAD_OPTS="$THREAD_OPTS pthread none"
31789 ;;
31790 esac
31791
31792 THREADS_OK=no
31793 for flag in $THREAD_OPTS; do
31794 case $flag in
31795 none)
31796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31797 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31798 ;;
31799
31800 -*)
31801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31802 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31803 THREADS_CFLAGS="$flag"
31804 ;;
31805
31806 *)
31807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31808 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31809 THREADS_LINK="-l$flag"
31810 ;;
31811 esac
31812
31813 save_LIBS="$LIBS"
31814 save_CFLAGS="$CFLAGS"
31815 LIBS="$THREADS_LINK $LIBS"
31816 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31817
31818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31819 /* end confdefs.h. */
31820 #include <pthread.h>
31821 int
31822 main ()
31823 {
31824 pthread_create(0,0,0,0);
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 if ac_fn_c_try_link "$LINENO"; then :
31830 THREADS_OK=yes
31831 fi
31832 rm -f core conftest.err conftest.$ac_objext \
31833 conftest$ac_exeext conftest.$ac_ext
31834
31835 LIBS="$save_LIBS"
31836 CFLAGS="$save_CFLAGS"
31837
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31839 $as_echo "$THREADS_OK" >&6; }
31840 if test "x$THREADS_OK" = "xyes"; then
31841 break;
31842 fi
31843
31844 THREADS_LINK=""
31845 THREADS_CFLAGS=""
31846 done
31847
31848 if test "x$THREADS_OK" != "xyes"; then
31849 wxUSE_THREADS=no
31850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31851 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31852 else
31853 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31854 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31855 LIBS="$THREADS_LINK $LIBS"
31856
31857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31858 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31859 flag=no
31860 case "${host}" in
31861 *-aix*)
31862 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31863 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31864 flag="-D_THREAD_SAFE"
31865 ;;
31866 *-freebsd*)
31867 flag="-D_THREAD_SAFE"
31868 ;;
31869 *-hp-hpux* )
31870 flag="-D_REENTRANT"
31871 if test "x$GCC" != "xyes"; then
31872 flag="$flag -D_RWSTD_MULTI_THREAD"
31873 fi
31874 ;;
31875 *solaris* | alpha*-osf*)
31876 flag="-D_REENTRANT"
31877 ;;
31878 esac
31879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31880 $as_echo "${flag}" >&6; }
31881 if test "x$flag" != xno; then
31882 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31883 fi
31884
31885 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31886 fi
31887 fi
31888
31889 if test "$wxUSE_THREADS" = "yes" ; then
31890 for ac_func in pthread_setconcurrency
31891 do :
31892 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31893 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31894 cat >>confdefs.h <<_ACEOF
31895 #define HAVE_PTHREAD_SETCONCURRENCY 1
31896 _ACEOF
31897 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31898
31899 else
31900
31901 for ac_func in thr_setconcurrency
31902 do :
31903 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31904 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31905 cat >>confdefs.h <<_ACEOF
31906 #define HAVE_THR_SETCONCURRENCY 1
31907 _ACEOF
31908 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31909
31910 else
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31912 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31913 fi
31914 done
31915
31916
31917 fi
31918 done
31919
31920
31921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31922 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31923 if ${wx_cv_func_pthread_cleanup+:} false; then :
31924 $as_echo_n "(cached) " >&6
31925 else
31926
31927 ac_ext=cpp
31928 ac_cpp='$CXXCPP $CPPFLAGS'
31929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31932
31933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31934 /* end confdefs.h. */
31935 #include <pthread.h>
31936 void ThreadCleanupFunc(void *p);
31937
31938 int
31939 main ()
31940 {
31941
31942 void *p;
31943 pthread_cleanup_push(ThreadCleanupFunc, p);
31944 pthread_cleanup_pop(0);
31945
31946 ;
31947 return 0;
31948 }
31949 _ACEOF
31950 if ac_fn_cxx_try_compile "$LINENO"; then :
31951
31952 wx_cv_func_pthread_cleanup=yes
31953
31954 else
31955
31956 wx_cv_func_pthread_cleanup=no
31957
31958
31959 fi
31960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31961 ac_ext=c
31962 ac_cpp='$CPP $CPPFLAGS'
31963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31966
31967
31968 fi
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31970 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31971 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31972 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31973
31974 fi
31975
31976 for ac_header in sched.h
31977 do :
31978 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31979 "
31980 if test "x$ac_cv_header_sched_h" = xyes; then :
31981 cat >>confdefs.h <<_ACEOF
31982 #define HAVE_SCHED_H 1
31983 _ACEOF
31984
31985 fi
31986
31987 done
31988
31989 if test "$ac_cv_header_sched_h" = "yes"; then
31990 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31991 if test "x$ac_cv_func_sched_yield" = xyes; then :
31992 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31993
31994 else
31995
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31997 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31998 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31999 $as_echo_n "(cached) " >&6
32000 else
32001 ac_check_lib_save_LIBS=$LIBS
32002 LIBS="-lposix4 $LIBS"
32003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32004 /* end confdefs.h. */
32005
32006 /* Override any GCC internal prototype to avoid an error.
32007 Use char because int might match the return type of a GCC
32008 builtin and then its argument prototype would still apply. */
32009 #ifdef __cplusplus
32010 extern "C"
32011 #endif
32012 char sched_yield ();
32013 int
32014 main ()
32015 {
32016 return sched_yield ();
32017 ;
32018 return 0;
32019 }
32020 _ACEOF
32021 if ac_fn_c_try_link "$LINENO"; then :
32022 ac_cv_lib_posix4_sched_yield=yes
32023 else
32024 ac_cv_lib_posix4_sched_yield=no
32025 fi
32026 rm -f core conftest.err conftest.$ac_objext \
32027 conftest$ac_exeext conftest.$ac_ext
32028 LIBS=$ac_check_lib_save_LIBS
32029 fi
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32031 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32032 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
32033 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32034 POSIX4_LINK=" -lposix4"
32035 else
32036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32037 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32038
32039 fi
32040
32041
32042
32043 fi
32044
32045 fi
32046
32047 HAVE_PRIOR_FUNCS=0
32048 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32049 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
32050 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32051 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
32052 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32053 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
32054 HAVE_PRIOR_FUNCS=1
32055 else
32056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32057 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32058 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
32059 $as_echo_n "(cached) " >&6
32060 else
32061 ac_check_lib_save_LIBS=$LIBS
32062 LIBS="-lposix4 $LIBS"
32063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32064 /* end confdefs.h. */
32065
32066 /* Override any GCC internal prototype to avoid an error.
32067 Use char because int might match the return type of a GCC
32068 builtin and then its argument prototype would still apply. */
32069 #ifdef __cplusplus
32070 extern "C"
32071 #endif
32072 char sched_get_priority_max ();
32073 int
32074 main ()
32075 {
32076 return sched_get_priority_max ();
32077 ;
32078 return 0;
32079 }
32080 _ACEOF
32081 if ac_fn_c_try_link "$LINENO"; then :
32082 ac_cv_lib_posix4_sched_get_priority_max=yes
32083 else
32084 ac_cv_lib_posix4_sched_get_priority_max=no
32085 fi
32086 rm -f core conftest.err conftest.$ac_objext \
32087 conftest$ac_exeext conftest.$ac_ext
32088 LIBS=$ac_check_lib_save_LIBS
32089 fi
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32091 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32092 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
32093
32094 HAVE_PRIOR_FUNCS=1
32095 POSIX4_LINK=" -lposix4"
32096
32097 fi
32098
32099
32100 fi
32101
32102
32103 fi
32104
32105
32106 fi
32107
32108
32109 if test "$HAVE_PRIOR_FUNCS" = 1; then
32110 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32111
32112 else
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32114 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32115 fi
32116
32117 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32118 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32119 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32120
32121 else
32122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32123 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32124 fi
32125
32126
32127 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32128 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32129 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32130
32131 else
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32133 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32134 fi
32135
32136
32137 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32138 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32139 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32140
32141 fi
32142
32143
32144
32145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32146 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32147 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32148 $as_echo_n "(cached) " >&6
32149 else
32150
32151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32152 /* end confdefs.h. */
32153 #include <pthread.h>
32154 int
32155 main ()
32156 {
32157
32158 pthread_mutexattr_t attr;
32159 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32160
32161 ;
32162 return 0;
32163 }
32164 _ACEOF
32165 if ac_fn_c_try_compile "$LINENO"; then :
32166 wx_cv_type_pthread_mutexattr_t=yes
32167 else
32168 wx_cv_type_pthread_mutexattr_t=no
32169
32170 fi
32171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32172
32173 fi
32174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32175 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32176
32177 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32178 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32179
32180
32181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32182 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32183 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32184 $as_echo_n "(cached) " >&6
32185 else
32186
32187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32188 /* end confdefs.h. */
32189 #include <pthread.h>
32190 int
32191 main ()
32192 {
32193
32194 pthread_mutexattr_t attr;
32195 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32196
32197 ;
32198 return 0;
32199 }
32200 _ACEOF
32201 if ac_fn_c_try_compile "$LINENO"; then :
32202 wx_cv_func_pthread_mutexattr_settype_decl=yes
32203 else
32204 wx_cv_func_pthread_mutexattr_settype_decl=no
32205
32206 fi
32207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32208
32209 fi
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32211 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32212 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32213 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32214
32215 fi
32216 else
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32218 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32219 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32220 $as_echo_n "(cached) " >&6
32221 else
32222
32223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32224 /* end confdefs.h. */
32225 #include <pthread.h>
32226 int
32227 main ()
32228 {
32229
32230 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32231
32232 ;
32233 return 0;
32234 }
32235 _ACEOF
32236 if ac_fn_c_try_compile "$LINENO"; then :
32237
32238 wx_cv_type_pthread_rec_mutex_init=yes
32239
32240 else
32241
32242 wx_cv_type_pthread_rec_mutex_init=no
32243
32244
32245 fi
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32247
32248 fi
32249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32250 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32251 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32252 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32253
32254 else
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32256 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32257 fi
32258 fi
32259
32260 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32261 if test "$USE_NETBSD" = 1; then
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32263 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32264 wxUSE_COMPILER_TLS=no
32265 else
32266 wxUSE_COMPILER_TLS=yes
32267 fi
32268 fi
32269
32270 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32272 $as_echo_n "checking for __thread keyword... " >&6; }
32273 if ${wx_cv_cc___thread+:} false; then :
32274 $as_echo_n "(cached) " >&6
32275 else
32276
32277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32278 /* end confdefs.h. */
32279 #include <pthread.h>
32280 int
32281 main ()
32282 {
32283
32284 static __thread int n = 0;
32285 static __thread int *p = 0;
32286
32287 ;
32288 return 0;
32289 }
32290 _ACEOF
32291 if ac_fn_c_try_compile "$LINENO"; then :
32292 wx_cv_cc___thread=yes
32293 else
32294 wx_cv_cc___thread=no
32295
32296 fi
32297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32298
32299
32300 fi
32301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32302 $as_echo "$wx_cv_cc___thread" >&6; }
32303
32304 if test "$wx_cv_cc___thread" = "yes"; then
32305
32306 GXX_VERSION=""
32307
32308
32309
32310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32311 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32312
32313 if test "x$GCC" = "xyes" ; then :
32314
32315 if test -z "" ; then :
32316
32317 ax_gcc_option_test="int main()
32318 {
32319 return 0;
32320 }"
32321
32322 else
32323
32324 ax_gcc_option_test=""
32325
32326 fi
32327
32328 # Dump the test program to file
32329 cat <<EOF > conftest.c
32330 $ax_gcc_option_test
32331 EOF
32332
32333 # Dump back the file to the log, useful for debugging purposes
32334 { ac_try='cat conftest.c 1>&5'
32335 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32336 (eval $ac_try) 2>&5
32337 ac_status=$?
32338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32339 test $ac_status = 0; }; }
32340
32341 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32342 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32343 (eval $ac_try) 2>&5
32344 ac_status=$?
32345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32346 test $ac_status = 0; }; } ; then :
32347
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32349 $as_echo "yes" >&6; }
32350
32351 ax_gcc_version_option=yes
32352
32353
32354 else
32355
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32357 $as_echo "no" >&6; }
32358
32359 ax_gcc_version_option=no
32360
32361
32362 fi
32363
32364 else
32365
32366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32367 $as_echo "no gcc available" >&6; }
32368
32369 fi
32370
32371 if test "x$GXX" = "xyes"; then :
32372
32373 if test "x$ax_gxx_version_option" != "no"; then :
32374
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32376 $as_echo_n "checking gxx version... " >&6; }
32377 if ${ax_cv_gxx_version+:} false; then :
32378 $as_echo_n "(cached) " >&6
32379 else
32380
32381 ax_cv_gxx_version="`$CXX -dumpversion`"
32382 if test "x$ax_cv_gxx_version" = "x"; then :
32383
32384 ax_cv_gxx_version=""
32385
32386 fi
32387
32388 fi
32389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32390 $as_echo "$ax_cv_gxx_version" >&6; }
32391 GXX_VERSION=$ax_cv_gxx_version
32392
32393 fi
32394
32395 fi
32396
32397
32398 if test -n "$ax_cv_gxx_version"; then
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32400 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32401 case "$ax_cv_gxx_version" in
32402 1.* | 2.* | 3.* )
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32404 $as_echo "no, it's broken" >&6; }
32405 wx_cv_cc___thread=no
32406 ;;
32407 *)
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32409 $as_echo "yes, it works" >&6; }
32410 ;;
32411 esac
32412 fi
32413 fi
32414
32415 if test "$wx_cv_cc___thread" = "yes"; then
32416 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32417
32418 fi
32419 fi
32420 fi
32421
32422 else
32423 if test "$wxUSE_THREADS" = "yes" ; then
32424 case "${host}" in
32425 x86_64-*-mingw32* )
32426 ;;
32427 *-*-mingw32* )
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32429 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32430 if ${wx_cv_cflags_mthread+:} false; then :
32431 $as_echo_n "(cached) " >&6
32432 else
32433
32434 CFLAGS_OLD="$CFLAGS"
32435 CFLAGS="-mthreads $CFLAGS"
32436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32437 /* end confdefs.h. */
32438
32439 int
32440 main ()
32441 {
32442
32443 ;
32444 return 0;
32445 }
32446 _ACEOF
32447 if ac_fn_c_try_compile "$LINENO"; then :
32448 wx_cv_cflags_mthread=yes
32449 else
32450 wx_cv_cflags_mthread=no
32451
32452 fi
32453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32454
32455
32456 fi
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32458 $as_echo "$wx_cv_cflags_mthread" >&6; }
32459
32460 if test "$wx_cv_cflags_mthread" = "yes"; then
32461 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32462 LDFLAGS="$LDFLAGS -mthreads"
32463 else
32464 CFLAGS="$CFLAGS_OLD"
32465 fi
32466 ;;
32467 *-pc-os2*emx )
32468 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32469 LDFLAGS="$LDFLAGS -Zmt"
32470 ;;
32471 esac
32472 fi
32473 fi
32474
32475 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32476 if test "x$ac_cv_func_localtime_r" = xyes; then :
32477 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32478
32479 fi
32480
32481 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32482 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32483 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32484
32485 fi
32486
32487
32488
32489
32490 ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32495
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32497 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32498
32499 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32500 $as_echo_n "(cached) " >&6
32501 else
32502
32503
32504 ################################################################
32505
32506 ac_cv_func_which_gethostbyname_r=unknown
32507
32508 #
32509 # ONE ARGUMENT (sanity check)
32510 #
32511
32512 # This should fail, as there is no variant of gethostbyname_r() that takes
32513 # a single argument. If it actually compiles, then we can assume that
32514 # netdb.h is not declaring the function, and the compiler is thereby
32515 # assuming an implicit prototype. In which case, we're out of luck.
32516 #
32517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32518 /* end confdefs.h. */
32519 #include <netdb.h>
32520 int
32521 main ()
32522 {
32523
32524 char *name = "www.gnu.org";
32525 (void)gethostbyname_r(name) /* ; */
32526
32527
32528 ;
32529 return 0;
32530 }
32531 _ACEOF
32532 if ac_fn_c_try_compile "$LINENO"; then :
32533 ac_cv_func_which_gethostbyname_r=no
32534
32535 fi
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537
32538 #
32539 # SIX ARGUMENTS
32540 # (e.g. Linux)
32541 #
32542
32543 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32544
32545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32546 /* end confdefs.h. */
32547 #include <netdb.h>
32548 int
32549 main ()
32550 {
32551
32552 char *name = "www.gnu.org";
32553 struct hostent ret, *retp;
32554 char buf[1024];
32555 int buflen = 1024;
32556 int my_h_errno;
32557 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32558
32559
32560 ;
32561 return 0;
32562 }
32563 _ACEOF
32564 if ac_fn_c_try_compile "$LINENO"; then :
32565 ac_cv_func_which_gethostbyname_r=six
32566
32567 fi
32568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32569
32570 fi
32571
32572 #
32573 # FIVE ARGUMENTS
32574 # (e.g. Solaris)
32575 #
32576
32577 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32578
32579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32580 /* end confdefs.h. */
32581 #include <netdb.h>
32582 int
32583 main ()
32584 {
32585
32586 char *name = "www.gnu.org";
32587 struct hostent ret;
32588 char buf[1024];
32589 int buflen = 1024;
32590 int my_h_errno;
32591 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32592
32593
32594 ;
32595 return 0;
32596 }
32597 _ACEOF
32598 if ac_fn_c_try_compile "$LINENO"; then :
32599 ac_cv_func_which_gethostbyname_r=five
32600
32601 fi
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603
32604 fi
32605
32606 #
32607 # THREE ARGUMENTS
32608 # (e.g. AIX, HP-UX, Tru64)
32609 #
32610
32611 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32612
32613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32614 /* end confdefs.h. */
32615 #include <netdb.h>
32616 int
32617 main ()
32618 {
32619
32620 char *name = "www.gnu.org";
32621 struct hostent ret;
32622 struct hostent_data data;
32623 (void)gethostbyname_r(name, &ret, &data) /* ; */
32624
32625
32626 ;
32627 return 0;
32628 }
32629 _ACEOF
32630 if ac_fn_c_try_compile "$LINENO"; then :
32631 ac_cv_func_which_gethostbyname_r=three
32632
32633 fi
32634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32635
32636 fi
32637
32638 ################################################################
32639
32640
32641 fi
32642
32643 case "$ac_cv_func_which_gethostbyname_r" in
32644 three)
32645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32646 $as_echo "three" >&6; }
32647 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32648
32649 ;;
32650
32651 five)
32652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32653 $as_echo "five" >&6; }
32654 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32655
32656 ;;
32657
32658 six)
32659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32660 $as_echo "six" >&6; }
32661 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32662
32663 ;;
32664
32665 no)
32666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32667 $as_echo "cannot find function declaration in netdb.h" >&6; }
32668 ;;
32669
32670 unknown)
32671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32672 $as_echo "can't tell" >&6; }
32673 ;;
32674
32675 *)
32676 as_fn_error $? "internal error" "$LINENO" 5
32677 ;;
32678 esac
32679
32680 ac_ext=c
32681 ac_cpp='$CPP $CPPFLAGS'
32682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32685
32686
32687
32688 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32689 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32690 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32691 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32692 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32693
32694 fi
32695
32696 fi
32697
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32699 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32700 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32701 $as_echo_n "(cached) " >&6
32702 else
32703
32704 ac_ext=cpp
32705 ac_cpp='$CXXCPP $CPPFLAGS'
32706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32709
32710
32711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32712 /* end confdefs.h. */
32713 #include <netdb.h>
32714 int
32715 main ()
32716 {
32717
32718 char *name;
32719 char *proto;
32720 struct servent *se, *res;
32721 char buffer[2048];
32722 int buflen = 2048;
32723 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32724
32725 ;
32726 return 0;
32727 }
32728 _ACEOF
32729 if ac_fn_cxx_try_compile "$LINENO"; then :
32730 ac_cv_func_which_getservbyname_r=six
32731 else
32732
32733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32734 /* end confdefs.h. */
32735 #include <netdb.h>
32736 int
32737 main ()
32738 {
32739
32740 char *name;
32741 char *proto;
32742 struct servent *se;
32743 char buffer[2048];
32744 int buflen = 2048;
32745 (void) getservbyname_r(name, proto, se, buffer, buflen)
32746
32747 ;
32748 return 0;
32749 }
32750 _ACEOF
32751 if ac_fn_cxx_try_compile "$LINENO"; then :
32752 ac_cv_func_which_getservbyname_r=five
32753 else
32754
32755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32756 /* end confdefs.h. */
32757 #include <netdb.h>
32758 int
32759 main ()
32760 {
32761
32762 char *name;
32763 char *proto;
32764 struct servent *se;
32765 struct servent_data data;
32766 (void) getservbyname_r(name, proto, se, &data);
32767
32768 ;
32769 return 0;
32770 }
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 ac_cv_func_which_getservbyname_r=four
32774 else
32775 ac_cv_func_which_getservbyname_r=no
32776
32777 fi
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779
32780
32781 fi
32782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32783
32784
32785 fi
32786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32787 ac_ext=c
32788 ac_cpp='$CPP $CPPFLAGS'
32789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32792
32793
32794
32795 fi
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32797 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32798
32799 if test $ac_cv_func_which_getservbyname_r = six; then
32800 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32801
32802 elif test $ac_cv_func_which_getservbyname_r = five; then
32803 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32804
32805 elif test $ac_cv_func_which_getservbyname_r = four; then
32806 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32807
32808 fi
32809
32810
32811 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32812 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32813 for ac_func in getservbyname
32814 do :
32815 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32816 if test "x$ac_cv_func_getservbyname" = xyes; then :
32817 cat >>confdefs.h <<_ACEOF
32818 #define HAVE_GETSERVBYNAME 1
32819 _ACEOF
32820 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32821
32822 fi
32823 done
32824
32825 fi
32826
32827 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32828
32829
32830 if test "$wxUSE_THREADS" = "yes"; then
32831 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32832
32833
32834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32835 else
32836 if test "$wx_cv_func_strtok_r" = "yes"; then
32837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32838 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32839 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32840 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32842 $as_echo "yes" >&6; }
32843 else
32844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32845 $as_echo "no" >&6; }
32846 fi
32847 fi
32848 fi
32849
32850 if test "$WXGTK3" = 1 ; then
32851 cat >>confdefs.h <<_ACEOF
32852 #define __WXGTK3__ 1
32853 _ACEOF
32854
32855 WXGTK2=1
32856 fi
32857 if test "$WXGTK2" = 1 ; then
32858 cat >>confdefs.h <<_ACEOF
32859 #define __WXGTK20__ $WXGTK2
32860 _ACEOF
32861
32862 fi
32863
32864 if test "$WXGTK127" = 1 ; then
32865 cat >>confdefs.h <<_ACEOF
32866 #define __WXGTK127__ $WXGTK127
32867 _ACEOF
32868
32869 fi
32870
32871 if test "$WXGPE" = 1 ; then
32872 cat >>confdefs.h <<_ACEOF
32873 #define __WXGPE__ $WXGPE
32874 _ACEOF
32875
32876 fi
32877
32878 DEBUG_CFLAGS=
32879 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32881 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32882 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32883 DEBUG_CFLAGS="-g"
32884 fi
32885
32886 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32887 wxUSE_DEBUG_INFO=yes
32888 if test "$GCC" = yes; then
32889 DEBUG_CFLAGS="-ggdb"
32890 fi
32891 fi
32892
32893 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32894 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32895
32896 if test "$wxUSE_GTK" = 1 ; then
32897 if test "$WXGTK2" = 1 ; then
32898 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32899 else
32900 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32901 fi
32902 fi
32903 fi
32904
32905 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32906 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32907
32908 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32909
32910 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32911
32912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32913 fi
32914
32915 if test "$wxUSE_DMALLOC" = "yes" ; then
32916 DMALLOC_LIBS="-ldmallocthcxx"
32917 fi
32918
32919 PROFILE_FLAGS=
32920 if test "$wxUSE_PROFILE" = "yes" ; then
32921 PROFILE_FLAGS=" -pg"
32922 fi
32923
32924 if test "$GCC" = "yes" ; then
32925 if test "$wxUSE_NO_RTTI" = "yes" ; then
32926 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32927 fi
32928 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32929 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32930 fi
32931 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32932 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32933 fi
32934
32935 case "${host}" in
32936 powerpc*-*-aix* )
32937 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32938 ;;
32939 *-hppa* )
32940 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32941 ;;
32942 esac
32943 fi
32944
32945 OPTIMISE_CFLAGS=
32946 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32948 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32949 else
32950 if test "$wxUSE_OPTIMISE" = "no" ; then
32951 if test "$GCC" = yes ; then
32952 OPTIMISE_CFLAGS="-O0"
32953 fi
32954 else
32955 if test "$GCC" = yes ; then
32956 case "${host}" in
32957 *-pc-os2_emx | *-pc-os2-emx )
32958 OPTIMISE_CFLAGS="-O2"
32959 ;;
32960 *)
32961 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32962 ;;
32963 esac
32964 else
32965 OPTIMISE_CFLAGS="-O"
32966 fi
32967 fi
32968 fi
32969
32970
32971 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32972 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32973
32974
32975 WXWIN_COMPATIBILITY_2_8="yes"
32976 fi
32977
32978 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32979 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32980
32981 fi
32982
32983
32984 if test "$wxUSE_GUI" = "yes"; then
32985 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32986
32987
32988 fi
32989
32990
32991 if test "$wxUSE_UNIX" = "yes"; then
32992 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32993
32994 fi
32995
32996
32997 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32998
32999 HAVE_DL_FUNCS=0
33000 HAVE_SHL_FUNCS=0
33001 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33002 if test "$USE_DOS" = 1; then
33003 HAVE_DL_FUNCS=0
33004 else
33005 for ac_func in dlopen
33006 do :
33007 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
33008 if test "x$ac_cv_func_dlopen" = xyes; then :
33009 cat >>confdefs.h <<_ACEOF
33010 #define HAVE_DLOPEN 1
33011 _ACEOF
33012
33013 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33014
33015 HAVE_DL_FUNCS=1
33016
33017 else
33018
33019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33021 if ${ac_cv_lib_dl_dlopen+:} false; then :
33022 $as_echo_n "(cached) " >&6
33023 else
33024 ac_check_lib_save_LIBS=$LIBS
33025 LIBS="-ldl $LIBS"
33026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33027 /* end confdefs.h. */
33028
33029 /* Override any GCC internal prototype to avoid an error.
33030 Use char because int might match the return type of a GCC
33031 builtin and then its argument prototype would still apply. */
33032 #ifdef __cplusplus
33033 extern "C"
33034 #endif
33035 char dlopen ();
33036 int
33037 main ()
33038 {
33039 return dlopen ();
33040 ;
33041 return 0;
33042 }
33043 _ACEOF
33044 if ac_fn_c_try_link "$LINENO"; then :
33045 ac_cv_lib_dl_dlopen=yes
33046 else
33047 ac_cv_lib_dl_dlopen=no
33048 fi
33049 rm -f core conftest.err conftest.$ac_objext \
33050 conftest$ac_exeext conftest.$ac_ext
33051 LIBS=$ac_check_lib_save_LIBS
33052 fi
33053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33055 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
33056
33057 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33058
33059 HAVE_DL_FUNCS=1
33060 DL_LINK=" -ldl$DL_LINK"
33061
33062 else
33063
33064 for ac_func in shl_load
33065 do :
33066 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33067 if test "x$ac_cv_func_shl_load" = xyes; then :
33068 cat >>confdefs.h <<_ACEOF
33069 #define HAVE_SHL_LOAD 1
33070 _ACEOF
33071
33072 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33073
33074 HAVE_SHL_FUNCS=1
33075
33076 else
33077
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33079 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33080 if ${ac_cv_lib_shl_load_dld+:} false; then :
33081 $as_echo_n "(cached) " >&6
33082 else
33083 ac_check_lib_save_LIBS=$LIBS
33084 LIBS="-lshl_load $LIBS"
33085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33086 /* end confdefs.h. */
33087
33088 /* Override any GCC internal prototype to avoid an error.
33089 Use char because int might match the return type of a GCC
33090 builtin and then its argument prototype would still apply. */
33091 #ifdef __cplusplus
33092 extern "C"
33093 #endif
33094 char dld ();
33095 int
33096 main ()
33097 {
33098 return dld ();
33099 ;
33100 return 0;
33101 }
33102 _ACEOF
33103 if ac_fn_c_try_link "$LINENO"; then :
33104 ac_cv_lib_shl_load_dld=yes
33105 else
33106 ac_cv_lib_shl_load_dld=no
33107 fi
33108 rm -f core conftest.err conftest.$ac_objext \
33109 conftest$ac_exeext conftest.$ac_ext
33110 LIBS=$ac_check_lib_save_LIBS
33111 fi
33112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33113 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33114 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33115
33116 HAVE_SHL_FUNCS=1
33117 DL_LINK=" -ldld$DL_LINK"
33118
33119 fi
33120
33121
33122 fi
33123 done
33124
33125
33126 fi
33127
33128
33129 fi
33130 done
33131
33132
33133 if test "$HAVE_DL_FUNCS" = 1; then
33134 for ac_func in dlerror
33135 do :
33136 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33137 if test "x$ac_cv_func_dlerror" = xyes; then :
33138 cat >>confdefs.h <<_ACEOF
33139 #define HAVE_DLERROR 1
33140 _ACEOF
33141 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33142
33143 else
33144
33145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33146 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33147 if ${ac_cv_lib_dl_dlerror+:} false; then :
33148 $as_echo_n "(cached) " >&6
33149 else
33150 ac_check_lib_save_LIBS=$LIBS
33151 LIBS="-ldl $LIBS"
33152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h. */
33154
33155 /* Override any GCC internal prototype to avoid an error.
33156 Use char because int might match the return type of a GCC
33157 builtin and then its argument prototype would still apply. */
33158 #ifdef __cplusplus
33159 extern "C"
33160 #endif
33161 char dlerror ();
33162 int
33163 main ()
33164 {
33165 return dlerror ();
33166 ;
33167 return 0;
33168 }
33169 _ACEOF
33170 if ac_fn_c_try_link "$LINENO"; then :
33171 ac_cv_lib_dl_dlerror=yes
33172 else
33173 ac_cv_lib_dl_dlerror=no
33174 fi
33175 rm -f core conftest.err conftest.$ac_objext \
33176 conftest$ac_exeext conftest.$ac_ext
33177 LIBS=$ac_check_lib_save_LIBS
33178 fi
33179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33180 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33181 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33182 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33183
33184 fi
33185
33186
33187
33188 fi
33189 done
33190
33191 fi
33192 fi
33193
33194 if test "$USE_DARWIN" = 1; then
33195 HAVE_DL_FUNCS=1
33196 fi
33197
33198 if test "$HAVE_DL_FUNCS" = 0; then
33199 if test "$HAVE_SHL_FUNCS" = 0; then
33200 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33202 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33203 wxUSE_DYNAMIC_LOADER=no
33204 wxUSE_DYNLIB_CLASS=no
33205 else
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33207 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33208 fi
33209 fi
33210 fi
33211 fi
33212 fi
33213
33214 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33215 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33216
33217 fi
33218 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33219 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33220
33221 fi
33222
33223
33224
33225 if test "$wxUSE_PLUGINS" = "yes" ; then
33226 if test "$wxUSE_SHARED" = "no" ; then
33227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33228 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33229 wxUSE_PLUGINS=no
33230 fi
33231 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33233 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33234 wxUSE_PLUGINS=no
33235 fi
33236 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33238 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33239 wxUSE_PLUGINS=no
33240 fi
33241 if test "$wxUSE_PLUGINS" = "yes" ; then
33242 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33243
33244 fi
33245 fi
33246
33247
33248 if test "$wxUSE_FSWATCHER" = "yes"; then
33249 if test "$wxUSE_MSW" != "1"; then
33250 if test "$wxUSE_UNIX" = "yes"; then
33251 for ac_header in sys/inotify.h
33252 do :
33253 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33254 "
33255 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33256 cat >>confdefs.h <<_ACEOF
33257 #define HAVE_SYS_INOTIFY_H 1
33258 _ACEOF
33259
33260 fi
33261
33262 done
33263
33264 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33265 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33266
33267 else
33268 for ac_header in sys/event.h
33269 do :
33270 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33271 "
33272 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33273 cat >>confdefs.h <<_ACEOF
33274 #define HAVE_SYS_EVENT_H 1
33275 _ACEOF
33276
33277 fi
33278
33279 done
33280
33281 if test "$ac_cv_header_sys_event_h" = "yes"; then
33282 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33283
33284 else
33285 wxUSE_FSWATCHER=no
33286 fi
33287 fi
33288 else
33289 wxUSE_FSWATCHER=no
33290 fi
33291 else
33292 if test "$wxUSE_THREADS" != "yes"; then
33293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33294 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33295 wxUSE_FSWATCHER=no
33296 fi
33297 fi
33298
33299 if test "$wxUSE_FSWATCHER" = "yes"; then
33300 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33301
33302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33303 else
33304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33305 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33306 fi
33307 fi
33308
33309
33310 if test "$wxUSE_STL" = "yes"; then
33311 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33312
33313 fi
33314
33315 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33316 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33317
33318 fi
33319
33320 if test "$wxUSE_ANY" = "yes"; then
33321 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33322
33323 fi
33324
33325 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33326 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33327
33328 fi
33329
33330 if test "$wxUSE_TIMER" = "yes"; then
33331 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33332
33333 fi
33334
33335 if test "$USE_UNIX" = 1 ; then
33336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33337 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33338 if ${ac_cv_header_sys_soundcard+:} false; then :
33339 $as_echo_n "(cached) " >&6
33340 else
33341
33342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33343 /* end confdefs.h. */
33344
33345 #include <sys/ioctl.h>
33346 #include <sys/soundcard.h>
33347
33348 int
33349 main ()
33350 {
33351
33352 ioctl(0, SNDCTL_DSP_SPEED, 0);
33353
33354 ;
33355 return 0;
33356 }
33357 _ACEOF
33358 if ac_fn_c_try_link "$LINENO"; then :
33359 ac_cv_header_sys_soundcard=yes
33360 else
33361
33362 saveLibs="$LIBS"
33363 LIBS="$saveLibs -lossaudio"
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366
33367 #include <sys/ioctl.h>
33368 #include <sys/soundcard.h>
33369
33370 int
33371 main ()
33372 {
33373
33374 ioctl(0, SNDCTL_DSP_SPEED, 0);
33375
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 if ac_fn_c_try_link "$LINENO"; then :
33381 ac_cv_header_sys_soundcard=yes
33382 else
33383
33384 LIBS="$saveLibs"
33385 ac_cv_header_sys_soundcard=no
33386
33387
33388 fi
33389 rm -f core conftest.err conftest.$ac_objext \
33390 conftest$ac_exeext conftest.$ac_ext
33391
33392
33393 fi
33394 rm -f core conftest.err conftest.$ac_objext \
33395 conftest$ac_exeext conftest.$ac_ext
33396
33397 fi
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33399 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33400
33401 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33402 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33403
33404 fi
33405 fi
33406
33407 WITH_PLUGIN_SDL=0
33408 if test "$wxUSE_SOUND" = "yes"; then
33409 if test "$USE_UNIX" = 1 ; then
33410 if test "$wxUSE_LIBSDL" != "no"; then
33411
33412 # Check whether --with-sdl-prefix was given.
33413 if test "${with_sdl_prefix+set}" = set; then :
33414 withval=$with_sdl_prefix; sdl_prefix="$withval"
33415 else
33416 sdl_prefix=""
33417 fi
33418
33419
33420 # Check whether --with-sdl-exec-prefix was given.
33421 if test "${with_sdl_exec_prefix+set}" = set; then :
33422 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33423 else
33424 sdl_exec_prefix=""
33425 fi
33426
33427 # Check whether --enable-sdltest was given.
33428 if test "${enable_sdltest+set}" = set; then :
33429 enableval=$enable_sdltest;
33430 else
33431 enable_sdltest=yes
33432 fi
33433
33434
33435 if test x$sdl_exec_prefix != x ; then
33436 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33437 if test x${SDL_CONFIG+set} != xset ; then
33438 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33439 fi
33440 fi
33441 if test x$sdl_prefix != x ; then
33442 sdl_args="$sdl_args --prefix=$sdl_prefix"
33443 if test x${SDL_CONFIG+set} != xset ; then
33444 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33445 fi
33446 fi
33447
33448 if test "x$prefix" != xNONE; then
33449 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33450 fi
33451 # Extract the first word of "sdl-config", so it can be a program name with args.
33452 set dummy sdl-config; ac_word=$2
33453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33454 $as_echo_n "checking for $ac_word... " >&6; }
33455 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33456 $as_echo_n "(cached) " >&6
33457 else
33458 case $SDL_CONFIG in
33459 [\\/]* | ?:[\\/]*)
33460 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33461 ;;
33462 *)
33463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33464 for as_dir in $PATH
33465 do
33466 IFS=$as_save_IFS
33467 test -z "$as_dir" && as_dir=.
33468 for ac_exec_ext in '' $ac_executable_extensions; do
33469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33470 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33472 break 2
33473 fi
33474 done
33475 done
33476 IFS=$as_save_IFS
33477
33478 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33479 ;;
33480 esac
33481 fi
33482 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33483 if test -n "$SDL_CONFIG"; then
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33485 $as_echo "$SDL_CONFIG" >&6; }
33486 else
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33488 $as_echo "no" >&6; }
33489 fi
33490
33491
33492 min_sdl_version=1.2.0
33493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33494 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33495 no_sdl=""
33496 if test "$SDL_CONFIG" = "no" ; then
33497 no_sdl=yes
33498 else
33499 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33500 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33501
33502 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33504 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33506 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33508 if test "x$enable_sdltest" = "xyes" ; then
33509 ac_save_CFLAGS="$CFLAGS"
33510 ac_save_CXXFLAGS="$CXXFLAGS"
33511 ac_save_LIBS="$LIBS"
33512 CFLAGS="$CFLAGS $SDL_CFLAGS"
33513 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33514 LIBS="$LIBS $SDL_LIBS"
33515 rm -f conf.sdltest
33516 if test "$cross_compiling" = yes; then :
33517 echo $ac_n "cross compiling; assumed OK... $ac_c"
33518 else
33519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33520 /* end confdefs.h. */
33521
33522 #include <stdio.h>
33523 #include <stdlib.h>
33524 #include <string.h>
33525 #include "SDL.h"
33526
33527 char*
33528 my_strdup (char *str)
33529 {
33530 char *new_str;
33531
33532 if (str)
33533 {
33534 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33535 strcpy (new_str, str);
33536 }
33537 else
33538 new_str = NULL;
33539
33540 return new_str;
33541 }
33542
33543 int main (int argc, char *argv[])
33544 {
33545 int major, minor, micro;
33546 char *tmp_version;
33547
33548 /* This hangs on some systems (?)
33549 system ("touch conf.sdltest");
33550 */
33551 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33552
33553 /* HP/UX 9 (%@#!) writes to sscanf strings */
33554 tmp_version = my_strdup("$min_sdl_version");
33555 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33556 printf("%s, bad version string\n", "$min_sdl_version");
33557 exit(1);
33558 }
33559
33560 if (($sdl_major_version > major) ||
33561 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33562 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33563 {
33564 return 0;
33565 }
33566 else
33567 {
33568 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33569 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33570 printf("*** best to upgrade to the required version.\n");
33571 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33572 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33573 printf("*** config.cache before re-running configure\n");
33574 return 1;
33575 }
33576 }
33577
33578
33579 _ACEOF
33580 if ac_fn_c_try_run "$LINENO"; then :
33581
33582 else
33583 no_sdl=yes
33584 fi
33585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33586 conftest.$ac_objext conftest.beam conftest.$ac_ext
33587 fi
33588
33589 CFLAGS="$ac_save_CFLAGS"
33590 CXXFLAGS="$ac_save_CXXFLAGS"
33591 LIBS="$ac_save_LIBS"
33592 fi
33593 fi
33594 if test "x$no_sdl" = x ; then
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33596 $as_echo "yes" >&6; }
33597
33598 EXTRALIBS_SDL="$SDL_LIBS"
33599 CFLAGS="$SDL_CFLAGS $CFLAGS"
33600 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33601 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33602
33603
33604 else
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33606 $as_echo "no" >&6; }
33607 if test "$SDL_CONFIG" = "no" ; then
33608 echo "*** The sdl-config script installed by SDL could not be found"
33609 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33610 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33611 echo "*** full path to sdl-config."
33612 else
33613 if test -f conf.sdltest ; then
33614 :
33615 else
33616 echo "*** Could not run SDL test program, checking why..."
33617 CFLAGS="$CFLAGS $SDL_CFLAGS"
33618 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33619 LIBS="$LIBS $SDL_LIBS"
33620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33621 /* end confdefs.h. */
33622
33623 #include <stdio.h>
33624 #include "SDL.h"
33625
33626 int main(int argc, char *argv[])
33627 { return 0; }
33628 #undef main
33629 #define main K_and_R_C_main
33630
33631 int
33632 main ()
33633 {
33634 return 0;
33635 ;
33636 return 0;
33637 }
33638 _ACEOF
33639 if ac_fn_c_try_link "$LINENO"; then :
33640 echo "*** The test program compiled, but did not run. This usually means"
33641 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33642 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33645 echo "*** is required on your system"
33646 echo "***"
33647 echo "*** If you have an old version installed, it is best to remove it, although"
33648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33649 else
33650 echo "*** The test program failed to compile or link. See the file config.log for the"
33651 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33652 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33653 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext \
33656 conftest$ac_exeext conftest.$ac_ext
33657 CFLAGS="$ac_save_CFLAGS"
33658 CXXFLAGS="$ac_save_CXXFLAGS"
33659 LIBS="$ac_save_LIBS"
33660 fi
33661 fi
33662 SDL_CFLAGS=""
33663 SDL_LIBS=""
33664 wxUSE_LIBSDL="no"
33665 fi
33666
33667
33668 rm -f conf.sdltest
33669
33670 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33671 WITH_PLUGIN_SDL=1
33672 fi
33673 fi
33674 fi
33675 fi
33676
33677 if test "$wxUSE_SOUND" = "yes"; then
33678 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33679
33680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33681 fi
33682
33683 if test "$WXGTK2" = 1; then
33684
33685
33686 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33687 if test -n "$ac_tool_prefix"; then
33688 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33689 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33691 $as_echo_n "checking for $ac_word... " >&6; }
33692 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33693 $as_echo_n "(cached) " >&6
33694 else
33695 case $PKG_CONFIG in
33696 [\\/]* | ?:[\\/]*)
33697 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33698 ;;
33699 *)
33700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33701 for as_dir in $PATH
33702 do
33703 IFS=$as_save_IFS
33704 test -z "$as_dir" && as_dir=.
33705 for ac_exec_ext in '' $ac_executable_extensions; do
33706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33707 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33709 break 2
33710 fi
33711 done
33712 done
33713 IFS=$as_save_IFS
33714
33715 ;;
33716 esac
33717 fi
33718 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33719 if test -n "$PKG_CONFIG"; then
33720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33721 $as_echo "$PKG_CONFIG" >&6; }
33722 else
33723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33724 $as_echo "no" >&6; }
33725 fi
33726
33727
33728 fi
33729 if test -z "$ac_cv_path_PKG_CONFIG"; then
33730 ac_pt_PKG_CONFIG=$PKG_CONFIG
33731 # Extract the first word of "pkg-config", so it can be a program name with args.
33732 set dummy pkg-config; ac_word=$2
33733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33734 $as_echo_n "checking for $ac_word... " >&6; }
33735 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33736 $as_echo_n "(cached) " >&6
33737 else
33738 case $ac_pt_PKG_CONFIG in
33739 [\\/]* | ?:[\\/]*)
33740 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33741 ;;
33742 *)
33743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33744 for as_dir in $PATH
33745 do
33746 IFS=$as_save_IFS
33747 test -z "$as_dir" && as_dir=.
33748 for ac_exec_ext in '' $ac_executable_extensions; do
33749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33750 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33752 break 2
33753 fi
33754 done
33755 done
33756 IFS=$as_save_IFS
33757
33758 ;;
33759 esac
33760 fi
33761 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33762 if test -n "$ac_pt_PKG_CONFIG"; then
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33764 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33765 else
33766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33767 $as_echo "no" >&6; }
33768 fi
33769
33770 if test "x$ac_pt_PKG_CONFIG" = x; then
33771 PKG_CONFIG=""
33772 else
33773 case $cross_compiling:$ac_tool_warned in
33774 yes:)
33775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33777 ac_tool_warned=yes ;;
33778 esac
33779 PKG_CONFIG=$ac_pt_PKG_CONFIG
33780 fi
33781 else
33782 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33783 fi
33784
33785 fi
33786 if test -n "$PKG_CONFIG"; then
33787 _pkg_min_version=0.9.0
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33789 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33790 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33792 $as_echo "yes" >&6; }
33793 else
33794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33795 $as_echo "no" >&6; }
33796 PKG_CONFIG=""
33797 fi
33798
33799 fi
33800
33801 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33802
33803 if test "$wxUSE_GTKPRINT" = "yes" ; then
33804 if test "$WXGTK3" = 1; then
33805 gtk_unix_print="gtk+-unix-print-3.0"
33806 else
33807 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33808 fi
33809
33810 pkg_failed=no
33811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33812 $as_echo_n "checking for GTKPRINT... " >&6; }
33813
33814 if test -n "$PKG_CONFIG"; then
33815 if test -n "$GTKPRINT_CFLAGS"; then
33816 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33817 else
33818 if test -n "$PKG_CONFIG" && \
33819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33820 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33821 ac_status=$?
33822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33823 test $ac_status = 0; }; then
33824 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33825 else
33826 pkg_failed=yes
33827 fi
33828 fi
33829 else
33830 pkg_failed=untried
33831 fi
33832 if test -n "$PKG_CONFIG"; then
33833 if test -n "$GTKPRINT_LIBS"; then
33834 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33835 else
33836 if test -n "$PKG_CONFIG" && \
33837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33838 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33839 ac_status=$?
33840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33841 test $ac_status = 0; }; then
33842 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33843 else
33844 pkg_failed=yes
33845 fi
33846 fi
33847 else
33848 pkg_failed=untried
33849 fi
33850
33851
33852
33853 if test $pkg_failed = yes; then
33854
33855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33856 _pkg_short_errors_supported=yes
33857 else
33858 _pkg_short_errors_supported=no
33859 fi
33860 if test $_pkg_short_errors_supported = yes; then
33861 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33862 else
33863 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33864 fi
33865 # Put the nasty error message in config.log where it belongs
33866 echo "$GTKPRINT_PKG_ERRORS" >&5
33867
33868
33869 { $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
33870 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33871 wxUSE_GTKPRINT="no"
33872
33873
33874 elif test $pkg_failed = untried; then
33875
33876 { $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
33877 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33878 wxUSE_GTKPRINT="no"
33879
33880
33881 else
33882 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33883 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33885 $as_echo "yes" >&6; }
33886
33887 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33888 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33889 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33890
33891
33892 fi
33893 fi
33894
33895 if test "$WXGTK3" = 1; then
33896 wxUSE_LIBGNOMEPRINT=no
33897 fi
33898
33899 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33900
33901
33902 pkg_failed=no
33903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33904 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33905
33906 if test -n "$PKG_CONFIG"; then
33907 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33908 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33909 else
33910 if test -n "$PKG_CONFIG" && \
33911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33912 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33913 ac_status=$?
33914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33915 test $ac_status = 0; }; then
33916 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33917 else
33918 pkg_failed=yes
33919 fi
33920 fi
33921 else
33922 pkg_failed=untried
33923 fi
33924 if test -n "$PKG_CONFIG"; then
33925 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33926 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33927 else
33928 if test -n "$PKG_CONFIG" && \
33929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33930 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33931 ac_status=$?
33932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33933 test $ac_status = 0; }; then
33934 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33935 else
33936 pkg_failed=yes
33937 fi
33938 fi
33939 else
33940 pkg_failed=untried
33941 fi
33942
33943
33944
33945 if test $pkg_failed = yes; then
33946
33947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33948 _pkg_short_errors_supported=yes
33949 else
33950 _pkg_short_errors_supported=no
33951 fi
33952 if test $_pkg_short_errors_supported = yes; then
33953 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33954 else
33955 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33956 fi
33957 # Put the nasty error message in config.log where it belongs
33958 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33959
33960
33961 if test "$wxUSE_GTKPRINT" = yes; then
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33963 $as_echo "no" >&6; }
33964 else
33965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33966 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33967 fi
33968 wxUSE_LIBGNOMEPRINT="no"
33969
33970
33971 elif test $pkg_failed = untried; then
33972
33973 if test "$wxUSE_GTKPRINT" = yes; then
33974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33975 $as_echo "no" >&6; }
33976 else
33977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33978 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33979 fi
33980 wxUSE_LIBGNOMEPRINT="no"
33981
33982
33983 else
33984 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33985 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33987 $as_echo "yes" >&6; }
33988
33989 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33990 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33991 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33992
33993
33994 fi
33995 fi
33996 fi
33997
33998 if test "$wxUSE_MIMETYPE" = "yes" ; then
33999 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34000
34001
34002 pkg_failed=no
34003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34004 $as_echo_n "checking for GNOMEVFS... " >&6; }
34005
34006 if test -n "$PKG_CONFIG"; then
34007 if test -n "$GNOMEVFS_CFLAGS"; then
34008 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
34009 else
34010 if test -n "$PKG_CONFIG" && \
34011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34012 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34013 ac_status=$?
34014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34015 test $ac_status = 0; }; then
34016 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34017 else
34018 pkg_failed=yes
34019 fi
34020 fi
34021 else
34022 pkg_failed=untried
34023 fi
34024 if test -n "$PKG_CONFIG"; then
34025 if test -n "$GNOMEVFS_LIBS"; then
34026 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
34027 else
34028 if test -n "$PKG_CONFIG" && \
34029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34030 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34031 ac_status=$?
34032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34033 test $ac_status = 0; }; then
34034 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34035 else
34036 pkg_failed=yes
34037 fi
34038 fi
34039 else
34040 pkg_failed=untried
34041 fi
34042
34043
34044
34045 if test $pkg_failed = yes; then
34046
34047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34048 _pkg_short_errors_supported=yes
34049 else
34050 _pkg_short_errors_supported=no
34051 fi
34052 if test $_pkg_short_errors_supported = yes; then
34053 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34054 else
34055 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34056 fi
34057 # Put the nasty error message in config.log where it belongs
34058 echo "$GNOMEVFS_PKG_ERRORS" >&5
34059
34060
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34062 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34063 wxUSE_LIBGNOMEVFS="no"
34064
34065
34066 elif test $pkg_failed = untried; then
34067
34068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34069 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34070 wxUSE_LIBGNOMEVFS="no"
34071
34072
34073 else
34074 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34075 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34077 $as_echo "yes" >&6; }
34078
34079 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34080 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34081 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34082
34083
34084 fi
34085 fi
34086 fi
34087
34088 if test "$wxUSE_LIBHILDON" = "yes" ; then
34089
34090 pkg_failed=no
34091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34092 $as_echo_n "checking for HILDON... " >&6; }
34093
34094 if test -n "$PKG_CONFIG"; then
34095 if test -n "$HILDON_CFLAGS"; then
34096 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34097 else
34098 if test -n "$PKG_CONFIG" && \
34099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34100 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34101 ac_status=$?
34102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34103 test $ac_status = 0; }; then
34104 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34105 else
34106 pkg_failed=yes
34107 fi
34108 fi
34109 else
34110 pkg_failed=untried
34111 fi
34112 if test -n "$PKG_CONFIG"; then
34113 if test -n "$HILDON_LIBS"; then
34114 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34115 else
34116 if test -n "$PKG_CONFIG" && \
34117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34118 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34119 ac_status=$?
34120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34121 test $ac_status = 0; }; then
34122 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34123 else
34124 pkg_failed=yes
34125 fi
34126 fi
34127 else
34128 pkg_failed=untried
34129 fi
34130
34131
34132
34133 if test $pkg_failed = yes; then
34134
34135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34136 _pkg_short_errors_supported=yes
34137 else
34138 _pkg_short_errors_supported=no
34139 fi
34140 if test $_pkg_short_errors_supported = yes; then
34141 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34142 else
34143 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34144 fi
34145 # Put the nasty error message in config.log where it belongs
34146 echo "$HILDON_PKG_ERRORS" >&5
34147
34148
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34150 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34151 wxUSE_LIBHILDON="no"
34152 ac_hildon_lgpl=0
34153
34154
34155 elif test $pkg_failed = untried; then
34156
34157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34158 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34159 wxUSE_LIBHILDON="no"
34160 ac_hildon_lgpl=0
34161
34162
34163 else
34164 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34165 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34167 $as_echo "yes" >&6; }
34168
34169 EXTRALIBS_HILDON="$HILDON_LIBS"
34170 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34171 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34172 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34173
34174 ac_hildon_lgpl=1
34175
34176 fi
34177
34178 if test "$ac_hildon_lgpl" = 0 ; then
34179
34180 pkg_failed=no
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34182 $as_echo_n "checking for HILDON2... " >&6; }
34183
34184 if test -n "$PKG_CONFIG"; then
34185 if test -n "$HILDON2_CFLAGS"; then
34186 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34187 else
34188 if test -n "$PKG_CONFIG" && \
34189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34190 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 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_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 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 "$HILDON2_LIBS"; then
34204 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34205 else
34206 if test -n "$PKG_CONFIG" && \
34207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34208 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 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_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 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 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34232 else
34233 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34234 fi
34235 # Put the nasty error message in config.log where it belongs
34236 echo "$HILDON2_PKG_ERRORS" >&5
34237
34238
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34240 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34241 wxUSE_LIBHILDON2="no"
34242
34243
34244 elif test $pkg_failed = untried; then
34245
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34247 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34248 wxUSE_LIBHILDON2="no"
34249
34250
34251 else
34252 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34253 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34255 $as_echo "yes" >&6; }
34256
34257 EXTRALIBS_HILDON="$HILDON2_LIBS"
34258 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34259 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34260 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34261
34262
34263 fi
34264 fi
34265 fi
34266 fi
34267
34268 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34269 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34270
34271 fi
34272
34273 if test "$wxUSE_STOPWATCH" = "yes"; then
34274 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34275
34276 fi
34277
34278 if test "$wxUSE_DATETIME" = "yes"; then
34279 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34280
34281 fi
34282
34283 if test "$wxUSE_FILE" = "yes"; then
34284 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34285
34286 fi
34287
34288 if test "$wxUSE_FFILE" = "yes"; then
34289 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34290
34291 fi
34292
34293 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34294 if test "$wxUSE_STREAMS" != yes; then
34295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34296 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34297 wxUSE_ARCHIVE_STREAMS=no
34298 else
34299 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34300
34301 fi
34302 fi
34303
34304 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34305 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34307 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34308 elif test "$wxUSE_ZLIB" = "no"; then
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34310 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34311 else
34312 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34313
34314 fi
34315 fi
34316
34317 if test "$wxUSE_TARSTREAM" = "yes"; then
34318 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34320 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34321 else
34322 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34323
34324 fi
34325 fi
34326
34327 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34328 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34329
34330 fi
34331
34332 if test "$wxUSE_FILESYSTEM" = "yes"; then
34333 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34335 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34336 wxUSE_FILESYSTEM=no
34337 else
34338 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34339
34340 fi
34341 fi
34342
34343 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34344 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34346 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34347 else
34348 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34349
34350 fi
34351 fi
34352
34353 if test "$wxUSE_FS_ZIP" = "yes"; then
34354 if test "$wxUSE_FS_ARCHIVE" != yes; then
34355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34356 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34357 else
34358 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34359
34360 fi
34361 fi
34362
34363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34364 if test "$USE_UNIX" != 1; then
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34366 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34367 wxUSE_ON_FATAL_EXCEPTION=no
34368 else
34369 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34370
34371 fi
34372 fi
34373
34374 if test "$wxUSE_STACKWALKER" = "yes"; then
34375 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34376
34377 fi
34378
34379 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34380 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34382 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34383 wxUSE_DEBUGREPORT=no
34384 else
34385 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34386
34387 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34389 fi
34390 fi
34391 fi
34392
34393 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34394 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34395
34396 fi
34397
34398 if test "$wxUSE_BUSYINFO" = "yes"; then
34399 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34400
34401 fi
34402
34403 if test "$wxUSE_HOTKEY" = "yes"; then
34404 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34406 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34407 wxUSE_HOTKEY=no
34408 fi
34409 elif test "$wxUSE_HOTKEY" = "auto"; then
34410 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34411 wxUSE_HOTKEY=yes
34412 fi
34413 fi
34414 if test "$wxUSE_HOTKEY" = "yes"; then
34415 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34416
34417 fi
34418
34419 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34420 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34421
34422 fi
34423
34424 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34425 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34426
34427 fi
34428
34429 if test "$wxUSE_STD_STRING" = "yes"; then
34430 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34431
34432 fi
34433
34434 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34435 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34436
34437 fi
34438
34439 if test "$wxUSE_STDPATHS" = "yes"; then
34440 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34441
34442 fi
34443
34444 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34445 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34446
34447 fi
34448
34449 if test "$wxUSE_TEXTFILE" = "yes"; then
34450 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34452 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34453 else
34454 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34455
34456 fi
34457 fi
34458
34459 if test "$wxUSE_CONFIG" = "yes" ; then
34460 if test "$wxUSE_TEXTFILE" != "yes"; then
34461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34462 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34463 else
34464 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34465
34466 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34467
34468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34469 fi
34470 fi
34471
34472 if test "$wxUSE_INTL" = "yes" ; then
34473 if test "$wxUSE_FILE" != "yes"; then
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34475 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34476 else
34477 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34478
34479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34480 GUIDIST="$GUIDIST INTL_DIST"
34481 fi
34482 fi
34483
34484 if test "$wxUSE_XLOCALE" = "yes" ; then
34485 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34486
34487 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34488 #include <locale.h>
34489 "
34490 if test "x$ac_cv_type_locale_t" = xyes; then :
34491
34492 cat >>confdefs.h <<_ACEOF
34493 #define HAVE_LOCALE_T 1
34494 _ACEOF
34495
34496
34497 fi
34498
34499 fi
34500
34501 if test "$wxUSE_LOG" = "yes"; then
34502 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34503
34504
34505 if test "$wxUSE_LOGGUI" = "yes"; then
34506 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34507
34508 fi
34509
34510 if test "$wxUSE_LOGWINDOW" = "yes"; then
34511 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34512
34513 fi
34514
34515 if test "$wxUSE_LOGDIALOG" = "yes"; then
34516 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34517
34518 fi
34519
34520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34521 fi
34522
34523 if test "$wxUSE_LONGLONG" = "yes"; then
34524 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34525
34526 fi
34527
34528 if test "$wxUSE_GEOMETRY" = "yes"; then
34529 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34530
34531 fi
34532
34533 if test "$wxUSE_BASE64" = "yes"; then
34534 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34535
34536 fi
34537
34538 if test "$wxUSE_STREAMS" = "yes" ; then
34539 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34540
34541 fi
34542
34543 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34544 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34545
34546 fi
34547
34548 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34549 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34550
34551 fi
34552
34553
34554 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34555 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34556
34557
34558 if test "$wxUSE_UNIX" = "yes"; then
34559 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34560 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34561
34562 fi
34563
34564 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34565 for ac_header in sys/epoll.h
34566 do :
34567 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34568 "
34569 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34570 cat >>confdefs.h <<_ACEOF
34571 #define HAVE_SYS_EPOLL_H 1
34572 _ACEOF
34573
34574 fi
34575
34576 done
34577
34578 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34579 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34580
34581 else
34582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34583 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34584 fi
34585 fi
34586 fi
34587 fi
34588
34589
34590 for ac_func in gettimeofday ftime
34591 do :
34592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34595 cat >>confdefs.h <<_ACEOF
34596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34597 _ACEOF
34598 break
34599 fi
34600 done
34601
34602
34603 if test "$ac_cv_func_gettimeofday" = "yes"; then
34604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34605 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34606 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34607 $as_echo_n "(cached) " >&6
34608 else
34609
34610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34611 /* end confdefs.h. */
34612
34613 #include <sys/time.h>
34614 #include <unistd.h>
34615
34616 int
34617 main ()
34618 {
34619
34620 struct timeval tv;
34621 gettimeofday(&tv, NULL);
34622
34623 ;
34624 return 0;
34625 }
34626 _ACEOF
34627 if ac_fn_c_try_compile "$LINENO"; then :
34628 wx_cv_func_gettimeofday_has_2_args=yes
34629 else
34630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34631 /* end confdefs.h. */
34632
34633 #include <sys/time.h>
34634 #include <unistd.h>
34635
34636 int
34637 main ()
34638 {
34639
34640 struct timeval tv;
34641 gettimeofday(&tv);
34642
34643 ;
34644 return 0;
34645 }
34646 _ACEOF
34647 if ac_fn_c_try_compile "$LINENO"; then :
34648 wx_cv_func_gettimeofday_has_2_args=no
34649 else
34650
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34652 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34653 wx_cv_func_gettimeofday_has_2_args=unknown
34654
34655
34656 fi
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658
34659 fi
34660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661
34662 fi
34663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34664 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34665
34666 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34667 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34668
34669 fi
34670 fi
34671
34672 if test "$wxUSE_DATETIME" = "yes"; then
34673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34674 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34675 if ${wx_cv_var_timezone+:} false; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34678
34679 ac_ext=cpp
34680 ac_cpp='$CXXCPP $CPPFLAGS'
34681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34684
34685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34686 /* end confdefs.h. */
34687
34688 #include <time.h>
34689
34690 int
34691 main ()
34692 {
34693
34694 int tz;
34695 tz = timezone;
34696
34697 ;
34698 return 0;
34699 }
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702
34703 wx_cv_var_timezone=timezone
34704
34705 else
34706
34707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34708 /* end confdefs.h. */
34709
34710 #include <time.h>
34711
34712 int
34713 main ()
34714 {
34715
34716 int tz;
34717 tz = _timezone;
34718
34719 ;
34720 return 0;
34721 }
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724
34725 wx_cv_var_timezone=_timezone
34726
34727 else
34728
34729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34730 /* end confdefs.h. */
34731
34732 #include <time.h>
34733
34734 int
34735 main ()
34736 {
34737
34738 int tz;
34739 tz = __timezone;
34740
34741 ;
34742 return 0;
34743 }
34744 _ACEOF
34745 if ac_fn_cxx_try_compile "$LINENO"; then :
34746
34747 wx_cv_var_timezone=__timezone
34748
34749 else
34750
34751 if test "$USE_DOS" = 0 ; then
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34753 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34754 fi
34755
34756
34757 fi
34758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34759
34760
34761 fi
34762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34763
34764
34765 fi
34766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34767 ac_ext=c
34768 ac_cpp='$CPP $CPPFLAGS'
34769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34772
34773
34774
34775 fi
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34777 $as_echo "$wx_cv_var_timezone" >&6; }
34778
34779 if test "x$wx_cv_var_timezone" != x ; then
34780 cat >>confdefs.h <<_ACEOF
34781 #define WX_TIMEZONE $wx_cv_var_timezone
34782 _ACEOF
34783
34784 fi
34785
34786 for ac_func in localtime
34787 do :
34788 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34789 if test "x$ac_cv_func_localtime" = xyes; then :
34790 cat >>confdefs.h <<_ACEOF
34791 #define HAVE_LOCALTIME 1
34792 _ACEOF
34793
34794 fi
34795 done
34796
34797
34798 if test "$ac_cv_func_localtime" = "yes"; then
34799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34800 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34801 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
34802 $as_echo_n "(cached) " >&6
34803 else
34804
34805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34806 /* end confdefs.h. */
34807
34808 #include <time.h>
34809
34810 int
34811 main ()
34812 {
34813
34814 struct tm tm;
34815 tm.tm_gmtoff++;
34816
34817 ;
34818 return 0;
34819 }
34820 _ACEOF
34821 if ac_fn_c_try_compile "$LINENO"; then :
34822
34823 wx_cv_struct_tm_has_gmtoff=yes
34824
34825 else
34826 wx_cv_struct_tm_has_gmtoff=no
34827
34828 fi
34829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34830
34831 fi
34832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34833 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34834 fi
34835
34836 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34837 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34838
34839 fi
34840
34841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34842 fi
34843
34844
34845 if test "$wxUSE_SOCKETS" = "yes"; then
34846 if test "$TOOLKIT" != "MSW"; then
34847 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34848 if test "x$ac_cv_func_socket" = xyes; then :
34849
34850 else
34851
34852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34853 $as_echo_n "checking for socket in -lsocket... " >&6; }
34854 if ${ac_cv_lib_socket_socket+:} false; then :
34855 $as_echo_n "(cached) " >&6
34856 else
34857 ac_check_lib_save_LIBS=$LIBS
34858 LIBS="-lsocket $LIBS"
34859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34860 /* end confdefs.h. */
34861
34862 /* Override any GCC internal prototype to avoid an error.
34863 Use char because int might match the return type of a GCC
34864 builtin and then its argument prototype would still apply. */
34865 #ifdef __cplusplus
34866 extern "C"
34867 #endif
34868 char socket ();
34869 int
34870 main ()
34871 {
34872 return socket ();
34873 ;
34874 return 0;
34875 }
34876 _ACEOF
34877 if ac_fn_c_try_link "$LINENO"; then :
34878 ac_cv_lib_socket_socket=yes
34879 else
34880 ac_cv_lib_socket_socket=no
34881 fi
34882 rm -f core conftest.err conftest.$ac_objext \
34883 conftest$ac_exeext conftest.$ac_ext
34884 LIBS=$ac_check_lib_save_LIBS
34885 fi
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34887 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34888 if test "x$ac_cv_lib_socket_socket" = xyes; then :
34889 if test "$INET_LINK" != " -lsocket"; then
34890 INET_LINK="$INET_LINK -lsocket"
34891 fi
34892 else
34893
34894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34895 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34896 wxUSE_SOCKETS=no
34897
34898
34899 fi
34900
34901
34902
34903 fi
34904
34905 fi
34906 fi
34907
34908 if test "$wxUSE_SOCKETS" = "yes" ; then
34909 if test "$TOOLKIT" != "MSW"; then
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34911 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34912 if ${wx_cv_type_getsockname3+:} false; then :
34913 $as_echo_n "(cached) " >&6
34914 else
34915
34916 ac_ext=cpp
34917 ac_cpp='$CXXCPP $CPPFLAGS'
34918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34921
34922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34923 /* end confdefs.h. */
34924
34925 #include <sys/types.h>
34926 #include <sys/socket.h>
34927
34928 int
34929 main ()
34930 {
34931
34932 socklen_t len;
34933 getsockname(0, 0, &len);
34934
34935 ;
34936 return 0;
34937 }
34938 _ACEOF
34939 if ac_fn_cxx_try_compile "$LINENO"; then :
34940 wx_cv_type_getsockname3=socklen_t
34941 else
34942
34943 CFLAGS_OLD="$CFLAGS"
34944 if test "$GCC" = yes ; then
34945 CFLAGS="-Werror $CFLAGS"
34946 fi
34947
34948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34949 /* end confdefs.h. */
34950
34951 #include <sys/types.h>
34952 #include <sys/socket.h>
34953
34954 int
34955 main ()
34956 {
34957
34958 size_t len;
34959 getsockname(0, 0, &len);
34960
34961 ;
34962 return 0;
34963 }
34964 _ACEOF
34965 if ac_fn_cxx_try_compile "$LINENO"; then :
34966 wx_cv_type_getsockname3=size_t
34967 else
34968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34969 /* end confdefs.h. */
34970
34971 #include <sys/types.h>
34972 #include <sys/socket.h>
34973
34974 int
34975 main ()
34976 {
34977
34978 int len;
34979 getsockname(0, 0, &len);
34980
34981 ;
34982 return 0;
34983 }
34984 _ACEOF
34985 if ac_fn_cxx_try_compile "$LINENO"; then :
34986 wx_cv_type_getsockname3=int
34987 else
34988 wx_cv_type_getsockname3=unknown
34989
34990 fi
34991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34992
34993 fi
34994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34995
34996 CFLAGS="$CFLAGS_OLD"
34997
34998
34999 fi
35000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35001 ac_ext=c
35002 ac_cpp='$CPP $CPPFLAGS'
35003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35006
35007
35008 fi
35009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35010 $as_echo "$wx_cv_type_getsockname3" >&6; }
35011
35012 if test "$wx_cv_type_getsockname3" = "unknown"; then
35013 wxUSE_SOCKETS=no
35014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35015 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35016 else
35017 cat >>confdefs.h <<_ACEOF
35018 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35019 _ACEOF
35020
35021 fi
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35023 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35024 if ${wx_cv_type_getsockopt5+:} false; then :
35025 $as_echo_n "(cached) " >&6
35026 else
35027
35028 ac_ext=cpp
35029 ac_cpp='$CXXCPP $CPPFLAGS'
35030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35033
35034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h. */
35036
35037 #include <sys/types.h>
35038 #include <sys/socket.h>
35039
35040 int
35041 main ()
35042 {
35043
35044 socklen_t len;
35045 getsockopt(0, 0, 0, 0, &len);
35046
35047 ;
35048 return 0;
35049 }
35050 _ACEOF
35051 if ac_fn_cxx_try_compile "$LINENO"; then :
35052 wx_cv_type_getsockopt5=socklen_t
35053 else
35054
35055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35056 /* end confdefs.h. */
35057
35058 #include <sys/types.h>
35059 #include <sys/socket.h>
35060
35061 int
35062 main ()
35063 {
35064
35065 size_t len;
35066 getsockopt(0, 0, 0, 0, &len);
35067
35068 ;
35069 return 0;
35070 }
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 wx_cv_type_getsockopt5=size_t
35074 else
35075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35076 /* end confdefs.h. */
35077
35078 #include <sys/types.h>
35079 #include <sys/socket.h>
35080
35081 int
35082 main ()
35083 {
35084
35085 int len;
35086 getsockopt(0, 0, 0, 0, &len);
35087
35088 ;
35089 return 0;
35090 }
35091 _ACEOF
35092 if ac_fn_cxx_try_compile "$LINENO"; then :
35093 wx_cv_type_getsockopt5=int
35094 else
35095 wx_cv_type_getsockopt5=unknown
35096
35097 fi
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35099
35100 fi
35101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102
35103
35104 fi
35105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35106 ac_ext=c
35107 ac_cpp='$CPP $CPPFLAGS'
35108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35111
35112
35113 fi
35114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35115 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35116
35117 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35118 wxUSE_SOCKETS=no
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35120 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35121 else
35122 cat >>confdefs.h <<_ACEOF
35123 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35124 _ACEOF
35125
35126 fi
35127 fi
35128 fi
35129
35130 if test "$wxUSE_SOCKETS" = "yes" ; then
35131 if test "$wxUSE_IPV6" = "yes"; then
35132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35133 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35134 if ${wx_cv_type_sockaddr_in6+:} false; then :
35135 $as_echo_n "(cached) " >&6
35136 else
35137
35138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35139 /* end confdefs.h. */
35140
35141 #include <sys/types.h>
35142 #include <sys/socket.h>
35143 #include <netinet/in.h>
35144
35145 int
35146 main ()
35147 {
35148
35149 struct sockaddr_in6 sa6;
35150
35151 ;
35152 return 0;
35153 }
35154 _ACEOF
35155 if ac_fn_c_try_compile "$LINENO"; then :
35156 wx_cv_type_sockaddr_in6=yes
35157 else
35158 wx_cv_type_sockaddr_in6=no
35159
35160 fi
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162
35163
35164 fi
35165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35166 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35167
35168 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35169 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35170
35171 else
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35173 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35174 fi
35175 fi
35176
35177 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35178
35179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35180 fi
35181
35182 if test "$wxUSE_PROTOCOL" = "yes"; then
35183 if test "$wxUSE_SOCKETS" != "yes"; then
35184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35185 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35186 wxUSE_PROTOCOL=no
35187 fi
35188 fi
35189
35190 if test "$wxUSE_PROTOCOL" = "yes"; then
35191 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35192
35193
35194 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35195 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35196
35197 fi
35198 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35199 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35200
35201 fi
35202 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35203 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35204
35205 fi
35206 else
35207 if test "$wxUSE_FS_INET" = "yes"; then
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35209 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35210 wxUSE_FS_INET="no"
35211 fi
35212 fi
35213
35214 if test "$wxUSE_URL" = "yes"; then
35215 if test "$wxUSE_PROTOCOL" != "yes"; then
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35217 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35218 wxUSE_URL=no
35219 fi
35220 if test "$wxUSE_URL" = "yes"; then
35221 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35222
35223 fi
35224 fi
35225
35226 if test "$wxUSE_VARIANT" = "yes"; then
35227 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35228
35229 fi
35230
35231 if test "$wxUSE_FS_INET" = "yes"; then
35232 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35233
35234 fi
35235
35236
35237 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35238 wxUSE_JOYSTICK=no
35239
35240 if test "$TOOLKIT" = "MSW"; then
35241 wxUSE_JOYSTICK=yes
35242
35243 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35244 if test "$USE_DARWIN" = 1; then
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35246 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35247 ac_ext=cpp
35248 ac_cpp='$CXXCPP $CPPFLAGS'
35249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35252
35253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35254 /* end confdefs.h. */
35255 #include <IOKit/hid/IOHIDLib.h>
35256 int
35257 main ()
35258 {
35259 IOHIDQueueInterface *qi = NULL;
35260 IOHIDCallbackFunction cb = NULL;
35261 qi->setEventCallout(NULL, cb, NULL, NULL);
35262 ;
35263 return 0;
35264 }
35265 _ACEOF
35266 if ac_fn_cxx_try_compile "$LINENO"; then :
35267 wxUSE_JOYSTICK=yes
35268
35269 fi
35270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35271 ac_ext=c
35272 ac_cpp='$CPP $CPPFLAGS'
35273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35276
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35278 $as_echo "$wxUSE_JOYSTICK" >&6; }
35279 fi
35280
35281 else
35282 for ac_header in linux/joystick.h
35283 do :
35284 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35285 "
35286 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35287 cat >>confdefs.h <<_ACEOF
35288 #define HAVE_LINUX_JOYSTICK_H 1
35289 _ACEOF
35290 wxUSE_JOYSTICK=yes
35291 fi
35292
35293 done
35294
35295 fi
35296
35297 if test "$wxUSE_JOYSTICK" = "yes"; then
35298 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35299
35300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35301 else
35302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35303 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35304 fi
35305 fi
35306
35307
35308
35309 if test "$wxUSE_FONTENUM" = "yes" ; then
35310 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35311
35312 fi
35313
35314 if test "$wxUSE_FONTMAP" = "yes" ; then
35315 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35316
35317 fi
35318
35319 if test "$wxUSE_UNICODE" = "yes" ; then
35320 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35321
35322
35323 if test "$USE_WIN32" != 1; then
35324 wxUSE_UNICODE_MSLU=no
35325 fi
35326
35327 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35329 $as_echo_n "checking for main in -lunicows... " >&6; }
35330 if ${ac_cv_lib_unicows_main+:} false; then :
35331 $as_echo_n "(cached) " >&6
35332 else
35333 ac_check_lib_save_LIBS=$LIBS
35334 LIBS="-lunicows $LIBS"
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35337
35338
35339 int
35340 main ()
35341 {
35342 return main ();
35343 ;
35344 return 0;
35345 }
35346 _ACEOF
35347 if ac_fn_c_try_link "$LINENO"; then :
35348 ac_cv_lib_unicows_main=yes
35349 else
35350 ac_cv_lib_unicows_main=no
35351 fi
35352 rm -f core conftest.err conftest.$ac_objext \
35353 conftest$ac_exeext conftest.$ac_ext
35354 LIBS=$ac_check_lib_save_LIBS
35355 fi
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35357 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35358 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35359
35360 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35361
35362
35363 else
35364
35365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35366 Applications will only run on Windows NT/2000/XP!" >&5
35367 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35368 Applications will only run on Windows NT/2000/XP!" >&2;}
35369 wxUSE_UNICODE_MSLU=no
35370
35371 fi
35372
35373 fi
35374 fi
35375
35376 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35377 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35378
35379
35380 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35381 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35382
35383 fi
35384 fi
35385
35386
35387 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35388 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35389
35390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35391 fi
35392
35393 if test "$wxUSE_MDI" = "yes"; then
35394 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35395
35396
35397 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35398 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35399
35400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35401 fi
35402 fi
35403
35404 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35405 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35406
35407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35408 fi
35409
35410 if test "$wxUSE_HELP" = "yes"; then
35411 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35412
35413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35414
35415 if test "$wxUSE_MSW" = 1; then
35416 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35417 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35418
35419 fi
35420 fi
35421
35422 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35423 if test "$wxUSE_HTML" = "yes"; then
35424 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35425
35426 else
35427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35428 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35429 wxUSE_WXHTML_HELP=no
35430 fi
35431 fi
35432 fi
35433
35434 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35435 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35436
35437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35438 fi
35439
35440 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35441 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35442
35443 fi
35444
35445 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35446
35447
35448 if test "$wxUSE_SVG" = "yes"; then
35449 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35450
35451 fi
35452
35453
35454 if test "$wxUSE_METAFILE" = "yes"; then
35455 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35457 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35458 wxUSE_METAFILE=no
35459 fi
35460 elif test "$wxUSE_METAFILE" = "auto"; then
35461 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35462 wxUSE_METAFILE=yes
35463 fi
35464 fi
35465
35466 if test "$wxUSE_METAFILE" = "yes"; then
35467 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35468
35469 if test "$wxUSE_MSW" = 1; then
35470 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35471
35472 fi
35473 fi
35474
35475
35476 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35477 -o "$wxUSE_CLIPBOARD" = "yes" \
35478 -o "$wxUSE_OLE" = "yes" \
35479 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35480 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35481 "
35482 if test "x$ac_cv_header_ole2_h" = xyes; then :
35483
35484 fi
35485
35486
35487
35488 if test "$ac_cv_header_ole2_h" = "yes" ; then
35489 if test "$GCC" = yes ; then
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35491 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35493 /* end confdefs.h. */
35494 #include <windows.h>
35495 #include <ole2.h>
35496 int
35497 main ()
35498 {
35499
35500 ;
35501 return 0;
35502 }
35503 _ACEOF
35504 if ac_fn_c_try_compile "$LINENO"; then :
35505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35506 $as_echo "no" >&6; }
35507 else
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35509 $as_echo "yes" >&6; }
35510 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35511 fi
35512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35513 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35514 if test "$wxUSE_OLE" = "yes" ; then
35515 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35516
35517 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35518
35519 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35520
35521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35522 fi
35523 fi
35524
35525 if test "$wxUSE_DATAOBJ" = "yes" ; then
35526 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35527
35528 fi
35529 else
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35531 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35532
35533 wxUSE_CLIPBOARD=no
35534 wxUSE_DRAG_AND_DROP=no
35535 wxUSE_DATAOBJ=no
35536 wxUSE_OLE=no
35537 fi
35538 fi
35539
35540 if test "$wxUSE_IPC" = "yes"; then
35541 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35543 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35544 wxUSE_IPC=no
35545 fi
35546
35547 if test "$wxUSE_IPC" = "yes"; then
35548 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35549
35550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35551 fi
35552 fi
35553
35554 if test "$wxUSE_DATAOBJ" = "yes"; then
35555 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35556
35557 else
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35559 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35560 wxUSE_CLIPBOARD=no
35561 wxUSE_DRAG_AND_DROP=no
35562 fi
35563
35564 if test "$wxUSE_CLIPBOARD" = "yes"; then
35565 if test "$wxUSE_DFB" = 1; then
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35567 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35568 wxUSE_CLIPBOARD=no
35569 fi
35570
35571 if test "$wxUSE_CLIPBOARD" = "yes"; then
35572 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35573
35574 fi
35575 fi
35576
35577 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35578 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35580 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35581 wxUSE_DRAG_AND_DROP=no
35582 fi
35583
35584 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35585 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35586
35587 fi
35588
35589 fi
35590
35591 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35593 fi
35594
35595 if test "$wxUSE_CLIPBOARD" = "yes"; then
35596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35597 fi
35598
35599 if test "$wxUSE_SPLINES" = "yes" ; then
35600 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35601
35602 fi
35603
35604 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35605 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35606
35607 fi
35608
35609 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35610 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35611
35612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35613 fi
35614
35615 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35616 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35617
35618 fi
35619
35620
35621 USES_CONTROLS=0
35622 if test "$wxUSE_CONTROLS" = "yes"; then
35623 USES_CONTROLS=1
35624 fi
35625
35626 if test "$wxUSE_MARKUP" = "yes"; then
35627 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35628
35629 fi
35630
35631 if test "$wxUSE_ACCEL" = "yes"; then
35632 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35633
35634 USES_CONTROLS=1
35635 fi
35636
35637 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35638 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35639
35640 USES_CONTROLS=1
35641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35642 fi
35643
35644 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35645 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35646
35647 fi
35648
35649 if test "$wxUSE_BUTTON" = "yes"; then
35650 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35651
35652 USES_CONTROLS=1
35653 fi
35654
35655 if test "$wxUSE_BMPBUTTON" = "yes"; then
35656 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35657
35658 USES_CONTROLS=1
35659 fi
35660
35661 if test "$wxUSE_CALCTRL" = "yes"; then
35662 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35663
35664 USES_CONTROLS=1
35665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35666 fi
35667
35668 if test "$wxUSE_CARET" = "yes"; then
35669 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35670
35671 USES_CONTROLS=1
35672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35673 fi
35674
35675 if test "$wxUSE_COLLPANE" = "yes"; then
35676 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35677
35678 USES_CONTROLS=1
35679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35680 fi
35681
35682 if test "$wxUSE_COMBOBOX" = "yes"; then
35683 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35684
35685 USES_CONTROLS=1
35686 fi
35687
35688 if test "$wxUSE_COMBOCTRL" = "yes"; then
35689 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35690
35691 USES_CONTROLS=1
35692 fi
35693
35694 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35695 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35696
35697 USES_CONTROLS=1
35698 fi
35699
35700 if test "$wxUSE_CHOICE" = "yes"; then
35701 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35702
35703 USES_CONTROLS=1
35704 fi
35705
35706 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35707 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35708
35709 USES_CONTROLS=1
35710 fi
35711
35712 if test "$wxUSE_CHECKBOX" = "yes"; then
35713 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35714
35715 USES_CONTROLS=1
35716 fi
35717
35718 if test "$wxUSE_CHECKLST" = "yes"; then
35719 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35720
35721 USES_CONTROLS=1
35722 fi
35723
35724 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35725 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35726
35727 USES_CONTROLS=1
35728 fi
35729
35730 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35731 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35732
35733 USES_CONTROLS=1
35734 fi
35735
35736 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35737 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35738
35739 USES_CONTROLS=1
35740 fi
35741
35742 if test "$wxUSE_FILECTRL" = "yes"; then
35743 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35744
35745 USES_CONTROLS=1
35746 fi
35747
35748 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35749 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35750
35751 USES_CONTROLS=1
35752 fi
35753
35754 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35755 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35756
35757 USES_CONTROLS=1
35758 fi
35759
35760 if test "$wxUSE_DISPLAY" = "yes"; then
35761 if test "$wxUSE_DFB" = 1; then
35762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35763 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35764 wxUSE_DISPLAY=no
35765 else
35766 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35767
35768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35769 fi
35770 fi
35771
35772 if test "$wxUSE_DETECT_SM" = "yes"; then
35773 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35774
35775 fi
35776
35777 if test "$wxUSE_GAUGE" = "yes"; then
35778 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35779
35780 USES_CONTROLS=1
35781 fi
35782
35783 if test "$wxUSE_GRID" = "yes"; then
35784 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35785
35786 USES_CONTROLS=1
35787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35788 fi
35789
35790 if test "$wxUSE_HEADERCTRL" = "yes"; then
35791 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35792
35793 USES_CONTROLS=1
35794 fi
35795
35796 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35797 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35798
35799 USES_CONTROLS=1
35800 fi
35801
35802 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35803 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35804
35805 USES_CONTROLS=1
35806 fi
35807
35808 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35809 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35810
35811 USES_CONTROLS=1
35812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35813 fi
35814
35815 if test "$wxUSE_IMAGLIST" = "yes"; then
35816 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35817
35818 fi
35819
35820 if test "$wxUSE_INFOBAR" = "yes"; then
35821 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35822
35823 fi
35824
35825 if test "$wxUSE_LISTBOOK" = "yes"; then
35826 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35827
35828 USES_CONTROLS=1
35829 fi
35830
35831 if test "$wxUSE_LISTBOX" = "yes"; then
35832 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35833
35834 USES_CONTROLS=1
35835 fi
35836
35837 if test "$wxUSE_LISTCTRL" = "yes"; then
35838 if test "$wxUSE_IMAGLIST" = "yes"; then
35839 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35840
35841 USES_CONTROLS=1
35842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35843 else
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35845 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35846 fi
35847 fi
35848
35849 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35850 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35851
35852 USES_CONTROLS=1
35853 fi
35854
35855 if test "$wxUSE_NOTEBOOK" = "yes"; then
35856 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35857
35858 USES_CONTROLS=1
35859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35860 fi
35861
35862 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35863 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35864
35865 fi
35866
35867 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35868 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35869
35870 USES_CONTROLS=1
35871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35872 fi
35873
35874 if test "$wxUSE_RADIOBOX" = "yes"; then
35875 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35876
35877 USES_CONTROLS=1
35878 fi
35879
35880 if test "$wxUSE_RADIOBTN" = "yes"; then
35881 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35882
35883 USES_CONTROLS=1
35884 fi
35885
35886 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35887 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35888
35889 fi
35890
35891 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35892 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35893
35894 fi
35895
35896 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35897 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35898
35899 fi
35900
35901 if test "$wxUSE_SASH" = "yes"; then
35902 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35903
35904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35905 fi
35906
35907 if test "$wxUSE_SCROLLBAR" = "yes"; then
35908 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35909
35910 USES_CONTROLS=1
35911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35912 fi
35913
35914 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35915 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35916
35917 USES_CONTROLS=1
35918 fi
35919
35920 if test "$wxUSE_SLIDER" = "yes"; then
35921 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35922
35923 USES_CONTROLS=1
35924 fi
35925
35926 if test "$wxUSE_SPINBTN" = "yes"; then
35927 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35928
35929 USES_CONTROLS=1
35930 fi
35931
35932 if test "$wxUSE_SPINCTRL" = "yes"; then
35933 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35934
35935 USES_CONTROLS=1
35936 fi
35937
35938 if test "$wxUSE_SPLITTER" = "yes"; then
35939 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35940
35941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35942 fi
35943
35944 if test "$wxUSE_STATBMP" = "yes"; then
35945 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35946
35947 USES_CONTROLS=1
35948 fi
35949
35950 if test "$wxUSE_STATBOX" = "yes"; then
35951 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35952
35953 USES_CONTROLS=1
35954 fi
35955
35956 if test "$wxUSE_STATTEXT" = "yes"; then
35957 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35958
35959 USES_CONTROLS=1
35960 fi
35961
35962 if test "$wxUSE_STATLINE" = "yes"; then
35963 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35964
35965 USES_CONTROLS=1
35966 fi
35967
35968 if test "$wxUSE_STATUSBAR" = "yes"; then
35969 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35970
35971 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35972
35973 USES_CONTROLS=1
35974
35975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35976 fi
35977
35978 if test "$wxUSE_TEXTCTRL" = "yes"; then
35979 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35980
35981 USES_CONTROLS=1
35982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35983
35984 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35985
35986 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35987
35988 fi
35989
35990 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35991 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35992
35993 USES_CONTROLS=1
35994 fi
35995
35996 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35997 if test "$wxUSE_OLD_COCOA" = 1 ; then
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35999 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36000 wxUSE_TOGGLEBTN=no
36001 fi
36002
36003 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36004 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36005
36006 USES_CONTROLS=1
36007 fi
36008 fi
36009
36010 if test "$wxUSE_TOOLBAR" = "yes"; then
36011 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36012
36013 USES_CONTROLS=1
36014
36015 if test "$wxUSE_UNIVERSAL" = "yes"; then
36016 wxUSE_TOOLBAR_NATIVE="no"
36017 else
36018 wxUSE_TOOLBAR_NATIVE="yes"
36019 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36020
36021 fi
36022
36023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36024 fi
36025
36026 if test "$wxUSE_TOOLTIPS" = "yes"; then
36027 if test "$wxUSE_MOTIF" = 1; then
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36029 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36030 else
36031 if test "$wxUSE_UNIVERSAL" = "yes"; then
36032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36033 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36034 else
36035 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36036
36037 fi
36038 fi
36039 fi
36040
36041 if test "$wxUSE_TREEBOOK" = "yes"; then
36042 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36043
36044 USES_CONTROLS=1
36045 fi
36046
36047 if test "$wxUSE_TOOLBOOK" = "yes"; then
36048 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36049
36050 USES_CONTROLS=1
36051 fi
36052
36053 if test "$wxUSE_TREECTRL" = "yes"; then
36054 if test "$wxUSE_IMAGLIST" = "yes"; then
36055 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36056
36057 USES_CONTROLS=1
36058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36059 else
36060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36061 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36062 fi
36063 fi
36064
36065 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36066 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36067
36068 USES_CONTROLS=1
36069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36070 fi
36071
36072 if test "$wxUSE_POPUPWIN" = "yes"; then
36073 if test "$wxUSE_OLD_COCOA" = 1 ; then
36074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36075 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36076 else
36077 if test "$wxUSE_PM" = 1; then
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36079 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36080 else
36081 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36082
36083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36084
36085 USES_CONTROLS=1
36086 fi
36087 fi
36088 fi
36089
36090 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36091 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36093 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36094 else
36095 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36096
36097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36098 fi
36099 fi
36100
36101 if test "$wxUSE_TIPWINDOW" = "yes"; then
36102 if test "$wxUSE_PM" = 1; then
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36104 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36105 else
36106 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36107
36108 fi
36109 fi
36110
36111 if test "$USES_CONTROLS" = 1; then
36112 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36113
36114 fi
36115
36116
36117 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36118 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36119
36120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36121 fi
36122
36123 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36124 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36125
36126 fi
36127
36128 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36129 if test "$wxUSE_GTK" != 1; then
36130 if test "$wxUSE_LIBPNG" != no -a \
36131 "$wxUSE_IMAGE" = yes -a \
36132 "$wxUSE_STREAMS" = yes; then
36133 wxUSE_ARTPROVIDER_TANGO="yes"
36134 fi
36135 fi
36136 fi
36137
36138 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36139 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36140
36141 fi
36142
36143 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36144 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36145
36146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36147 fi
36148
36149 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36150 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36152 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36153 else
36154 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36155
36156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36157 fi
36158 fi
36159
36160 USE_HTML=0
36161 if test "$wxUSE_HTML" = "yes"; then
36162 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36163
36164 USE_HTML=1
36165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36166 fi
36167 if test "$wxUSE_WEBKIT" = "yes"; then
36168 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36169 old_CPPFLAGS="$CPPFLAGS"
36170 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36171 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36172 #include <Carbon/Carbon.h>
36173 #include <WebKit/WebKit.h>
36174
36175 "
36176 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36177
36178 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36179
36180 WEBKIT_LINK="-framework WebKit"
36181
36182 else
36183
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36185 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36186 wxUSE_WEBKIT=no
36187
36188 fi
36189
36190
36191 CPPFLAGS="$old_CPPFLAGS"
36192 elif test "$wxUSE_OLD_COCOA" = 1; then
36193 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36194
36195 else
36196 wxUSE_WEBKIT=no
36197 fi
36198 if test "$wxUSE_WEBKIT" = "yes"; then
36199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36200 fi
36201 fi
36202
36203 USE_XRC=0
36204 if test "$wxUSE_XRC" = "yes"; then
36205 if test "$wxUSE_XML" != "yes"; then
36206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36207 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36208 wxUSE_XRC=no
36209 else
36210 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36211
36212 USE_XRC=1
36213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36214 fi
36215 fi
36216
36217 USE_AUI=0
36218 if test "$wxUSE_AUI" = "yes"; then
36219 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36220
36221 USE_AUI=1
36222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36223 fi
36224
36225 USE_PROPGRID=0
36226 if test "$wxUSE_PROPGRID" = "yes"; then
36227 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36228
36229 USE_PROPGRID=1
36230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36231 fi
36232
36233 USE_RIBBON=0
36234 if test "$wxUSE_RIBBON" = "yes"; then
36235 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36236
36237 USE_RIBBON=1
36238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36239 fi
36240
36241 USE_STC=0
36242 if test "$wxUSE_STC" = "yes"; then
36243 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36244
36245 USE_STC=1
36246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36247
36248 # Extract the first word of "python", so it can be a program name with args.
36249 set dummy python; ac_word=$2
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36251 $as_echo_n "checking for $ac_word... " >&6; }
36252 if ${ac_cv_path_PYTHON+:} false; then :
36253 $as_echo_n "(cached) " >&6
36254 else
36255 case $PYTHON in
36256 [\\/]* | ?:[\\/]*)
36257 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36258 ;;
36259 *)
36260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36261 for as_dir in $PATH
36262 do
36263 IFS=$as_save_IFS
36264 test -z "$as_dir" && as_dir=.
36265 for ac_exec_ext in '' $ac_executable_extensions; do
36266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36267 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36269 break 2
36270 fi
36271 done
36272 done
36273 IFS=$as_save_IFS
36274
36275 ;;
36276 esac
36277 fi
36278 PYTHON=$ac_cv_path_PYTHON
36279 if test -n "$PYTHON"; then
36280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36281 $as_echo "$PYTHON" >&6; }
36282 else
36283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36284 $as_echo "no" >&6; }
36285 fi
36286
36287
36288 if test "x$PYTHON" = "x"; then
36289 COND_PYTHON="#"
36290 fi
36291
36292 fi
36293
36294 if test "$wxUSE_MENUS" = "yes"; then
36295 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36296
36297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36298 fi
36299
36300 if test "$wxUSE_MIMETYPE" = "yes"; then
36301 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36302
36303 fi
36304
36305 if test "$wxUSE_MINIFRAME" = "yes"; then
36306 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36307
36308 fi
36309
36310 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36311 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36312
36313 fi
36314
36315 if test "$wxUSE_TASKBARICON" = "yes"; then
36316 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36317
36318 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36319
36320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36321 fi
36322
36323
36324 if test "$wxUSE_VALIDATORS" = "yes"; then
36325 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36326
36327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36328 fi
36329
36330 if test "$wxUSE_PALETTE" = "yes" ; then
36331 if test "$wxUSE_DFB" = 1; then
36332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36333 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36334 wxUSE_PALETTE=no
36335 else
36336 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36337
36338 fi
36339 fi
36340
36341 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36342 LIBS=" -lunicows $LIBS"
36343 fi
36344
36345 USE_RICHTEXT=0
36346 if test "$wxUSE_RICHTEXT" = "yes"; then
36347 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36348
36349 USE_RICHTEXT=1
36350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36351 fi
36352
36353 if test "$wxUSE_WEBVIEW" = "yes"; then
36354 USE_WEBVIEW_WEBKIT=0
36355 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36356 if test "$wxUSE_GTK" = 1; then
36357 webkitgtk=webkit-1.0
36358 if test "$WXGTK3" = 1; then
36359 webkitgtk=webkitgtk-3.0
36360 fi
36361
36362 pkg_failed=no
36363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36364 $as_echo_n "checking for WEBKIT... " >&6; }
36365
36366 if test -n "$PKG_CONFIG"; then
36367 if test -n "$WEBKIT_CFLAGS"; then
36368 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36369 else
36370 if test -n "$PKG_CONFIG" && \
36371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36372 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36373 ac_status=$?
36374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36375 test $ac_status = 0; }; then
36376 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36377 else
36378 pkg_failed=yes
36379 fi
36380 fi
36381 else
36382 pkg_failed=untried
36383 fi
36384 if test -n "$PKG_CONFIG"; then
36385 if test -n "$WEBKIT_LIBS"; then
36386 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36387 else
36388 if test -n "$PKG_CONFIG" && \
36389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36390 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36391 ac_status=$?
36392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36393 test $ac_status = 0; }; then
36394 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36395 else
36396 pkg_failed=yes
36397 fi
36398 fi
36399 else
36400 pkg_failed=untried
36401 fi
36402
36403
36404
36405 if test $pkg_failed = yes; then
36406
36407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36408 _pkg_short_errors_supported=yes
36409 else
36410 _pkg_short_errors_supported=no
36411 fi
36412 if test $_pkg_short_errors_supported = yes; then
36413 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36414 else
36415 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36416 fi
36417 # Put the nasty error message in config.log where it belongs
36418 echo "$WEBKIT_PKG_ERRORS" >&5
36419
36420
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36422 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36423
36424 elif test $pkg_failed = untried; then
36425
36426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36427 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36428
36429 else
36430 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36431 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36433 $as_echo "yes" >&6; }
36434
36435 USE_WEBVIEW_WEBKIT=1
36436 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36438
36439 fi
36440 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36441 old_CPPFLAGS="$CPPFLAGS"
36442 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36443 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36444 #include <Carbon/Carbon.h>
36445 #include <WebKit/WebKit.h>
36446
36447 "
36448 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36449
36450 USE_WEBVIEW_WEBKIT=1
36451 WEBKIT_LINK="-framework WebKit"
36452
36453 else
36454
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36456 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36457
36458 fi
36459
36460
36461 CPPFLAGS="$old_CPPFLAGS"
36462 fi
36463 fi
36464
36465 wxUSE_WEBVIEW="no"
36466 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36467 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36468 wxUSE_WEBVIEW="yes"
36469 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36470
36471 else
36472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36473 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36474 fi
36475 elif test "$wxUSE_MSW" = 1; then
36476 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36477 wxUSE_WEBVIEW="yes"
36478 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36479
36480 fi
36481 fi
36482 fi
36483
36484 if test "$wxUSE_WEBVIEW" = "yes"; then
36485 USE_WEBVIEW=1
36486 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36487
36488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36489 else
36490 USE_WEBVIEW=0
36491 fi
36492
36493
36494 if test "$wxUSE_IMAGE" = "yes" ; then
36495 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36496
36497
36498 if test "$wxUSE_GIF" = "yes" ; then
36499 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36500
36501 fi
36502
36503 if test "$wxUSE_PCX" = "yes" ; then
36504 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36505
36506 fi
36507
36508 if test "$wxUSE_TGA" = "yes" ; then
36509 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36510
36511 fi
36512
36513 if test "$wxUSE_IFF" = "yes" ; then
36514 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36515
36516 fi
36517
36518 if test "$wxUSE_PNM" = "yes" ; then
36519 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36520
36521 fi
36522
36523 if test "$wxUSE_XPM" = "yes" ; then
36524 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36525
36526 fi
36527
36528 if test "$wxUSE_ICO_CUR" = "yes" ; then
36529 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36530
36531 fi
36532 fi
36533
36534
36535 if test "$wxUSE_ABOUTDLG" = "yes"; then
36536 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36537
36538 fi
36539
36540 if test "$wxUSE_CHOICEDLG" = "yes"; then
36541 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36542
36543 fi
36544
36545 if test "$wxUSE_COLOURDLG" = "yes"; then
36546 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36547
36548 fi
36549
36550 if test "$wxUSE_FILEDLG" = "yes"; then
36551 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36552
36553 fi
36554
36555 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36556 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36557
36558 fi
36559
36560 if test "$wxUSE_FONTDLG" = "yes"; then
36561 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36562
36563 fi
36564
36565 if test "$wxUSE_DIRDLG" = "yes"; then
36566 if test "$wxUSE_TREECTRL" != "yes"; then
36567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36568 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36569 else
36570 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36571
36572 fi
36573 fi
36574
36575 if test "$wxUSE_MSGDLG" = "yes"; then
36576 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36577
36578 fi
36579
36580 if test "$wxUSE_NUMBERDLG" = "yes"; then
36581 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36582
36583 fi
36584
36585 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36586 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36587
36588 fi
36589
36590 if test "$wxUSE_SPLASH" = "yes"; then
36591 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36592
36593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36594 fi
36595
36596 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36597 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36598
36599 fi
36600
36601 if test "$wxUSE_TEXTDLG" = "yes"; then
36602 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36603
36604 fi
36605
36606 if test "$wxUSE_WIZARDDLG" = "yes"; then
36607 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36608
36609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36610 fi
36611
36612
36613 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36614 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36615 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36616
36617 fi
36618 fi
36619
36620
36621 if test "$wxUSE_MSW" = 1 ; then
36622
36623 if test "$wxUSE_DC_CACHEING" = "yes"; then
36624 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36625
36626 fi
36627
36628 if test "$wxUSE_DIB" = "yes"; then
36629 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36630
36631 fi
36632
36633 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36634 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36635
36636 fi
36637
36638 if test "$wxUSE_UXTHEME" = "yes"; then
36639 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36640
36641 fi
36642
36643 fi
36644
36645 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36646 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36647
36648 fi
36649
36650 if test "$USE_WIN32" = 1 ; then
36651 if test "$wxUSE_INICONF" = "yes"; then
36652 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36653
36654 fi
36655
36656 if test "$wxUSE_REGKEY" = "yes"; then
36657 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36658
36659 fi
36660 fi
36661
36662
36663 if test "$wxUSE_MAC" = 1; then
36664 wxUSE_GRAPHICS_CONTEXT="yes"
36665 fi
36666
36667 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36668 wx_has_graphics=0
36669 if test "$wxUSE_MSW" = 1; then
36670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36671 $as_echo_n "checking if GDI+ is available... " >&6; }
36672 if ${wx_cv_lib_gdiplus+:} false; then :
36673 $as_echo_n "(cached) " >&6
36674 else
36675
36676 ac_ext=cpp
36677 ac_cpp='$CXXCPP $CPPFLAGS'
36678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36681
36682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36683 /* end confdefs.h. */
36684 #include <windows.h>
36685 #include <gdiplus.h>
36686 int
36687 main ()
36688 {
36689
36690 using namespace Gdiplus;
36691
36692 ;
36693 return 0;
36694 }
36695 _ACEOF
36696 if ac_fn_cxx_try_compile "$LINENO"; then :
36697 wx_cv_lib_gdiplus=yes
36698 else
36699 wx_cv_lib_gdiplus=no
36700
36701 fi
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703 ac_ext=c
36704 ac_cpp='$CPP $CPPFLAGS'
36705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36708
36709
36710
36711 fi
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36713 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36714 if test "$wx_cv_lib_gdiplus" = "yes"; then
36715 wx_has_graphics=1
36716 fi
36717 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36718
36719 pkg_failed=no
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36721 $as_echo_n "checking for CAIRO... " >&6; }
36722
36723 if test -n "$PKG_CONFIG"; then
36724 if test -n "$CAIRO_CFLAGS"; then
36725 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36726 else
36727 if test -n "$PKG_CONFIG" && \
36728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36729 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36730 ac_status=$?
36731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36732 test $ac_status = 0; }; then
36733 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36734 else
36735 pkg_failed=yes
36736 fi
36737 fi
36738 else
36739 pkg_failed=untried
36740 fi
36741 if test -n "$PKG_CONFIG"; then
36742 if test -n "$CAIRO_LIBS"; then
36743 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36744 else
36745 if test -n "$PKG_CONFIG" && \
36746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36747 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36748 ac_status=$?
36749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36750 test $ac_status = 0; }; then
36751 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36752 else
36753 pkg_failed=yes
36754 fi
36755 fi
36756 else
36757 pkg_failed=untried
36758 fi
36759
36760
36761
36762 if test $pkg_failed = yes; then
36763
36764 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36765 _pkg_short_errors_supported=yes
36766 else
36767 _pkg_short_errors_supported=no
36768 fi
36769 if test $_pkg_short_errors_supported = yes; then
36770 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36771 else
36772 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36773 fi
36774 # Put the nasty error message in config.log where it belongs
36775 echo "$CAIRO_PKG_ERRORS" >&5
36776
36777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36778 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36779
36780 elif test $pkg_failed = untried; then
36781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36782 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36783
36784 else
36785 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36786 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36788 $as_echo "yes" >&6; }
36789 wx_has_graphics=1
36790 fi
36791 if test "$wx_has_graphics" = 1; then
36792 save_LIBS="$LIBS"
36793 LIBS="$LIBS $CAIRO_LIBS"
36794 for ac_func in cairo_push_group
36795 do :
36796 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36797 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
36798 cat >>confdefs.h <<_ACEOF
36799 #define HAVE_CAIRO_PUSH_GROUP 1
36800 _ACEOF
36801
36802 fi
36803 done
36804
36805 LIBS="$save_LIBS"
36806 if test "$ac_cv_func_cairo_push_group" = "no"; then
36807 wx_has_graphics=0
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36809 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36810 else
36811 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36812
36813
36814 if test "$wxUSE_GTK" != 1; then
36815 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36817 fi
36818 fi
36819 fi
36820 else
36821 wx_has_graphics=1
36822 fi
36823
36824 if test "$wx_has_graphics" = 1; then
36825 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36826
36827 else
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36829 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36830 fi
36831 fi
36832
36833
36834 USE_MEDIA=0
36835
36836 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36837 USE_MEDIA=1
36838
36839 if test "$wxUSE_GTK" = 1; then
36840 wxUSE_GSTREAMER="no"
36841
36842 GST_VERSION_MAJOR=0
36843 GST_VERSION_MINOR=10
36844 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36845
36846 if test "$wxUSE_GSTREAMER8" = "no"; then
36847
36848 pkg_failed=no
36849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36850 $as_echo_n "checking for GST... " >&6; }
36851
36852 if test -n "$PKG_CONFIG"; then
36853 if test -n "$GST_CFLAGS"; then
36854 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36855 else
36856 if test -n "$PKG_CONFIG" && \
36857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36858 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36859 ac_status=$?
36860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36861 test $ac_status = 0; }; then
36862 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36863 else
36864 pkg_failed=yes
36865 fi
36866 fi
36867 else
36868 pkg_failed=untried
36869 fi
36870 if test -n "$PKG_CONFIG"; then
36871 if test -n "$GST_LIBS"; then
36872 pkg_cv_GST_LIBS="$GST_LIBS"
36873 else
36874 if test -n "$PKG_CONFIG" && \
36875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36876 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36877 ac_status=$?
36878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36879 test $ac_status = 0; }; then
36880 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36881 else
36882 pkg_failed=yes
36883 fi
36884 fi
36885 else
36886 pkg_failed=untried
36887 fi
36888
36889
36890
36891 if test $pkg_failed = yes; then
36892
36893 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36894 _pkg_short_errors_supported=yes
36895 else
36896 _pkg_short_errors_supported=no
36897 fi
36898 if test $_pkg_short_errors_supported = yes; then
36899 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36900 else
36901 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36902 fi
36903 # Put the nasty error message in config.log where it belongs
36904 echo "$GST_PKG_ERRORS" >&5
36905
36906
36907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36908 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36909 GST_VERSION_MINOR=8
36910
36911
36912 elif test $pkg_failed = untried; then
36913
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36915 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36916 GST_VERSION_MINOR=8
36917
36918
36919 else
36920 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36921 GST_LIBS=$pkg_cv_GST_LIBS
36922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36923 $as_echo "yes" >&6; }
36924
36925 wxUSE_GSTREAMER="yes"
36926 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36927
36928 fi
36929 else
36930 GST_VERSION_MINOR=8
36931 fi
36932
36933 if test $GST_VERSION_MINOR = "8"; then
36934 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36935
36936 pkg_failed=no
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36938 $as_echo_n "checking for GST... " >&6; }
36939
36940 if test -n "$PKG_CONFIG"; then
36941 if test -n "$GST_CFLAGS"; then
36942 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36943 else
36944 if test -n "$PKG_CONFIG" && \
36945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36946 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36947 ac_status=$?
36948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36949 test $ac_status = 0; }; then
36950 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36951 else
36952 pkg_failed=yes
36953 fi
36954 fi
36955 else
36956 pkg_failed=untried
36957 fi
36958 if test -n "$PKG_CONFIG"; then
36959 if test -n "$GST_LIBS"; then
36960 pkg_cv_GST_LIBS="$GST_LIBS"
36961 else
36962 if test -n "$PKG_CONFIG" && \
36963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36964 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36965 ac_status=$?
36966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36967 test $ac_status = 0; }; then
36968 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36969 else
36970 pkg_failed=yes
36971 fi
36972 fi
36973 else
36974 pkg_failed=untried
36975 fi
36976
36977
36978
36979 if test $pkg_failed = yes; then
36980
36981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36982 _pkg_short_errors_supported=yes
36983 else
36984 _pkg_short_errors_supported=no
36985 fi
36986 if test $_pkg_short_errors_supported = yes; then
36987 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36988 else
36989 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36990 fi
36991 # Put the nasty error message in config.log where it belongs
36992 echo "$GST_PKG_ERRORS" >&5
36993
36994
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36996 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36997
36998 elif test $pkg_failed = untried; then
36999
37000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37001 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37002
37003 else
37004 GST_CFLAGS=$pkg_cv_GST_CFLAGS
37005 GST_LIBS=$pkg_cv_GST_LIBS
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37007 $as_echo "yes" >&6; }
37008 wxUSE_GSTREAMER="yes"
37009 fi
37010 fi
37011
37012
37013 if test "$wxUSE_GSTREAMER" = "yes"; then
37014 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
37015 EXTRALIBS_MEDIA="$GST_LIBS"
37016
37017 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37018
37019 else
37020 USE_MEDIA=0
37021 fi
37022 fi
37023
37024 if test $USE_MEDIA = 1; then
37025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
37026 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37027
37028 else
37029 if test "$wxUSE_MEDIACTRL" = "yes"; then
37030 as_fn_error $? "GStreamer not available" "$LINENO" 5
37031 else
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37033 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37034 fi
37035 fi
37036 fi
37037
37038
37039 if test "$cross_compiling" != "no"; then
37040 OSINFO="\"$host\""
37041 else
37042 OSINFO=`uname -s -r -m`
37043 OSINFO="\"$OSINFO\""
37044 fi
37045
37046 cat >>confdefs.h <<_ACEOF
37047 #define WXWIN_OS_DESCRIPTION $OSINFO
37048 _ACEOF
37049
37050
37051
37052 if test "x$prefix" != "xNONE"; then
37053 wxPREFIX=$prefix
37054 else
37055 wxPREFIX=$ac_default_prefix
37056 fi
37057
37058 cat >>confdefs.h <<_ACEOF
37059 #define wxINSTALL_PREFIX "$wxPREFIX"
37060 _ACEOF
37061
37062
37063
37064
37065 STD_BASE_LIBS="base"
37066 STD_GUI_LIBS=""
37067 BUILT_WX_LIBS="base"
37068 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37069
37070 if test "$wxUSE_SOCKETS" = "yes" ; then
37071 STD_BASE_LIBS="net $STD_BASE_LIBS"
37072 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37073 fi
37074 if test "$wxUSE_XML" = "yes" ; then
37075 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37076 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37077 fi
37078
37079 if test "$wxUSE_GUI" = "yes"; then
37080 STD_GUI_LIBS="adv core"
37081 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37082
37083 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37084 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37085 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37086 fi
37087 if test "$wxUSE_HTML" = "yes" ; then
37088 STD_GUI_LIBS="html $STD_GUI_LIBS"
37089 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37090 fi
37091 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37092 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37093 fi
37094 if test "$wxUSE_OPENGL" = "yes" ; then
37095 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37096 fi
37097 if test "$wxUSE_AUI" = "yes" ; then
37098 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37099 fi
37100 if test "$wxUSE_PROPGRID" = "yes" ; then
37101 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37102 fi
37103 if test "$wxUSE_RIBBON" = "yes" ; then
37104 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37105 fi
37106 if test "$wxUSE_RICHTEXT" = "yes" ; then
37107 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37108 fi
37109 if test "$wxUSE_STC" = "yes" ; then
37110 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37111 fi
37112 if test "$wxUSE_WEBVIEW" = "yes" ; then
37113 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37114 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37115 fi
37116 if test "$wxUSE_XRC" = "yes" ; then
37117 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37118 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37119 fi
37120 fi
37121
37122
37123
37124
37125
37126
37127
37128 EXTRA_FRAMEWORKS=
37129 if test "$wxUSE_MAC" = 1 ; then
37130 if test "$USE_DARWIN" = 1; then
37131 if test "$wxUSE_OSX_IPHONE" = 1; then
37132 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37133 else
37134 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37135
37136
37137 if test "$cross_compiling" != "no"; then
37138 wx_cv_target_x86_64=no
37139 else
37140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37141 $as_echo_n "checking if we target only x86_64... " >&6; }
37142 if ${wx_cv_target_x86_64+:} false; then :
37143 $as_echo_n "(cached) " >&6
37144 else
37145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37146 /* end confdefs.h. */
37147 int main() { return 0; }
37148 _ACEOF
37149 if ac_fn_c_try_link "$LINENO"; then :
37150 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37151 wx_cv_target_x86_64=no
37152 else
37153 wx_cv_target_x86_64=yes
37154 fi
37155
37156 fi
37157 rm -f core conftest.err conftest.$ac_objext \
37158 conftest$ac_exeext conftest.$ac_ext
37159
37160 fi
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37162 $as_echo "$wx_cv_target_x86_64" >&6; }
37163 fi
37164
37165 if test "$wx_cv_target_x86_64" != "yes"; then
37166 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37167 fi
37168 fi
37169 fi
37170 fi
37171 if test "$wxUSE_OLD_COCOA" = 1 ; then
37172 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37173 if test "$wxUSE_MEDIACTRL" = "yes"; then
37174 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37175 fi
37176 fi
37177 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37178 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37179 fi
37180
37181 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37182 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37183
37184 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37185
37186 if test "$wxUSE_GUI" = "yes"; then
37187
37188
37189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37190 erase event exec font image minimal render \
37191 shaped svg taborder vscroll widgets wrapsizer"
37192
37193 if test "$wxUSE_MONOLITHIC" != "yes"; then
37194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37195 fi
37196 if test "$TOOLKIT" = "MSW"; then
37197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37198 if test "$wxUSE_UNIVERSAL" != "yes"; then
37199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37200 fi
37201 fi
37202 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37204 fi
37205 else
37206 SAMPLES_SUBDIRS="console"
37207 if test "$wxUSE_SOCKETS" = "yes" ; then
37208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37209 fi
37210 if test "$wxUSE_IPC" = "yes" ; then
37211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37212 fi
37213 fi
37214
37215
37216 if test "x$INTELCC" = "xyes" ; then
37217 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37218 elif test "$GCC" = yes ; then
37219 CWARNINGS="-Wall -Wundef"
37220 fi
37221
37222 if test "x$INTELCXX" = "xyes" ; then
37223 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37224 elif test "$GXX" = yes ; then
37225 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37227 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37228 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37229 $as_echo_n "(cached) " >&6
37230 else
37231 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37232
37233 ac_ext=cpp
37234 ac_cpp='$CXXCPP $CPPFLAGS'
37235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37238
37239 ac_save_CXXFLAGS="$CXXFLAGS"
37240 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37241 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37243 /* end confdefs.h. */
37244
37245 int
37246 main ()
37247 {
37248 return 0;
37249 ;
37250 return 0;
37251 }
37252 _ACEOF
37253 if ac_fn_cxx_try_compile "$LINENO"; then :
37254 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37255 fi
37256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37257 done
37258 CXXFLAGS="$ac_save_CXXFLAGS"
37259 ac_ext=c
37260 ac_cpp='$CPP $CPPFLAGS'
37261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37264
37265
37266 fi
37267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37268 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37269 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37270 .ok|.ok,*) ;;
37271 .|.no|.no,*) ;;
37272 *)
37273 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37274 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37275 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37276 ac_status=$?
37277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37278 test $ac_status = 0; }
37279 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37280 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37281 ac_status=$?
37282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37283 test $ac_status = 0; }
37284 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37285 fi
37286 ;;
37287 esac
37288
37289
37290 if test "$wxUSE_MAC" = 1 ; then
37291 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37292 fi
37293 fi
37294
37295
37296 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37297 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37298
37299
37300 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37301 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37302 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37303 $CPPFLAGS `
37304
37305 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37306 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37307 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37308 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37309 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37310
37311 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37312
37313
37314 if test "x$MWCC" = "xyes"; then
37315
37316 CC="$CC -cwd source -I-"
37317 CXX="$CXX -cwd source -I-"
37318 fi
37319
37320
37321 LIBS=`echo $LIBS`
37322 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37323 EXTRALIBS_XML="$EXPAT_LINK"
37324 EXTRALIBS_HTML="$MSPACK_LINK"
37325 EXTRALIBS_MEDIA="$GST_LIBS"
37326 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37327 if test "$wxUSE_GUI" = "yes"; then
37328 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37329 fi
37330 if test "$wxUSE_OPENGL" = "yes"; then
37331 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37332 fi
37333
37334 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37335
37336 WXCONFIG_LIBS="$LIBS"
37337
37338 if test "$wxUSE_REGEX" = "builtin" ; then
37339 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37340 fi
37341 if test "$wxUSE_EXPAT" = "builtin" ; then
37342 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37343 fi
37344 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37345 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37346 fi
37347 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37348 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37349 fi
37350 if test "$wxUSE_LIBPNG" = "builtin" ; then
37351 wxconfig_3rdparty="png $wxconfig_3rdparty"
37352 fi
37353 if test "$wxUSE_ZLIB" = "builtin" ; then
37354 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37355 fi
37356
37357 for i in $wxconfig_3rdparty ; do
37358 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37359 done
37360
37361
37362 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37363 WXUNIV=1
37364
37365 case "$wxUNIV_THEMES" in
37366 ''|all)
37367 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37368
37369 ;;
37370
37371 *)
37372 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37373 cat >>confdefs.h <<_ACEOF
37374 #define wxUSE_THEME_$t 1
37375 _ACEOF
37376
37377 done
37378 esac
37379 else
37380 WXUNIV=0
37381 fi
37382
37383
37384
37385
37386
37387
37388
37389
37390 if test $wxUSE_MONOLITHIC = "yes" ; then
37391 MONOLITHIC=1
37392 else
37393 MONOLITHIC=0
37394 fi
37395
37396 if test $wxUSE_PLUGINS = "yes" ; then
37397 USE_PLUGINS=1
37398 else
37399 USE_PLUGINS=0
37400 fi
37401
37402 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37403 USE_QA=1
37404 else
37405 USE_QA=0
37406 fi
37407
37408 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37409 OFFICIAL_BUILD=1
37410 else
37411 OFFICIAL_BUILD=0
37412 fi
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451 case "$TOOLKIT" in
37452 GTK)
37453 TOOLKIT_DESC="GTK+"
37454 if test "$WXGTK2" = 1; then
37455 if test "$WXGTK3" = 1; then
37456 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37457 else
37458 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37459 fi
37460 if test "$wxUSE_GTKPRINT" = "yes" ; then
37461 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37462 fi
37463 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37464 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37465 fi
37466 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37467 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37468 fi
37469 if test "$wxUSE_LIBHILDON" = "yes"; then
37470 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37471 fi
37472 if test "$wxUSE_LIBHILDON2" = "yes"; then
37473 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37474 fi
37475
37476 if test "$TOOLKIT_EXTRA" != ""; then
37477 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37478 fi
37479 fi
37480 ;;
37481
37482 ?*)
37483 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37484 ;;
37485
37486 *)
37487 TOOLKIT_DESC="base only"
37488 ;;
37489 esac
37490
37491 if test "$wxUSE_WINE" = "yes"; then
37492 BAKEFILE_FORCE_PLATFORM=win32
37493 fi
37494
37495 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37496 then
37497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37498 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37499 if ${wx_cv_gcc_pch_bug+:} false; then :
37500 $as_echo_n "(cached) " >&6
37501 else
37502
37503 echo '#include <stdio.h>
37504 const wchar_t test_var[] = L"awidetest";' > conftest.h
37505
37506 echo '#include "conftest.h"
37507 int main()
37508 {
37509 printf("%ls", test_var);
37510 return 0;
37511 }' > conftest.cpp
37512
37513 wx_cv_gcc_pch_bug="pch not supported"
37514
37515 if $CXX conftest.h >/dev/null 2>&1
37516 then
37517 wx_cv_gcc_pch_bug=
37518
37519 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37520 then
37521 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37522 grep awidetest >/dev/null
37523 then
37524 wx_cv_gcc_pch_bug=no
37525 else
37526 wx_cv_gcc_pch_bug=yes
37527 fi
37528 fi
37529 fi
37530
37531 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37532
37533 fi
37534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37535 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37536
37537 if test "$wx_cv_gcc_pch_bug" = yes; then
37538 bk_use_pch=no
37539 fi
37540 fi
37541
37542 # Find a good install program. We prefer a C program (faster),
37543 # so one script is as good as another. But avoid the broken or
37544 # incompatible versions:
37545 # SysV /etc/install, /usr/sbin/install
37546 # SunOS /usr/etc/install
37547 # IRIX /sbin/install
37548 # AIX /bin/install
37549 # AmigaOS /C/install, which installs bootblocks on floppy discs
37550 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37551 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37552 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37553 # OS/2's system install, which has a completely different semantic
37554 # ./install, which can be erroneously created by make from ./install.sh.
37555 # Reject install programs that cannot install multiple files.
37556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37557 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37558 if test -z "$INSTALL"; then
37559 if ${ac_cv_path_install+:} false; then :
37560 $as_echo_n "(cached) " >&6
37561 else
37562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37563 for as_dir in $PATH
37564 do
37565 IFS=$as_save_IFS
37566 test -z "$as_dir" && as_dir=.
37567 # Account for people who put trailing slashes in PATH elements.
37568 case $as_dir/ in #((
37569 ./ | .// | /[cC]/* | \
37570 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37571 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37572 /usr/ucb/* ) ;;
37573 *)
37574 # OSF1 and SCO ODT 3.0 have their own names for install.
37575 # Don't use installbsd from OSF since it installs stuff as root
37576 # by default.
37577 for ac_prog in ginstall scoinst install; do
37578 for ac_exec_ext in '' $ac_executable_extensions; do
37579 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37580 if test $ac_prog = install &&
37581 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37582 # AIX install. It has an incompatible calling convention.
37583 :
37584 elif test $ac_prog = install &&
37585 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37586 # program-specific install script used by HP pwplus--don't use.
37587 :
37588 else
37589 rm -rf conftest.one conftest.two conftest.dir
37590 echo one > conftest.one
37591 echo two > conftest.two
37592 mkdir conftest.dir
37593 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37594 test -s conftest.one && test -s conftest.two &&
37595 test -s conftest.dir/conftest.one &&
37596 test -s conftest.dir/conftest.two
37597 then
37598 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37599 break 3
37600 fi
37601 fi
37602 fi
37603 done
37604 done
37605 ;;
37606 esac
37607
37608 done
37609 IFS=$as_save_IFS
37610
37611 rm -rf conftest.one conftest.two conftest.dir
37612
37613 fi
37614 if test "${ac_cv_path_install+set}" = set; then
37615 INSTALL=$ac_cv_path_install
37616 else
37617 # As a last resort, use the slow shell script. Don't cache a
37618 # value for INSTALL within a source directory, because that will
37619 # break other packages using the cache if that directory is
37620 # removed, or if the value is a relative name.
37621 INSTALL=$ac_install_sh
37622 fi
37623 fi
37624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37625 $as_echo "$INSTALL" >&6; }
37626
37627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37628 # It thinks the first close brace ends the variable substitution.
37629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37630
37631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37632
37633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37634
37635
37636
37637
37638
37639
37640
37641 if test "x$BAKEFILE_HOST" = "x"; then
37642 if test "x${host}" = "x" ; then
37643 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37644 fi
37645
37646 BAKEFILE_HOST="${host}"
37647 fi
37648
37649 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37650
37651 if test -n "$ac_tool_prefix"; then
37652 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37653 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37655 $as_echo_n "checking for $ac_word... " >&6; }
37656 if ${ac_cv_prog_RANLIB+:} false; then :
37657 $as_echo_n "(cached) " >&6
37658 else
37659 if test -n "$RANLIB"; then
37660 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37661 else
37662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37663 for as_dir in $PATH
37664 do
37665 IFS=$as_save_IFS
37666 test -z "$as_dir" && as_dir=.
37667 for ac_exec_ext in '' $ac_executable_extensions; do
37668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37669 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37671 break 2
37672 fi
37673 done
37674 done
37675 IFS=$as_save_IFS
37676
37677 fi
37678 fi
37679 RANLIB=$ac_cv_prog_RANLIB
37680 if test -n "$RANLIB"; then
37681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37682 $as_echo "$RANLIB" >&6; }
37683 else
37684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37685 $as_echo "no" >&6; }
37686 fi
37687
37688
37689 fi
37690 if test -z "$ac_cv_prog_RANLIB"; then
37691 ac_ct_RANLIB=$RANLIB
37692 # Extract the first word of "ranlib", so it can be a program name with args.
37693 set dummy ranlib; ac_word=$2
37694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37695 $as_echo_n "checking for $ac_word... " >&6; }
37696 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37697 $as_echo_n "(cached) " >&6
37698 else
37699 if test -n "$ac_ct_RANLIB"; then
37700 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37701 else
37702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37703 for as_dir in $PATH
37704 do
37705 IFS=$as_save_IFS
37706 test -z "$as_dir" && as_dir=.
37707 for ac_exec_ext in '' $ac_executable_extensions; do
37708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37709 ac_cv_prog_ac_ct_RANLIB="ranlib"
37710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37711 break 2
37712 fi
37713 done
37714 done
37715 IFS=$as_save_IFS
37716
37717 fi
37718 fi
37719 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37720 if test -n "$ac_ct_RANLIB"; then
37721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37722 $as_echo "$ac_ct_RANLIB" >&6; }
37723 else
37724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37725 $as_echo "no" >&6; }
37726 fi
37727
37728 if test "x$ac_ct_RANLIB" = x; then
37729 RANLIB=":"
37730 else
37731 case $cross_compiling:$ac_tool_warned in
37732 yes:)
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37735 ac_tool_warned=yes ;;
37736 esac
37737 RANLIB=$ac_ct_RANLIB
37738 fi
37739 else
37740 RANLIB="$ac_cv_prog_RANLIB"
37741 fi
37742
37743
37744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37745 $as_echo_n "checking whether ln -s works... " >&6; }
37746 LN_S=$as_ln_s
37747 if test "$LN_S" = "ln -s"; then
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37749 $as_echo "yes" >&6; }
37750 else
37751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37752 $as_echo "no, using $LN_S" >&6; }
37753 fi
37754
37755
37756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37757 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37758 set x ${MAKE-make}
37759 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37760 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
37761 $as_echo_n "(cached) " >&6
37762 else
37763 cat >conftest.make <<\_ACEOF
37764 SHELL = /bin/sh
37765 all:
37766 @echo '@@@%%%=$(MAKE)=@@@%%%'
37767 _ACEOF
37768 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37770 *@@@%%%=?*=@@@%%%*)
37771 eval ac_cv_prog_make_${ac_make}_set=yes;;
37772 *)
37773 eval ac_cv_prog_make_${ac_make}_set=no;;
37774 esac
37775 rm -f conftest.make
37776 fi
37777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37779 $as_echo "yes" >&6; }
37780 SET_MAKE=
37781 else
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37783 $as_echo "no" >&6; }
37784 SET_MAKE="MAKE=${MAKE-make}"
37785 fi
37786
37787
37788
37789 if test "x$SUNCXX" = "xyes"; then
37790 AR=$CXX
37791 AROPTIONS="-xar -o"
37792
37793 elif test "x$SGICC" = "xyes"; then
37794 AR=$CXX
37795 AROPTIONS="-ar -o"
37796
37797 else
37798 if test -n "$ac_tool_prefix"; then
37799 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37800 set dummy ${ac_tool_prefix}ar; ac_word=$2
37801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37802 $as_echo_n "checking for $ac_word... " >&6; }
37803 if ${ac_cv_prog_AR+:} false; then :
37804 $as_echo_n "(cached) " >&6
37805 else
37806 if test -n "$AR"; then
37807 ac_cv_prog_AR="$AR" # Let the user override the test.
37808 else
37809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37810 for as_dir in $PATH
37811 do
37812 IFS=$as_save_IFS
37813 test -z "$as_dir" && as_dir=.
37814 for ac_exec_ext in '' $ac_executable_extensions; do
37815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37816 ac_cv_prog_AR="${ac_tool_prefix}ar"
37817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37818 break 2
37819 fi
37820 done
37821 done
37822 IFS=$as_save_IFS
37823
37824 fi
37825 fi
37826 AR=$ac_cv_prog_AR
37827 if test -n "$AR"; then
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37829 $as_echo "$AR" >&6; }
37830 else
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37832 $as_echo "no" >&6; }
37833 fi
37834
37835
37836 fi
37837 if test -z "$ac_cv_prog_AR"; then
37838 ac_ct_AR=$AR
37839 # Extract the first word of "ar", so it can be a program name with args.
37840 set dummy ar; ac_word=$2
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37842 $as_echo_n "checking for $ac_word... " >&6; }
37843 if ${ac_cv_prog_ac_ct_AR+:} false; then :
37844 $as_echo_n "(cached) " >&6
37845 else
37846 if test -n "$ac_ct_AR"; then
37847 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37848 else
37849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37850 for as_dir in $PATH
37851 do
37852 IFS=$as_save_IFS
37853 test -z "$as_dir" && as_dir=.
37854 for ac_exec_ext in '' $ac_executable_extensions; do
37855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37856 ac_cv_prog_ac_ct_AR="ar"
37857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37858 break 2
37859 fi
37860 done
37861 done
37862 IFS=$as_save_IFS
37863
37864 fi
37865 fi
37866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37867 if test -n "$ac_ct_AR"; then
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37869 $as_echo "$ac_ct_AR" >&6; }
37870 else
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37872 $as_echo "no" >&6; }
37873 fi
37874
37875 if test "x$ac_ct_AR" = x; then
37876 AR="ar"
37877 else
37878 case $cross_compiling:$ac_tool_warned in
37879 yes:)
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37882 ac_tool_warned=yes ;;
37883 esac
37884 AR=$ac_ct_AR
37885 fi
37886 else
37887 AR="$ac_cv_prog_AR"
37888 fi
37889
37890 AROPTIONS=rcu
37891 fi
37892
37893
37894 if test -n "$ac_tool_prefix"; then
37895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37896 set dummy ${ac_tool_prefix}strip; ac_word=$2
37897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37898 $as_echo_n "checking for $ac_word... " >&6; }
37899 if ${ac_cv_prog_STRIP+:} false; then :
37900 $as_echo_n "(cached) " >&6
37901 else
37902 if test -n "$STRIP"; then
37903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37904 else
37905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37906 for as_dir in $PATH
37907 do
37908 IFS=$as_save_IFS
37909 test -z "$as_dir" && as_dir=.
37910 for ac_exec_ext in '' $ac_executable_extensions; do
37911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37912 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37914 break 2
37915 fi
37916 done
37917 done
37918 IFS=$as_save_IFS
37919
37920 fi
37921 fi
37922 STRIP=$ac_cv_prog_STRIP
37923 if test -n "$STRIP"; then
37924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37925 $as_echo "$STRIP" >&6; }
37926 else
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37928 $as_echo "no" >&6; }
37929 fi
37930
37931
37932 fi
37933 if test -z "$ac_cv_prog_STRIP"; then
37934 ac_ct_STRIP=$STRIP
37935 # Extract the first word of "strip", so it can be a program name with args.
37936 set dummy strip; ac_word=$2
37937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37938 $as_echo_n "checking for $ac_word... " >&6; }
37939 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
37940 $as_echo_n "(cached) " >&6
37941 else
37942 if test -n "$ac_ct_STRIP"; then
37943 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37944 else
37945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37946 for as_dir in $PATH
37947 do
37948 IFS=$as_save_IFS
37949 test -z "$as_dir" && as_dir=.
37950 for ac_exec_ext in '' $ac_executable_extensions; do
37951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37952 ac_cv_prog_ac_ct_STRIP="strip"
37953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37954 break 2
37955 fi
37956 done
37957 done
37958 IFS=$as_save_IFS
37959
37960 fi
37961 fi
37962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37963 if test -n "$ac_ct_STRIP"; then
37964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37965 $as_echo "$ac_ct_STRIP" >&6; }
37966 else
37967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37968 $as_echo "no" >&6; }
37969 fi
37970
37971 if test "x$ac_ct_STRIP" = x; then
37972 STRIP=":"
37973 else
37974 case $cross_compiling:$ac_tool_warned in
37975 yes:)
37976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37978 ac_tool_warned=yes ;;
37979 esac
37980 STRIP=$ac_ct_STRIP
37981 fi
37982 else
37983 STRIP="$ac_cv_prog_STRIP"
37984 fi
37985
37986 if test -n "$ac_tool_prefix"; then
37987 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37988 set dummy ${ac_tool_prefix}nm; ac_word=$2
37989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37990 $as_echo_n "checking for $ac_word... " >&6; }
37991 if ${ac_cv_prog_NM+:} false; then :
37992 $as_echo_n "(cached) " >&6
37993 else
37994 if test -n "$NM"; then
37995 ac_cv_prog_NM="$NM" # Let the user override the test.
37996 else
37997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37998 for as_dir in $PATH
37999 do
38000 IFS=$as_save_IFS
38001 test -z "$as_dir" && as_dir=.
38002 for ac_exec_ext in '' $ac_executable_extensions; do
38003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38004 ac_cv_prog_NM="${ac_tool_prefix}nm"
38005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38006 break 2
38007 fi
38008 done
38009 done
38010 IFS=$as_save_IFS
38011
38012 fi
38013 fi
38014 NM=$ac_cv_prog_NM
38015 if test -n "$NM"; then
38016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38017 $as_echo "$NM" >&6; }
38018 else
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38020 $as_echo "no" >&6; }
38021 fi
38022
38023
38024 fi
38025 if test -z "$ac_cv_prog_NM"; then
38026 ac_ct_NM=$NM
38027 # Extract the first word of "nm", so it can be a program name with args.
38028 set dummy nm; ac_word=$2
38029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38030 $as_echo_n "checking for $ac_word... " >&6; }
38031 if ${ac_cv_prog_ac_ct_NM+:} false; then :
38032 $as_echo_n "(cached) " >&6
38033 else
38034 if test -n "$ac_ct_NM"; then
38035 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38036 else
38037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38038 for as_dir in $PATH
38039 do
38040 IFS=$as_save_IFS
38041 test -z "$as_dir" && as_dir=.
38042 for ac_exec_ext in '' $ac_executable_extensions; do
38043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38044 ac_cv_prog_ac_ct_NM="nm"
38045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38046 break 2
38047 fi
38048 done
38049 done
38050 IFS=$as_save_IFS
38051
38052 fi
38053 fi
38054 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38055 if test -n "$ac_ct_NM"; then
38056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38057 $as_echo "$ac_ct_NM" >&6; }
38058 else
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38060 $as_echo "no" >&6; }
38061 fi
38062
38063 if test "x$ac_ct_NM" = x; then
38064 NM=":"
38065 else
38066 case $cross_compiling:$ac_tool_warned in
38067 yes:)
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38070 ac_tool_warned=yes ;;
38071 esac
38072 NM=$ac_ct_NM
38073 fi
38074 else
38075 NM="$ac_cv_prog_NM"
38076 fi
38077
38078
38079 INSTALL_DIR="mkdir -p"
38080
38081
38082 LDFLAGS_GUI=
38083 case ${BAKEFILE_HOST} in
38084 *-*-cygwin* | *-*-mingw32* )
38085 LDFLAGS_GUI="-mwindows"
38086 esac
38087
38088
38089 fi
38090
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38092 $as_echo_n "checking if make is GNU make... " >&6; }
38093 if ${bakefile_cv_prog_makeisgnu+:} false; then :
38094 $as_echo_n "(cached) " >&6
38095 else
38096
38097 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38098 egrep -s GNU > /dev/null); then
38099 bakefile_cv_prog_makeisgnu="yes"
38100 else
38101 bakefile_cv_prog_makeisgnu="no"
38102 fi
38103
38104 fi
38105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38106 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38107
38108 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38109 IF_GNU_MAKE=""
38110 else
38111 IF_GNU_MAKE="#"
38112 fi
38113
38114
38115
38116 PLATFORM_UNIX=0
38117 PLATFORM_WIN32=0
38118 PLATFORM_MSDOS=0
38119 PLATFORM_MAC=0
38120 PLATFORM_MACOS=0
38121 PLATFORM_MACOSX=0
38122 PLATFORM_OS2=0
38123 PLATFORM_BEOS=0
38124
38125 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38126 case "${BAKEFILE_HOST}" in
38127 *-*-mingw32* )
38128 PLATFORM_WIN32=1
38129 ;;
38130 *-pc-msdosdjgpp )
38131 PLATFORM_MSDOS=1
38132 ;;
38133 *-pc-os2_emx | *-pc-os2-emx )
38134 PLATFORM_OS2=1
38135 ;;
38136 *-*-darwin* )
38137 PLATFORM_MAC=1
38138 PLATFORM_MACOSX=1
38139 ;;
38140 *-*-beos* )
38141 PLATFORM_BEOS=1
38142 ;;
38143 powerpc-apple-macos* )
38144 PLATFORM_MAC=1
38145 PLATFORM_MACOS=1
38146 ;;
38147 * )
38148 PLATFORM_UNIX=1
38149 ;;
38150 esac
38151 else
38152 case "$BAKEFILE_FORCE_PLATFORM" in
38153 win32 )
38154 PLATFORM_WIN32=1
38155 ;;
38156 msdos )
38157 PLATFORM_MSDOS=1
38158 ;;
38159 os2 )
38160 PLATFORM_OS2=1
38161 ;;
38162 darwin )
38163 PLATFORM_MAC=1
38164 PLATFORM_MACOSX=1
38165 ;;
38166 unix )
38167 PLATFORM_UNIX=1
38168 ;;
38169 beos )
38170 PLATFORM_BEOS=1
38171 ;;
38172 * )
38173 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38174 ;;
38175 esac
38176 fi
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188 # Check whether --enable-omf was given.
38189 if test "${enable_omf+set}" = set; then :
38190 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38191 fi
38192
38193
38194 case "${BAKEFILE_HOST}" in
38195 *-*-darwin* )
38196 if test "x$GCC" = "xyes"; then
38197 CFLAGS="$CFLAGS -fno-common"
38198 CXXFLAGS="$CXXFLAGS -fno-common"
38199 fi
38200 if test "x$XLCC" = "xyes"; then
38201 CFLAGS="$CFLAGS -qnocommon"
38202 CXXFLAGS="$CXXFLAGS -qnocommon"
38203 fi
38204 ;;
38205
38206 *-pc-os2_emx | *-pc-os2-emx )
38207 if test "x$bk_os2_use_omf" = "xyes" ; then
38208 AR=emxomfar
38209 RANLIB=:
38210 LDFLAGS="-Zomf $LDFLAGS"
38211 CFLAGS="-Zomf $CFLAGS"
38212 CXXFLAGS="-Zomf $CXXFLAGS"
38213 OS2_LIBEXT="lib"
38214 else
38215 OS2_LIBEXT="a"
38216 fi
38217 ;;
38218
38219 i*86-*-beos* )
38220 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38221 ;;
38222 esac
38223
38224
38225 SO_SUFFIX="so"
38226 SO_SUFFIX_MODULE="so"
38227 EXEEXT=""
38228 LIBPREFIX="lib"
38229 LIBEXT=".a"
38230 DLLPREFIX="lib"
38231 DLLPREFIX_MODULE=""
38232 DLLIMP_SUFFIX=""
38233 dlldir="$libdir"
38234
38235 case "${BAKEFILE_HOST}" in
38236 ia64-hp-hpux* )
38237 ;;
38238 *-hp-hpux* )
38239 SO_SUFFIX="sl"
38240 SO_SUFFIX_MODULE="sl"
38241 ;;
38242 *-*-aix* )
38243 SO_SUFFIX="a"
38244 SO_SUFFIX_MODULE="a"
38245 ;;
38246 *-*-cygwin* )
38247 SO_SUFFIX="dll"
38248 SO_SUFFIX_MODULE="dll"
38249 DLLIMP_SUFFIX="dll.a"
38250 EXEEXT=".exe"
38251 DLLPREFIX="cyg"
38252 dlldir="$bindir"
38253 ;;
38254 *-*-mingw32* )
38255 SO_SUFFIX="dll"
38256 SO_SUFFIX_MODULE="dll"
38257 DLLIMP_SUFFIX="dll.a"
38258 EXEEXT=".exe"
38259 DLLPREFIX=""
38260 dlldir="$bindir"
38261 ;;
38262 *-pc-msdosdjgpp )
38263 EXEEXT=".exe"
38264 DLLPREFIX=""
38265 dlldir="$bindir"
38266 ;;
38267 *-pc-os2_emx | *-pc-os2-emx )
38268 SO_SUFFIX="dll"
38269 SO_SUFFIX_MODULE="dll"
38270 DLLIMP_SUFFIX=$OS2_LIBEXT
38271 EXEEXT=".exe"
38272 DLLPREFIX=""
38273 LIBPREFIX=""
38274 LIBEXT=".$OS2_LIBEXT"
38275 dlldir="$bindir"
38276 ;;
38277 *-*-darwin* )
38278 SO_SUFFIX="dylib"
38279 SO_SUFFIX_MODULE="bundle"
38280 ;;
38281 esac
38282
38283 if test "x$DLLIMP_SUFFIX" = "x" ; then
38284 DLLIMP_SUFFIX="$SO_SUFFIX"
38285 fi
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298 PIC_FLAG=""
38299 if test "x$GCC" = "xyes"; then
38300 PIC_FLAG="-fPIC"
38301 fi
38302
38303 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38304 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38305 WINDOWS_IMPLIB=0
38306
38307 case "${BAKEFILE_HOST}" in
38308 *-hp-hpux* )
38309 if test "x$GCC" != "xyes"; then
38310 LDFLAGS="$LDFLAGS -L/usr/lib"
38311
38312 SHARED_LD_CC="${CC} -b -o"
38313 SHARED_LD_CXX="${CXX} -b -o"
38314 PIC_FLAG="+Z"
38315 fi
38316 ;;
38317
38318 *-*-linux* )
38319 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38320 PIC_FLAG="-KPIC"
38321 elif test "x$SUNCXX" = "xyes"; then
38322 SHARED_LD_CC="${CC} -G -o"
38323 SHARED_LD_CXX="${CXX} -G -o"
38324 PIC_FLAG="-KPIC"
38325 fi
38326 ;;
38327
38328 *-*-solaris2* )
38329 if test "x$SUNCXX" = xyes ; then
38330 SHARED_LD_CC="${CC} -G -o"
38331 SHARED_LD_CXX="${CXX} -G -o"
38332 PIC_FLAG="-KPIC"
38333 fi
38334 ;;
38335
38336 *-*-darwin* )
38337
38338 D='$'
38339 cat <<EOF >shared-ld-sh
38340 #!/bin/sh
38341 #-----------------------------------------------------------------------------
38342 #-- Name: distrib/mac/shared-ld-sh
38343 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38344 #-- Author: Gilles Depeyrot
38345 #-- Copyright: (c) 2002 Gilles Depeyrot
38346 #-- Licence: any use permitted
38347 #-----------------------------------------------------------------------------
38348
38349 verbose=0
38350 args=""
38351 objects=""
38352 linking_flag="-dynamiclib"
38353 ldargs="-r -keep_private_externs -nostdlib"
38354
38355 if test "x${D}CXX" = "x"; then
38356 CXX="c++"
38357 fi
38358
38359 while test ${D}# -gt 0; do
38360 case ${D}1 in
38361
38362 -v)
38363 verbose=1
38364 ;;
38365
38366 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38367 # collect these options and values
38368 args="${D}{args} ${D}1 ${D}2"
38369 shift
38370 ;;
38371
38372 -arch|-isysroot)
38373 # collect these options and values
38374 ldargs="${D}{ldargs} ${D}1 ${D}2"
38375 shift
38376 ;;
38377
38378 -s|-Wl,*)
38379 # collect these load args
38380 ldargs="${D}{ldargs} ${D}1"
38381 ;;
38382
38383 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38384 # collect these options
38385 args="${D}{args} ${D}1"
38386 ;;
38387
38388 -dynamiclib|-bundle)
38389 linking_flag="${D}1"
38390 ;;
38391
38392 -*)
38393 echo "shared-ld: unhandled option '${D}1'"
38394 exit 1
38395 ;;
38396
38397 *.o | *.a | *.dylib)
38398 # collect object files
38399 objects="${D}{objects} ${D}1"
38400 ;;
38401
38402 *)
38403 echo "shared-ld: unhandled argument '${D}1'"
38404 exit 1
38405 ;;
38406
38407 esac
38408 shift
38409 done
38410
38411 status=0
38412
38413 #
38414 # Link one module containing all the others
38415 #
38416 if test ${D}{verbose} = 1; then
38417 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38418 fi
38419 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38420 status=${D}?
38421
38422 #
38423 # Link the shared library from the single module created, but only if the
38424 # previous command didn't fail:
38425 #
38426 if test ${D}{status} = 0; then
38427 if test ${D}{verbose} = 1; then
38428 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38429 fi
38430 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38431 status=${D}?
38432 fi
38433
38434 #
38435 # Remove intermediate module
38436 #
38437 rm -f master.${D}${D}.o
38438
38439 exit ${D}status
38440 EOF
38441
38442 chmod +x shared-ld-sh
38443
38444 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38445 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38446
38447
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38449 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38450 if ${bakefile_cv_gcc31+:} false; then :
38451 $as_echo_n "(cached) " >&6
38452 else
38453
38454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38455 /* end confdefs.h. */
38456
38457 int
38458 main ()
38459 {
38460
38461 #if (__GNUC__ < 3) || \
38462 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38463 This is old gcc
38464 #endif
38465
38466 ;
38467 return 0;
38468 }
38469 _ACEOF
38470 if ac_fn_c_try_compile "$LINENO"; then :
38471
38472 bakefile_cv_gcc31=yes
38473
38474 else
38475
38476 bakefile_cv_gcc31=no
38477
38478
38479 fi
38480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38481
38482 fi
38483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38484 $as_echo "$bakefile_cv_gcc31" >&6; }
38485 if test "$bakefile_cv_gcc31" = "no"; then
38486 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38487 SHARED_LD_CXX="$SHARED_LD_CC"
38488 else
38489 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38490 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38491 fi
38492
38493 if test "x$GCC" == "xyes"; then
38494 PIC_FLAG="-dynamic -fPIC"
38495 fi
38496 if test "x$XLCC" = "xyes"; then
38497 PIC_FLAG="-dynamic -DPIC"
38498 fi
38499 ;;
38500
38501 *-*-aix* )
38502 if test "x$GCC" = "xyes"; then
38503 PIC_FLAG=""
38504
38505 case "${BAKEFILE_HOST}" in
38506 *-*-aix5* )
38507 LD_EXPFULL="-Wl,-bexpfull"
38508 ;;
38509 esac
38510
38511 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38512 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38513 else
38514 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38515 set dummy makeC++SharedLib; ac_word=$2
38516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38517 $as_echo_n "checking for $ac_word... " >&6; }
38518 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38519 $as_echo_n "(cached) " >&6
38520 else
38521 if test -n "$AIX_CXX_LD"; then
38522 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38523 else
38524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38525 for as_dir in $PATH
38526 do
38527 IFS=$as_save_IFS
38528 test -z "$as_dir" && as_dir=.
38529 for ac_exec_ext in '' $ac_executable_extensions; do
38530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38531 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38533 break 2
38534 fi
38535 done
38536 done
38537 IFS=$as_save_IFS
38538
38539 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38540 fi
38541 fi
38542 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38543 if test -n "$AIX_CXX_LD"; then
38544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38545 $as_echo "$AIX_CXX_LD" >&6; }
38546 else
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38548 $as_echo "no" >&6; }
38549 fi
38550
38551
38552 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38553 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38554 fi
38555 ;;
38556
38557 *-*-beos* )
38558 SHARED_LD_CC="${LD} -nostart -o"
38559 SHARED_LD_CXX="${LD} -nostart -o"
38560 ;;
38561
38562 *-*-irix* )
38563 if test "x$GCC" != "xyes"; then
38564 PIC_FLAG="-KPIC"
38565 fi
38566 ;;
38567
38568 *-*-cygwin* | *-*-mingw32* )
38569 PIC_FLAG=""
38570 SHARED_LD_CC="\$(CC) -shared -o"
38571 SHARED_LD_CXX="\$(CXX) -shared -o"
38572 WINDOWS_IMPLIB=1
38573 ;;
38574
38575 *-pc-os2_emx | *-pc-os2-emx )
38576 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38577 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38578 PIC_FLAG=""
38579
38580 D='$'
38581 cat <<EOF >dllar.sh
38582 #!/bin/sh
38583 #
38584 # dllar - a tool to build both a .dll and an .a file
38585 # from a set of object (.o) files for EMX/OS2.
38586 #
38587 # Written by Andrew Zabolotny, bit@freya.etu.ru
38588 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38589 #
38590 # This script will accept a set of files on the command line.
38591 # All the public symbols from the .o files will be exported into
38592 # a .DEF file, then linker will be run (through gcc) against them to
38593 # build a shared library consisting of all given .o files. All libraries
38594 # (.a) will be first decompressed into component .o files then act as
38595 # described above. You can optionally give a description (-d "description")
38596 # which will be put into .DLL. To see the list of accepted options (as well
38597 # as command-line format) simply run this program without options. The .DLL
38598 # is built to be imported by name (there is no guarantee that new versions
38599 # of the library you build will have same ordinals for same symbols).
38600 #
38601 # dllar is free software; you can redistribute it and/or modify
38602 # it under the terms of the GNU General Public License as published by
38603 # the Free Software Foundation; either version 2, or (at your option)
38604 # any later version.
38605 #
38606 # dllar is distributed in the hope that it will be useful,
38607 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38608 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38609 # GNU General Public License for more details.
38610 #
38611 # You should have received a copy of the GNU General Public License
38612 # along with dllar; see the file COPYING. If not, write to the Free
38613 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38614 # 02111-1307, USA.
38615
38616 # To successfuly run this program you will need:
38617 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38618 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38619 # - gcc
38620 # (used to build the .dll)
38621 # - emxexp
38622 # (used to create .def file from .o files)
38623 # - emximp
38624 # (used to create .a file from .def file)
38625 # - GNU text utilites (cat, sort, uniq)
38626 # used to process emxexp output
38627 # - GNU file utilities (mv, rm)
38628 # - GNU sed
38629 # - lxlite (optional, see flag below)
38630 # (used for general .dll cleanup)
38631 #
38632
38633 flag_USE_LXLITE=1;
38634
38635 #
38636 # helper functions
38637 # basnam, variant of basename, which does _not_ remove the path, _iff_
38638 # second argument (suffix to remove) is given
38639 basnam(){
38640 case ${D}# in
38641 1)
38642 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38643 ;;
38644 2)
38645 echo ${D}1 | sed 's/'${D}2'${D}//'
38646 ;;
38647 *)
38648 echo "error in basnam ${D}*"
38649 exit 8
38650 ;;
38651 esac
38652 }
38653
38654 # Cleanup temporary files and output
38655 CleanUp() {
38656 cd ${D}curDir
38657 for i in ${D}inputFiles ; do
38658 case ${D}i in
38659 *!)
38660 rm -rf \`basnam ${D}i !\`
38661 ;;
38662 *)
38663 ;;
38664 esac
38665 done
38666
38667 # Kill result in case of failure as there is just to many stupid make/nmake
38668 # things out there which doesn't do this.
38669 if [ ${D}# -eq 0 ]; then
38670 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38671 fi
38672 }
38673
38674 # Print usage and exit script with rc=1.
38675 PrintHelp() {
38676 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38677 echo ' [-name-mangler-script script.sh]'
38678 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38679 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38680 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38681 echo ' [*.o] [*.a]'
38682 echo '*> "output_file" should have no extension.'
38683 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38684 echo ' The import library name is derived from this and is set to "name".a,'
38685 echo ' unless overridden by -import'
38686 echo '*> "importlib_name" should have no extension.'
38687 echo ' If it has the .o, or .a extension, it is automatically removed.'
38688 echo ' This name is used as the import library name and may be longer and'
38689 echo ' more descriptive than the DLL name which has to follow the old '
38690 echo ' 8.3 convention of FAT.'
38691 echo '*> "script.sh may be given to override the output_file name by a'
38692 echo ' different name. It is mainly useful if the regular make process'
38693 echo ' of some package does not take into account OS/2 restriction of'
38694 echo ' DLL name lengths. It takes the importlib name as input and is'
38695 echo ' supposed to procude a shorter name as output. The script should'
38696 echo ' expect to get importlib_name without extension and should produce'
38697 echo ' a (max.) 8 letter name without extension.'
38698 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38699 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38700 echo ' These flags will be put at the start of GCC command line.'
38701 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38702 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38703 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38704 echo ' If the last character of a symbol is "*", all symbols beginning'
38705 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38706 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38707 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38708 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38709 echo ' C runtime DLLs.'
38710 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38711 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38712 echo ' unchanged to GCC at the end of command line.'
38713 echo '*> If you create a DLL from a library and you do not specify -o,'
38714 echo ' the basename for DLL and import library will be set to library name,'
38715 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38716 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38717 echo ' library will be renamed into gcc_s.a.'
38718 echo '--------'
38719 echo 'Example:'
38720 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38721 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38722 CleanUp
38723 exit 1
38724 }
38725
38726 # Execute a command.
38727 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38728 # @Uses Whatever CleanUp() uses.
38729 doCommand() {
38730 echo "${D}*"
38731 eval ${D}*
38732 rcCmd=${D}?
38733
38734 if [ ${D}rcCmd -ne 0 ]; then
38735 echo "command failed, exit code="${D}rcCmd
38736 CleanUp
38737 exit ${D}rcCmd
38738 fi
38739 }
38740
38741 # main routine
38742 # setup globals
38743 cmdLine=${D}*
38744 outFile=""
38745 outimpFile=""
38746 inputFiles=""
38747 renameScript=""
38748 description=""
38749 CC=gcc.exe
38750 CFLAGS="-s -Zcrtdll"
38751 EXTRA_CFLAGS=""
38752 EXPORT_BY_ORDINALS=0
38753 exclude_symbols=""
38754 library_flags=""
38755 curDir=\`pwd\`
38756 curDirS=curDir
38757 case ${D}curDirS in
38758 */)
38759 ;;
38760 *)
38761 curDirS=${D}{curDirS}"/"
38762 ;;
38763 esac
38764 # Parse commandline
38765 libsToLink=0
38766 omfLinking=0
38767 while [ ${D}1 ]; do
38768 case ${D}1 in
38769 -ord*)
38770 EXPORT_BY_ORDINALS=1;
38771 ;;
38772 -o*)
38773 shift
38774 outFile=${D}1
38775 ;;
38776 -i*)
38777 shift
38778 outimpFile=${D}1
38779 ;;
38780 -name-mangler-script)
38781 shift
38782 renameScript=${D}1
38783 ;;
38784 -d*)
38785 shift
38786 description=${D}1
38787 ;;
38788 -f*)
38789 shift
38790 CFLAGS=${D}1
38791 ;;
38792 -c*)
38793 shift
38794 CC=${D}1
38795 ;;
38796 -h*)
38797 PrintHelp
38798 ;;
38799 -ex*)
38800 shift
38801 exclude_symbols=${D}{exclude_symbols}${D}1" "
38802 ;;
38803 -libf*)
38804 shift
38805 library_flags=${D}{library_flags}${D}1" "
38806 ;;
38807 -nocrt*)
38808 CFLAGS="-s"
38809 ;;
38810 -nolxl*)
38811 flag_USE_LXLITE=0
38812 ;;
38813 -* | /*)
38814 case ${D}1 in
38815 -L* | -l*)
38816 libsToLink=1
38817 ;;
38818 -Zomf)
38819 omfLinking=1
38820 ;;
38821 *)
38822 ;;
38823 esac
38824 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38825 ;;
38826 *.dll)
38827 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38828 if [ ${D}omfLinking -eq 1 ]; then
38829 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38830 else
38831 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38832 fi
38833 ;;
38834 *)
38835 found=0;
38836 if [ ${D}libsToLink -ne 0 ]; then
38837 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38838 else
38839 for file in ${D}1 ; do
38840 if [ -f ${D}file ]; then
38841 inputFiles="${D}{inputFiles} ${D}file"
38842 found=1
38843 fi
38844 done
38845 if [ ${D}found -eq 0 ]; then
38846 echo "ERROR: No file(s) found: "${D}1
38847 exit 8
38848 fi
38849 fi
38850 ;;
38851 esac
38852 shift
38853 done # iterate cmdline words
38854
38855 #
38856 if [ -z "${D}inputFiles" ]; then
38857 echo "dllar: no input files"
38858 PrintHelp
38859 fi
38860
38861 # Now extract all .o files from .a files
38862 newInputFiles=""
38863 for file in ${D}inputFiles ; do
38864 case ${D}file in
38865 *.a | *.lib)
38866 case ${D}file in
38867 *.a)
38868 suffix=".a"
38869 AR="ar"
38870 ;;
38871 *.lib)
38872 suffix=".lib"
38873 AR="emxomfar"
38874 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38875 ;;
38876 *)
38877 ;;
38878 esac
38879 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38880 mkdir ${D}dirname
38881 if [ ${D}? -ne 0 ]; then
38882 echo "Failed to create subdirectory ./${D}dirname"
38883 CleanUp
38884 exit 8;
38885 fi
38886 # Append '!' to indicate archive
38887 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38888 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38889 cd ${D}curDir
38890 found=0;
38891 for subfile in ${D}dirname/*.o* ; do
38892 if [ -f ${D}subfile ]; then
38893 found=1
38894 if [ -s ${D}subfile ]; then
38895 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38896 newInputFiles="${D}newInputFiles ${D}subfile"
38897 fi
38898 fi
38899 done
38900 if [ ${D}found -eq 0 ]; then
38901 echo "WARNING: there are no files in archive \\'${D}file\\'"
38902 fi
38903 ;;
38904 *)
38905 newInputFiles="${D}{newInputFiles} ${D}file"
38906 ;;
38907 esac
38908 done
38909 inputFiles="${D}newInputFiles"
38910
38911 # Output filename(s).
38912 do_backup=0;
38913 if [ -z ${D}outFile ]; then
38914 do_backup=1;
38915 set outFile ${D}inputFiles; outFile=${D}2
38916 fi
38917
38918 # If it is an archive, remove the '!' and the '_%' suffixes
38919 case ${D}outFile in
38920 *_%!)
38921 outFile=\`basnam ${D}outFile _%!\`
38922 ;;
38923 *)
38924 ;;
38925 esac
38926 case ${D}outFile in
38927 *.dll)
38928 outFile=\`basnam ${D}outFile .dll\`
38929 ;;
38930 *.DLL)
38931 outFile=\`basnam ${D}outFile .DLL\`
38932 ;;
38933 *.o)
38934 outFile=\`basnam ${D}outFile .o\`
38935 ;;
38936 *.obj)
38937 outFile=\`basnam ${D}outFile .obj\`
38938 ;;
38939 *.a)
38940 outFile=\`basnam ${D}outFile .a\`
38941 ;;
38942 *.lib)
38943 outFile=\`basnam ${D}outFile .lib\`
38944 ;;
38945 *)
38946 ;;
38947 esac
38948 case ${D}outimpFile in
38949 *.a)
38950 outimpFile=\`basnam ${D}outimpFile .a\`
38951 ;;
38952 *.lib)
38953 outimpFile=\`basnam ${D}outimpFile .lib\`
38954 ;;
38955 *)
38956 ;;
38957 esac
38958 if [ -z ${D}outimpFile ]; then
38959 outimpFile=${D}outFile
38960 fi
38961 defFile="${D}{outFile}.def"
38962 arcFile="${D}{outimpFile}.a"
38963 arcFile2="${D}{outimpFile}.lib"
38964
38965 #create ${D}dllFile as something matching 8.3 restrictions,
38966 if [ -z ${D}renameScript ] ; then
38967 dllFile="${D}outFile"
38968 else
38969 dllFile=\`${D}renameScript ${D}outimpFile\`
38970 fi
38971
38972 if [ ${D}do_backup -ne 0 ] ; then
38973 if [ -f ${D}arcFile ] ; then
38974 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38975 fi
38976 if [ -f ${D}arcFile2 ] ; then
38977 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38978 fi
38979 fi
38980
38981 # Extract public symbols from all the object files.
38982 tmpdefFile=${D}{defFile}_%
38983 rm -f ${D}tmpdefFile
38984 for file in ${D}inputFiles ; do
38985 case ${D}file in
38986 *!)
38987 ;;
38988 *)
38989 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38990 ;;
38991 esac
38992 done
38993
38994 # Create the def file.
38995 rm -f ${D}defFile
38996 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38997 dllFile="${D}{dllFile}.dll"
38998 if [ ! -z ${D}description ]; then
38999 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39000 fi
39001 echo "EXPORTS" >> ${D}defFile
39002
39003 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39004 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39005
39006 # Checks if the export is ok or not.
39007 for word in ${D}exclude_symbols; do
39008 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39009 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39010 done
39011
39012
39013 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39014 sed "=" < ${D}tmpdefFile | \\
39015 sed '
39016 N
39017 : loop
39018 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39019 t loop
39020 ' > ${D}{tmpdefFile}%
39021 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39022 else
39023 rm -f ${D}{tmpdefFile}%
39024 fi
39025 cat ${D}tmpdefFile >> ${D}defFile
39026 rm -f ${D}tmpdefFile
39027
39028 # Do linking, create implib, and apply lxlite.
39029 gccCmdl="";
39030 for file in ${D}inputFiles ; do
39031 case ${D}file in
39032 *!)
39033 ;;
39034 *)
39035 gccCmdl="${D}gccCmdl ${D}file"
39036 ;;
39037 esac
39038 done
39039 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39040 touch "${D}{outFile}.dll"
39041
39042 doCommand "emximp -o ${D}arcFile ${D}defFile"
39043 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39044 add_flags="";
39045 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39046 add_flags="-ynd"
39047 fi
39048 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39049 fi
39050 doCommand "emxomf -s -l ${D}arcFile"
39051
39052 # Successful exit.
39053 CleanUp 1
39054 exit 0
39055 EOF
39056
39057 chmod +x dllar.sh
39058 ;;
39059
39060 powerpc-apple-macos* | \
39061 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39062 *-*-mirbsd* | \
39063 *-*-sunos4* | \
39064 *-*-osf* | \
39065 *-*-dgux5* | \
39066 *-*-sysv5* | \
39067 *-pc-msdosdjgpp )
39068 ;;
39069
39070 *)
39071 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39072 esac
39073
39074 if test "x$PIC_FLAG" != "x" ; then
39075 PIC_FLAG="$PIC_FLAG -DPIC"
39076 fi
39077
39078 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39079 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39080 fi
39081 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39082 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39083 fi
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093 USE_SOVERSION=0
39094 USE_SOVERLINUX=0
39095 USE_SOVERSOLARIS=0
39096 USE_SOVERCYGWIN=0
39097 USE_SOTWOSYMLINKS=0
39098 USE_MACVERSION=0
39099 SONAME_FLAG=
39100
39101 case "${BAKEFILE_HOST}" in
39102 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39103 *-*-k*bsd*-gnu | *-*-mirbsd* )
39104 if test "x$SUNCXX" = "xyes"; then
39105 SONAME_FLAG="-h "
39106 else
39107 SONAME_FLAG="-Wl,-soname,"
39108 fi
39109 USE_SOVERSION=1
39110 USE_SOVERLINUX=1
39111 USE_SOTWOSYMLINKS=1
39112 ;;
39113
39114 *-*-solaris2* )
39115 SONAME_FLAG="-h "
39116 USE_SOVERSION=1
39117 USE_SOVERSOLARIS=1
39118 ;;
39119
39120 *-*-darwin* )
39121 USE_MACVERSION=1
39122 USE_SOVERSION=1
39123 USE_SOTWOSYMLINKS=1
39124 ;;
39125
39126 *-*-cygwin* )
39127 USE_SOVERSION=1
39128 USE_SOVERCYGWIN=1
39129 ;;
39130 esac
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141 # Check whether --enable-dependency-tracking was given.
39142 if test "${enable_dependency_tracking+set}" = set; then :
39143 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39144 fi
39145
39146
39147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39148 $as_echo_n "checking for dependency tracking method... " >&6; }
39149
39150 BK_DEPS=""
39151 if test "x$bk_use_trackdeps" = "xno" ; then
39152 DEPS_TRACKING=0
39153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39154 $as_echo "disabled" >&6; }
39155 else
39156 DEPS_TRACKING=1
39157
39158 if test "x$GCC" = "xyes"; then
39159 DEPSMODE=gcc
39160 DEPSFLAG="-MMD"
39161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39162 $as_echo "gcc" >&6; }
39163 elif test "x$MWCC" = "xyes"; then
39164 DEPSMODE=mwcc
39165 DEPSFLAG="-MM"
39166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39167 $as_echo "mwcc" >&6; }
39168 elif test "x$SUNCC" = "xyes"; then
39169 DEPSMODE=unixcc
39170 DEPSFLAG="-xM1"
39171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39172 $as_echo "Sun cc" >&6; }
39173 elif test "x$SGICC" = "xyes"; then
39174 DEPSMODE=unixcc
39175 DEPSFLAG="-M"
39176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39177 $as_echo "SGI cc" >&6; }
39178 elif test "x$HPCC" = "xyes"; then
39179 DEPSMODE=unixcc
39180 DEPSFLAG="+make"
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39182 $as_echo "HP cc" >&6; }
39183 elif test "x$COMPAQCC" = "xyes"; then
39184 DEPSMODE=gcc
39185 DEPSFLAG="-MD"
39186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39187 $as_echo "Compaq cc" >&6; }
39188 else
39189 DEPS_TRACKING=0
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39191 $as_echo "none" >&6; }
39192 fi
39193
39194 if test $DEPS_TRACKING = 1 ; then
39195
39196 D='$'
39197 cat <<EOF >bk-deps
39198 #!/bin/sh
39199
39200 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39201 # script. It is used to track C/C++ files dependencies in portable way.
39202 #
39203 # Permission is given to use this file in any way.
39204
39205 DEPSMODE=${DEPSMODE}
39206 DEPSFLAG="${DEPSFLAG}"
39207 DEPSDIRBASE=.deps
39208
39209 if test ${D}DEPSMODE = gcc ; then
39210 ${D}* ${D}{DEPSFLAG}
39211 status=${D}?
39212
39213 # determine location of created files:
39214 while test ${D}# -gt 0; do
39215 case "${D}1" in
39216 -o )
39217 shift
39218 objfile=${D}1
39219 ;;
39220 -* )
39221 ;;
39222 * )
39223 srcfile=${D}1
39224 ;;
39225 esac
39226 shift
39227 done
39228 objfilebase=\`basename ${D}objfile\`
39229 builddir=\`dirname ${D}objfile\`
39230 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39231 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39232 depsdir=${D}builddir/${D}DEPSDIRBASE
39233 mkdir -p ${D}depsdir
39234
39235 # if the compiler failed, we're done:
39236 if test ${D}{status} != 0 ; then
39237 rm -f ${D}depfile
39238 exit ${D}{status}
39239 fi
39240
39241 # move created file to the location we want it in:
39242 if test -f ${D}depfile ; then
39243 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39244 rm -f ${D}depfile
39245 else
39246 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39247 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39248 if test ! -f ${D}depfile ; then
39249 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39250 depfile="${D}objfile.d"
39251 fi
39252 if test -f ${D}depfile ; then
39253 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39254 rm -f ${D}depfile
39255 fi
39256 fi
39257 exit 0
39258
39259 elif test ${D}DEPSMODE = mwcc ; then
39260 ${D}* || exit ${D}?
39261 # Run mwcc again with -MM and redirect into the dep file we want
39262 # NOTE: We can't use shift here because we need ${D}* to be valid
39263 prevarg=
39264 for arg in ${D}* ; do
39265 if test "${D}prevarg" = "-o"; then
39266 objfile=${D}arg
39267 else
39268 case "${D}arg" in
39269 -* )
39270 ;;
39271 * )
39272 srcfile=${D}arg
39273 ;;
39274 esac
39275 fi
39276 prevarg="${D}arg"
39277 done
39278
39279 objfilebase=\`basename ${D}objfile\`
39280 builddir=\`dirname ${D}objfile\`
39281 depsdir=${D}builddir/${D}DEPSDIRBASE
39282 mkdir -p ${D}depsdir
39283
39284 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39285 exit 0
39286
39287 elif test ${D}DEPSMODE = unixcc; then
39288 ${D}* || exit ${D}?
39289 # Run compiler again with deps flag and redirect into the dep file.
39290 # It doesn't work if the '-o FILE' option is used, but without it the
39291 # dependency file will contain the wrong name for the object. So it is
39292 # removed from the command line, and the dep file is fixed with sed.
39293 cmd=""
39294 while test ${D}# -gt 0; do
39295 case "${D}1" in
39296 -o )
39297 shift
39298 objfile=${D}1
39299 ;;
39300 * )
39301 eval arg${D}#=\\${D}1
39302 cmd="${D}cmd \\${D}arg${D}#"
39303 ;;
39304 esac
39305 shift
39306 done
39307
39308 objfilebase=\`basename ${D}objfile\`
39309 builddir=\`dirname ${D}objfile\`
39310 depsdir=${D}builddir/${D}DEPSDIRBASE
39311 mkdir -p ${D}depsdir
39312
39313 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39314 exit 0
39315
39316 else
39317 ${D}*
39318 exit ${D}?
39319 fi
39320 EOF
39321
39322 chmod +x bk-deps
39323 BK_DEPS="`pwd`/bk-deps"
39324 fi
39325 fi
39326
39327
39328
39329
39330
39331 case ${BAKEFILE_HOST} in
39332 *-*-cygwin* | *-*-mingw32* )
39333 if test -n "$ac_tool_prefix"; then
39334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39335 set dummy ${ac_tool_prefix}windres; ac_word=$2
39336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39337 $as_echo_n "checking for $ac_word... " >&6; }
39338 if ${ac_cv_prog_WINDRES+:} false; then :
39339 $as_echo_n "(cached) " >&6
39340 else
39341 if test -n "$WINDRES"; then
39342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39343 else
39344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39345 for as_dir in $PATH
39346 do
39347 IFS=$as_save_IFS
39348 test -z "$as_dir" && as_dir=.
39349 for ac_exec_ext in '' $ac_executable_extensions; do
39350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39351 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39353 break 2
39354 fi
39355 done
39356 done
39357 IFS=$as_save_IFS
39358
39359 fi
39360 fi
39361 WINDRES=$ac_cv_prog_WINDRES
39362 if test -n "$WINDRES"; then
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39364 $as_echo "$WINDRES" >&6; }
39365 else
39366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39367 $as_echo "no" >&6; }
39368 fi
39369
39370
39371 fi
39372 if test -z "$ac_cv_prog_WINDRES"; then
39373 ac_ct_WINDRES=$WINDRES
39374 # Extract the first word of "windres", so it can be a program name with args.
39375 set dummy windres; ac_word=$2
39376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39377 $as_echo_n "checking for $ac_word... " >&6; }
39378 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39379 $as_echo_n "(cached) " >&6
39380 else
39381 if test -n "$ac_ct_WINDRES"; then
39382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39383 else
39384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39385 for as_dir in $PATH
39386 do
39387 IFS=$as_save_IFS
39388 test -z "$as_dir" && as_dir=.
39389 for ac_exec_ext in '' $ac_executable_extensions; do
39390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39391 ac_cv_prog_ac_ct_WINDRES="windres"
39392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39393 break 2
39394 fi
39395 done
39396 done
39397 IFS=$as_save_IFS
39398
39399 fi
39400 fi
39401 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39402 if test -n "$ac_ct_WINDRES"; then
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39404 $as_echo "$ac_ct_WINDRES" >&6; }
39405 else
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39407 $as_echo "no" >&6; }
39408 fi
39409
39410 if test "x$ac_ct_WINDRES" = x; then
39411 WINDRES=""
39412 else
39413 case $cross_compiling:$ac_tool_warned in
39414 yes:)
39415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39417 ac_tool_warned=yes ;;
39418 esac
39419 WINDRES=$ac_ct_WINDRES
39420 fi
39421 else
39422 WINDRES="$ac_cv_prog_WINDRES"
39423 fi
39424
39425 ;;
39426
39427 *-*-darwin* | powerpc-apple-macos* )
39428 # Extract the first word of "Rez", so it can be a program name with args.
39429 set dummy Rez; ac_word=$2
39430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39431 $as_echo_n "checking for $ac_word... " >&6; }
39432 if ${ac_cv_prog_REZ+:} false; then :
39433 $as_echo_n "(cached) " >&6
39434 else
39435 if test -n "$REZ"; then
39436 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39437 else
39438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39439 for as_dir in $PATH
39440 do
39441 IFS=$as_save_IFS
39442 test -z "$as_dir" && as_dir=.
39443 for ac_exec_ext in '' $ac_executable_extensions; do
39444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39445 ac_cv_prog_REZ="Rez"
39446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39447 break 2
39448 fi
39449 done
39450 done
39451 IFS=$as_save_IFS
39452
39453 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39454 fi
39455 fi
39456 REZ=$ac_cv_prog_REZ
39457 if test -n "$REZ"; then
39458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39459 $as_echo "$REZ" >&6; }
39460 else
39461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39462 $as_echo "no" >&6; }
39463 fi
39464
39465
39466 # Extract the first word of "SetFile", so it can be a program name with args.
39467 set dummy SetFile; ac_word=$2
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39469 $as_echo_n "checking for $ac_word... " >&6; }
39470 if ${ac_cv_prog_SETFILE+:} false; then :
39471 $as_echo_n "(cached) " >&6
39472 else
39473 if test -n "$SETFILE"; then
39474 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39475 else
39476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39477 for as_dir in $PATH
39478 do
39479 IFS=$as_save_IFS
39480 test -z "$as_dir" && as_dir=.
39481 for ac_exec_ext in '' $ac_executable_extensions; do
39482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39483 ac_cv_prog_SETFILE="SetFile"
39484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39485 break 2
39486 fi
39487 done
39488 done
39489 IFS=$as_save_IFS
39490
39491 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39492 fi
39493 fi
39494 SETFILE=$ac_cv_prog_SETFILE
39495 if test -n "$SETFILE"; then
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39497 $as_echo "$SETFILE" >&6; }
39498 else
39499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39500 $as_echo "no" >&6; }
39501 fi
39502
39503
39504 ;;
39505 esac
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39516
39517
39518 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39519
39520
39521
39522 # Check whether --enable-precomp-headers was given.
39523 if test "${enable_precomp_headers+set}" = set; then :
39524 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39525 fi
39526
39527
39528 GCC_PCH=0
39529 ICC_PCH=0
39530 USE_PCH=0
39531 BK_MAKE_PCH=""
39532
39533 case ${BAKEFILE_HOST} in
39534 *-*-cygwin* )
39535 bk_use_pch="no"
39536 ;;
39537 esac
39538
39539 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39540 if test "x$GCC" = "xyes"; then
39541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39542 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39544 /* end confdefs.h. */
39545
39546 int
39547 main ()
39548 {
39549
39550 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39551 There is no PCH support
39552 #endif
39553 #if (__GNUC__ < 3)
39554 There is no PCH support
39555 #endif
39556 #if (__GNUC__ == 3) && \
39557 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39558 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39559 ( defined(__INTEL_COMPILER) )
39560 There is no PCH support
39561 #endif
39562
39563 ;
39564 return 0;
39565 }
39566 _ACEOF
39567 if ac_fn_c_try_compile "$LINENO"; then :
39568
39569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39570 $as_echo "yes" >&6; }
39571 GCC_PCH=1
39572
39573 else
39574
39575 if test "$INTELCXX8" = "yes"; then
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39577 $as_echo "yes" >&6; }
39578 ICC_PCH=1
39579 if test "$INTELCXX10" = "yes"; then
39580 ICC_PCH_CREATE_SWITCH="-pch-create"
39581 ICC_PCH_USE_SWITCH="-pch-use"
39582 else
39583 ICC_PCH_CREATE_SWITCH="-create-pch"
39584 ICC_PCH_USE_SWITCH="-use-pch"
39585 fi
39586 else
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39588 $as_echo "no" >&6; }
39589 fi
39590
39591 fi
39592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39593 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39594 USE_PCH=1
39595
39596 D='$'
39597 cat <<EOF >bk-make-pch
39598 #!/bin/sh
39599
39600 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39601 # script. It is used to generated precompiled headers.
39602 #
39603 # Permission is given to use this file in any way.
39604
39605 outfile="${D}{1}"
39606 header="${D}{2}"
39607 shift
39608 shift
39609
39610 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39611
39612 compiler=""
39613 headerfile=""
39614
39615 while test ${D}{#} -gt 0; do
39616 add_to_cmdline=1
39617 case "${D}{1}" in
39618 -I* )
39619 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39620 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39621 headerfile="${D}{incdir}/${D}{header}"
39622 fi
39623 ;;
39624 -use-pch|-use_pch|-pch-use )
39625 shift
39626 add_to_cmdline=0
39627 ;;
39628 esac
39629 if test ${D}add_to_cmdline = 1 ; then
39630 compiler="${D}{compiler} ${D}{1}"
39631 fi
39632 shift
39633 done
39634
39635 if test "x${D}{headerfile}" = "x" ; then
39636 echo "error: can't find header ${D}{header} in include paths" >&2
39637 else
39638 if test -f ${D}{outfile} ; then
39639 rm -f ${D}{outfile}
39640 else
39641 mkdir -p \`dirname ${D}{outfile}\`
39642 fi
39643 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39644 mkdir -p ${D}{builddir}/.deps
39645 if test "x${GCC_PCH}" = "x1" ; then
39646 # can do this because gcc is >= 3.4:
39647 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39648 elif test "x${ICC_PCH}" = "x1" ; then
39649 filename=pch_gen-${D}${D}
39650 file=${D}{filename}.c
39651 dfile=${D}{filename}.d
39652 cat > ${D}file <<EOT
39653 #include "${D}header"
39654 EOT
39655 # using -MF icc complains about differing command lines in creation/use
39656 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39657 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39658 rm -f ${D}file ${D}dfile ${D}{filename}.o
39659 fi
39660 exit ${D}{?}
39661 fi
39662 EOF
39663
39664 chmod +x bk-make-pch
39665 BK_MAKE_PCH="`pwd`/bk-make-pch"
39666 fi
39667 fi
39668 fi
39669
39670
39671
39672
39673
39674
39675
39676 COND_BUILD_DEBUG="#"
39677 if test "x$BUILD" = "xdebug" ; then
39678 COND_BUILD_DEBUG=""
39679 fi
39680
39681 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39682 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39683 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39684 fi
39685
39686 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39687 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39688 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39689 fi
39690
39691 COND_BUILD_DEBUG_UNICODE_0="#"
39692 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39693 COND_BUILD_DEBUG_UNICODE_0=""
39694 fi
39695
39696 COND_BUILD_DEBUG_UNICODE_1="#"
39697 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39698 COND_BUILD_DEBUG_UNICODE_1=""
39699 fi
39700
39701 COND_BUILD_RELEASE="#"
39702 if test "x$BUILD" = "xrelease" ; then
39703 COND_BUILD_RELEASE=""
39704 fi
39705
39706 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39707 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39708 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39709 fi
39710
39711 COND_BUILD_RELEASE_UNICODE_0="#"
39712 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39713 COND_BUILD_RELEASE_UNICODE_0=""
39714 fi
39715
39716 COND_BUILD_RELEASE_UNICODE_1="#"
39717 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39718 COND_BUILD_RELEASE_UNICODE_1=""
39719 fi
39720
39721 COND_BUILD_debug="#"
39722 if test "x$BUILD" = "xdebug" ; then
39723 COND_BUILD_debug=""
39724 fi
39725
39726 COND_BUILD_debug_DEBUG_FLAG_default="#"
39727 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39728 COND_BUILD_debug_DEBUG_FLAG_default=""
39729 fi
39730
39731 COND_BUILD_debug_DEBUG_INFO_default="#"
39732 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39733 COND_BUILD_debug_DEBUG_INFO_default=""
39734 fi
39735
39736 COND_BUILD_debug_UNICODE_0="#"
39737 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39738 COND_BUILD_debug_UNICODE_0=""
39739 fi
39740
39741 COND_BUILD_debug_UNICODE_1="#"
39742 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39743 COND_BUILD_debug_UNICODE_1=""
39744 fi
39745
39746 COND_BUILD_release="#"
39747 if test "x$BUILD" = "xrelease" ; then
39748 COND_BUILD_release=""
39749 fi
39750
39751 COND_BUILD_release_DEBUG_INFO_default="#"
39752 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39753 COND_BUILD_release_DEBUG_INFO_default=""
39754 fi
39755
39756 COND_BUILD_release_UNICODE_0="#"
39757 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39758 COND_BUILD_release_UNICODE_0=""
39759 fi
39760
39761 COND_BUILD_release_UNICODE_1="#"
39762 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39763 COND_BUILD_release_UNICODE_1=""
39764 fi
39765
39766 COND_DEBUG_FLAG_0="#"
39767 if test "x$DEBUG_FLAG" = "x0" ; then
39768 COND_DEBUG_FLAG_0=""
39769 fi
39770
39771 COND_DEBUG_FLAG_1="#"
39772 if test "x$DEBUG_FLAG" = "x1" ; then
39773 COND_DEBUG_FLAG_1=""
39774 fi
39775
39776 COND_DEBUG_INFO_0="#"
39777 if test "x$DEBUG_INFO" = "x0" ; then
39778 COND_DEBUG_INFO_0=""
39779 fi
39780
39781 COND_DEBUG_INFO_1="#"
39782 if test "x$DEBUG_INFO" = "x1" ; then
39783 COND_DEBUG_INFO_1=""
39784 fi
39785
39786 COND_DEPS_TRACKING_0="#"
39787 if test "x$DEPS_TRACKING" = "x0" ; then
39788 COND_DEPS_TRACKING_0=""
39789 fi
39790
39791 COND_DEPS_TRACKING_1="#"
39792 if test "x$DEPS_TRACKING" = "x1" ; then
39793 COND_DEPS_TRACKING_1=""
39794 fi
39795
39796 COND_GCC_PCH_1="#"
39797 if test "x$GCC_PCH" = "x1" ; then
39798 COND_GCC_PCH_1=""
39799 fi
39800
39801 COND_ICC_PCH_1="#"
39802 if test "x$ICC_PCH" = "x1" ; then
39803 COND_ICC_PCH_1=""
39804 fi
39805
39806 COND_MONOLITHIC_0="#"
39807 if test "x$MONOLITHIC" = "x0" ; then
39808 COND_MONOLITHIC_0=""
39809 fi
39810
39811 COND_MONOLITHIC_0_SHARED_0="#"
39812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39813 COND_MONOLITHIC_0_SHARED_0=""
39814 fi
39815
39816 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39818 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39819 fi
39820
39821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39824 fi
39825
39826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39829 fi
39830
39831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39834 fi
39835
39836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39839 fi
39840
39841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39844 fi
39845
39846 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39849 fi
39850
39851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39854 fi
39855
39856 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39858 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39859 fi
39860
39861 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39863 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39864 fi
39865
39866 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39868 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39869 fi
39870
39871 COND_MONOLITHIC_0_SHARED_1="#"
39872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39873 COND_MONOLITHIC_0_SHARED_1=""
39874 fi
39875
39876 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39878 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39879 fi
39880
39881 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39884 fi
39885
39886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39889 fi
39890
39891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39894 fi
39895
39896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39899 fi
39900
39901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39904 fi
39905
39906 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39908 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39909 fi
39910
39911 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39913 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39914 fi
39915
39916 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39918 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39919 fi
39920
39921 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39923 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39924 fi
39925
39926 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39928 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39929 fi
39930
39931 COND_MONOLITHIC_0_USE_AUI_1="#"
39932 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39933 COND_MONOLITHIC_0_USE_AUI_1=""
39934 fi
39935
39936 COND_MONOLITHIC_0_USE_GUI_1="#"
39937 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39938 COND_MONOLITHIC_0_USE_GUI_1=""
39939 fi
39940
39941 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39942 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39943 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39944 fi
39945
39946 COND_MONOLITHIC_0_USE_HTML_1="#"
39947 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39948 COND_MONOLITHIC_0_USE_HTML_1=""
39949 fi
39950
39951 COND_MONOLITHIC_0_USE_MEDIA_1="#"
39952 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39953 COND_MONOLITHIC_0_USE_MEDIA_1=""
39954 fi
39955
39956 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39957 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39958 COND_MONOLITHIC_0_USE_PROPGRID_1=""
39959 fi
39960
39961 COND_MONOLITHIC_0_USE_QA_1="#"
39962 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39963 COND_MONOLITHIC_0_USE_QA_1=""
39964 fi
39965
39966 COND_MONOLITHIC_0_USE_RIBBON_1="#"
39967 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39968 COND_MONOLITHIC_0_USE_RIBBON_1=""
39969 fi
39970
39971 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39972 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39973 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39974 fi
39975
39976 COND_MONOLITHIC_0_USE_STC_1="#"
39977 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39978 COND_MONOLITHIC_0_USE_STC_1=""
39979 fi
39980
39981 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39982 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39983 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39984 fi
39985
39986 COND_MONOLITHIC_0_USE_XRC_1="#"
39987 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39988 COND_MONOLITHIC_0_USE_XRC_1=""
39989 fi
39990
39991 COND_MONOLITHIC_1="#"
39992 if test "x$MONOLITHIC" = "x1" ; then
39993 COND_MONOLITHIC_1=""
39994 fi
39995
39996 COND_MONOLITHIC_1_SHARED_0="#"
39997 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39998 COND_MONOLITHIC_1_SHARED_0=""
39999 fi
40000
40001 COND_MONOLITHIC_1_SHARED_1="#"
40002 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40003 COND_MONOLITHIC_1_SHARED_1=""
40004 fi
40005
40006 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40007 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40008 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40009 fi
40010
40011 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40012 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40013 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40014 fi
40015
40016 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
40017 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40018 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
40019 fi
40020
40021 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40022 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40023 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40024 fi
40025
40026 COND_PLATFORM_MACOSX_1="#"
40027 if test "x$PLATFORM_MACOSX" = "x1" ; then
40028 COND_PLATFORM_MACOSX_1=""
40029 fi
40030
40031 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
40032 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40033 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
40034 fi
40035
40036 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
40037 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40038 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
40039 fi
40040
40041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40044 fi
40045
40046 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
40047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40048 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40049 fi
40050
40051 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40053 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40054 fi
40055
40056 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40058 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40059 fi
40060
40061 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40063 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40064 fi
40065
40066 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40068 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40069 fi
40070
40071 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40073 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40074 fi
40075
40076 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40078 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40079 fi
40080
40081 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40083 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40084 fi
40085
40086 COND_PLATFORM_MACOS_1="#"
40087 if test "x$PLATFORM_MACOS" = "x1" ; then
40088 COND_PLATFORM_MACOS_1=""
40089 fi
40090
40091 COND_PLATFORM_MAC_0="#"
40092 if test "x$PLATFORM_MAC" = "x0" ; then
40093 COND_PLATFORM_MAC_0=""
40094 fi
40095
40096 COND_PLATFORM_MAC_1="#"
40097 if test "x$PLATFORM_MAC" = "x1" ; then
40098 COND_PLATFORM_MAC_1=""
40099 fi
40100
40101 COND_PLATFORM_MSDOS_0="#"
40102 if test "x$PLATFORM_MSDOS" = "x0" ; then
40103 COND_PLATFORM_MSDOS_0=""
40104 fi
40105
40106 COND_PLATFORM_MSDOS_1="#"
40107 if test "x$PLATFORM_MSDOS" = "x1" ; then
40108 COND_PLATFORM_MSDOS_1=""
40109 fi
40110
40111 COND_PLATFORM_OS2_1="#"
40112 if test "x$PLATFORM_OS2" = "x1" ; then
40113 COND_PLATFORM_OS2_1=""
40114 fi
40115
40116 COND_PLATFORM_UNIX_0="#"
40117 if test "x$PLATFORM_UNIX" = "x0" ; then
40118 COND_PLATFORM_UNIX_0=""
40119 fi
40120
40121 COND_PLATFORM_UNIX_1="#"
40122 if test "x$PLATFORM_UNIX" = "x1" ; then
40123 COND_PLATFORM_UNIX_1=""
40124 fi
40125
40126 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40127 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40128 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40129 fi
40130
40131 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40132 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40133 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40134 fi
40135
40136 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40137 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40138 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40139 fi
40140
40141 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40142 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40143 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40144 fi
40145
40146 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40147 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40148 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40149 fi
40150
40151 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40152 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40153 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40154 fi
40155
40156 COND_PLATFORM_WIN32_0="#"
40157 if test "x$PLATFORM_WIN32" = "x0" ; then
40158 COND_PLATFORM_WIN32_0=""
40159 fi
40160
40161 COND_PLATFORM_WIN32_1="#"
40162 if test "x$PLATFORM_WIN32" = "x1" ; then
40163 COND_PLATFORM_WIN32_1=""
40164 fi
40165
40166 COND_PLATFORM_WIN32_1_SHARED_0="#"
40167 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40168 COND_PLATFORM_WIN32_1_SHARED_0=""
40169 fi
40170
40171 COND_SHARED_0="#"
40172 if test "x$SHARED" = "x0" ; then
40173 COND_SHARED_0=""
40174 fi
40175
40176 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40177 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40178 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40179 fi
40180
40181 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40182 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40183 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40184 fi
40185
40186 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40187 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40188 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40189 fi
40190
40191 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40193 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40194 fi
40195
40196 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40198 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40199 fi
40200
40201 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40202 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40203 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40204 fi
40205
40206 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40207 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40208 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40209 fi
40210
40211 COND_SHARED_0_USE_STC_1="#"
40212 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40213 COND_SHARED_0_USE_STC_1=""
40214 fi
40215
40216 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40217 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40218 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40219 fi
40220
40221 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40222 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40223 COND_SHARED_0_wxUSE_REGEX_builtin=""
40224 fi
40225
40226 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40227 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40228 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40229 fi
40230
40231 COND_SHARED_1="#"
40232 if test "x$SHARED" = "x1" ; then
40233 COND_SHARED_1=""
40234 fi
40235
40236 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40237 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40238 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40239 fi
40240
40241 COND_TOOLKIT_="#"
40242 if test "x$TOOLKIT" = "x" ; then
40243 COND_TOOLKIT_=""
40244 fi
40245
40246 COND_TOOLKIT_COCOA="#"
40247 if test "x$TOOLKIT" = "xCOCOA" ; then
40248 COND_TOOLKIT_COCOA=""
40249 fi
40250
40251 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40252 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40253 COND_TOOLKIT_COCOA_USE_GUI_1=""
40254 fi
40255
40256 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40257 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40258 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40259 fi
40260
40261 COND_TOOLKIT_DFB="#"
40262 if test "x$TOOLKIT" = "xDFB" ; then
40263 COND_TOOLKIT_DFB=""
40264 fi
40265
40266 COND_TOOLKIT_DFB_USE_GUI_1="#"
40267 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40268 COND_TOOLKIT_DFB_USE_GUI_1=""
40269 fi
40270
40271 COND_TOOLKIT_GTK="#"
40272 if test "x$TOOLKIT" = "xGTK" ; then
40273 COND_TOOLKIT_GTK=""
40274 fi
40275
40276 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40277 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40279 fi
40280
40281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40284 fi
40285
40286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40287 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40289 fi
40290
40291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40292 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40293 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40294 fi
40295
40296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40297 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40299 fi
40300
40301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40302 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40304 fi
40305
40306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40307 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40309 fi
40310
40311 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40312 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40313 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40314 fi
40315
40316 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40317 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40318 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40319 fi
40320
40321 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40322 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40323 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40324 fi
40325
40326 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40327 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40328 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40329 fi
40330
40331 COND_TOOLKIT_GTK_USE_GUI_1="#"
40332 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40333 COND_TOOLKIT_GTK_USE_GUI_1=""
40334 fi
40335
40336 COND_TOOLKIT_MAC="#"
40337 if test "x$TOOLKIT" = "xMAC" ; then
40338 COND_TOOLKIT_MAC=""
40339 fi
40340
40341 COND_TOOLKIT_MOTIF="#"
40342 if test "x$TOOLKIT" = "xMOTIF" ; then
40343 COND_TOOLKIT_MOTIF=""
40344 fi
40345
40346 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40347 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40348 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40349 fi
40350
40351 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40352 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40353 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40354 fi
40355
40356 COND_TOOLKIT_MSW="#"
40357 if test "x$TOOLKIT" = "xMSW" ; then
40358 COND_TOOLKIT_MSW=""
40359 fi
40360
40361 COND_TOOLKIT_MSW_USE_GUI_1="#"
40362 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40363 COND_TOOLKIT_MSW_USE_GUI_1=""
40364 fi
40365
40366 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40367 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40368 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40369 fi
40370
40371 COND_TOOLKIT_MSW_WXUNIV_0="#"
40372 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40373 COND_TOOLKIT_MSW_WXUNIV_0=""
40374 fi
40375
40376 COND_TOOLKIT_OSX_CARBON="#"
40377 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40378 COND_TOOLKIT_OSX_CARBON=""
40379 fi
40380
40381 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40382 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40383 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40384 fi
40385
40386 COND_TOOLKIT_OSX_COCOA="#"
40387 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40388 COND_TOOLKIT_OSX_COCOA=""
40389 fi
40390
40391 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40392 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40393 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40394 fi
40395
40396 COND_TOOLKIT_OSX_IPHONE="#"
40397 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40398 COND_TOOLKIT_OSX_IPHONE=""
40399 fi
40400
40401 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40402 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40403 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40404 fi
40405
40406 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40407 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40408 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40409 fi
40410
40411 COND_TOOLKIT_PM="#"
40412 if test "x$TOOLKIT" = "xPM" ; then
40413 COND_TOOLKIT_PM=""
40414 fi
40415
40416 COND_TOOLKIT_PM_USE_GUI_1="#"
40417 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40418 COND_TOOLKIT_PM_USE_GUI_1=""
40419 fi
40420
40421 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40422 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40423 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40424 fi
40425
40426 COND_TOOLKIT_WINCE="#"
40427 if test "x$TOOLKIT" = "xWINCE" ; then
40428 COND_TOOLKIT_WINCE=""
40429 fi
40430
40431 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40432 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40433 COND_TOOLKIT_WINCE_USE_GUI_1=""
40434 fi
40435
40436 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40437 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40438 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40439 fi
40440
40441 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40442 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40443 COND_TOOLKIT_WINCE_WXUNIV_0=""
40444 fi
40445
40446 COND_TOOLKIT_X11="#"
40447 if test "x$TOOLKIT" = "xX11" ; then
40448 COND_TOOLKIT_X11=""
40449 fi
40450
40451 COND_TOOLKIT_X11_USE_GUI_1="#"
40452 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40453 COND_TOOLKIT_X11_USE_GUI_1=""
40454 fi
40455
40456 COND_UNICODE_1="#"
40457 if test "x$UNICODE" = "x1" ; then
40458 COND_UNICODE_1=""
40459 fi
40460
40461 COND_USE_CAIRO_1="#"
40462 if test "x$USE_CAIRO" = "x1" ; then
40463 COND_USE_CAIRO_1=""
40464 fi
40465
40466 COND_USE_EXCEPTIONS_0="#"
40467 if test "x$USE_EXCEPTIONS" = "x0" ; then
40468 COND_USE_EXCEPTIONS_0=""
40469 fi
40470
40471 COND_USE_EXCEPTIONS_1="#"
40472 if test "x$USE_EXCEPTIONS" = "x1" ; then
40473 COND_USE_EXCEPTIONS_1=""
40474 fi
40475
40476 COND_USE_GUI_0="#"
40477 if test "x$USE_GUI" = "x0" ; then
40478 COND_USE_GUI_0=""
40479 fi
40480
40481 COND_USE_GUI_1="#"
40482 if test "x$USE_GUI" = "x1" ; then
40483 COND_USE_GUI_1=""
40484 fi
40485
40486 COND_USE_GUI_1_USE_OPENGL_1="#"
40487 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40488 COND_USE_GUI_1_USE_OPENGL_1=""
40489 fi
40490
40491 COND_USE_GUI_1_WXUNIV_0="#"
40492 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40493 COND_USE_GUI_1_WXUNIV_0=""
40494 fi
40495
40496 COND_USE_GUI_1_WXUNIV_1="#"
40497 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40498 COND_USE_GUI_1_WXUNIV_1=""
40499 fi
40500
40501 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40502 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40503 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40504 fi
40505
40506 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40507 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40508 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40509 fi
40510
40511 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40512 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40513 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40514 fi
40515
40516 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40517 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40518 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40519 fi
40520
40521 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40522 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40523 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40524 fi
40525
40526 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40527 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40528 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40529 fi
40530
40531 COND_USE_OPENGL_1="#"
40532 if test "x$USE_OPENGL" = "x1" ; then
40533 COND_USE_OPENGL_1=""
40534 fi
40535
40536 COND_USE_PCH_1="#"
40537 if test "x$USE_PCH" = "x1" ; then
40538 COND_USE_PCH_1=""
40539 fi
40540
40541 COND_USE_PLUGINS_0="#"
40542 if test "x$USE_PLUGINS" = "x0" ; then
40543 COND_USE_PLUGINS_0=""
40544 fi
40545
40546 COND_USE_RTTI_0="#"
40547 if test "x$USE_RTTI" = "x0" ; then
40548 COND_USE_RTTI_0=""
40549 fi
40550
40551 COND_USE_RTTI_1="#"
40552 if test "x$USE_RTTI" = "x1" ; then
40553 COND_USE_RTTI_1=""
40554 fi
40555
40556 COND_USE_SOTWOSYMLINKS_1="#"
40557 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40558 COND_USE_SOTWOSYMLINKS_1=""
40559 fi
40560
40561 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40562 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40563 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40564 fi
40565
40566 COND_USE_SOVERLINUX_1="#"
40567 if test "x$USE_SOVERLINUX" = "x1" ; then
40568 COND_USE_SOVERLINUX_1=""
40569 fi
40570
40571 COND_USE_SOVERSION_0="#"
40572 if test "x$USE_SOVERSION" = "x0" ; then
40573 COND_USE_SOVERSION_0=""
40574 fi
40575
40576 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40577 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40578 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40579 fi
40580
40581 COND_USE_SOVERSOLARIS_1="#"
40582 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40583 COND_USE_SOVERSOLARIS_1=""
40584 fi
40585
40586 COND_USE_STC_1="#"
40587 if test "x$USE_STC" = "x1" ; then
40588 COND_USE_STC_1=""
40589 fi
40590
40591 COND_USE_THREADS_0="#"
40592 if test "x$USE_THREADS" = "x0" ; then
40593 COND_USE_THREADS_0=""
40594 fi
40595
40596 COND_USE_THREADS_1="#"
40597 if test "x$USE_THREADS" = "x1" ; then
40598 COND_USE_THREADS_1=""
40599 fi
40600
40601 COND_USE_XRC_1="#"
40602 if test "x$USE_XRC" = "x1" ; then
40603 COND_USE_XRC_1=""
40604 fi
40605
40606 COND_WINDOWS_IMPLIB_1="#"
40607 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40608 COND_WINDOWS_IMPLIB_1=""
40609 fi
40610
40611 COND_WITH_PLUGIN_SDL_1="#"
40612 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40613 COND_WITH_PLUGIN_SDL_1=""
40614 fi
40615
40616 COND_WXUNIV_0="#"
40617 if test "x$WXUNIV" = "x0" ; then
40618 COND_WXUNIV_0=""
40619 fi
40620
40621 COND_WXUNIV_1="#"
40622 if test "x$WXUNIV" = "x1" ; then
40623 COND_WXUNIV_1=""
40624 fi
40625
40626 COND_WXUSE_EXPAT_BUILTIN="#"
40627 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40628 COND_WXUSE_EXPAT_BUILTIN=""
40629 fi
40630
40631 COND_WXUSE_LIBJPEG_BUILTIN="#"
40632 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40633 COND_WXUSE_LIBJPEG_BUILTIN=""
40634 fi
40635
40636 COND_WXUSE_LIBPNG_BUILTIN="#"
40637 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40638 COND_WXUSE_LIBPNG_BUILTIN=""
40639 fi
40640
40641 COND_WXUSE_LIBTIFF_BUILTIN="#"
40642 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40643 COND_WXUSE_LIBTIFF_BUILTIN=""
40644 fi
40645
40646 COND_WXUSE_REGEX_BUILTIN="#"
40647 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40648 COND_WXUSE_REGEX_BUILTIN=""
40649 fi
40650
40651 COND_WXUSE_ZLIB_BUILTIN="#"
40652 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40653 COND_WXUSE_ZLIB_BUILTIN=""
40654 fi
40655
40656 COND_wxUSE_EXPAT_builtin="#"
40657 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40658 COND_wxUSE_EXPAT_builtin=""
40659 fi
40660
40661 COND_wxUSE_LIBJPEG_builtin="#"
40662 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40663 COND_wxUSE_LIBJPEG_builtin=""
40664 fi
40665
40666 COND_wxUSE_LIBPNG_builtin="#"
40667 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40668 COND_wxUSE_LIBPNG_builtin=""
40669 fi
40670
40671 COND_wxUSE_LIBTIFF_builtin="#"
40672 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40673 COND_wxUSE_LIBTIFF_builtin=""
40674 fi
40675
40676 COND_wxUSE_REGEX_builtin="#"
40677 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40678 COND_wxUSE_REGEX_builtin=""
40679 fi
40680
40681 COND_wxUSE_ZLIB_builtin="#"
40682 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40683 COND_wxUSE_ZLIB_builtin=""
40684 fi
40685
40686
40687
40688 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40689 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
40690 fi
40691
40692 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40693 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
40694 fi
40695
40696
40697 case ${INSTALL} in
40698 /* ) # Absolute
40699 ;;
40700 ?:* ) # Drive letter, considered as absolute.
40701 ;;
40702 *)
40703 INSTALL=`pwd`/${INSTALL} ;;
40704 esac
40705
40706 if test "$wxUSE_GUI" = "yes"; then
40707
40708 if test "$wxUSE_MSW" = 1 ; then
40709 if test "x$WINDRES" = "x"; then
40710 as_fn_error $? "Required windres program not found" "$LINENO" 5
40711 fi
40712
40713 RESCOMP="$WINDRES"
40714 fi
40715
40716 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40717 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40718 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40719
40720 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40721
40722 # Extract the first word of "DeRez", so it can be a program name with args.
40723 set dummy DeRez; ac_word=$2
40724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40725 $as_echo_n "checking for $ac_word... " >&6; }
40726 if ${ac_cv_prog_DEREZ+:} false; then :
40727 $as_echo_n "(cached) " >&6
40728 else
40729 if test -n "$DEREZ"; then
40730 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40731 else
40732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40733 for as_dir in $PATH
40734 do
40735 IFS=$as_save_IFS
40736 test -z "$as_dir" && as_dir=.
40737 for ac_exec_ext in '' $ac_executable_extensions; do
40738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40739 ac_cv_prog_DEREZ="DeRez"
40740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40741 break 2
40742 fi
40743 done
40744 done
40745 IFS=$as_save_IFS
40746
40747 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40748 fi
40749 fi
40750 DEREZ=$ac_cv_prog_DEREZ
40751 if test -n "$DEREZ"; then
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40753 $as_echo "$DEREZ" >&6; }
40754 else
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40756 $as_echo "no" >&6; }
40757 fi
40758
40759
40760
40761 MACSETFILE="\$(SETFILE)"
40762
40763 if test "$wxUSE_OSX_CARBON" = 1; then
40764 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40765 RESCOMP="$REZ"
40766 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40767 else
40768 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40769 RESCOMP="cat /dev/null \| $REZ"
40770 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40771 fi
40772
40773 else
40774 MACSETFILE="@true"
40775
40776 if test "$wxUSE_PM" = 1; then
40777 RESCOMP="emxbind"
40778 WXCONFIG_RESFLAGS="-ep"
40779
40780 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40781 else
40782 POSTLINK_COMMAND="@true"
40783 fi
40784 fi
40785
40786 fi
40787
40788
40789 if test $GCC_PCH = 1
40790 then
40791 if test "$wx_cv_gcc_pch_bug" = yes; then
40792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40793 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40795 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40797 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40798 fi
40799
40800 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40801 # the headers that benefit from precompilation are mostly C++ headers.
40802 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40803 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40804 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40805 fi
40806
40807
40808 if test "$wxUSE_MAC" = 1 ; then
40809 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40810 if test "x$disable_macosx_deps" = "xyes"; then
40811 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40812 mv temp bk-deps
40813 chmod +x bk-deps
40814 fi
40815 fi
40816 fi
40817
40818 if test "$wxUSE_SHARED" = "yes"; then
40819 case "${host}" in
40820 *-pc-os2_emx | *-pc-os2-emx )
40821 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40822 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40823 cp -p ${srcdir}/src/os2/dllnames.sh .
40824 cp -p ${srcdir}/src/os2/dllar.sh .
40825 ;;
40826 esac
40827 fi
40828 if test "$wxUSE_OMF" = "yes"; then
40829 case "${host}" in
40830 *-pc-os2_emx | *-pc-os2-emx )
40831 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40832 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40833 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40834 ;;
40835 esac
40836 fi
40837
40838 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40839
40840
40841 case "${host}" in
40842 *-*-solaris2* )
40843 if test "$GCC" = yes; then
40844 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40845 LIBS=`echo $LIBS | sed 's/-mt//g'`
40846 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40847 fi
40848 ;;
40849
40850 *-*-linux* )
40851 if test "x$SUNCXX" = xyes; then
40852 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40853 LIBS=`echo $LIBS | sed 's/-pthread//g'`
40854 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40855 fi
40856 ;;
40857 esac
40858
40859 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40860 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40861 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40862 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40863
40864 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40927 set x ${MAKE-make}
40928 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40929 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
40930 $as_echo_n "(cached) " >&6
40931 else
40932 cat >conftest.make <<\_ACEOF
40933 SHELL = /bin/sh
40934 all:
40935 @echo '@@@%%%=$(MAKE)=@@@%%%'
40936 _ACEOF
40937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40939 *@@@%%%=?*=@@@%%%*)
40940 eval ac_cv_prog_make_${ac_make}_set=yes;;
40941 *)
40942 eval ac_cv_prog_make_${ac_make}_set=no;;
40943 esac
40944 rm -f conftest.make
40945 fi
40946 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40948 $as_echo "yes" >&6; }
40949 SET_MAKE=
40950 else
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40952 $as_echo "no" >&6; }
40953 SET_MAKE="MAKE=${MAKE-make}"
40954 fi
40955
40956
40957
40958 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40959
40960
40961 if test "$USE_WIN32" = 1; then
40962 ac_config_commands="$ac_config_commands rcdefs.h"
40963
40964 fi
40965
40966 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40967
40968
40969 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40970
40971
40972 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40973
40974
40975 if test "$wx_cv_version_script" = "yes"; then
40976 ac_config_files="$ac_config_files version-script"
40977
40978 fi
40979 ac_config_files="$ac_config_files Makefile"
40980
40981
40982 ac_config_commands="$ac_config_commands wx-config"
40983
40984
40985
40986 if test "$wxWITH_SUBDIRS" != "no"; then
40987 if test "$wxUSE_GUI" = "yes"; then
40988 SUBDIRS="samples demos utils"
40989 else
40990 SUBDIRS="samples utils"
40991 fi
40992
40993
40994
40995 # Check whether --with-cppunit-prefix was given.
40996 if test "${with_cppunit_prefix+set}" = set; then :
40997 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40998 else
40999 cppunit_config_prefix=""
41000 fi
41001
41002
41003 # Check whether --with-cppunit-exec-prefix was given.
41004 if test "${with_cppunit_exec_prefix+set}" = set; then :
41005 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
41006 else
41007 cppunit_config_exec_prefix=""
41008 fi
41009
41010
41011 if test x$cppunit_config_exec_prefix != x ; then
41012 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41013 if test x${CPPUNIT_CONFIG+set} != xset ; then
41014 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41015 fi
41016 fi
41017 if test x$cppunit_config_prefix != x ; then
41018 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41019 if test x${CPPUNIT_CONFIG+set} != xset ; then
41020 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41021 fi
41022 fi
41023
41024 # Extract the first word of "cppunit-config", so it can be a program name with args.
41025 set dummy cppunit-config; ac_word=$2
41026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41027 $as_echo_n "checking for $ac_word... " >&6; }
41028 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
41029 $as_echo_n "(cached) " >&6
41030 else
41031 case $CPPUNIT_CONFIG in
41032 [\\/]* | ?:[\\/]*)
41033 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41034 ;;
41035 *)
41036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41037 for as_dir in $PATH
41038 do
41039 IFS=$as_save_IFS
41040 test -z "$as_dir" && as_dir=.
41041 for ac_exec_ext in '' $ac_executable_extensions; do
41042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41043 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41045 break 2
41046 fi
41047 done
41048 done
41049 IFS=$as_save_IFS
41050
41051 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41052 ;;
41053 esac
41054 fi
41055 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41056 if test -n "$CPPUNIT_CONFIG"; then
41057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41058 $as_echo "$CPPUNIT_CONFIG" >&6; }
41059 else
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41061 $as_echo "no" >&6; }
41062 fi
41063
41064
41065 cppunit_version_min=1.8.0
41066
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41068 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41069 no_cppunit=""
41070 if test "$CPPUNIT_CONFIG" = "no" ; then
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41072 $as_echo "no" >&6; }
41073 no_cppunit=yes
41074 else
41075 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41076 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41077 cppunit_version=`$CPPUNIT_CONFIG --version`
41078
41079 cppunit_major_version=`echo $cppunit_version | \
41080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41081 cppunit_minor_version=`echo $cppunit_version | \
41082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41083 cppunit_micro_version=`echo $cppunit_version | \
41084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41085
41086 cppunit_major_min=`echo $cppunit_version_min | \
41087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41088 cppunit_minor_min=`echo $cppunit_version_min | \
41089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41090 cppunit_micro_min=`echo $cppunit_version_min | \
41091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41092
41093 cppunit_version_proper=`expr \
41094 $cppunit_major_version \> $cppunit_major_min \| \
41095 $cppunit_major_version \= $cppunit_major_min \& \
41096 $cppunit_minor_version \> $cppunit_minor_min \| \
41097 $cppunit_major_version \= $cppunit_major_min \& \
41098 $cppunit_minor_version \= $cppunit_minor_min \& \
41099 $cppunit_micro_version \>= $cppunit_micro_min `
41100
41101 if test "$cppunit_version_proper" = "1" ; then
41102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41103 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41104 else
41105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41106 $as_echo "no" >&6; }
41107 no_cppunit=yes
41108 fi
41109 fi
41110
41111 if test "x$no_cppunit" = x ; then
41112 SUBDIRS="$SUBDIRS tests"
41113 else
41114 CPPUNIT_CFLAGS=""
41115 CPPUNIT_LIBS=""
41116 :
41117 fi
41118
41119
41120
41121
41122
41123 for subdir in $SUBDIRS; do
41124 if test -d ${srcdir}/${subdir} ; then
41125 if test "$wxUSE_GUI" = "yes"; then
41126 if test ${subdir} = "samples"; then
41127 makefiles="samples/Makefile.in $makefiles"
41128 for sample in $SAMPLES_SUBDIRS; do
41129 if test -d $srcdir/samples/$sample; then
41130 makefiles="samples/$sample/Makefile.in $makefiles"
41131 fi
41132 done
41133 else
41134 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41135 eval "disabled=\$$disabled_var"
41136 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41137 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41138 fi
41139 else
41140 if test ${subdir} = "samples"; then
41141 makefiles="samples/Makefile.in $makefiles"
41142 for sample in `echo $SAMPLES_SUBDIRS`; do
41143 if test -d $srcdir/samples/$sample; then
41144 makefiles="samples/$sample/Makefile.in $makefiles"
41145 fi
41146 done
41147 elif test ${subdir} = "utils"; then
41148 makefiles=""
41149 for util in ifacecheck ; do
41150 if test -d $srcdir/utils/$util ; then
41151 makefiles="utils/$util/src/Makefile.in \
41152 $makefiles"
41153 fi
41154 done
41155 else
41156 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41157 fi
41158 fi
41159
41160 for mkin in $makefiles ; do
41161 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41162 ac_config_files="$ac_config_files $mk"
41163
41164 done
41165 fi
41166 done
41167 fi
41168 cat >confcache <<\_ACEOF
41169 # This file is a shell script that caches the results of configure
41170 # tests run on this system so they can be shared between configure
41171 # scripts and configure runs, see configure's option --config-cache.
41172 # It is not useful on other systems. If it contains results you don't
41173 # want to keep, you may remove or edit it.
41174 #
41175 # config.status only pays attention to the cache file if you give it
41176 # the --recheck option to rerun configure.
41177 #
41178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41180 # following values.
41181
41182 _ACEOF
41183
41184 # The following way of writing the cache mishandles newlines in values,
41185 # but we know of no workaround that is simple, portable, and efficient.
41186 # So, we kill variables containing newlines.
41187 # Ultrix sh set writes to stderr and can't be redirected directly,
41188 # and sets the high bit in the cache file unless we assign to the vars.
41189 (
41190 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41191 eval ac_val=\$$ac_var
41192 case $ac_val in #(
41193 *${as_nl}*)
41194 case $ac_var in #(
41195 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41196 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41197 esac
41198 case $ac_var in #(
41199 _ | IFS | as_nl) ;; #(
41200 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41201 *) { eval $ac_var=; unset $ac_var;} ;;
41202 esac ;;
41203 esac
41204 done
41205
41206 (set) 2>&1 |
41207 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41208 *${as_nl}ac_space=\ *)
41209 # `set' does not quote correctly, so add quotes: double-quote
41210 # substitution turns \\\\ into \\, and sed turns \\ into \.
41211 sed -n \
41212 "s/'/'\\\\''/g;
41213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41214 ;; #(
41215 *)
41216 # `set' quotes correctly as required by POSIX, so do not add quotes.
41217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41218 ;;
41219 esac |
41220 sort
41221 ) |
41222 sed '
41223 /^ac_cv_env_/b end
41224 t clear
41225 :clear
41226 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41227 t end
41228 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41229 :end' >>confcache
41230 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41231 if test -w "$cache_file"; then
41232 if test "x$cache_file" != "x/dev/null"; then
41233 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41234 $as_echo "$as_me: updating cache $cache_file" >&6;}
41235 if test ! -f "$cache_file" || test -h "$cache_file"; then
41236 cat confcache >"$cache_file"
41237 else
41238 case $cache_file in #(
41239 */* | ?:*)
41240 mv -f confcache "$cache_file"$$ &&
41241 mv -f "$cache_file"$$ "$cache_file" ;; #(
41242 *)
41243 mv -f confcache "$cache_file" ;;
41244 esac
41245 fi
41246 fi
41247 else
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41250 fi
41251 fi
41252 rm -f confcache
41253
41254 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41255 # Let make expand exec_prefix.
41256 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41257
41258 DEFS=-DHAVE_CONFIG_H
41259
41260 ac_libobjs=
41261 ac_ltlibobjs=
41262 U=
41263 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41264 # 1. Remove the extension, and $U if already installed.
41265 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41266 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41267 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41268 # will be set to the directory where LIBOBJS objects are built.
41269 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41270 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41271 done
41272 LIBOBJS=$ac_libobjs
41273
41274 LTLIBOBJS=$ac_ltlibobjs
41275
41276
41277
41278 : "${CONFIG_STATUS=./config.status}"
41279 ac_write_fail=0
41280 ac_clean_files_save=$ac_clean_files
41281 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41282 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41283 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41284 as_write_fail=0
41285 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41286 #! $SHELL
41287 # Generated by $as_me.
41288 # Run this file to recreate the current configuration.
41289 # Compiler output produced by configure, useful for debugging
41290 # configure, is in config.log if it exists.
41291
41292 debug=false
41293 ac_cs_recheck=false
41294 ac_cs_silent=false
41295
41296 SHELL=\${CONFIG_SHELL-$SHELL}
41297 export SHELL
41298 _ASEOF
41299 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41300 ## -------------------- ##
41301 ## M4sh Initialization. ##
41302 ## -------------------- ##
41303
41304 # Be more Bourne compatible
41305 DUALCASE=1; export DUALCASE # for MKS sh
41306 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41307 emulate sh
41308 NULLCMD=:
41309 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41310 # is contrary to our usage. Disable this feature.
41311 alias -g '${1+"$@"}'='"$@"'
41312 setopt NO_GLOB_SUBST
41313 else
41314 case `(set -o) 2>/dev/null` in #(
41315 *posix*) :
41316 set -o posix ;; #(
41317 *) :
41318 ;;
41319 esac
41320 fi
41321
41322
41323 as_nl='
41324 '
41325 export as_nl
41326 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41327 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41330 # Prefer a ksh shell builtin over an external printf program on Solaris,
41331 # but without wasting forks for bash or zsh.
41332 if test -z "$BASH_VERSION$ZSH_VERSION" \
41333 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41334 as_echo='print -r --'
41335 as_echo_n='print -rn --'
41336 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41337 as_echo='printf %s\n'
41338 as_echo_n='printf %s'
41339 else
41340 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41341 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41342 as_echo_n='/usr/ucb/echo -n'
41343 else
41344 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41345 as_echo_n_body='eval
41346 arg=$1;
41347 case $arg in #(
41348 *"$as_nl"*)
41349 expr "X$arg" : "X\\(.*\\)$as_nl";
41350 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41351 esac;
41352 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41353 '
41354 export as_echo_n_body
41355 as_echo_n='sh -c $as_echo_n_body as_echo'
41356 fi
41357 export as_echo_body
41358 as_echo='sh -c $as_echo_body as_echo'
41359 fi
41360
41361 # The user is always right.
41362 if test "${PATH_SEPARATOR+set}" != set; then
41363 PATH_SEPARATOR=:
41364 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41365 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41366 PATH_SEPARATOR=';'
41367 }
41368 fi
41369
41370
41371 # IFS
41372 # We need space, tab and new line, in precisely that order. Quoting is
41373 # there to prevent editors from complaining about space-tab.
41374 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41375 # splitting by setting IFS to empty value.)
41376 IFS=" "" $as_nl"
41377
41378 # Find who we are. Look in the path if we contain no directory separator.
41379 as_myself=
41380 case $0 in #((
41381 *[\\/]* ) as_myself=$0 ;;
41382 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41383 for as_dir in $PATH
41384 do
41385 IFS=$as_save_IFS
41386 test -z "$as_dir" && as_dir=.
41387 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41388 done
41389 IFS=$as_save_IFS
41390
41391 ;;
41392 esac
41393 # We did not find ourselves, most probably we were run as `sh COMMAND'
41394 # in which case we are not to be found in the path.
41395 if test "x$as_myself" = x; then
41396 as_myself=$0
41397 fi
41398 if test ! -f "$as_myself"; then
41399 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41400 exit 1
41401 fi
41402
41403 # Unset variables that we do not need and which cause bugs (e.g. in
41404 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41405 # suppresses any "Segmentation fault" message there. '((' could
41406 # trigger a bug in pdksh 5.2.14.
41407 for as_var in BASH_ENV ENV MAIL MAILPATH
41408 do eval test x\${$as_var+set} = xset \
41409 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41410 done
41411 PS1='$ '
41412 PS2='> '
41413 PS4='+ '
41414
41415 # NLS nuisances.
41416 LC_ALL=C
41417 export LC_ALL
41418 LANGUAGE=C
41419 export LANGUAGE
41420
41421 # CDPATH.
41422 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41423
41424
41425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41426 # ----------------------------------------
41427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41429 # script with STATUS, using 1 if that was 0.
41430 as_fn_error ()
41431 {
41432 as_status=$1; test $as_status -eq 0 && as_status=1
41433 if test "$4"; then
41434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41435 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41436 fi
41437 $as_echo "$as_me: error: $2" >&2
41438 as_fn_exit $as_status
41439 } # as_fn_error
41440
41441
41442 # as_fn_set_status STATUS
41443 # -----------------------
41444 # Set $? to STATUS, without forking.
41445 as_fn_set_status ()
41446 {
41447 return $1
41448 } # as_fn_set_status
41449
41450 # as_fn_exit STATUS
41451 # -----------------
41452 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41453 as_fn_exit ()
41454 {
41455 set +e
41456 as_fn_set_status $1
41457 exit $1
41458 } # as_fn_exit
41459
41460 # as_fn_unset VAR
41461 # ---------------
41462 # Portably unset VAR.
41463 as_fn_unset ()
41464 {
41465 { eval $1=; unset $1;}
41466 }
41467 as_unset=as_fn_unset
41468 # as_fn_append VAR VALUE
41469 # ----------------------
41470 # Append the text in VALUE to the end of the definition contained in VAR. Take
41471 # advantage of any shell optimizations that allow amortized linear growth over
41472 # repeated appends, instead of the typical quadratic growth present in naive
41473 # implementations.
41474 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41475 eval 'as_fn_append ()
41476 {
41477 eval $1+=\$2
41478 }'
41479 else
41480 as_fn_append ()
41481 {
41482 eval $1=\$$1\$2
41483 }
41484 fi # as_fn_append
41485
41486 # as_fn_arith ARG...
41487 # ------------------
41488 # Perform arithmetic evaluation on the ARGs, and store the result in the
41489 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41490 # must be portable across $(()) and expr.
41491 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41492 eval 'as_fn_arith ()
41493 {
41494 as_val=$(( $* ))
41495 }'
41496 else
41497 as_fn_arith ()
41498 {
41499 as_val=`expr "$@" || test $? -eq 1`
41500 }
41501 fi # as_fn_arith
41502
41503
41504 if expr a : '\(a\)' >/dev/null 2>&1 &&
41505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41506 as_expr=expr
41507 else
41508 as_expr=false
41509 fi
41510
41511 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41512 as_basename=basename
41513 else
41514 as_basename=false
41515 fi
41516
41517 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41518 as_dirname=dirname
41519 else
41520 as_dirname=false
41521 fi
41522
41523 as_me=`$as_basename -- "$0" ||
41524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41525 X"$0" : 'X\(//\)$' \| \
41526 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41527 $as_echo X/"$0" |
41528 sed '/^.*\/\([^/][^/]*\)\/*$/{
41529 s//\1/
41530 q
41531 }
41532 /^X\/\(\/\/\)$/{
41533 s//\1/
41534 q
41535 }
41536 /^X\/\(\/\).*/{
41537 s//\1/
41538 q
41539 }
41540 s/.*/./; q'`
41541
41542 # Avoid depending upon Character Ranges.
41543 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41544 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41545 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41546 as_cr_digits='0123456789'
41547 as_cr_alnum=$as_cr_Letters$as_cr_digits
41548
41549 ECHO_C= ECHO_N= ECHO_T=
41550 case `echo -n x` in #(((((
41551 -n*)
41552 case `echo 'xy\c'` in
41553 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41554 xy) ECHO_C='\c';;
41555 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41556 ECHO_T=' ';;
41557 esac;;
41558 *)
41559 ECHO_N='-n';;
41560 esac
41561
41562 rm -f conf$$ conf$$.exe conf$$.file
41563 if test -d conf$$.dir; then
41564 rm -f conf$$.dir/conf$$.file
41565 else
41566 rm -f conf$$.dir
41567 mkdir conf$$.dir 2>/dev/null
41568 fi
41569 if (echo >conf$$.file) 2>/dev/null; then
41570 if ln -s conf$$.file conf$$ 2>/dev/null; then
41571 as_ln_s='ln -s'
41572 # ... but there are two gotchas:
41573 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41574 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41575 # In both cases, we have to default to `cp -p'.
41576 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41577 as_ln_s='cp -p'
41578 elif ln conf$$.file conf$$ 2>/dev/null; then
41579 as_ln_s=ln
41580 else
41581 as_ln_s='cp -p'
41582 fi
41583 else
41584 as_ln_s='cp -p'
41585 fi
41586 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41587 rmdir conf$$.dir 2>/dev/null
41588
41589
41590 # as_fn_mkdir_p
41591 # -------------
41592 # Create "$as_dir" as a directory, including parents if necessary.
41593 as_fn_mkdir_p ()
41594 {
41595
41596 case $as_dir in #(
41597 -*) as_dir=./$as_dir;;
41598 esac
41599 test -d "$as_dir" || eval $as_mkdir_p || {
41600 as_dirs=
41601 while :; do
41602 case $as_dir in #(
41603 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41604 *) as_qdir=$as_dir;;
41605 esac
41606 as_dirs="'$as_qdir' $as_dirs"
41607 as_dir=`$as_dirname -- "$as_dir" ||
41608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41609 X"$as_dir" : 'X\(//\)[^/]' \| \
41610 X"$as_dir" : 'X\(//\)$' \| \
41611 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41612 $as_echo X"$as_dir" |
41613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41614 s//\1/
41615 q
41616 }
41617 /^X\(\/\/\)[^/].*/{
41618 s//\1/
41619 q
41620 }
41621 /^X\(\/\/\)$/{
41622 s//\1/
41623 q
41624 }
41625 /^X\(\/\).*/{
41626 s//\1/
41627 q
41628 }
41629 s/.*/./; q'`
41630 test -d "$as_dir" && break
41631 done
41632 test -z "$as_dirs" || eval "mkdir $as_dirs"
41633 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41634
41635
41636 } # as_fn_mkdir_p
41637 if mkdir -p . 2>/dev/null; then
41638 as_mkdir_p='mkdir -p "$as_dir"'
41639 else
41640 test -d ./-p && rmdir ./-p
41641 as_mkdir_p=false
41642 fi
41643
41644 if test -x / >/dev/null 2>&1; then
41645 as_test_x='test -x'
41646 else
41647 if ls -dL / >/dev/null 2>&1; then
41648 as_ls_L_option=L
41649 else
41650 as_ls_L_option=
41651 fi
41652 as_test_x='
41653 eval sh -c '\''
41654 if test -d "$1"; then
41655 test -d "$1/.";
41656 else
41657 case $1 in #(
41658 -*)set "./$1";;
41659 esac;
41660 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41661 ???[sx]*):;;*)false;;esac;fi
41662 '\'' sh
41663 '
41664 fi
41665 as_executable_p=$as_test_x
41666
41667 # Sed expression to map a string onto a valid CPP name.
41668 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41669
41670 # Sed expression to map a string onto a valid variable name.
41671 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41672
41673
41674 exec 6>&1
41675 ## ----------------------------------- ##
41676 ## Main body of $CONFIG_STATUS script. ##
41677 ## ----------------------------------- ##
41678 _ASEOF
41679 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41680
41681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41682 # Save the log message, to keep $0 and so on meaningful, and to
41683 # report actual input values of CONFIG_FILES etc. instead of their
41684 # values after options handling.
41685 ac_log="
41686 This file was extended by wxWidgets $as_me 2.9.4, which was
41687 generated by GNU Autoconf 2.68. Invocation command line was
41688
41689 CONFIG_FILES = $CONFIG_FILES
41690 CONFIG_HEADERS = $CONFIG_HEADERS
41691 CONFIG_LINKS = $CONFIG_LINKS
41692 CONFIG_COMMANDS = $CONFIG_COMMANDS
41693 $ $0 $@
41694
41695 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41696 "
41697
41698 _ACEOF
41699
41700 case $ac_config_files in *"
41701 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41702 esac
41703
41704 case $ac_config_headers in *"
41705 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41706 esac
41707
41708
41709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41710 # Files that config.status was made for.
41711 config_files="$ac_config_files"
41712 config_headers="$ac_config_headers"
41713 config_commands="$ac_config_commands"
41714
41715 _ACEOF
41716
41717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41718 ac_cs_usage="\
41719 \`$as_me' instantiates files and other configuration actions
41720 from templates according to the current configuration. Unless the files
41721 and actions are specified as TAGs, all are instantiated by default.
41722
41723 Usage: $0 [OPTION]... [TAG]...
41724
41725 -h, --help print this help, then exit
41726 -V, --version print version number and configuration settings, then exit
41727 --config print configuration, then exit
41728 -q, --quiet, --silent
41729 do not print progress messages
41730 -d, --debug don't remove temporary files
41731 --recheck update $as_me by reconfiguring in the same conditions
41732 --file=FILE[:TEMPLATE]
41733 instantiate the configuration file FILE
41734 --header=FILE[:TEMPLATE]
41735 instantiate the configuration header FILE
41736
41737 Configuration files:
41738 $config_files
41739
41740 Configuration headers:
41741 $config_headers
41742
41743 Configuration commands:
41744 $config_commands
41745
41746 Report bugs to <wx-dev@lists.wxwidgets.org>."
41747
41748 _ACEOF
41749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41750 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41751 ac_cs_version="\\
41752 wxWidgets config.status 2.9.4
41753 configured by $0, generated by GNU Autoconf 2.68,
41754 with options \\"\$ac_cs_config\\"
41755
41756 Copyright (C) 2010 Free Software Foundation, Inc.
41757 This config.status script is free software; the Free Software Foundation
41758 gives unlimited permission to copy, distribute and modify it."
41759
41760 ac_pwd='$ac_pwd'
41761 srcdir='$srcdir'
41762 INSTALL='$INSTALL'
41763 test -n "\$AWK" || AWK=awk
41764 _ACEOF
41765
41766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41767 # The default lists apply if the user does not specify any file.
41768 ac_need_defaults=:
41769 while test $# != 0
41770 do
41771 case $1 in
41772 --*=?*)
41773 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41774 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41775 ac_shift=:
41776 ;;
41777 --*=)
41778 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41779 ac_optarg=
41780 ac_shift=:
41781 ;;
41782 *)
41783 ac_option=$1
41784 ac_optarg=$2
41785 ac_shift=shift
41786 ;;
41787 esac
41788
41789 case $ac_option in
41790 # Handling of the options.
41791 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41792 ac_cs_recheck=: ;;
41793 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41794 $as_echo "$ac_cs_version"; exit ;;
41795 --config | --confi | --conf | --con | --co | --c )
41796 $as_echo "$ac_cs_config"; exit ;;
41797 --debug | --debu | --deb | --de | --d | -d )
41798 debug=: ;;
41799 --file | --fil | --fi | --f )
41800 $ac_shift
41801 case $ac_optarg in
41802 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41803 '') as_fn_error $? "missing file argument" ;;
41804 esac
41805 as_fn_append CONFIG_FILES " '$ac_optarg'"
41806 ac_need_defaults=false;;
41807 --header | --heade | --head | --hea )
41808 $ac_shift
41809 case $ac_optarg in
41810 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41811 esac
41812 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41813 ac_need_defaults=false;;
41814 --he | --h)
41815 # Conflict between --help and --header
41816 as_fn_error $? "ambiguous option: \`$1'
41817 Try \`$0 --help' for more information.";;
41818 --help | --hel | -h )
41819 $as_echo "$ac_cs_usage"; exit ;;
41820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41821 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41822 ac_cs_silent=: ;;
41823
41824 # This is an error.
41825 -*) as_fn_error $? "unrecognized option: \`$1'
41826 Try \`$0 --help' for more information." ;;
41827
41828 *) as_fn_append ac_config_targets " $1"
41829 ac_need_defaults=false ;;
41830
41831 esac
41832 shift
41833 done
41834
41835 ac_configure_extra_args=
41836
41837 if $ac_cs_silent; then
41838 exec 6>/dev/null
41839 ac_configure_extra_args="$ac_configure_extra_args --silent"
41840 fi
41841
41842 _ACEOF
41843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41844 if \$ac_cs_recheck; then
41845 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41846 shift
41847 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41848 CONFIG_SHELL='$SHELL'
41849 export CONFIG_SHELL
41850 exec "\$@"
41851 fi
41852
41853 _ACEOF
41854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41855 exec 5>>config.log
41856 {
41857 echo
41858 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41859 ## Running $as_me. ##
41860 _ASBOX
41861 $as_echo "$ac_log"
41862 } >&5
41863
41864 _ACEOF
41865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41866 #
41867 # INIT-COMMANDS
41868 #
41869
41870 CPP="$CPP"
41871 infile="$srcdir/include/wx/msw/genrcdefs.h"
41872 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41873
41874
41875 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41876 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41877 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41878 LN_S="${LN_S}"
41879
41880
41881 _ACEOF
41882
41883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41884
41885 # Handling of arguments.
41886 for ac_config_target in $ac_config_targets
41887 do
41888 case $ac_config_target in
41889 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41890 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41891 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41892 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41893 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41894 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41895 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41896 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41897 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41898
41899 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41900 esac
41901 done
41902
41903
41904 # If the user did not use the arguments to specify the items to instantiate,
41905 # then the envvar interface is used. Set only those that are not.
41906 # We use the long form for the default assignment because of an extremely
41907 # bizarre bug on SunOS 4.1.3.
41908 if $ac_need_defaults; then
41909 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41910 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41911 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41912 fi
41913
41914 # Have a temporary directory for convenience. Make it in the build tree
41915 # simply because there is no reason against having it here, and in addition,
41916 # creating and moving files from /tmp can sometimes cause problems.
41917 # Hook for its removal unless debugging.
41918 # Note that there is a small window in which the directory will not be cleaned:
41919 # after its creation but before its name has been assigned to `$tmp'.
41920 $debug ||
41921 {
41922 tmp= ac_tmp=
41923 trap 'exit_status=$?
41924 : "${ac_tmp:=$tmp}"
41925 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41926 ' 0
41927 trap 'as_fn_exit 1' 1 2 13 15
41928 }
41929 # Create a (secure) tmp directory for tmp files.
41930
41931 {
41932 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41933 test -d "$tmp"
41934 } ||
41935 {
41936 tmp=./conf$$-$RANDOM
41937 (umask 077 && mkdir "$tmp")
41938 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41939 ac_tmp=$tmp
41940
41941 # Set up the scripts for CONFIG_FILES section.
41942 # No need to generate them if there are no CONFIG_FILES.
41943 # This happens for instance with `./config.status config.h'.
41944 if test -n "$CONFIG_FILES"; then
41945
41946
41947 ac_cr=`echo X | tr X '\015'`
41948 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41949 # But we know of no other shell where ac_cr would be empty at this
41950 # point, so we can use a bashism as a fallback.
41951 if test "x$ac_cr" = x; then
41952 eval ac_cr=\$\'\\r\'
41953 fi
41954 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41955 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41956 ac_cs_awk_cr='\\r'
41957 else
41958 ac_cs_awk_cr=$ac_cr
41959 fi
41960
41961 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41962 _ACEOF
41963
41964
41965 {
41966 echo "cat >conf$$subs.awk <<_ACEOF" &&
41967 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41968 echo "_ACEOF"
41969 } >conf$$subs.sh ||
41970 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41971 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41972 ac_delim='%!_!# '
41973 for ac_last_try in false false false false false :; do
41974 . ./conf$$subs.sh ||
41975 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41976
41977 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41978 if test $ac_delim_n = $ac_delim_num; then
41979 break
41980 elif $ac_last_try; then
41981 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41982 else
41983 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41984 fi
41985 done
41986 rm -f conf$$subs.sh
41987
41988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41989 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
41990 _ACEOF
41991 sed -n '
41992 h
41993 s/^/S["/; s/!.*/"]=/
41994 p
41995 g
41996 s/^[^!]*!//
41997 :repl
41998 t repl
41999 s/'"$ac_delim"'$//
42000 t delim
42001 :nl
42002 h
42003 s/\(.\{148\}\)..*/\1/
42004 t more1
42005 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
42006 p
42007 n
42008 b repl
42009 :more1
42010 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42011 p
42012 g
42013 s/.\{148\}//
42014 t nl
42015 :delim
42016 h
42017 s/\(.\{148\}\)..*/\1/
42018 t more2
42019 s/["\\]/\\&/g; s/^/"/; s/$/"/
42020 p
42021 b
42022 :more2
42023 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
42024 p
42025 g
42026 s/.\{148\}//
42027 t delim
42028 ' <conf$$subs.awk | sed '
42029 /^[^""]/{
42030 N
42031 s/\n//
42032 }
42033 ' >>$CONFIG_STATUS || ac_write_fail=1
42034 rm -f conf$$subs.awk
42035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42036 _ACAWK
42037 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
42038 for (key in S) S_is_set[key] = 1
42039 FS = "\a"
42040
42041 }
42042 {
42043 line = $ 0
42044 nfields = split(line, field, "@")
42045 substed = 0
42046 len = length(field[1])
42047 for (i = 2; i < nfields; i++) {
42048 key = field[i]
42049 keylen = length(key)
42050 if (S_is_set[key]) {
42051 value = S[key]
42052 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42053 len += length(value) + length(field[++i])
42054 substed = 1
42055 } else
42056 len += 1 + keylen
42057 }
42058
42059 print line
42060 }
42061
42062 _ACAWK
42063 _ACEOF
42064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42065 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42066 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42067 else
42068 cat
42069 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
42070 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42071 _ACEOF
42072
42073 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42074 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42075 # trailing colons and then remove the whole line if VPATH becomes empty
42076 # (actually we leave an empty line to preserve line numbers).
42077 if test "x$srcdir" = x.; then
42078 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42079 h
42080 s///
42081 s/^/:/
42082 s/[ ]*$/:/
42083 s/:\$(srcdir):/:/g
42084 s/:\${srcdir}:/:/g
42085 s/:@srcdir@:/:/g
42086 s/^:*//
42087 s/:*$//
42088 x
42089 s/\(=[ ]*\).*/\1/
42090 G
42091 s/\n//
42092 s/^[^=]*=[ ]*$//
42093 }'
42094 fi
42095
42096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42097 fi # test -n "$CONFIG_FILES"
42098
42099 # Set up the scripts for CONFIG_HEADERS section.
42100 # No need to generate them if there are no CONFIG_HEADERS.
42101 # This happens for instance with `./config.status Makefile'.
42102 if test -n "$CONFIG_HEADERS"; then
42103 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42104 BEGIN {
42105 _ACEOF
42106
42107 # Transform confdefs.h into an awk script `defines.awk', embedded as
42108 # here-document in config.status, that substitutes the proper values into
42109 # config.h.in to produce config.h.
42110
42111 # Create a delimiter string that does not exist in confdefs.h, to ease
42112 # handling of long lines.
42113 ac_delim='%!_!# '
42114 for ac_last_try in false false :; do
42115 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42116 if test -z "$ac_tt"; then
42117 break
42118 elif $ac_last_try; then
42119 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42120 else
42121 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42122 fi
42123 done
42124
42125 # For the awk script, D is an array of macro values keyed by name,
42126 # likewise P contains macro parameters if any. Preserve backslash
42127 # newline sequences.
42128
42129 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42130 sed -n '
42131 s/.\{148\}/&'"$ac_delim"'/g
42132 t rset
42133 :rset
42134 s/^[ ]*#[ ]*define[ ][ ]*/ /
42135 t def
42136 d
42137 :def
42138 s/\\$//
42139 t bsnl
42140 s/["\\]/\\&/g
42141 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42142 D["\1"]=" \3"/p
42143 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42144 d
42145 :bsnl
42146 s/["\\]/\\&/g
42147 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42148 D["\1"]=" \3\\\\\\n"\\/p
42149 t cont
42150 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42151 t cont
42152 d
42153 :cont
42154 n
42155 s/.\{148\}/&'"$ac_delim"'/g
42156 t clear
42157 :clear
42158 s/\\$//
42159 t bsnlc
42160 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42161 d
42162 :bsnlc
42163 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42164 b cont
42165 ' <confdefs.h | sed '
42166 s/'"$ac_delim"'/"\\\
42167 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42168
42169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42170 for (key in D) D_is_set[key] = 1
42171 FS = "\a"
42172 }
42173 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42174 line = \$ 0
42175 split(line, arg, " ")
42176 if (arg[1] == "#") {
42177 defundef = arg[2]
42178 mac1 = arg[3]
42179 } else {
42180 defundef = substr(arg[1], 2)
42181 mac1 = arg[2]
42182 }
42183 split(mac1, mac2, "(") #)
42184 macro = mac2[1]
42185 prefix = substr(line, 1, index(line, defundef) - 1)
42186 if (D_is_set[macro]) {
42187 # Preserve the white space surrounding the "#".
42188 print prefix "define", macro P[macro] D[macro]
42189 next
42190 } else {
42191 # Replace #undef with comments. This is necessary, for example,
42192 # in the case of _POSIX_SOURCE, which is predefined and required
42193 # on some systems where configure will not decide to define it.
42194 if (defundef == "undef") {
42195 print "/*", prefix defundef, macro, "*/"
42196 next
42197 }
42198 }
42199 }
42200 { print }
42201 _ACAWK
42202 _ACEOF
42203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42204 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42205 fi # test -n "$CONFIG_HEADERS"
42206
42207
42208 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42209 shift
42210 for ac_tag
42211 do
42212 case $ac_tag in
42213 :[FHLC]) ac_mode=$ac_tag; continue;;
42214 esac
42215 case $ac_mode$ac_tag in
42216 :[FHL]*:*);;
42217 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42218 :[FH]-) ac_tag=-:-;;
42219 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42220 esac
42221 ac_save_IFS=$IFS
42222 IFS=:
42223 set x $ac_tag
42224 IFS=$ac_save_IFS
42225 shift
42226 ac_file=$1
42227 shift
42228
42229 case $ac_mode in
42230 :L) ac_source=$1;;
42231 :[FH])
42232 ac_file_inputs=
42233 for ac_f
42234 do
42235 case $ac_f in
42236 -) ac_f="$ac_tmp/stdin";;
42237 *) # Look for the file first in the build tree, then in the source tree
42238 # (if the path is not absolute). The absolute path cannot be DOS-style,
42239 # because $ac_f cannot contain `:'.
42240 test -f "$ac_f" ||
42241 case $ac_f in
42242 [\\/$]*) false;;
42243 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42244 esac ||
42245 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42246 esac
42247 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42248 as_fn_append ac_file_inputs " '$ac_f'"
42249 done
42250
42251 # Let's still pretend it is `configure' which instantiates (i.e., don't
42252 # use $as_me), people would be surprised to read:
42253 # /* config.h. Generated by config.status. */
42254 configure_input='Generated from '`
42255 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42256 `' by configure.'
42257 if test x"$ac_file" != x-; then
42258 configure_input="$ac_file. $configure_input"
42259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42260 $as_echo "$as_me: creating $ac_file" >&6;}
42261 fi
42262 # Neutralize special characters interpreted by sed in replacement strings.
42263 case $configure_input in #(
42264 *\&* | *\|* | *\\* )
42265 ac_sed_conf_input=`$as_echo "$configure_input" |
42266 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42267 *) ac_sed_conf_input=$configure_input;;
42268 esac
42269
42270 case $ac_tag in
42271 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42272 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42273 esac
42274 ;;
42275 esac
42276
42277 ac_dir=`$as_dirname -- "$ac_file" ||
42278 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42279 X"$ac_file" : 'X\(//\)[^/]' \| \
42280 X"$ac_file" : 'X\(//\)$' \| \
42281 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42282 $as_echo X"$ac_file" |
42283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42284 s//\1/
42285 q
42286 }
42287 /^X\(\/\/\)[^/].*/{
42288 s//\1/
42289 q
42290 }
42291 /^X\(\/\/\)$/{
42292 s//\1/
42293 q
42294 }
42295 /^X\(\/\).*/{
42296 s//\1/
42297 q
42298 }
42299 s/.*/./; q'`
42300 as_dir="$ac_dir"; as_fn_mkdir_p
42301 ac_builddir=.
42302
42303 case "$ac_dir" in
42304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42305 *)
42306 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42307 # A ".." for each directory in $ac_dir_suffix.
42308 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42309 case $ac_top_builddir_sub in
42310 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42311 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42312 esac ;;
42313 esac
42314 ac_abs_top_builddir=$ac_pwd
42315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42316 # for backward compatibility:
42317 ac_top_builddir=$ac_top_build_prefix
42318
42319 case $srcdir in
42320 .) # We are building in place.
42321 ac_srcdir=.
42322 ac_top_srcdir=$ac_top_builddir_sub
42323 ac_abs_top_srcdir=$ac_pwd ;;
42324 [\\/]* | ?:[\\/]* ) # Absolute name.
42325 ac_srcdir=$srcdir$ac_dir_suffix;
42326 ac_top_srcdir=$srcdir
42327 ac_abs_top_srcdir=$srcdir ;;
42328 *) # Relative name.
42329 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42330 ac_top_srcdir=$ac_top_build_prefix$srcdir
42331 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42332 esac
42333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42334
42335
42336 case $ac_mode in
42337 :F)
42338 #
42339 # CONFIG_FILE
42340 #
42341
42342 case $INSTALL in
42343 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42344 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42345 esac
42346 _ACEOF
42347
42348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42349 # If the template does not know about datarootdir, expand it.
42350 # FIXME: This hack should be removed a few years after 2.60.
42351 ac_datarootdir_hack=; ac_datarootdir_seen=
42352 ac_sed_dataroot='
42353 /datarootdir/ {
42354 p
42355 q
42356 }
42357 /@datadir@/p
42358 /@docdir@/p
42359 /@infodir@/p
42360 /@localedir@/p
42361 /@mandir@/p'
42362 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42363 *datarootdir*) ac_datarootdir_seen=yes;;
42364 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42366 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42367 _ACEOF
42368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42369 ac_datarootdir_hack='
42370 s&@datadir@&$datadir&g
42371 s&@docdir@&$docdir&g
42372 s&@infodir@&$infodir&g
42373 s&@localedir@&$localedir&g
42374 s&@mandir@&$mandir&g
42375 s&\\\${datarootdir}&$datarootdir&g' ;;
42376 esac
42377 _ACEOF
42378
42379 # Neutralize VPATH when `$srcdir' = `.'.
42380 # Shell code in configure.ac might set extrasub.
42381 # FIXME: do we really want to maintain this feature?
42382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42383 ac_sed_extra="$ac_vpsub
42384 $extrasub
42385 _ACEOF
42386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42387 :t
42388 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42389 s|@configure_input@|$ac_sed_conf_input|;t t
42390 s&@top_builddir@&$ac_top_builddir_sub&;t t
42391 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42392 s&@srcdir@&$ac_srcdir&;t t
42393 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42394 s&@top_srcdir@&$ac_top_srcdir&;t t
42395 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42396 s&@builddir@&$ac_builddir&;t t
42397 s&@abs_builddir@&$ac_abs_builddir&;t t
42398 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42399 s&@INSTALL@&$ac_INSTALL&;t t
42400 $ac_datarootdir_hack
42401 "
42402 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42403 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42404
42405 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42406 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42407 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42408 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42410 which seems to be undefined. Please make sure it is defined" >&5
42411 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42412 which seems to be undefined. Please make sure it is defined" >&2;}
42413
42414 rm -f "$ac_tmp/stdin"
42415 case $ac_file in
42416 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42417 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42418 esac \
42419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42420 ;;
42421 :H)
42422 #
42423 # CONFIG_HEADER
42424 #
42425 if test x"$ac_file" != x-; then
42426 {
42427 $as_echo "/* $configure_input */" \
42428 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42429 } >"$ac_tmp/config.h" \
42430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42431 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42433 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42434 else
42435 rm -f "$ac_file"
42436 mv "$ac_tmp/config.h" "$ac_file" \
42437 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42438 fi
42439 else
42440 $as_echo "/* $configure_input */" \
42441 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42442 || as_fn_error $? "could not create -" "$LINENO" 5
42443 fi
42444 ;;
42445
42446 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42447 $as_echo "$as_me: executing $ac_file commands" >&6;}
42448 ;;
42449 esac
42450
42451
42452 case $ac_file$ac_mode in
42453 "rcdefs.h":C)
42454 mkdir -p $outdir &&
42455 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42456 ;;
42457 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42458 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42459 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42460 "wx-config":C) rm -f wx-config
42461 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42462 ;;
42463
42464 esac
42465 done # for ac_tag
42466
42467
42468 as_fn_exit 0
42469 _ACEOF
42470 ac_clean_files=$ac_clean_files_save
42471
42472 test $ac_write_fail = 0 ||
42473 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42474
42475
42476 # configure is writing to config.log, and then calls config.status.
42477 # config.status does its own redirection, appending to config.log.
42478 # Unfortunately, on DOS this fails, as config.log is still kept open
42479 # by configure, so config.status won't be able to write to it; its
42480 # output is simply discarded. So we exec the FD to /dev/null,
42481 # effectively closing config.log, so it can be properly (re)opened and
42482 # appended to by config.status. When coming back to configure, we
42483 # need to make the FD available again.
42484 if test "$no_create" != yes; then
42485 ac_cs_success=:
42486 ac_config_status_args=
42487 test "$silent" = yes &&
42488 ac_config_status_args="$ac_config_status_args --quiet"
42489 exec 5>/dev/null
42490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42491 exec 5>>config.log
42492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42493 # would make configure fail if this is the last instruction.
42494 $ac_cs_success || as_fn_exit 1
42495 fi
42496
42497 #
42498 # CONFIG_SUBDIRS section.
42499 #
42500 if test "$no_recursion" != yes; then
42501
42502 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42503 # so they do not pile up.
42504 ac_sub_configure_args=
42505 ac_prev=
42506 eval "set x $ac_configure_args"
42507 shift
42508 for ac_arg
42509 do
42510 if test -n "$ac_prev"; then
42511 ac_prev=
42512 continue
42513 fi
42514 case $ac_arg in
42515 -cache-file | --cache-file | --cache-fil | --cache-fi \
42516 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42517 ac_prev=cache_file ;;
42518 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42519 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42520 | --c=*)
42521 ;;
42522 --config-cache | -C)
42523 ;;
42524 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42525 ac_prev=srcdir ;;
42526 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42527 ;;
42528 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42529 ac_prev=prefix ;;
42530 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42531 ;;
42532 --disable-option-checking)
42533 ;;
42534 *)
42535 case $ac_arg in
42536 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42537 esac
42538 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42539 esac
42540 done
42541
42542 # Always prepend --prefix to ensure using the same prefix
42543 # in subdir configurations.
42544 ac_arg="--prefix=$prefix"
42545 case $ac_arg in
42546 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42547 esac
42548 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42549
42550 # Pass --silent
42551 if test "$silent" = yes; then
42552 ac_sub_configure_args="--silent $ac_sub_configure_args"
42553 fi
42554
42555 # Always prepend --disable-option-checking to silence warnings, since
42556 # different subdirs can have different --enable and --with options.
42557 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42558
42559 ac_popdir=`pwd`
42560 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42561
42562 # Do not complain, so a configure script can configure whichever
42563 # parts of a large source tree are present.
42564 test -d "$srcdir/$ac_dir" || continue
42565
42566 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42567 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42568 $as_echo "$ac_msg" >&6
42569 as_dir="$ac_dir"; as_fn_mkdir_p
42570 ac_builddir=.
42571
42572 case "$ac_dir" in
42573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42574 *)
42575 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42576 # A ".." for each directory in $ac_dir_suffix.
42577 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42578 case $ac_top_builddir_sub in
42579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42581 esac ;;
42582 esac
42583 ac_abs_top_builddir=$ac_pwd
42584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42585 # for backward compatibility:
42586 ac_top_builddir=$ac_top_build_prefix
42587
42588 case $srcdir in
42589 .) # We are building in place.
42590 ac_srcdir=.
42591 ac_top_srcdir=$ac_top_builddir_sub
42592 ac_abs_top_srcdir=$ac_pwd ;;
42593 [\\/]* | ?:[\\/]* ) # Absolute name.
42594 ac_srcdir=$srcdir$ac_dir_suffix;
42595 ac_top_srcdir=$srcdir
42596 ac_abs_top_srcdir=$srcdir ;;
42597 *) # Relative name.
42598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42599 ac_top_srcdir=$ac_top_build_prefix$srcdir
42600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42601 esac
42602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42603
42604
42605 cd "$ac_dir"
42606
42607 # Check for guested configure; otherwise get Cygnus style configure.
42608 if test -f "$ac_srcdir/configure.gnu"; then
42609 ac_sub_configure=$ac_srcdir/configure.gnu
42610 elif test -f "$ac_srcdir/configure"; then
42611 ac_sub_configure=$ac_srcdir/configure
42612 elif test -f "$ac_srcdir/configure.in"; then
42613 # This should be Cygnus configure.
42614 ac_sub_configure=$ac_aux_dir/configure
42615 else
42616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42617 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42618 ac_sub_configure=
42619 fi
42620
42621 # The recursion is here.
42622 if test -n "$ac_sub_configure"; then
42623 # Make the cache file name correct relative to the subdirectory.
42624 case $cache_file in
42625 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42626 *) # Relative name.
42627 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42628 esac
42629
42630 { $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
42631 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42632 # The eval makes quoting arguments work.
42633 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42634 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42635 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42636 fi
42637
42638 cd "$ac_popdir"
42639 done
42640 fi
42641 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42643 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42644 fi
42645
42646
42647 echo
42648 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42649 echo ""
42650 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42651 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42652 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42653 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42654 if test "$wxUSE_UNICODE" = "yes"; then
42655 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42656 echo " (using UTF-8)"
42657 else
42658 echo " (using wchar_t)"
42659 fi
42660 else
42661 echo
42662 fi
42663
42664 echo " What level of wxWidgets compatibility should be enabled?"
42665 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42666 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42667
42668 echo " Which libraries should wxWidgets use?"
42669 echo " STL ${wxUSE_STL}"
42670 echo " jpeg ${wxUSE_LIBJPEG-none}"
42671 echo " png ${wxUSE_LIBPNG-none}"
42672 echo " regex ${wxUSE_REGEX}"
42673 echo " tiff ${wxUSE_LIBTIFF-none}"
42674 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42675 echo " xpm ${wxUSE_LIBXPM-none}"
42676 fi
42677 echo " zlib ${wxUSE_ZLIB}"
42678 echo " expat ${wxUSE_EXPAT}"
42679 echo " libmspack ${wxUSE_LIBMSPACK}"
42680 echo " sdl ${wxUSE_LIBSDL}"
42681
42682 echo ""
42683